Compare commits
34 Commits
c168a3bd4c
...
a3dd84bc75
Author | SHA1 | Date |
---|---|---|
fosslinux | a3dd84bc75 | |
Andrius Štikonas | 6655de9e03 | |
Andrius Štikonas | 826ff62300 | |
Andrius Štikonas | ff6d9e5c08 | |
Andrius Štikonas | 987113f0a6 | |
Andrius Štikonas | 40f40ea850 | |
fosslinux | 7ff2de94c5 | |
Andrius Štikonas | b885cb5727 | |
Andrius Štikonas | 8210cc9e24 | |
Andrius Štikonas | 3528d7ef1f | |
Andrius Štikonas | c7a716d661 | |
Andrius Štikonas | 1857439ddd | |
Andrius Štikonas | 32358fd94f | |
Andrius Štikonas | 22a435ba95 | |
fosslinux | 121fe88c70 | |
fosslinux | a5965288b5 | |
Andrius Štikonas | 4527ed8f56 | |
Andrius Štikonas | 952ae49590 | |
Andrius Štikonas | a4889dfb9e | |
Andrius Štikonas | 4f687f7ca0 | |
Andrius Štikonas | f9f951f3a9 | |
Andrius Štikonas | 059ba1afc2 | |
fosslinux | d623b018e4 | |
fosslinux | a392b7bac9 | |
fosslinux | 96c935456c | |
fosslinux | 170718c823 | |
fosslinux | e773e65f1c | |
fosslinux | c3c031fc51 | |
fosslinux | c05c16e12c | |
fosslinux | cd361e63f7 | |
fosslinux | d943b37962 | |
fosslinux | 8d57161613 | |
fosslinux | 338c85c8b8 | |
fosslinux | 981c4857fd |
|
@ -4,29 +4,5 @@
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
[submodule "sysa/mescc-tools-seed/src/mescc-tools-seed"]
|
[submodule "sysa/mescc-tools-seed/src/mescc-tools-seed"]
|
||||||
path = sysa/mescc-tools-seed/src/mescc-tools-seed
|
path = sysa/stage0-posix/src
|
||||||
url = https://github.com/oriansj/mescc-tools-seed/
|
url = https://github.com/oriansj/mescc-tools-seed/
|
||||||
[submodule "bootstrap-seeds"]
|
|
||||||
path = sysa/bootstrap-seeds
|
|
||||||
url = https://github.com/oriansj/bootstrap-seeds
|
|
||||||
[submodule "sysa/mes/src/mes"]
|
|
||||||
path = sysa/mes/src/mes
|
|
||||||
url = https://gitlab.com/janneke/mes.git
|
|
||||||
[submodule "sysa/mes/src/nyacc"]
|
|
||||||
path = sysa/mes/src/nyacc
|
|
||||||
url = https://git.savannah.gnu.org/git/nyacc.git
|
|
||||||
[submodule "sysa/tcc-0.9.26/src/tcc-0.9.26"]
|
|
||||||
path = sysa/tcc-0.9.26/src/tcc-0.9.26
|
|
||||||
url = https://gitlab.com/janneke/tinycc
|
|
||||||
[submodule "sysa/mescc-tools-patched"]
|
|
||||||
path = sysa/mescc-tools-seed/src/mescc-tools-patched
|
|
||||||
url = https://github.com/oriansj/mescc-tools
|
|
||||||
[submodule "sysa/tcc-0.9.27/src/tcc-0.9.27"]
|
|
||||||
path = sysa/tcc-0.9.27/src/tcc-0.9.27
|
|
||||||
url = git://repo.or.cz/tinycc.git
|
|
||||||
[submodule "sysa/tcc-0.9.26/src/mes-libc"]
|
|
||||||
path = sysa/tcc-0.9.26/src/mes-libc
|
|
||||||
url = https://gitlab.com/janneke/mes
|
|
||||||
[submodule "sysa/tcc-0.9.27/src/mes-libc"]
|
|
||||||
path = sysa/tcc-0.9.27/src/mes-libc
|
|
||||||
url = https://gitlab.com/janneke/mes
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,49 @@
|
||||||
|
The Artistic License
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The intent of this document is to state the conditions under which a Package may be copied, such that the Copyright Holder maintains some semblance of artistic control over the development of the package, while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, plus the right to make reasonable modifications.
|
||||||
|
|
||||||
|
Definitions:
|
||||||
|
|
||||||
|
"Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through textual modification.
|
||||||
|
|
||||||
|
"Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright Holder.
|
||||||
|
|
||||||
|
"Copyright Holder" is whoever is named in the copyright or copyrights for the package.
|
||||||
|
|
||||||
|
"You" is you, if you're thinking about copying or distributing this Package.
|
||||||
|
|
||||||
|
"Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the computing community at large as a market that must bear the fee.)
|
||||||
|
|
||||||
|
"Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they received it.
|
||||||
|
|
||||||
|
1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers.
|
||||||
|
|
||||||
|
2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. A Package modified in such a way shall still be considered the Standard Version.
|
||||||
|
|
||||||
|
3. You may otherwise modify your copy of this Package in any way, provided that you insert a prominent notice in each changed file stating how and when you changed that file, and provided that you do at least ONE of the following:
|
||||||
|
|
||||||
|
a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or placing the modifications on a major archive site such as ftp.uu.net, or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package.
|
||||||
|
b) use the modified Package only within your corporation or organization.
|
||||||
|
c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided, and provide a separate manual page for each non-standard executable that clearly documents how it differs from the Standard Version.
|
||||||
|
d) make other distribution arrangements with the Copyright Holder.
|
||||||
|
|
||||||
|
4. You may distribute the programs of this Package in object code or executable form, provided that you do at least ONE of the following:
|
||||||
|
|
||||||
|
a) distribute a Standard Version of the executables and library files, together with instructions (in the manual page or equivalent) on where to get the Standard Version.
|
||||||
|
b) accompany the distribution with the machine-readable source of the Package with your modifications.
|
||||||
|
c) accompany any non-standard executables with their corresponding Standard Version executables, giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version.
|
||||||
|
d) make other distribution arrangements with the Copyright Holder.
|
||||||
|
|
||||||
|
5. You may charge a reasonable copying fee for any distribution of this Package. You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own.
|
||||||
|
|
||||||
|
6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package.
|
||||||
|
|
||||||
|
7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package.
|
||||||
|
|
||||||
|
8. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission.
|
||||||
|
|
||||||
|
9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
The End
|
|
@ -13,6 +13,7 @@ e8a6eb9d28ddcba8ffef3fa211653239e9bf239aba6a01a6b7cfc7ceaec69cbd autoconf-archi
|
||||||
e98ab43bb839c31696a4202e5b6ff388b391659ef2387cf9365019fad17e1adc automake-1.10.3.tar.bz2
|
e98ab43bb839c31696a4202e5b6ff388b391659ef2387cf9365019fad17e1adc automake-1.10.3.tar.bz2
|
||||||
4f46d1f9380c8a3506280750f630e9fc915cb1a435b724be56b499d016368718 automake-1.11.2.tar.bz2
|
4f46d1f9380c8a3506280750f630e9fc915cb1a435b724be56b499d016368718 automake-1.11.2.tar.bz2
|
||||||
af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf automake-1.15.1.tar.xz
|
af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf automake-1.15.1.tar.xz
|
||||||
|
ff2bf7656c4d1c6fdda3b8bebb21f09153a736bcba169aaf65eab25fa113bf3a automake-1.16.3.tar.xz
|
||||||
503cdc2b0992a4309545d17f462cb15f99bb57b7161dfc4082b2e7188f2bcc0f automake-1.4-p6.tar.gz
|
503cdc2b0992a4309545d17f462cb15f99bb57b7161dfc4082b2e7188f2bcc0f automake-1.4-p6.tar.gz
|
||||||
0dbafacaf21e135cab35d357a14bdcd981d2f2d00e1387801be8091a31b7bb81 automake-1.6.3.tar.bz2
|
0dbafacaf21e135cab35d357a14bdcd981d2f2d00e1387801be8091a31b7bb81 automake-1.6.3.tar.bz2
|
||||||
2dddc3b51506e702647ccc6757e15c05323fa67245d2d53e81ed36a832f9be42 automake-1.7.8.tar.bz2
|
2dddc3b51506e702647ccc6757e15c05323fa67245d2d53e81ed36a832f9be42 automake-1.7.8.tar.bz2
|
||||||
|
@ -22,44 +23,61 @@ af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf automake-1.15.
|
||||||
ba03d412998cc54bd0b0f2d6c32100967d3137098affdc2d32e6e7c11b163fe4 bash-2.05b.tar.gz
|
ba03d412998cc54bd0b0f2d6c32100967d3137098affdc2d32e6e7c11b163fe4 bash-2.05b.tar.gz
|
||||||
cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa bash-5.1.tar.gz
|
cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa bash-5.1.tar.gz
|
||||||
e20bdd49a0fb317959b410c1fe81269a620ec21207045d8a37cadea621be4b59 binutils-2.14.tar.bz2
|
e20bdd49a0fb317959b410c1fe81269a620ec21207045d8a37cadea621be4b59 binutils-2.14.tar.bz2
|
||||||
|
b10d7e9e354be72aee4e4911cf19dd27b5c527d4e7200857365b5fcdeea0dffb bison-2.3.tar.bz2
|
||||||
7007fc89c216fbfaff5525359b02a7e5b612694df5168c74673f67055f015095 bison-3.4.1.tar.gz
|
7007fc89c216fbfaff5525359b02a7e5b612694df5168c74673f67055f015095 bison-3.4.1.tar.gz
|
||||||
|
27d05534699735dc69e86add5b808d6cb35900ad3fd63fa82e3eb644336abfa0 bison-3.4.2.tar.xz
|
||||||
ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 bzip2-1.0.8.tar.gz
|
ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 bzip2-1.0.8.tar.gz
|
||||||
c25b36b8af6e0ad2a875daf4d6196bd0df28a62be7dd252e5f99a4d5d7288d95 coreutils-5.0.tar.bz2
|
c25b36b8af6e0ad2a875daf4d6196bd0df28a62be7dd252e5f99a4d5d7288d95 coreutils-5.0.tar.bz2
|
||||||
1d013547889f20576460249c4210632d5314531c8477378a2e046b13a8ebeb7e coreutils-6.10.tar.gz
|
1d013547889f20576460249c4210632d5314531c8477378a2e046b13a8ebeb7e coreutils-6.10.tar.gz
|
||||||
6f7cfc0ac6717afb6ba1f41b0da43a713ba0dd97dec1227e32effc12d79f08c1 coreutils-8.32.tar.gz
|
6f7cfc0ac6717afb6ba1f41b0da43a713ba0dd97dec1227e32effc12d79f08c1 coreutils-8.32.tar.gz
|
||||||
d5f2489c4056a31528e3ada4adacc23d498532b0af1a980f2f76158162b139d6 diffutils-2.7.tar.gz
|
d5f2489c4056a31528e3ada4adacc23d498532b0af1a980f2f76158162b139d6 diffutils-2.7.tar.gz
|
||||||
|
54437ae4211867de7ad55723f68b94c29cb2f08a23f431e0bbbc9f34ee384f47 dist-3.5-236.tar.gz
|
||||||
813cd9405aceec5cfecbe96400d01e90ddad7b512d3034487176ce5258ab0f78 findutils-4.2.33.tar.gz
|
813cd9405aceec5cfecbe96400d01e90ddad7b512d3034487176ce5258ab0f78 findutils-4.2.33.tar.gz
|
||||||
bc79b890f35ca38d66ff89a6e3758226131e51ccbd10ef78d5ff150b7bd73689 flex-2.5.11.tar.gz
|
bc79b890f35ca38d66ff89a6e3758226131e51ccbd10ef78d5ff150b7bd73689 flex-2.5.11.tar.gz
|
||||||
|
c40385e142989c91989413f3c5a31282b2ffdca16b69cd3ecfde537b8a474921 flex-2.5.33.tar.gz
|
||||||
e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar.gz
|
e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar.gz
|
||||||
5cc35def1ff4375a8b9a98c2ff79e95e80987d24f0d42fdbb7b7039b3ddb3fb0 gawk-3.0.4.tar.gz
|
5cc35def1ff4375a8b9a98c2ff79e95e80987d24f0d42fdbb7b7039b3ddb3fb0 gawk-3.0.4.tar.gz
|
||||||
e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2
|
e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2
|
||||||
|
d20fcbb537e02dcf1383197ba05bd0734ef7bf5db06bdb241eb69b7d16b73192 gettext-0.21.tar.xz
|
||||||
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 gmp-6.2.1.tar.xz
|
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 gmp-6.2.1.tar.xz
|
||||||
df807e694deea2dcba0c43af318394f3e3fcd52658c3b71b61dad0ce0c0cfb77 gnulib-30820c.tar.gz
|
df807e694deea2dcba0c43af318394f3e3fcd52658c3b71b61dad0ce0c0cfb77 gnulib-30820c.tar.gz
|
||||||
|
8cced51f89a950472473856f86e88f5daf97a2347756125ccdc8ee907deec570 gnulib-672663a.tar.gz
|
||||||
|
2d911c2f2ed97b347d6d360b742abdc98aa626d4f8f847ee682c7cde12e90871 gnulib-7daa86f.tar.gz
|
||||||
0cfbf866bc39c31f25fa0e56af1e56c5e5c92fc1e5d51242ebafef7ea211f3d5 gnulib-8e128e.tar.gz
|
0cfbf866bc39c31f25fa0e56af1e56c5e5c92fc1e5d51242ebafef7ea211f3d5 gnulib-8e128e.tar.gz
|
||||||
|
0190f28cb155fedd22bf8558c3e8705eed9eacfb7ae29e7508d025a68eb90899 gnulib-b28236b.tar.gz
|
||||||
|
1aeea67b7b3883ebcf2b90bc01f4182d7de073a052dabd3749f20c5aa4ad3e27 gnulib-b81ec69.tar.gz
|
||||||
12cfa21abf618a274017d6b18e95fc6582519d7c08e2403e5c5772ccdd5b85f4 gnulib-d279bc.tar.gz
|
12cfa21abf618a274017d6b18e95fc6582519d7c08e2403e5c5772ccdd5b85f4 gnulib-d279bc.tar.gz
|
||||||
|
a285dc300c3d9c25cc06e38827ef40f6073ec3b9b0fcb5bba433f943be92d8d4 gnulib-e017871.tar.gz
|
||||||
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
|
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
|
||||||
4d2ce9f314f39c9575f913503b0178d6fb2c92920db8e7b7b176b7bab7980fe6 gzip-1.2.4.tar
|
1ca41818a23c9c59ef1d5e1d00c0d5eaa2285d931c0fb059637d7c0cc02ad967 gzip-1.2.4.tar.gz
|
||||||
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2
|
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2
|
||||||
a4adadf76b496a6bc50795702253ecfcb6f0d159b68038f31a5362009340bca2 help2man-1.36.4.tar.gz
|
a4adadf76b496a6bc50795702253ecfcb6f0d159b68038f31a5362009340bca2 help2man-1.36.4.tar.gz
|
||||||
8e8ce6175d435e7df8c9bbb0e5fd5357691cdc28c1a2d00fdd9b47b7643bec3a libtool-1.4.tar.gz
|
8e8ce6175d435e7df8c9bbb0e5fd5357691cdc28c1a2d00fdd9b47b7643bec3a libtool-1.4.tar.gz
|
||||||
c4e63399b12f5858d11c44cea8e92f21cd564f8548e488dadc84046b424c80fc libtool-2.2.4.tar.bz2
|
c4e63399b12f5858d11c44cea8e92f21cd564f8548e488dadc84046b424c80fc libtool-2.2.4.tar.bz2
|
||||||
093c993767f563a11e41c1cf887f4e9065247129679d4c1e213d0544d16d8303 m4-1.4.7.tar.gz
|
093c993767f563a11e41c1cf887f4e9065247129679d4c1e213d0544d16d8303 m4-1.4.7.tar.gz
|
||||||
64b30b41fde2ebf669e6af489883fb1df6a06ac30555a96cfa3c39ecce7267dd make-3.80.tar.gz
|
64b30b41fde2ebf669e6af489883fb1df6a06ac30555a96cfa3c39ecce7267dd make-3.80.tar.gz
|
||||||
|
e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7 make-4.2.1.tar.gz
|
||||||
7a140e43565181bb54bf416117ea0efff057922ed284db5fc98b3740a7f3d956 mes-0.23.tar.gz
|
7a140e43565181bb54bf416117ea0efff057922ed284db5fc98b3740a7f3d956 mes-0.23.tar.gz
|
||||||
|
f02cfe291e49fe44bc8712bf15536654fc643c0a02b3598237fb646884d9eb37 mes.tar.gz
|
||||||
17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 mpc-1.2.1.tar.gz
|
17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 mpc-1.2.1.tar.gz
|
||||||
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f mpfr-4.1.0.tar.xz
|
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f mpfr-4.1.0.tar.xz
|
||||||
1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz
|
1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz
|
||||||
9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd musl-1.2.2.tar.gz
|
9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd musl-1.2.2.tar.gz
|
||||||
|
f36e4fb7dd524dc3f4b354d3d5313f69e7ce5a6ae93711e8cf6d51eaa8d2b318 nyacc-1.00.2.tar.gz
|
||||||
ecb5c6469d732bcf01d6ec1afe9e64f1668caba5bfdb103c28d7f537ba3cdb8a patch-2.5.9.tar.gz
|
ecb5c6469d732bcf01d6ec1afe9e64f1668caba5bfdb103c28d7f537ba3cdb8a patch-2.5.9.tar.gz
|
||||||
|
ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd patch-2.7.6.tar.xz
|
||||||
1ae43c8d2983404b9eec61c96e3ffa27e7b07e08215c95c015a4ab0095373ef3 perl-5.000.tar.gz
|
1ae43c8d2983404b9eec61c96e3ffa27e7b07e08215c95c015a4ab0095373ef3 perl-5.000.tar.gz
|
||||||
9fa29beb2fc4a3c373829fc051830796de301f32a719d0b52a400d1719bbd7b1 perl-5.003.tar.gz
|
9fa29beb2fc4a3c373829fc051830796de301f32a719d0b52a400d1719bbd7b1 perl-5.003.tar.gz
|
||||||
1184478b298978b164a383ed5661e3a117c48ab97d6d0ab7ef614cdbe918b9eb perl5.004_05.tar.gz
|
1184478b298978b164a383ed5661e3a117c48ab97d6d0ab7ef614cdbe918b9eb perl5.004_05.tar.gz
|
||||||
93f41cd87ab8ee83391cfa39a63b076adeb7c3501d2efa31b98d0ef037122bd1 perl5.005_03.tar.gz
|
93f41cd87ab8ee83391cfa39a63b076adeb7c3501d2efa31b98d0ef037122bd1 perl5.005_03.tar.gz
|
||||||
|
9385f2c8c2ca8b1dc4a7c31903f1f8dc8f2ba867dc2a9e5c93012ed6b564e826 perl-5.10.1.tar.bz2
|
||||||
|
57cc47c735c8300a8ce2fa0643507b44c4ae59012bfdad0121313db639e02309 perl-5.32.1.tar.xz
|
||||||
a5e66f6ebf701b0567f569f57cae82abf5ce57af70a2b45ae71323b61f49134e perl-5.6.2.tar.gz
|
a5e66f6ebf701b0567f569f57cae82abf5ce57af70a2b45ae71323b61f49134e perl-5.6.2.tar.gz
|
||||||
|
3ec396d97debb6c1a112c1c6ff58b03a55866b75cd4fe06b74295ac9c5fc5ff2 perl-5f2dc80.tar.bz2
|
||||||
c365874794187f8444e5d22998cd5888ffa47f36def4b77517a808dec27c0600 sed-4.0.9.tar.gz
|
c365874794187f8444e5d22998cd5888ffa47f36def4b77517a808dec27c0600 sed-4.0.9.tar.gz
|
||||||
404a8d72427a559c074e581bf8f7d5a73283faf249cd3faf6dc1c6faf97d07c7 sha-2-61555d.tar.gz
|
|
||||||
c6c37e888b136ccefab903c51149f4b7bd659d69d4aea21245f61053a57aa60a tar-1.12.tar.gz
|
c6c37e888b136ccefab903c51149f4b7bd659d69d4aea21245f61053a57aa60a tar-1.12.tar.gz
|
||||||
63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz
|
63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28 tar-1.34.tar.xz
|
||||||
|
23cacd448cff2baf6ed76c2d1e2d654ff4e557046e311dfb6be7e1c631014ef8 tcc-0.9.26.tar.gz
|
||||||
de23af78fca90ce32dff2dd45b3432b2334740bb9bb7b05bf60fdbfc396ceb9c tcc-0.9.27.tar.bz2
|
de23af78fca90ce32dff2dd45b3432b2334740bb9bb7b05bf60fdbfc396ceb9c tcc-0.9.27.tar.bz2
|
||||||
1b700d375e253e88bdf79caa244284a899b80f59fd64fdd3aaa6408b7bd715ae untar.c
|
988403c1542d15ad044600b909997ba3079b10e03224c61188117f3676b02caa texinfo-6.7.tar.xz
|
||||||
166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490 xz-5.0.5.tar.bz2
|
166c48d2842519bc4f96333bff9e265f8cdda44d38e40594ef3f9bbb52890490 xz-5.0.5.tar.bz2
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: MIT
|
|
||||||
|
|
||||||
fletcher16.M1
|
|
||||||
fletcher16-footer.M1
|
|
||||||
fletcher16.hex2
|
|
||||||
fletcher16-gen
|
|
|
@ -1,42 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
M2-Planet \
|
|
||||||
--architecture x86 \
|
|
||||||
-f ../m2-functions/in_set.c \
|
|
||||||
-f ../m2-functions/file_print.c \
|
|
||||||
-f ../m2-functions/numerate_number.c \
|
|
||||||
-f ../m2-functions/string.c \
|
|
||||||
-f ../../sysa/mescc-tools-seed/src/mescc-tools-seed/M2-Planet/test/common_x86/functions/file.c \
|
|
||||||
-f ../../sysa/mescc-tools-seed/src/mescc-tools-seed/M2-Planet/test/common_x86/functions/exit.c \
|
|
||||||
-f ../m2-functions/require.c \
|
|
||||||
-f ../../sysa/mescc-tools-seed/src/mescc-tools-seed/M2-Planet/test/common_x86/functions/malloc.c \
|
|
||||||
-f ../../sysa/mescc-tools-seed/src/mescc-tools-seed/M2-Planet/functions/calloc.c \
|
|
||||||
-f fletcher16-gen.c \
|
|
||||||
-o fletcher16.M1 \
|
|
||||||
--debug
|
|
||||||
|
|
||||||
blood-elf -f fletcher16.M1 -o fletcher16-footer.M1
|
|
||||||
|
|
||||||
M1 \
|
|
||||||
-f ../../sysa/mescc-tools-seed/src/mescc-tools-seed/M2-Planet/test/common_x86/x86_defs.M1 \
|
|
||||||
-f ../../sysa/mescc-tools-seed/src/mescc-tools-seed/M2-Planet/test/common_x86/libc-core.M1 \
|
|
||||||
-f fletcher16.M1 \
|
|
||||||
-f fletcher16-footer.M1 \
|
|
||||||
--LittleEndian \
|
|
||||||
--architecture x86 \
|
|
||||||
-o fletcher16.hex2
|
|
||||||
|
|
||||||
hex2 \
|
|
||||||
-f ../../sysa/mescc-tools-seed/src/mescc-tools-seed/M2-Planet/test/common_x86/ELF-i386-debug.hex2 \
|
|
||||||
-f fletcher16.hex2 \
|
|
||||||
--LittleEndian \
|
|
||||||
--architecture x86 \
|
|
||||||
--BaseAddress 0x8048000 \
|
|
||||||
-o fletcher16-gen \
|
|
||||||
--exec_enable
|
|
|
@ -1,40 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#define BUF_SIZE 1024
|
|
||||||
// CONSTANT BUF_SIZE 1024
|
|
||||||
#define PATH_MAX 512
|
|
||||||
// CONSTANT PATH_MAX 512
|
|
||||||
|
|
||||||
int fletch16(FILE* fp)
|
|
||||||
{
|
|
||||||
long sum1 = 0;
|
|
||||||
long sum2 = 0;
|
|
||||||
int index;
|
|
||||||
int c = fgetc(fp);
|
|
||||||
while(c != EOF)
|
|
||||||
{
|
|
||||||
sum1 = (sum1 + c) % 255;
|
|
||||||
sum2 = (sum2 + sum1) % 255;
|
|
||||||
c = fgetc(fp);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (sum2 << 8) | sum1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
|
||||||
{
|
|
||||||
/* Open the file containing the checksums */
|
|
||||||
FILE* fp = fopen(argv[1], "r");
|
|
||||||
require(fp != NULL, prepend_string(
|
|
||||||
prepend_string("Error opening checksum file ", argv[1]), "\n"));
|
|
||||||
int csum = fletch16(fp);
|
|
||||||
file_print(prepend_string(prepend_string(prepend_string(
|
|
||||||
numerate_number(csum), " "), argv[1]), "\n"), stdout);
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include<stdio.h>
|
|
||||||
// void fputc(char s, FILE* f);
|
|
||||||
|
|
||||||
void file_print(char* s, FILE* f)
|
|
||||||
{
|
|
||||||
while(0 != s[0])
|
|
||||||
{
|
|
||||||
fputc(s[0], f);
|
|
||||||
s = s + 1;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
* SPDX-FileCopyrightText: 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define FALSE 0
|
|
||||||
// CONSTANT FALSE 0
|
|
||||||
#define TRUE 1
|
|
||||||
// CONSTANT TRUE 1
|
|
||||||
|
|
||||||
int in_set(int c, char* s)
|
|
||||||
{
|
|
||||||
while(0 != s[0])
|
|
||||||
{
|
|
||||||
if(c == s[0]) return TRUE;
|
|
||||||
s = s + 1;
|
|
||||||
}
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
|
@ -1,24 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define FALSE 0
|
|
||||||
// CONSTANT FALSE 0
|
|
||||||
#define TRUE 1
|
|
||||||
// CONSTANT TRUE 1
|
|
||||||
|
|
||||||
int match(char* a, char* b)
|
|
||||||
{
|
|
||||||
int i = -1;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
i = i + 1;
|
|
||||||
if(a[i] != b[i])
|
|
||||||
{
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
} while((0 != a[i]) && (0 !=b[i]));
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
|
@ -1,159 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include<stdlib.h>
|
|
||||||
// void* calloc(int count, int size);
|
|
||||||
#define TRUE 1
|
|
||||||
//CONSTANT TRUE 1
|
|
||||||
#define FALSE 0
|
|
||||||
//CONSTANT FALSE 0
|
|
||||||
int in_set(int c, char* s);
|
|
||||||
//CONSTANT NULL 0
|
|
||||||
|
|
||||||
char* numerate_number(int a)
|
|
||||||
{
|
|
||||||
char* result = calloc(16, sizeof(char));
|
|
||||||
if(NULL == result) return NULL;
|
|
||||||
|
|
||||||
int i = 0;
|
|
||||||
|
|
||||||
/* Deal with Zero case */
|
|
||||||
if(0 == a)
|
|
||||||
{
|
|
||||||
result[0] = '0';
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Deal with negatives */
|
|
||||||
if(0 > a)
|
|
||||||
{
|
|
||||||
result[0] = '-';
|
|
||||||
i = 1;
|
|
||||||
a = a * -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Using the largest 10^n number possible in 32bits */
|
|
||||||
int divisor = 0x3B9ACA00;
|
|
||||||
/* Skip leading Zeros */
|
|
||||||
while(0 == (a / divisor)) divisor = divisor / 10;
|
|
||||||
|
|
||||||
/* Now simply collect numbers until divisor is gone */
|
|
||||||
while(0 < divisor)
|
|
||||||
{
|
|
||||||
result[i] = ((a / divisor) + 48);
|
|
||||||
a = a % divisor;
|
|
||||||
divisor = divisor / 10;
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
int char2hex(int c)
|
|
||||||
{
|
|
||||||
if (c >= '0' && c <= '9') return (c - 48);
|
|
||||||
else if (c >= 'a' && c <= 'f') return (c - 87);
|
|
||||||
else if (c >= 'A' && c <= 'F') return (c - 55);
|
|
||||||
else return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int hex2char(int c)
|
|
||||||
{
|
|
||||||
if((c >= 0) && (c <= 9)) return (c + 48);
|
|
||||||
else if((c >= 10) && (c <= 15)) return (c + 55);
|
|
||||||
else return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int char2dec(int c)
|
|
||||||
{
|
|
||||||
if (c >= '0' && c <= '9') return (c - 48);
|
|
||||||
else return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int dec2char(int c)
|
|
||||||
{
|
|
||||||
if((c >= 0) && (c <= 9)) return (c + 48);
|
|
||||||
else return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int index_number(char* s, char c)
|
|
||||||
{
|
|
||||||
int i = 0;
|
|
||||||
while(s[i] != c)
|
|
||||||
{
|
|
||||||
i = i + 1;
|
|
||||||
if(0 == s[i]) return -1;
|
|
||||||
}
|
|
||||||
return i;
|
|
||||||
}
|
|
||||||
|
|
||||||
int toupper(int c)
|
|
||||||
{
|
|
||||||
if(in_set(c, "abcdefghijklmnopqrstuvwxyz")) return (c & 0xDF);
|
|
||||||
return c;
|
|
||||||
}
|
|
||||||
|
|
||||||
int set_reader(char* set, int mult, char* input)
|
|
||||||
{
|
|
||||||
int n = 0;
|
|
||||||
int i = 0;
|
|
||||||
int hold;
|
|
||||||
int negative_p = FALSE;
|
|
||||||
|
|
||||||
if(input[0] == '-')
|
|
||||||
{
|
|
||||||
negative_p = TRUE;
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
while(in_set(input[i], set))
|
|
||||||
{
|
|
||||||
n = n * mult;
|
|
||||||
hold = index_number(set, toupper(input[i]));
|
|
||||||
|
|
||||||
/* Input managed to change between in_set and index_number */
|
|
||||||
if(-1 == hold) return 0;
|
|
||||||
n = n + hold;
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* loop exited before NULL and thus invalid input */
|
|
||||||
if(0 != input[i]) return 0;
|
|
||||||
|
|
||||||
if(negative_p)
|
|
||||||
{
|
|
||||||
n = 0 - n;
|
|
||||||
}
|
|
||||||
|
|
||||||
return n;
|
|
||||||
}
|
|
||||||
|
|
||||||
int numerate_string(char *a)
|
|
||||||
{
|
|
||||||
/* If NULL string */
|
|
||||||
if(0 == a[0]) return 0;
|
|
||||||
|
|
||||||
/* Deal with binary*/
|
|
||||||
else if ('0' == a[0] && 'b' == a[1])
|
|
||||||
{
|
|
||||||
return set_reader("01", 2, a+2);
|
|
||||||
}
|
|
||||||
/* Deal with hex */
|
|
||||||
else if ('0' == a[0] && 'x' == a[1])
|
|
||||||
{
|
|
||||||
return set_reader("0123456789ABCDEFabcdef", 16, a+2);
|
|
||||||
}
|
|
||||||
/* Deal with octal */
|
|
||||||
else if('0' == a[0])
|
|
||||||
{
|
|
||||||
return set_reader("01234567", 8, a+1);
|
|
||||||
}
|
|
||||||
/* Deal with decimal */
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return set_reader("0123456789", 10, a);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
* SPDX-FileCopyrightText: 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include<stdio.h>
|
|
||||||
#include<stdlib.h>
|
|
||||||
|
|
||||||
void file_print(char* s, FILE* f);
|
|
||||||
|
|
||||||
void require(int bool, char* error)
|
|
||||||
{
|
|
||||||
if(!bool)
|
|
||||||
{
|
|
||||||
file_print(error, stderr);
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include<stdlib.h>
|
|
||||||
#include<stdio.h>
|
|
||||||
#define MAX_STRING 4096
|
|
||||||
//CONSTANT MAX_STRING 4096
|
|
||||||
// void* calloc(int count, int size);
|
|
||||||
void file_print(char* s, FILE* f);
|
|
||||||
|
|
||||||
char* copy_string(char* target, char* source)
|
|
||||||
{
|
|
||||||
while(0 != source[0])
|
|
||||||
{
|
|
||||||
target[0] = source[0];
|
|
||||||
target = target + 1;
|
|
||||||
source = source + 1;
|
|
||||||
}
|
|
||||||
return target;
|
|
||||||
}
|
|
||||||
|
|
||||||
char* postpend_char(char* s, char a)
|
|
||||||
{
|
|
||||||
char* ret = calloc(MAX_STRING, sizeof(char));
|
|
||||||
if(NULL == ret) return NULL;
|
|
||||||
|
|
||||||
char* hold = copy_string(ret, s);
|
|
||||||
hold[0] = a;
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
char* prepend_char(char a, char* s)
|
|
||||||
{
|
|
||||||
char* ret = calloc(MAX_STRING, sizeof(char));
|
|
||||||
if(NULL == ret) return NULL;
|
|
||||||
|
|
||||||
ret[0] = a;
|
|
||||||
copy_string((ret+1), s);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
char* prepend_string(char* add, char* base)
|
|
||||||
{
|
|
||||||
char* ret = calloc(MAX_STRING, sizeof(char));
|
|
||||||
if(NULL == ret) return NULL;
|
|
||||||
|
|
||||||
copy_string(copy_string(ret, add), base);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
int string_length(char* a)
|
|
||||||
{
|
|
||||||
int i = 0;
|
|
||||||
while(0 != a[i]) i = i + 1;
|
|
||||||
return i;
|
|
||||||
}
|
|
134
parts.rst
134
parts.rst
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
.. SPDX-License-Identifier: CC-BY-SA-4.0
|
.. SPDX-License-Identifier: CC-BY-SA-4.0
|
||||||
|
|
||||||
mescc-tools-seed
|
stage0-posix
|
||||||
================
|
============
|
||||||
|
|
||||||
This is where all the magic begins. We start with our hex0 and kaem
|
This is where all the magic begins. We start with our hex0 and kaem
|
||||||
seeds and bootstrap our way up to M2-Planet, a subset of C, and mes-m2,
|
seeds and bootstrap our way up to M2-Planet, a subset of C, and mes-m2,
|
||||||
|
@ -28,9 +28,10 @@ taken here:
|
||||||
- M2-Planet (v1) compiles blood-elf (final)
|
- M2-Planet (v1) compiles blood-elf (final)
|
||||||
- M2-Planet (v1) compiles get_machine
|
- M2-Planet (v1) compiles get_machine
|
||||||
- M2-Planet (v1) compiles M2-Planet (final)
|
- M2-Planet (v1) compiles M2-Planet (final)
|
||||||
|
- M2-Planet (final) compiles mescc-tools-extra (see next step)
|
||||||
|
|
||||||
This seems very intimidating, but becomes clearer when reading the
|
This seems very intimidating, but becomes clearer when reading the
|
||||||
source: https://github.com/oriansj/mescc-tools-seed/blob/master/x86/
|
source: https://github.com/oriansj/stage0-posix/blob/master/x86/
|
||||||
(start at mescc-tools-seed-kaem.kaem).
|
(start at mescc-tools-seed-kaem.kaem).
|
||||||
|
|
||||||
From here, we can move on from the lowest level stuff.
|
From here, we can move on from the lowest level stuff.
|
||||||
|
@ -38,19 +39,18 @@ From here, we can move on from the lowest level stuff.
|
||||||
mescc-tools-extra
|
mescc-tools-extra
|
||||||
=================
|
=================
|
||||||
|
|
||||||
mescc-tools and mes-m2 are the projects bootstrapped by
|
mescc-tools-extra contains some additional programs, namely filesystem
|
||||||
mescc-tools-seed. However, we have some currently unmerged additions to
|
|
||||||
mescc-tools that we require for this project, namely filesystem
|
|
||||||
utilities ``cp`` and ``chown``. This allows us to have one unified
|
utilities ``cp`` and ``chown``. This allows us to have one unified
|
||||||
directory for our binaries. Futhermore, we also build ``fletcher16``, a
|
directory for our binaries. Futhermore, we also build ``sha256sum``, a
|
||||||
preliminary checksumming tool, that we use to ensure reproducibility and
|
checksumming tool, that we use to ensure reproducibility and authenticity
|
||||||
authenticity of generated binaries.
|
of generated binaries. We also build initial ``untar`` and ``ungz``
|
||||||
|
utilities to deal with compressed archives.
|
||||||
|
|
||||||
``/after``
|
``/after``
|
||||||
==========
|
==========
|
||||||
|
|
||||||
We now move into the ``/after`` directory. As mescc-tools-seed has no
|
We now move into the ``/after`` directory. As stage0-posix has no
|
||||||
concept of ``chdir()`` (not added until very late in mescc-tools-seed),
|
concept of ``chdir()`` (not added until very late in stage0-posix),
|
||||||
we have to copy a lot of files into the root of the initramfs, making it
|
we have to copy a lot of files into the root of the initramfs, making it
|
||||||
very messy. We get into the move ordered directory ``/after`` here,
|
very messy. We get into the move ordered directory ``/after`` here,
|
||||||
copying over all of the required binaries from ``/``.
|
copying over all of the required binaries from ``/``.
|
||||||
|
@ -86,14 +86,6 @@ recompiled 5(!) times to add new features that are required for other
|
||||||
features, namely ``long long`` and ``float``. Each time, the libc is
|
features, namely ``long long`` and ``float``. Each time, the libc is
|
||||||
also recompiled.
|
also recompiled.
|
||||||
|
|
||||||
untar
|
|
||||||
=====
|
|
||||||
|
|
||||||
``tar`` is the most common archive format used by software source
|
|
||||||
code, often compressed also. To avoid continuing using submodules we
|
|
||||||
switch to software distribution using tar archives. ``untar.c`` is
|
|
||||||
a single file implementation of tar format and is part of libarchive 3.4.
|
|
||||||
|
|
||||||
Note that now we begin to delve into the realm of old GNU software,
|
Note that now we begin to delve into the realm of old GNU software,
|
||||||
using older versions compilable by tinycc. Prior to this point, all tools
|
using older versions compilable by tinycc. Prior to this point, all tools
|
||||||
have been adapted significantly for the bootstrap; now, we will be using
|
have been adapted significantly for the bootstrap; now, we will be using
|
||||||
|
@ -125,21 +117,6 @@ patch 2.5.9
|
||||||
significantly more complex edits, including just changes to lines.
|
significantly more complex edits, including just changes to lines.
|
||||||
Luckily, we are able to patch ``patch`` using ``sed`` only.
|
Luckily, we are able to patch ``patch`` using ``sed`` only.
|
||||||
|
|
||||||
sha-2
|
|
||||||
=====
|
|
||||||
|
|
||||||
``sha-2`` is a standalone external ``sha256sum`` implementation,
|
|
||||||
originally as a library, but patched to have a command line interface.
|
|
||||||
It is mostly output-compatible with ``sha256sum`` from coreutils. We use
|
|
||||||
this in replacement of ``fletcher16``.
|
|
||||||
|
|
||||||
Redo checksums using ``sha256sum``
|
|
||||||
==================================
|
|
||||||
|
|
||||||
We have now just built ``sha256sum``, which has a significantly (many orders
|
|
||||||
of magnitude) lower collision rate than ``fletcher16``, so we recheck all of
|
|
||||||
the existing binaries using ``sha256sum``.
|
|
||||||
|
|
||||||
make 3.80
|
make 3.80
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
@ -591,19 +568,28 @@ automake 1.15.1
|
||||||
|
|
||||||
GNU Automake from 1.15 series. This is the last version that runs on Perl 5.6.
|
GNU Automake from 1.15 series. This is the last version that runs on Perl 5.6.
|
||||||
|
|
||||||
coreutils 8.32
|
|
||||||
=============
|
|
||||||
|
|
||||||
We build the latest available coreutils 8.32 which adds needed options to make
|
|
||||||
results of build metadata reproducible. For example, timestamps are changed with
|
|
||||||
``touch --no-dereference``.
|
|
||||||
|
|
||||||
tar 1.34
|
tar 1.34
|
||||||
========
|
========
|
||||||
|
|
||||||
Newer tar has better support for decompressing .tar.bz2 and .tar.xz archives.
|
Newer tar has better support for decompressing .tar.bz2 and .tar.xz archives.
|
||||||
It also deals better with modern tar archives with extra metadata.
|
It also deals better with modern tar archives with extra metadata.
|
||||||
|
|
||||||
|
coreutils 8.32
|
||||||
|
==============
|
||||||
|
|
||||||
|
We build the latest available coreutils 8.32 which adds needed options to make
|
||||||
|
results of build metadata reproducible. For example, timestamps are changed with
|
||||||
|
``touch --no-dereference``.
|
||||||
|
|
||||||
|
make 4.2.1
|
||||||
|
==========
|
||||||
|
|
||||||
|
A newer version of make built using autotools is much more reliable and is
|
||||||
|
compiled using a modern C compiler and C library. This removes a couple of
|
||||||
|
segfaults encountered later in the process and allows more modern make features
|
||||||
|
to be used. We do not go for the latest because of the use of automake 1.16
|
||||||
|
which we do not have yet.
|
||||||
|
|
||||||
gmp 6.2.1
|
gmp 6.2.1
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
@ -631,3 +617,69 @@ mpc 3.2.1
|
||||||
|
|
||||||
GNU MPC is a library for multiprecision complex arithmetic with exact rounding based
|
GNU MPC is a library for multiprecision complex arithmetic with exact rounding based
|
||||||
on GNU MPFR.
|
on GNU MPFR.
|
||||||
|
|
||||||
|
flex 2.5.33
|
||||||
|
===========
|
||||||
|
|
||||||
|
An older version of flex is required for bison 2.3. We cannot use 2.5.11 that
|
||||||
|
was compiled much earlier, as it does not produce reproducible output when
|
||||||
|
building bison 2.3.
|
||||||
|
|
||||||
|
bison 2.3
|
||||||
|
=========
|
||||||
|
|
||||||
|
This is an older version of bison required for the bison files in perl 5.10.1.
|
||||||
|
We backwards-bootstrap this from 3.4.1, using 3.4.1 to compile the bison files
|
||||||
|
in 2.3. This parser works sufficiently well for perl 5.10.5.
|
||||||
|
|
||||||
|
bison 3.4.2
|
||||||
|
===========
|
||||||
|
|
||||||
|
Bison 3.4.1 is buggy and segfaults when perl 5.32.1 is built. This is probably
|
||||||
|
because it was built with a hand-written makefile. We do not build the latest
|
||||||
|
bison because perl 5.32.1 requires bison <= 3.4.2.
|
||||||
|
|
||||||
|
perl 5.10.1
|
||||||
|
===========
|
||||||
|
|
||||||
|
Perl 5.10.1 is an intermediate version used before Perl 5.32. We require this
|
||||||
|
version as it adds a couple of modules into lib/ required to regenerate files in
|
||||||
|
Perl 5.32. We still use the Makefile instead of the metaconfig strategy, as
|
||||||
|
metaconfig history becomes poor more than a few years back.
|
||||||
|
|
||||||
|
dist 3.5-236
|
||||||
|
============
|
||||||
|
|
||||||
|
dist is perl's package used for generating Perl's Configure (which is written in
|
||||||
|
Perl itself). We 'compile' (aka generate) metaconfig and manifake only from dist.
|
||||||
|
We do not use dist's build system because it itself uses dist.
|
||||||
|
|
||||||
|
perl 5.32.1
|
||||||
|
===========
|
||||||
|
|
||||||
|
We finally compile a full version of Perl using Configure. This includes all base
|
||||||
|
extensions required and is the latest version of Perl. We are now basically able
|
||||||
|
to run any Perl application we want.
|
||||||
|
|
||||||
|
automake 1.16.3
|
||||||
|
===============
|
||||||
|
|
||||||
|
GNU Automake from 1.16 series that required newer Perl.
|
||||||
|
|
||||||
|
patch 2.7.6
|
||||||
|
===========
|
||||||
|
|
||||||
|
Our old patch was built with manual makefile and used mes libc.
|
||||||
|
This is a newer version of which we need in order to import gnulib into gettext.
|
||||||
|
|
||||||
|
gettext 0.21
|
||||||
|
============
|
||||||
|
|
||||||
|
GNU Gettext is an internationalization and localization system used for writing
|
||||||
|
multilingual programs.
|
||||||
|
|
||||||
|
texinfo 6.7
|
||||||
|
===========
|
||||||
|
|
||||||
|
Texinfo is a typesetting syntax used for generating documentation. We can now use
|
||||||
|
``makeinfo`` script to convert ``.texi`` files into ``.info`` documentation format.
|
||||||
|
|
197
sysa.py
197
sysa.py
|
@ -83,7 +83,7 @@ class SysA:
|
||||||
self.check_file(abs_file_name)
|
self.check_file(abs_file_name)
|
||||||
return abs_file_name
|
return abs_file_name
|
||||||
|
|
||||||
def get_file(self, url, mkbuild=False, output=None):
|
def get_file(self, url, output=None):
|
||||||
"""
|
"""
|
||||||
Download and prepare source packages
|
Download and prepare source packages
|
||||||
|
|
||||||
|
@ -92,9 +92,6 @@ class SysA:
|
||||||
2. list of URLs to download. In this case the first URL is the primary URL
|
2. list of URLs to download. In this case the first URL is the primary URL
|
||||||
from which we derive the name of package directory
|
from which we derive the name of package directory
|
||||||
output can be used to override file name of the downloaded file(s).
|
output can be used to override file name of the downloaded file(s).
|
||||||
|
|
||||||
mkbuild=True can be used to pre-create build directories before
|
|
||||||
mkdir is available.
|
|
||||||
"""
|
"""
|
||||||
# Single URL
|
# Single URL
|
||||||
if isinstance(url, str):
|
if isinstance(url, str):
|
||||||
|
@ -128,9 +125,6 @@ class SysA:
|
||||||
# Install sources into target directory
|
# Install sources into target directory
|
||||||
shutil.copy2(tarball, target_src_dir)
|
shutil.copy2(tarball, target_src_dir)
|
||||||
|
|
||||||
if mkbuild:
|
|
||||||
os.mkdir(os.path.join(self.after_dir, target_name, 'build'))
|
|
||||||
|
|
||||||
def prepare(self):
|
def prepare(self):
|
||||||
"""
|
"""
|
||||||
Prepare directory structure for System A.
|
Prepare directory structure for System A.
|
||||||
|
@ -146,54 +140,54 @@ class SysA:
|
||||||
self.after()
|
self.after()
|
||||||
|
|
||||||
def stage0_posix(self):
|
def stage0_posix(self):
|
||||||
"""Copy in all the stage0-posix (formerly known as mescc-tools-seed)"""
|
"""Copy in all of the stage0-posix"""
|
||||||
mescc_tools_seed_base_dir = os.path.join(self.sysa_dir, 'mescc-tools-seed',
|
stage0_posix_base_dir = os.path.join(self.sysa_dir, 'stage0-posix', 'src')
|
||||||
'src', 'mescc-tools-seed')
|
stage0_posix_arch_dir = os.path.join(stage0_posix_base_dir, self.arch)
|
||||||
mescc_tools_seed_dir = os.path.join(mescc_tools_seed_base_dir, self.arch)
|
copy_tree(stage0_posix_arch_dir, self.tmp_dir)
|
||||||
copy_tree(mescc_tools_seed_dir, self.tmp_dir)
|
|
||||||
|
|
||||||
m2_planet_dir = os.path.join(mescc_tools_seed_base_dir, 'M2-Planet')
|
m2_planet_dir = os.path.join(stage0_posix_base_dir, 'M2-Planet')
|
||||||
copytree(m2_planet_dir, self.tmp_dir)
|
copytree(m2_planet_dir, self.tmp_dir)
|
||||||
|
|
||||||
# At the moment not useful for bootstrap but easier to keep it
|
# M2libc
|
||||||
mes_m2_dir = os.path.join(mescc_tools_seed_base_dir, 'mes-m2')
|
m2libc_dir = os.path.join(stage0_posix_base_dir, 'M2libc')
|
||||||
copytree(mes_m2_dir, self.tmp_dir)
|
copytree(m2libc_dir, self.tmp_dir)
|
||||||
|
|
||||||
mescc_tools_patched_dir = os.path.join(self.sysa_dir, 'mescc-tools-seed',
|
# mescc-tools
|
||||||
'src', 'mescc-tools-patched')
|
mescc_tools_dir = os.path.join(stage0_posix_base_dir, 'mescc-tools')
|
||||||
shutil.copytree(mescc_tools_patched_dir,
|
copytree(mescc_tools_dir, self.tmp_dir)
|
||||||
os.path.join(self.tmp_dir, 'mescc-tools'), shutil.ignore_patterns('*.git*'))
|
|
||||||
|
# mescc-tools-extra
|
||||||
|
# Some additional tools such as cp, chmod, untar and ungz
|
||||||
|
mescc_tools_extra_dir = os.path.join(stage0_posix_base_dir, 'mescc-tools-extra')
|
||||||
|
copytree(mescc_tools_extra_dir, self.tmp_dir)
|
||||||
|
|
||||||
# bootstrap seeds
|
# bootstrap seeds
|
||||||
bootstrap_seeds_dir = os.path.join(self.sysa_dir, 'bootstrap-seeds')
|
bootstrap_seeds_dir = os.path.join(self.sysa_dir, 'stage0-posix', 'src', 'bootstrap-seeds')
|
||||||
copytree(bootstrap_seeds_dir, self.tmp_dir)
|
copytree(bootstrap_seeds_dir, self.tmp_dir)
|
||||||
kaem_optional_seed = os.path.join(bootstrap_seeds_dir, 'POSIX',
|
kaem_optional_seed = os.path.join(bootstrap_seeds_dir, 'POSIX',
|
||||||
self.arch, 'kaem-optional-seed')
|
self.arch, 'kaem-optional-seed')
|
||||||
shutil.copy2(kaem_optional_seed, os.path.join(self.tmp_dir, 'init'))
|
shutil.copy2(kaem_optional_seed, os.path.join(self.tmp_dir, 'init'))
|
||||||
|
|
||||||
# replace the init kaem with our own custom one
|
# stage0-posix hook to continue running live-bootstrap
|
||||||
shutil.move(os.path.join(self.tmp_dir, 'kaem.run'),
|
shutil.copy2(os.path.join(self.sysa_dir, 'after.kaem'),
|
||||||
os.path.join(self.tmp_dir, 'mescc-tools-seed.kaem.run'))
|
os.path.join(self.tmp_dir, 'after.kaem'))
|
||||||
shutil.copy2(os.path.join(self.sysa_dir, 'base.kaem.run'),
|
|
||||||
os.path.join(self.tmp_dir, 'kaem.run'))
|
|
||||||
|
|
||||||
# create directories needed
|
# create directories needed
|
||||||
os.mkdir(os.path.join(self.tmp_dir, 'bin'))
|
os.mkdir(os.path.join(self.tmp_dir, 'bin'))
|
||||||
|
|
||||||
|
# stage0-posix checksums
|
||||||
|
shutil.copy2(os.path.join(stage0_posix_base_dir, self.arch + '.answers'),
|
||||||
|
os.path.join(self.tmp_dir, self.arch + '.answers'))
|
||||||
|
|
||||||
def after(self):
|
def after(self):
|
||||||
"""
|
"""
|
||||||
Prepare sources in /after directory.
|
Prepare sources in /after directory.
|
||||||
After mescc-tools-seed we get into our own directory because
|
After stage0-posix we get into our own directory because
|
||||||
the mescc-tools-seed one is hella messy.
|
the stage0-posix one is hella messy.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.create_after_dirs()
|
|
||||||
self.create_configuration_file()
|
self.create_configuration_file()
|
||||||
self.mescc_tools_checksum()
|
|
||||||
self.deploy_extra_files()
|
self.deploy_extra_files()
|
||||||
self.mescc_tools_extra()
|
|
||||||
self.mes()
|
|
||||||
self.tcc_0_9_26()
|
|
||||||
self.get_packages()
|
self.get_packages()
|
||||||
|
|
||||||
def create_configuration_file(self):
|
def create_configuration_file(self):
|
||||||
|
@ -201,102 +195,57 @@ class SysA:
|
||||||
Creates bootstrap.cfg file which would contain options used to
|
Creates bootstrap.cfg file which would contain options used to
|
||||||
customize bootstrap.
|
customize bootstrap.
|
||||||
"""
|
"""
|
||||||
|
os.mkdir(self.after_dir)
|
||||||
config_path = os.path.join(self.after_dir, "bootstrap.cfg")
|
config_path = os.path.join(self.after_dir, "bootstrap.cfg")
|
||||||
with open(config_path, "w") as config:
|
with open(config_path, "w") as config:
|
||||||
config.write("FORCE_TIMESTAMPS=" + str(self.force_timestamps))
|
config.write("FORCE_TIMESTAMPS=" + str(self.force_timestamps))
|
||||||
|
|
||||||
def create_after_dirs(self):
|
|
||||||
"""
|
|
||||||
Create some empty directories for early bootstrap
|
|
||||||
This list can be eventually reduced if we include a small
|
|
||||||
mkdir implementation written for M2-Planet.
|
|
||||||
"""
|
|
||||||
bin_dir = os.path.join(self.after_dir, 'bin')
|
|
||||||
lib_dir = os.path.join(self.after_dir, 'lib')
|
|
||||||
include_dir = os.path.join(self.after_dir, 'include')
|
|
||||||
|
|
||||||
os.mkdir(self.after_dir)
|
|
||||||
os.mkdir(bin_dir)
|
|
||||||
os.mkdir(lib_dir)
|
|
||||||
os.mkdir(include_dir)
|
|
||||||
os.mkdir(os.path.join(lib_dir, self.arch+'-mes'))
|
|
||||||
os.mkdir(os.path.join(lib_dir, 'tcc'))
|
|
||||||
os.mkdir(os.path.join(lib_dir, 'linux'))
|
|
||||||
os.mkdir(os.path.join(lib_dir, 'linux', self.arch+'-mes'))
|
|
||||||
os.mkdir(os.path.join(include_dir, 'mes'))
|
|
||||||
os.mkdir(os.path.join(include_dir, 'gnu'))
|
|
||||||
os.mkdir(os.path.join(include_dir, 'linux'))
|
|
||||||
os.mkdir(os.path.join(include_dir, 'linux', self.arch))
|
|
||||||
os.mkdir(os.path.join(include_dir, 'sys'))
|
|
||||||
os.mkdir(os.path.join(include_dir, 'mach'))
|
|
||||||
|
|
||||||
# Needed for patch to work, although can be fixed with TMPDIR
|
|
||||||
os.mkdir(os.path.join(self.tmp_dir, 'tmp'))
|
|
||||||
|
|
||||||
def mescc_tools_checksum(self):
|
|
||||||
"""Early fletcher16 checksum files"""
|
|
||||||
shutil.copy2(os.path.join(self.sysa_dir, 'mescc-tools-seed', 'checksums'),
|
|
||||||
os.path.join(self.after_dir, 'mescc-tools-seed-checksums'))
|
|
||||||
|
|
||||||
def deploy_extra_files(self):
|
def deploy_extra_files(self):
|
||||||
"""Deploy misc files"""
|
"""Deploy misc files"""
|
||||||
extra_files = ['helpers.sh', 'run.sh', 'run2.sh', 'pre-sha.sha256sums']
|
extra_files = ['helpers.sh', 'run.sh', 'run2.sh']
|
||||||
for extra_file in extra_files:
|
for extra_file in extra_files:
|
||||||
shutil.copy2(os.path.join(self.sysa_dir, extra_file), self.after_dir)
|
shutil.copy2(os.path.join(self.sysa_dir, extra_file), self.after_dir)
|
||||||
|
|
||||||
shutil.copy2(os.path.join(self.sysa_dir, 'after.kaem'), self.tmp_dir)
|
|
||||||
shutil.copy2(os.path.join(self.sysa_dir, 'after.kaem.run'),
|
|
||||||
os.path.join(self.after_dir, 'kaem.run'))
|
|
||||||
shutil.copy2(os.path.join(self.git_dir, 'SHA256SUMS.sources'), self.after_dir)
|
shutil.copy2(os.path.join(self.git_dir, 'SHA256SUMS.sources'), self.after_dir)
|
||||||
|
|
||||||
def mescc_tools_extra(self):
|
|
||||||
"""Some additional tools such as cp and chmod (for M2-Planet)"""
|
|
||||||
copytree(os.path.join(self.sysa_dir, 'mescc-tools-extra'), self.after_dir)
|
|
||||||
|
|
||||||
def mes(self):
|
|
||||||
"""GNU Mes"""
|
|
||||||
copytree(os.path.join(self.sysa_dir, 'mes'), self.after_dir)
|
|
||||||
mes_dir = os.path.join(self.after_dir, 'mes', 'src', 'mes')
|
|
||||||
os.mkdir(os.path.join(mes_dir, 'bin'))
|
|
||||||
os.mkdir(os.path.join(mes_dir, 'm2'))
|
|
||||||
|
|
||||||
def tcc_0_9_26(self):
|
|
||||||
"""TinyCC 0.9.26 (patched by janneke)"""
|
|
||||||
copytree(os.path.join(self.sysa_dir, 'tcc-0.9.26'), self.after_dir)
|
|
||||||
|
|
||||||
# pylint: disable=line-too-long,too-many-statements
|
# pylint: disable=line-too-long,too-many-statements
|
||||||
def get_packages(self):
|
def get_packages(self):
|
||||||
"""Prepare remaining sources"""
|
"""Prepare remaining sources"""
|
||||||
# untar from libarchive 3.4
|
|
||||||
self.get_file("https://raw.githubusercontent.com/libarchive/libarchive/3.4/contrib/untar.c")
|
# mes-0.22 snapshot with m2 fixes
|
||||||
|
self.get_file(["https://github.com/oriansj/mes-m2/archive/a7522f26ee020dc498219d0122ea1b7d345bcdd5.tar.gz",
|
||||||
|
"https://download.savannah.gnu.org/releases/nyacc/nyacc-1.00.2.tar.gz"],
|
||||||
|
output=["mes.tar.gz", "nyacc-1.00.2.tar.gz"])
|
||||||
|
|
||||||
|
# tcc 0.9.26 patched by janneke
|
||||||
|
self.get_file("https://lilypond.org/janneke/tcc/tcc-0.9.26-1136-g5bba73cc.tar.gz", output="tcc-0.9.26.tar.gz")
|
||||||
|
|
||||||
|
# mes 0.23 (meslibc)
|
||||||
|
self.get_file("https://mirrors.kernel.org/gnu/mes/mes-0.23.tar.gz")
|
||||||
|
|
||||||
# gzip 1.2.4
|
# gzip 1.2.4
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/gzip/gzip-1.2.4.tar", mkbuild=True)
|
self.get_file("https://mirrors.kernel.org/gnu/gzip/gzip-1.2.4.tar.gz")
|
||||||
|
|
||||||
# tar 1.12
|
# tar 1.12
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/tar/tar-1.12.tar.gz", mkbuild=True)
|
self.get_file("https://mirrors.kernel.org/gnu/tar/tar-1.12.tar.gz")
|
||||||
|
|
||||||
# sed 4.0.9
|
# sed 4.0.9
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/sed/sed-4.0.9.tar.gz", mkbuild=True)
|
self.get_file("https://mirrors.kernel.org/gnu/sed/sed-4.0.9.tar.gz")
|
||||||
|
|
||||||
# patch 2.5.9
|
# patch 2.5.9
|
||||||
self.get_file("https://ftp.gnu.org/pub/gnu/patch/patch-2.5.9.tar.gz", mkbuild=True)
|
self.get_file("https://ftp.gnu.org/pub/gnu/patch/patch-2.5.9.tar.gz")
|
||||||
|
|
||||||
# sha-2 61555d
|
|
||||||
self.get_file("https://github.com/amosnier/sha-2/archive/61555d.tar.gz", mkbuild=True,
|
|
||||||
output="sha-2-61555d.tar.gz")
|
|
||||||
|
|
||||||
# make 3.80
|
# make 3.80
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/make/make-3.80.tar.gz", mkbuild=True)
|
self.get_file("https://mirrors.kernel.org/gnu/make/make-3.80.tar.gz")
|
||||||
|
|
||||||
# bzip2 1.0.8
|
# bzip2 1.0.8
|
||||||
self.get_file("https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz", mkbuild=True)
|
self.get_file("https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz")
|
||||||
|
|
||||||
# tcc 0.9.27
|
# tcc 0.9.27
|
||||||
self.get_file("https://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27.tar.bz2", mkbuild=True)
|
self.get_file("https://download.savannah.gnu.org/releases/tinycc/tcc-0.9.27.tar.bz2")
|
||||||
|
|
||||||
# coreutils 5.0
|
# coreutils 5.0
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/coreutils/coreutils-5.0.tar.bz2", mkbuild=True)
|
self.get_file("https://mirrors.kernel.org/gnu/coreutils/coreutils-5.0.tar.bz2")
|
||||||
|
|
||||||
# heirloom-devtools
|
# heirloom-devtools
|
||||||
self.get_file("http://downloads.sourceforge.net/project/heirloom/heirloom-devtools/070527/heirloom-devtools-070527.tar.bz2")
|
self.get_file("http://downloads.sourceforge.net/project/heirloom/heirloom-devtools/070527/heirloom-devtools-070527.tar.bz2")
|
||||||
|
@ -307,9 +256,6 @@ class SysA:
|
||||||
# flex 2.5.11
|
# flex 2.5.11
|
||||||
self.get_file("http://download.nust.na/pub2/openpkg1/sources/DST/flex/flex-2.5.11.tar.gz")
|
self.get_file("http://download.nust.na/pub2/openpkg1/sources/DST/flex/flex-2.5.11.tar.gz")
|
||||||
|
|
||||||
# mes 0.23 (meslibc)
|
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/mes/mes-0.23.tar.gz")
|
|
||||||
|
|
||||||
# musl 1.1.24
|
# musl 1.1.24
|
||||||
self.get_file("https://musl.libc.org/releases/musl-1.1.24.tar.gz")
|
self.get_file("https://musl.libc.org/releases/musl-1.1.24.tar.gz")
|
||||||
|
|
||||||
|
@ -438,13 +384,16 @@ class SysA:
|
||||||
# automake 1.15.1
|
# automake 1.15.1
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.15.1.tar.xz")
|
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.15.1.tar.xz")
|
||||||
|
|
||||||
|
# tar 1.34
|
||||||
|
self.get_file(["https://mirrors.kernel.org/gnu/tar/tar-1.34.tar.xz",
|
||||||
|
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-30820c.tar.gz"])
|
||||||
|
|
||||||
# coreutils 8.32
|
# coreutils 8.32
|
||||||
self.get_file(["https://git.savannah.gnu.org/cgit/coreutils.git/snapshot/coreutils-8.32.tar.gz",
|
self.get_file(["https://git.savannah.gnu.org/cgit/coreutils.git/snapshot/coreutils-8.32.tar.gz",
|
||||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-d279bc.tar.gz"])
|
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-d279bc.tar.gz"])
|
||||||
|
|
||||||
# tar 1.34
|
# make 4.2.1
|
||||||
self.get_file(["https://mirrors.kernel.org/gnu/tar/tar-1.34.tar.xz",
|
self.get_file("https://ftp.gnu.org/gnu/make/make-4.2.1.tar.gz")
|
||||||
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-30820c.tar.gz"])
|
|
||||||
|
|
||||||
# gmp 6.2.1
|
# gmp 6.2.1
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/gmp/gmp-6.2.1.tar.xz")
|
self.get_file("https://mirrors.kernel.org/gnu/gmp/gmp-6.2.1.tar.xz")
|
||||||
|
@ -457,3 +406,41 @@ class SysA:
|
||||||
|
|
||||||
# mpc 1.2.1
|
# mpc 1.2.1
|
||||||
self.get_file("https://mirrors.kernel.org/gnu/mpc/mpc-1.2.1.tar.gz")
|
self.get_file("https://mirrors.kernel.org/gnu/mpc/mpc-1.2.1.tar.gz")
|
||||||
|
|
||||||
|
# flex 2.5.33
|
||||||
|
self.get_file("http://download.nust.na/pub2/openpkg1/sources/DST/flex/flex-2.5.33.tar.gz")
|
||||||
|
|
||||||
|
# bison 2.3
|
||||||
|
self.get_file(["https://mirrors.kernel.org/gnu/bison/bison-2.3.tar.bz2",
|
||||||
|
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-b28236b.tar.gz"])
|
||||||
|
|
||||||
|
# bison 3.4.2
|
||||||
|
self.get_file(["https://mirrors.kernel.org/gnu/bison/bison-3.4.2.tar.xz",
|
||||||
|
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-672663a.tar.gz"])
|
||||||
|
|
||||||
|
# perl 5.10.5
|
||||||
|
self.get_file("https://www.cpan.org/src/5.0/perl-5.10.1.tar.bz2")
|
||||||
|
|
||||||
|
# dist 3.5-236
|
||||||
|
# Debian's version is used because upstream is not to be found (dead?)
|
||||||
|
self.get_file("https://salsa.debian.org/perl-team/interpreter/dist/-/archive/d1de81f/dist-d1de81f.tar.gz",
|
||||||
|
output="dist-3.5-236.tar.gz")
|
||||||
|
|
||||||
|
# perl 5.32.1
|
||||||
|
self.get_file(["https://www.cpan.org/src/5.0/perl-5.32.1.tar.xz",
|
||||||
|
"https://salsa.debian.org/perl-team/interpreter/perl/-/archive/5f2dc80/perl-5f2dc80.tar.bz2"])
|
||||||
|
|
||||||
|
# automake 1.16.3
|
||||||
|
self.get_file("https://mirrors.kernel.org/gnu/automake/automake-1.16.3.tar.xz")
|
||||||
|
|
||||||
|
# patch 2.7.6
|
||||||
|
self.get_file(["https://mirrors.kernel.org/gnu/patch/patch-2.7.6.tar.xz",
|
||||||
|
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-e017871.tar.gz"])
|
||||||
|
|
||||||
|
# gettext 0.21
|
||||||
|
self.get_file(["https://mirrors.kernel.org/gnu/gettext/gettext-0.21.tar.xz",
|
||||||
|
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-7daa86f.tar.gz"])
|
||||||
|
|
||||||
|
# texinfo 6.7
|
||||||
|
self.get_file(["https://mirrors.kernel.org/gnu/texinfo/texinfo-6.7.tar.xz",
|
||||||
|
"https://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-b81ec69.tar.gz"])
|
||||||
|
|
130
sysa/after.kaem
130
sysa/after.kaem
|
@ -1,12 +1,134 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||||
# SPDX-FileCopyrightText: 2020-2021 fosslinux <fosslinux@aussies.space>
|
# SPDX-FileCopyrightText: 2020-2021 fosslinux <fosslinux@aussies.space>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
cd after
|
set -ex
|
||||||
|
|
||||||
PATH=/after/bin:/bin
|
PATH=/bin
|
||||||
|
|
||||||
# Finally, reinvoke kaem in this directory
|
# Set commonly used variables
|
||||||
../bin/kaem --file kaem.run
|
prefix=/after
|
||||||
|
bindir=${prefix}/bin
|
||||||
|
libdir=${prefix}/lib
|
||||||
|
incdir=${prefix}/include
|
||||||
|
NYACC_PKG=nyacc-1.00.2
|
||||||
|
MES_PKG=mes
|
||||||
|
MES_PREFIX=${prefix}/${MES_PKG}/src/mes-m2-a7522f26ee020dc498219d0122ea1b7d345bcdd5
|
||||||
|
GUILE_LOAD_PATH=${MES_PREFIX}/mes/module:${MES_PREFIX}/module:${prefix}/${MES_PKG}/src/${NYACC_PKG}/module
|
||||||
|
|
||||||
|
cd ${prefix}
|
||||||
|
|
||||||
|
mkdir ${bindir}
|
||||||
|
|
||||||
|
# Remove remaining dependencies on / (root of /after)
|
||||||
|
cp /bin/blood-elf bin/blood-elf
|
||||||
|
cp /bin/catm bin/catm
|
||||||
|
cp /bin/chmod bin/chmod
|
||||||
|
cp /bin/get_machine bin/get_machine
|
||||||
|
cp /bin/hex2 bin/hex2
|
||||||
|
cp /bin/kaem bin/kaem
|
||||||
|
cp /bin/M1 bin/M1
|
||||||
|
cp /bin/M2-Planet bin/M2-Planet
|
||||||
|
cp /bin/mkdir bin/mkdir
|
||||||
|
cp /bin/sha256sum bin/sha256sum
|
||||||
|
cp /bin/ungz bin/ungz
|
||||||
|
cp /bin/untar bin/untar
|
||||||
|
|
||||||
|
cp /bin/cp /after/bin/cp
|
||||||
|
|
||||||
|
chmod 755 bin/blood-elf
|
||||||
|
chmod 755 bin/catm
|
||||||
|
chmod 755 bin/chmod
|
||||||
|
chmod 755 bin/cp
|
||||||
|
chmod 755 bin/get_machine
|
||||||
|
chmod 755 bin/hex2
|
||||||
|
chmod 755 bin/kaem
|
||||||
|
chmod 755 bin/M1
|
||||||
|
chmod 755 bin/M2-Planet
|
||||||
|
chmod 755 bin/mkdir
|
||||||
|
chmod 755 bin/sha256sum
|
||||||
|
chmod 755 bin/ungz
|
||||||
|
chmod 755 bin/untar
|
||||||
|
|
||||||
|
PATH=/after/bin
|
||||||
|
|
||||||
|
# Needed for patch to work
|
||||||
|
mkdir /tmp
|
||||||
|
|
||||||
|
# mes
|
||||||
|
pkg=${MES_PKG}
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ${prefix}
|
||||||
|
|
||||||
|
# tcc 0.9.26
|
||||||
|
pkg="tcc-0.9.26"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# gzip
|
||||||
|
pkg="gzip-1.2.4"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# tar
|
||||||
|
pkg="tar-1.12"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# sed
|
||||||
|
pkg="sed-4.0.9"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# patch
|
||||||
|
pkg="patch-2.5.9"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# make
|
||||||
|
pkg="make-3.80"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# bzip2
|
||||||
|
pkg="bzip2-1.0.8"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# tcc 0.9.27
|
||||||
|
pkg="tcc-0.9.27"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# coreutils
|
||||||
|
pkg="coreutils-5.0"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# heirloom-devtools
|
||||||
|
pkg="heirloom-devtools-070527"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
# bash
|
||||||
|
pkg="bash-2.05b"
|
||||||
|
cd ${pkg}
|
||||||
|
kaem --file ${pkg}.kaem
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
bash run.sh
|
||||||
|
|
|
@ -1,128 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
|
||||||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
|
||||||
# SPDX-FileCopyrightText: 2020-2021 fosslinux <fosslinux@aussies.space>
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
PATH=/after/bin:/bin
|
|
||||||
|
|
||||||
# Set commonly used variables
|
|
||||||
prefix=/after
|
|
||||||
bindir=${prefix}/bin
|
|
||||||
libdir=${prefix}/lib
|
|
||||||
incdir=${prefix}/include
|
|
||||||
MES_PREFIX=${prefix}/mes/src/mes
|
|
||||||
GUILE_LOAD_PATH=${prefix}/mes/src/nyacc/module:${prefix}/mes/src/mes/mes/module:${prefix}/mes/src/mes/module
|
|
||||||
|
|
||||||
# cp and chown (mescc-tools-extra)
|
|
||||||
pkg="mescc-tools-extra"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# Remove remaining dependencies on / (root of /after)
|
|
||||||
cp ../bin/hex2 bin/hex2
|
|
||||||
cp ../bin/M1 bin/M1
|
|
||||||
cp ../bin/M2-Planet bin/M2-Planet
|
|
||||||
cp ../bin/blood-elf bin/blood-elf
|
|
||||||
cp ../bin/get_machine bin/get_machine
|
|
||||||
cp ../bin/mes-m2 bin/mes-m2
|
|
||||||
cp ../bin/kaem bin/kaem
|
|
||||||
cp ../catm bin/catm
|
|
||||||
chmod 755 bin/hex2 bin/M1 bin/M2-Planet bin/blood-elf \
|
|
||||||
bin/get_machine bin/mes-m2 bin/kaem bin/catm
|
|
||||||
fletcher16 mescc-tools-seed-checksums
|
|
||||||
PATH=/after/bin
|
|
||||||
|
|
||||||
# mes
|
|
||||||
pkg="mes"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# tcc 0.9.26
|
|
||||||
pkg="tcc-0.9.26"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# untar
|
|
||||||
pkg="untar"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# gzip
|
|
||||||
pkg="gzip-1.2.4"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# tar
|
|
||||||
pkg="tar-1.12"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# sed
|
|
||||||
pkg="sed-4.0.9"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# patch
|
|
||||||
pkg="patch-2.5.9"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# sha-2
|
|
||||||
pkg="sha-2-61555d"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# Check all up to this part as sha256sum
|
|
||||||
sha256sum -c pre-sha.sha256sums
|
|
||||||
|
|
||||||
# make
|
|
||||||
pkg="make-3.80"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# bzip2
|
|
||||||
pkg="bzip2-1.0.8"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# tcc 0.9.27
|
|
||||||
pkg="tcc-0.9.27"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# coreutils
|
|
||||||
pkg="coreutils-5.0"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# heirloom-devtools
|
|
||||||
pkg="heirloom-devtools-070527"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# bash
|
|
||||||
pkg="bash-2.05b"
|
|
||||||
cd ${pkg}
|
|
||||||
kaem --file ${pkg}.kaem
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
bash run.sh
|
|
|
@ -5,6 +5,8 @@
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
|
rm doc/amhello-1.0.tar.gz doc/automake.info*
|
||||||
|
|
||||||
./bootstrap
|
./bootstrap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,8 @@
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
|
rm doc/amhello-1.0.tar.gz doc/automake.info*
|
||||||
|
|
||||||
./bootstrap
|
./bootstrap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,11 @@
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
|
rm doc/amhello-1.0.tar.gz
|
||||||
|
|
||||||
./bootstrap
|
./bootstrap
|
||||||
|
|
||||||
rm doc/automake-history.info
|
rm doc/automake-history.info doc/automake.info*
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
@ -15,7 +17,7 @@ src_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
make MAKEINFO=true CC=tcc
|
make MAKEINFO=true
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
./bootstrap
|
||||||
|
|
||||||
|
rm doc/automake-history.info doc/automake.info*
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure --prefix=/after
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
make MAKEINFO=true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make install MAKEINFO=true DESTDIR="${DESTDIR}"
|
||||||
|
}
|
|
@ -3,6 +3,8 @@
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
rm doc/automake.info*
|
||||||
|
|
||||||
autoreconf-2.59 -f
|
autoreconf-2.59 -f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
rm doc/automake.info*
|
||||||
|
|
||||||
sed -i 's/1.8a/1.8.5/; s/ filename-length-max=99//' configure.ac
|
sed -i 's/1.8a/1.8.5/; s/ filename-length-max=99//' configure.ac
|
||||||
autoreconf-2.61 -f
|
autoreconf-2.61 -f
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
rm doc/automake.info*
|
||||||
|
|
||||||
autoreconf-2.61 -f
|
autoreconf-2.61 -f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# SPDX-FileCopyrightText: 2020-2021 fosslinux <fosslinux@aussies.space>
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
# Part 1: mescc-tools-seed
|
|
||||||
|
|
||||||
./bootstrap-seeds/POSIX/x86/kaem-optional-seed mescc-tools-seed.kaem.run
|
|
||||||
|
|
||||||
# Part 2-infinity: get the hell out of this mess of a directory
|
|
||||||
|
|
||||||
bin/kaem --verbose --strict --file after.kaem
|
|
|
@ -1 +1 @@
|
||||||
b12868e2bb49724e214b4679973e3f1e43f091f1bbbf8ed66340f18cda226947 /after/bin/bash
|
92bd0df325ba2b2f89188529401a1a9dc242306272e65141c1049bb0ce424107 /after/bin/bash
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
../../import-gnulib.sh
|
||||||
|
|
||||||
|
AUTOPOINT=true autoreconf-2.65 -fi
|
||||||
|
|
||||||
|
# Remove pregenerated files
|
||||||
|
rm src/parse-gram.c src/parse-gram.h src/scan-skel.c src/scan-gram.c
|
||||||
|
|
||||||
|
# Remove pregenerated .info
|
||||||
|
rm doc/bison.info
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
LEX=flex-2.5.33 ./configure \
|
||||||
|
--prefix="${PREFIX}" \
|
||||||
|
--program-suffix=-2.3 \
|
||||||
|
--datarootdir="${PREFIX}/share/bison-2.3"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
make MAKEINFO=true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
1064ce45a402e6dcadf2a01e4aa55743ee45a7124ce4ba580d80e75f49af1ff8 /after/bin/bison-2.3
|
|
@ -0,0 +1,55 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
gnulib_modules='
|
||||||
|
argmatch
|
||||||
|
dirname
|
||||||
|
error
|
||||||
|
exitfail
|
||||||
|
extensions
|
||||||
|
getopt
|
||||||
|
gettext
|
||||||
|
hard-locale
|
||||||
|
hash
|
||||||
|
malloc
|
||||||
|
mbswidth
|
||||||
|
obstack
|
||||||
|
quote
|
||||||
|
quotearg
|
||||||
|
stdbool
|
||||||
|
stdio-safer
|
||||||
|
strerror
|
||||||
|
strtoul
|
||||||
|
strverscmp
|
||||||
|
unistd-safer
|
||||||
|
unlocked-io
|
||||||
|
verify
|
||||||
|
xalloc
|
||||||
|
xalloc-die
|
||||||
|
xstrndup
|
||||||
|
'
|
||||||
|
|
||||||
|
# Copy over needed files
|
||||||
|
for i in ${gnulib_modules}; do
|
||||||
|
for f in $(../gnulib-b28236b/gnulib-tool --extract-filelist "${i}") \
|
||||||
|
lib/wcwidth.h; do
|
||||||
|
cp -pf "../gnulib-b28236b/${f}" "./${f}"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
# Generate the things
|
||||||
|
(echo '# This file is generated automatically by "bootstrap".' &&
|
||||||
|
echo 'AC_DEFUN([GNULIB_AUTOCONF_SNIPPET],[' &&
|
||||||
|
../gnulib-b28236b/gnulib-tool --extract-autoconf-snippet $gnulib_modules &&
|
||||||
|
echo '])'
|
||||||
|
) > m4/gnulib.m4
|
||||||
|
|
||||||
|
(echo '# This file is generated automatically by "bootstrap".' &&
|
||||||
|
../gnulib-b28236b/gnulib-tool --extract-automake-snippet $gnulib_modules |
|
||||||
|
sed 's/^[ ]*AM_CPPFLAGS[ ]*+=/# (commented out by bootstrap) &/'
|
||||||
|
) > lib/gnulib.mk
|
|
@ -0,0 +1,17 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
This macro does not exist in newer versions of autoconf and is unrequired.
|
||||||
|
There is no verion of autoconf supporting this project + gnulib + this macro.
|
||||||
|
|
||||||
|
--- m4/po_gl.m4 2021-04-11 18:39:53.353069610 +1000
|
||||||
|
+++ m4/po_gl.m4 2021-04-11 18:40:20.422242498 +1000
|
||||||
|
@@ -24,7 +24,6 @@
|
||||||
|
[
|
||||||
|
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||||
|
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||||
|
- AC_REQUIRE([AM_MKINSTALLDIRS])dnl
|
||||||
|
AC_REQUIRE([AM_NLS])dnl
|
||||||
|
|
||||||
|
dnl Perform the following tests also if --disable-nls has been given,
|
|
@ -0,0 +1,18 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
fopen-safer.c for whatever reason does not exist when added by gnulib.
|
||||||
|
|
||||||
|
--- lib/Makefile.am 2021-04-11 19:01:01.265993928 +1000
|
||||||
|
+++ lib/Makefile.am 2021-04-11 19:01:40.413232722 +1000
|
||||||
|
@@ -32,7 +32,8 @@
|
||||||
|
lib_SOURCES = \
|
||||||
|
get-errno.h get-errno.c \
|
||||||
|
subpipe.h subpipe.c \
|
||||||
|
- $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources)
|
||||||
|
+ $(bitsets_sources) $(additional_bitsets_sources) $(timevars_sources) \
|
||||||
|
+ fopen-safer.c
|
||||||
|
|
||||||
|
# Implementation of bitsets
|
||||||
|
bitsets_sources = \
|
|
@ -0,0 +1,17 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
This should be declared for gnulib, but for some reason is not, most likely
|
||||||
|
use of a different version (but CVS history no longer exists).
|
||||||
|
|
||||||
|
--- lib/Makefile.am 2021-04-11 13:49:09.414805465 +1000
|
||||||
|
+++ lib/Makefile.am 2021-04-11 13:49:26.418916036 +1000
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
|
||||||
|
BUILT_SOURCES =
|
||||||
|
EXTRA_DIST =
|
||||||
|
+EXTRA_lib_SOURCES =
|
||||||
|
MOSTLYCLEANFILES =
|
||||||
|
|
||||||
|
lib_LIBRARIES = $(YACC_LIBRARY)
|
|
@ -0,0 +1,20 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
|
This doesn't actually make sense, you can't use the built bison to bootstrap
|
||||||
|
itself. Make it use our bison instead.
|
||||||
|
|
||||||
|
--- src/Makefile.am 2021-04-10 21:37:11.570390316 +1000
|
||||||
|
+++ src/Makefile.am 2021-04-10 21:38:01.805804332 +1000
|
||||||
|
@@ -23,10 +23,6 @@
|
||||||
|
|
||||||
|
LDADD = ../lib/libbison.a $(LIBINTL)
|
||||||
|
|
||||||
|
-# Use our own Bison to build the parser. Of course, you ought to
|
||||||
|
-# keep a sane version of Bison nearby...
|
||||||
|
-YACC = ../tests/bison -y
|
||||||
|
-
|
||||||
|
bin_PROGRAMS = bison
|
||||||
|
bin_SCRIPTS = $(YACC_SCRIPT)
|
||||||
|
EXTRA_SCRIPTS = yacc
|
|
@ -0,0 +1,32 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Remove pre-generated flex/bison files
|
||||||
|
rm src/parse-gram.c src/parse-gram.h
|
||||||
|
rm src/scan-code.c
|
||||||
|
rm src/scan-gram.c
|
||||||
|
rm src/scan-skel.c
|
||||||
|
|
||||||
|
# Remove pregenerated info files
|
||||||
|
rm doc/bison.info
|
||||||
|
|
||||||
|
../../import-gnulib.sh
|
||||||
|
|
||||||
|
AUTOPOINT=true autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure --prefix="${PREFIX}" --disable-nls
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
make MAKEINFO=true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
be6311f33f8dce01a5683b525b178f8d441c4ed2916ee19c64a0c43f8223e9cc /after/bin/bison
|
|
@ -0,0 +1,91 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
../gnulib-672663a/gnulib-tool --import --local-dir=gl \
|
||||||
|
--lib=libbison \
|
||||||
|
--source-base=lib \
|
||||||
|
--m4-base=m4 \
|
||||||
|
--po-base=gnulib-po \
|
||||||
|
--doc-base=doc \
|
||||||
|
--tests-base=tests \
|
||||||
|
--aux-dir=build-aux \
|
||||||
|
--makefile-name=gnulib.mk \
|
||||||
|
--conditional-dependencies \
|
||||||
|
--no-libtool \
|
||||||
|
--macro-prefix=gl \
|
||||||
|
--po-domain=bison \
|
||||||
|
argmatch \
|
||||||
|
array-list \
|
||||||
|
assert \
|
||||||
|
assure \
|
||||||
|
bitsetv \
|
||||||
|
c-strcase \
|
||||||
|
calloc-posix \
|
||||||
|
close \
|
||||||
|
closeout \
|
||||||
|
config-h \
|
||||||
|
configmake \
|
||||||
|
dirname \
|
||||||
|
error \
|
||||||
|
extensions \
|
||||||
|
fdl \
|
||||||
|
fopen-safer \
|
||||||
|
fprintf-posix \
|
||||||
|
getopt-gnu \
|
||||||
|
gettext-h \
|
||||||
|
git-version-gen \
|
||||||
|
gitlog-to-changelog \
|
||||||
|
gpl-3.0 \
|
||||||
|
inttypes \
|
||||||
|
isnan \
|
||||||
|
javacomp-script \
|
||||||
|
javaexec-script \
|
||||||
|
ldexpl \
|
||||||
|
libtextstyle-optional \
|
||||||
|
mbswidth \
|
||||||
|
non-recursive-gnulib-prefix-hack \
|
||||||
|
obstack \
|
||||||
|
obstack-printf \
|
||||||
|
perror \
|
||||||
|
printf-posix \
|
||||||
|
progname \
|
||||||
|
quote \
|
||||||
|
quotearg \
|
||||||
|
readme-release \
|
||||||
|
realloc-posix \
|
||||||
|
relocatable-prog \
|
||||||
|
relocatable-script \
|
||||||
|
rename \
|
||||||
|
snprintf-posix \
|
||||||
|
spawn-pipe \
|
||||||
|
sprintf-posix \
|
||||||
|
stdbool \
|
||||||
|
stpcpy \
|
||||||
|
strdup-posix \
|
||||||
|
strerror \
|
||||||
|
strverscmp \
|
||||||
|
timevar \
|
||||||
|
unistd \
|
||||||
|
unistd-safer \
|
||||||
|
unlink \
|
||||||
|
unlocked-io \
|
||||||
|
unsetenv \
|
||||||
|
update-copyright \
|
||||||
|
verify \
|
||||||
|
vsnprintf-posix \
|
||||||
|
vsprintf-posix \
|
||||||
|
warnings \
|
||||||
|
xalloc \
|
||||||
|
xalloc-die \
|
||||||
|
xconcat-filename \
|
||||||
|
xhash \
|
||||||
|
xlist \
|
||||||
|
xmemdup0 \
|
||||||
|
xstrndup
|
||||||
|
|
||||||
|
../gnulib-672663a/build-aux/prefix-gnulib-mk \
|
||||||
|
--lib-name=libbison \
|
||||||
|
lib/gnulib.mk
|
|
@ -0,0 +1,17 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
Again, same as bison 2.3. I cannot figure out what gnulib/bison are doing
|
||||||
|
that makes this required...
|
||||||
|
|
||||||
|
--- Makefile.am 2021-04-15 12:18:34.371818904 +1000
|
||||||
|
+++ Makefile.am 2021-04-15 12:18:39.055851647 +1000
|
||||||
|
@@ -63,6 +63,7 @@
|
||||||
|
check_SCRIPTS =
|
||||||
|
dist_TESTS =
|
||||||
|
noinst_LIBRARIES =
|
||||||
|
+lib_libbison_a_SOURCES =
|
||||||
|
|
||||||
|
include build-aux/local.mk
|
||||||
|
include data/local.mk
|
|
@ -0,0 +1,18 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
Why do they insist on using themselves to bootstrap themselves? It dosen't
|
||||||
|
exist...
|
||||||
|
|
||||||
|
--- Makefile.am 2021-04-15 21:29:36.596205032 +1000
|
||||||
|
+++ Makefile.am 2021-04-15 21:30:00.367365897 +1000
|
||||||
|
@@ -39,7 +39,7 @@
|
||||||
|
## Running the bison from this tarball. To generate our own parser,
|
||||||
|
## but also to run the tests. Of course, you ought to keep a sane
|
||||||
|
## version of Bison nearby...
|
||||||
|
-BISON = $(top_builddir)/tests/bison
|
||||||
|
+BISON = /after/bin/bison
|
||||||
|
BISON_IN = $(top_srcdir)/tests/bison.in
|
||||||
|
YACC = $(BISON) -o y.tab.c
|
||||||
|
AM_YFLAGS_WITH_LINES = --defines -Werror -Wall --report=all
|
|
@ -0,0 +1,25 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
We don't have network access at this stage to "Fetch PO files".
|
||||||
|
|
||||||
|
--- ../gnulib-672663a/gnulib-tool 2021-04-15 21:07:04.538055553 +1000
|
||||||
|
+++ ../gnulib-672663a/gnulib-tool 2021-04-15 21:07:16.424135984 +1000
|
||||||
|
@@ -5564,16 +5564,6 @@
|
||||||
|
fi
|
||||||
|
func_append added_files "$pobase/POTFILES.in$nl"
|
||||||
|
fi
|
||||||
|
- # Fetch PO files.
|
||||||
|
- TP_URL="https://translationproject.org/latest/"
|
||||||
|
- if $doit; then
|
||||||
|
- echo "Fetching gnulib PO files from $TP_URL"
|
||||||
|
- (cd "$destdir"/$pobase \
|
||||||
|
- && wget --no-verbose --mirror --level=1 -nd -A.po -P . "${TP_URL}gnulib/"
|
||||||
|
- )
|
||||||
|
- else
|
||||||
|
- echo "Fetch gnulib PO files from $TP_URL"
|
||||||
|
- fi
|
||||||
|
# Create po/LINGUAS.
|
||||||
|
if $doit; then
|
||||||
|
func_dest_tmpfilename $pobase/LINGUAS
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit cfa108377c15382f58b20394150840e1099b6767
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
6b7d8a7a65da9beb4c6deb0391be5f1f0da18e77d3f292ae433ffc43b89a3a5f /after/bin/bzip2
|
fd1bc3742162c76123a946c5c64ebb5f9d11bf8192378ea79dc4d6ea7d24a217 /after/bin/bzip2
|
||||||
6b7d8a7a65da9beb4c6deb0391be5f1f0da18e77d3f292ae433ffc43b89a3a5f /after/bin/bunzip2
|
|
||||||
|
|
|
@ -1,55 +1,54 @@
|
||||||
60c9e7211b7439c0bd260b7199f882ea80f9b6fde43d3d5054f8d1b62147cbae /after/bin/install
|
113a08baeaaaafd87295806756a5b5eee73a55347e86b4930e01c15d7220f74b /after/bin/install
|
||||||
a4f5b38313d737d1bd554c5c38703fdb8ed4079e63330c93d6965be7cdecff30 /after/bin/basename
|
f6dd08d95b1ecdd32c7804afa226d734fb4efbe54e67532023deb3a95df2899d /after/bin/basename
|
||||||
e04b8a73dbc3aba350c6af07d03c455df1d8ea87cf35ee36458c64d479f86375 /after/bin/cat
|
8bf26dadc87990c5ec5fe6551145049d52ded48640ce7ac47b05b458ff870cfa /after/bin/cat
|
||||||
fb417a7bd9905991c2553243270f05ceb1f2cd366f83679891e138e71a0efa08 /after/bin/chmod
|
3cfdf2a0f1db912f1daa3015ceb99689f51970196c85a049a3e098bd96271b20 /after/bin/chmod
|
||||||
42c94b31112077a245ed6f2df29c9f6a7fe2c03a012c800e07bcc33713fd5934 /after/bin/cksum
|
994197dd07610b44608b388242c70adb9ec49bb2a643dcfdfb1e105529c2e379 /after/bin/cksum
|
||||||
ffa31fd5ef490977830a00f276e4a4b45ad10b88203aacc9e756b515c1061333 /after/bin/cp
|
78c1187c2ce90fe24acc739eeb159363de70e06e239bac3ea096ee1cf3f9d273 /after/bin/cp
|
||||||
3fe8e6e02725f865ae29b64e20cffc7689020812e85d2854f007b0ca50277e90 /after/bin/csplit
|
a09aeffc07c868076aa034fd1650f8faca703379aa31d5b5fd911adf98901c82 /after/bin/csplit
|
||||||
79ce07561468e37951a24a05c5bd54b0aa9cd68642409657901258766e1d8225 /after/bin/cut
|
e3149e91b206a83b4e7341b5df6ddefddfe04be4b9859642b23e2ee684de0e2d /after/bin/cut
|
||||||
57f38af18b965cce250eb43cdcda5dbec567129fc291d679462d51a87670cd96 /after/bin/echo
|
39713a15ea9b4a46d01f8d0a2ca99fe83acab34980442cf4e26d0c495e63acd3 /after/bin/echo
|
||||||
3ee8699aebbb2d08a666810777f19aed562300c3dd41f743d3f843548961b1ae /after/bin/expand
|
b9b229f0cfe7c2077c7f1ce30b91d07ae02794bb52520367053e4c5dae815617 /after/bin/expand
|
||||||
226b82d8b568fd36f4cfbd375b0ee4ad048350800f42cd54870b5969b149d57d /after/bin/factor
|
79f91e16249f8f595fb4dd68a05413c8f28bd3a15f25ed07d602b504f745b33f /after/bin/factor
|
||||||
480276a9d24e65a5b3e5ffb4aa78cb98a867ddd562913b220c19c59348a986f9 /after/bin/false
|
a7071f0800ed49164535244ac82e6288ca7f4c9ef119ce722e809c965feba43e /after/bin/false
|
||||||
5fb3dbcc4c4f0c0ad42a9027c46af939a64bd0193809f323d180b27086f43ecc /after/bin/fmt
|
c7c581160a28eaea971e1333b19e07b81e98897a251f05f8fe5fd1fd2c89ad2a /after/bin/fmt
|
||||||
4f321b6c597f41ae27b0f5075b73fc7cd7e5b4e808d6afb1edd4f86a653b0cc7 /after/bin/fold
|
bfdeeba7192725dc6f5b4084f73e42d518a05900af05a062b4862fcb3b7a5a0d /after/bin/fold
|
||||||
02a7fc39b3d6133e575dfe8f063a44493665cb442b4f211b977ea142acd7b74f /after/bin/head
|
b914fce359292bd4134af0d0086c4d5920a6482e784c60483c60daa86ba3e2ca /after/bin/head
|
||||||
146dc0ad26d909eb65b70ec26b396574ad32ed316a570e9cd9e6c9a706f7656a /after/bin/id
|
142cd716a75921fc3d4f824c75515147f12b53e83f0a89a09f17aaaeaa9b1543 /after/bin/id
|
||||||
a930a27e58f95d23ab863d823c1eeef00eae84e5d5bd359f29a6611977907db0 /after/bin/join
|
890bd5186317a1da5309881ad12426e45144b059436b7045a18ab670ac34585b /after/bin/join
|
||||||
a50073d1e59329e082af954ef6e89a37067df6df838df29fa5f3a9e6b59b5e32 /after/bin/kill
|
c8d87edb84146d2c536be5cea326b5fe456eb9fb39511f535312e52577d1c229 /after/bin/kill
|
||||||
06f1921e746e202f1c79f64446e72dc053763cae367aa2137f799302ea8154e4 /after/bin/link
|
5c827dc96610836ec41ced32fdff18584dfa7380431cf5f99960effcec16b6da /after/bin/link
|
||||||
cffb260264c126395ee0c1b52ab621a06888628eae015a7ef7d502c4e02bf73d /after/bin/ln
|
75da5a77d612a6c9ab2c63f52e0c53613917b46f243a6ca78a15edc1ab2322d2 /after/bin/ln
|
||||||
c827cdd64d9e3a1397e8bf9cb1ec980385244bd835a8c1ba6c29171c5e091e18 /after/bin/logname
|
e74bc32191c7f53b659c7b1937d9799e7e56a71f0d68a00a085df99d900ac71a /after/bin/logname
|
||||||
ae6d244329f4ef05105ae303395a1cd812598e2076a42966c9711d395ae8c565 /after/bin/mkfifo
|
fc1b745d7b10d84445fe6f4a42cb1893827f13029eb5ba93568c4668182ef0c3 /after/bin/mkfifo
|
||||||
f174222efdad22e7c6c9cd7a4da4042d3c97964bbfb4899875aefa7daaefeced /after/bin/mkdir
|
2aaba60b28b63c8fe0199202a364327bb235fb628424c70d85ddf1b011a603b9 /after/bin/mkdir
|
||||||
9a938fa9660523ef2c12c2cfef10804ad14970b6fc2911778037e7ff815b0b06 /after/bin/mknod
|
541dfb8cddfc66fe7e2628012c6557d34eb071312af6ad9178c14ab374970ea0 /after/bin/mknod
|
||||||
83bc14d653f9392b95919962b25a8e717e15e749d32c55c3f591e46ac4e68758 /after/bin/nl
|
95cf6269ae7608960bf1eb1062cd8f1f9981534b8e66449c3076c2b270f02970 /after/bin/nl
|
||||||
6e001804beb990b3d7e4304660e9f7e178f8448a3780ebc9f92386f461c3f003 /after/bin/od
|
82109de6321e241128763333ba7e32db91d6fd07124dd3198fdd80f5c8679cf5 /after/bin/od
|
||||||
033f864ff51c5a70b770d0d6fdcf5ba691fe11f06ee43eb4040dc974cd4dd16a /after/bin/paste
|
89537a3ff8d001059b2875e49b02e64f5cc9e70ee0053b1407c9e13a949097cf /after/bin/paste
|
||||||
25ed5a35fbe67c34926471bb44dfb96bcc6c2d046c6b8cfcaead8e71999c093a /after/bin/pathchk
|
876bf7b6743fb7a8b9967f9f8ae0ce7deabe9a109b5d8655e2042435c8dc9141 /after/bin/pathchk
|
||||||
a1714af35d79a55b9e88a40c5e04f323d44d05b3d5fe063ad5874a67bcadb49f /after/bin/printf
|
8d6a4ec26ef7a9b398106915c56c35648c6548fde7999982e0110763a05f12fd /after/bin/printf
|
||||||
1c2c5efcc7a14da49c9cb11b8d21a941d5adac0a1cd2f7b5342b8f2866620b28 /after/bin/ptx
|
0c7b355b1b81093b740efd5afdec417f1902edb3c4c7335320ad371aa67e66a5 /after/bin/ptx
|
||||||
844d7cbeb6d63672e6e683c8ede8ea648ffeef8ef435ccdb0f4d9554be15bfaf /after/bin/pwd
|
a5a7d59c3daddcd12a5a1f69710f970fba40f319baa6e8a2d7ee6da55936d046 /after/bin/pwd
|
||||||
a9891310abee464897c7a9fddeef55add90b9e103092cd3b6d56c8271aebc755 /after/bin/readlink
|
bb5be58fc44331fedc405f28d6bf9014105376db48ab6921de4468c26868b0cd /after/bin/readlink
|
||||||
b6cbf998b9f5e52135bf12927e0fa70c47d2ebaa2eb0c5b743b56a958354b262 /after/bin/rmdir
|
cf83e7cf46b52440d593d08c03859bf2354affd3d184d4975fb4d1ba0a9b5260 /after/bin/rmdir
|
||||||
d9fda1d883c9c75eb70538ed93dcfc6ee6da074fd7c083821d501332e8499846 /after/bin/seq
|
ed0e8f05df2f9a757a783a783d4d5efc4fc85d5f5ade8b61b6c32bd64047eaaf /after/bin/seq
|
||||||
4f47ff18f7666b7c4f6ec155790143b46149bb5a684e016a102f578bcd70b5b6 /after/bin/sleep
|
3a839fe7e32dff6a2597390660beb10ee15eabd2d1fe4531a58eed035fa0db5f /after/bin/sleep
|
||||||
71e745024bbb654de7bec3f349f4bff244afd3855b15959975a69dca053f09cf /after/bin/split
|
978bab078ddc398c8617697143265b5c0791d74730895243e11f30f208389095 /after/bin/split
|
||||||
cdca632bf8018d1213d8c3965607ae86b78c12be022ad123fdb0d2e4f550996c /after/bin/sum
|
ee8532ca989f75ec263121c20f13474ad73aafa503bb2ae2f785708b0244c329 /after/bin/sum
|
||||||
21a56a3d77b900b7d090c0d346b838f276d977ff91ca49cca667726fb80af6be /after/bin/tail
|
40d71b38897a5ceacd45a4c49a2d84dab4d175fff4e7fcf98785c31d2ec715f2 /after/bin/tail
|
||||||
2abeae105386cf7eb70ea6a57093e0aacd74c36c49b74f8deca1411b313d9c59 /after/bin/tee
|
cb8ff79e7566d6fbfe0c5d384163585306a9ef7e9e525fea0bf0c8a5c2af8238 /after/bin/tee
|
||||||
9d58a32584f9c073d28a9bf16b5fd6eb177d887752f565f2e879afb933bf5631 /after/bin/tr
|
6ab10d4a009e2b134c7e854f2561da93d74b95701d538659284d5035bc88ff89 /after/bin/tr
|
||||||
6073fa8fbcf0a504f14fd7d01431fff9e48f5755fbfc91db48b8b41f1489049d /after/bin/tsort
|
062e387534cc7661b11346524f84e38f5e64a4326819377b9bc3aa675fb6a409 /after/bin/tsort
|
||||||
c704d583fc895be7f768ab30b1694650898b1564dba02945880aaadc5a1b8215 /after/bin/unexpand
|
07103fb0d194c01576894c800eecc3be9588103e93c6e8b9c0e6063fb9dde5af /after/bin/unexpand
|
||||||
3e31a01491c1fd3701894cc638b3dcf3046536e411f995dc8cbb681c91245240 /after/bin/unlink
|
054c7b8ef262065dc965b885baa858602165609322196515a6e9415b0f9a21e5 /after/bin/unlink
|
||||||
c4bb7065baa37f86eec5e46745c5e6a912708625174c92260b82c67b251f1ba5 /after/bin/wc
|
545d17edd4994ab9d405b27b0ebd5d9ef1e3d4c1c172bc5c47112a740ce88e15 /after/bin/wc
|
||||||
c32c04dcee0a8b80ddbef9c43f0e2a1cb954c2c27f55331dc9cf25094f0c9784 /after/bin/whoami
|
9464990ed84759efab8bc3b5b67cf6f77c03ccf988bbe6e571a12ea3d6b01cd9 /after/bin/whoami
|
||||||
a5679b855ffbe6059dfccaf6acc2f217b4dcda243a058ea3260d0bc887eeb9aa /after/bin/test
|
060e30b58112feba89aa3b90506d7c8f532837ab339b45f351ebe4a39aa36049 /after/bin/test
|
||||||
37d98622d110bb60a2c026c0936282e9cbc18c0f2fb27aefaee3041369deba00 /after/bin/touch
|
0d1e615de04e3d99b5cfd9b86eac332113227eb87707e025748ddde134720596 /after/bin/touch
|
||||||
90ddd8ff402d50244a353916b510f32d7f607365459e4315fdcfa9f0ab02ee59 /after/bin/true
|
af3a6577c63e79cd2bbabd3c966790ef006c2d5d2584573ba91667d45f80fec3 /after/bin/true
|
||||||
b2b7fd078cd3ccb849b6c085a6522532c9e05484db72288addd6886cd915eca4 /after/bin/yes
|
0321a3302b2883914612d9e3dad00e5f338e5c9541651ef293bb38503a9ae39c /after/bin/yes
|
||||||
d75dccb1974142380c915a1acf73b96f948ed6952f3cdf186afc078c4ee1757c /after/bin/ls
|
84dd2d7cb8216eceaa3d53886832034c1b68f174239fe51adb68e2ec45901610 /after/bin/ls
|
||||||
60c9e7211b7439c0bd260b7199f882ea80f9b6fde43d3d5054f8d1b62147cbae /after/bin/install
|
acb87cf7d9c1be94dde273bf3f9ab21115ff86a1cc783963dd7571729c4a82e8 /after/bin/md5sum
|
||||||
363851b2d7c442bbfc1f123d3adc48ef4aa6ecfef5f9e75be3124a3af27403b5 /after/bin/md5sum
|
039aa7005ce1280641e9828ea407e1e80994176a5c546d3bc6f88fd8d34f79c5 /after/bin/mv
|
||||||
471f7404bc045edac3a2b4ee5dbae6275302cdd7827b950600f6d1ea392ea9de /after/bin/mv
|
ba5655e1ae7be5b5655513b19d03d385840c707528bd0baa907dc2b117d35d97 /after/bin/rm
|
||||||
290e04d578157f0dbf9b8a9a2360bd1cb24a5b871ba1bcd8232dc631ea8ab833 /after/bin/rm
|
330d475015d0d78af61789f44d636b14082d64a64dd7faf481677c014fb5a606 /after/bin/sha1sum
|
||||||
577f67d093143b0310909c652ca1940bc8c3eb4680e9c6b00a0c1f111aef5c42 /after/bin/sha1sum
|
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
|
|
|
@ -18,3 +18,10 @@ src_prepare() {
|
||||||
|
|
||||||
cp "${mk_dir}/pass2.mk" Makefile
|
cp "${mk_dir}/pass2.mk" Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# perl later requires /bin/pwd
|
||||||
|
ln -s /after/bin/pwd /bin/pwd
|
||||||
|
}
|
||||||
|
|
|
@ -1,107 +1,107 @@
|
||||||
2bb19b976a488abc8d5ef6f6655a751f0a7f5ddf01cf754af4f1947a4504f28c /after/bin/[
|
4b1cb2c39577f107feb8def55982f789594ed26cac2440dbd794d0efc1060113 /after/bin/[
|
||||||
2f4eb51bfe39e55c66d491eabc92ccd40c1ff7d90835f03df413dbfb9752c054 /after/bin/b2sum
|
226c2c0185f322f375bcdc0723fd306b2b68fe532168926b19fc90de4be3db60 /after/bin/b2sum
|
||||||
e73a17ac386792957a6990bc25053c8b94b45de35e9c5f235534d58ed0a8a935 /after/bin/base32
|
9c4fe4ce411f086c3daaa0e85a96d15214482e1e8cbe66286594dc02620ddd97 /after/bin/base32
|
||||||
d825747640d86c939ceefd300005cf0a6ddcfb66ef979d7f01cf5c0c4468ba01 /after/bin/base64
|
fd6dcb61a183b9a0342276f77a310a4faf14b20e9aa58c8d9755d49db263aba3 /after/bin/base64
|
||||||
ab0ad4b23fcba5c9fad64ca660a500ba08d857267bc93a86c5d5abf664cc385a /after/bin/basename
|
fe7d1f2f778a2e4f1cb100e901472cdbf50bb66ed0e64ef0e0899198e9795464 /after/bin/basename
|
||||||
2c8363bcd9c49f71b2109e75582646310ae4285fde381153125c68aecf41f3e5 /after/bin/basenc
|
40abb4ddaee9f983a38599d1a11816fe376a842e09194bd0c3708afc20185cb0 /after/bin/basenc
|
||||||
c61e50357601ba6d622bd5e1cea423010d25a4ec64da76791b3db50351b3b112 /after/bin/cat
|
5921f992032733277031c65ba4b5ac03a2168d731c90513e2cffd2f6defc013e /after/bin/cat
|
||||||
04ff3c7eb1ac9033b95ee5b0b5c8234167b0cfe71317e7adfa2f849598fc6ed1 /after/bin/chcon
|
cd2187495f4f5adf59e48b62ad92d01c8d7c8b3d4f5bb76fc7c790217ab9bcce /after/bin/chcon
|
||||||
e8ea30a3a3d2558a130987fa2d44227acb1047da07aede69741f6413b33ab9df /after/bin/chgrp
|
944e56b469d9dca8e888b0a6a8bb90d126279e6a19a40e71c077ce6fe668c0a2 /after/bin/chgrp
|
||||||
bef6488884ac77c153662452a2bf71d29be3a53ea7798dd7943f6636bce21f56 /after/bin/chmod
|
6e7aa98b4f221282e1fef34d8e266239e095ee9c7e76847e3a91412ba2c0b7c8 /after/bin/chmod
|
||||||
4e83f79572f01b6712c0cc7dc21154b0338d6dc4f92a379fd2e5a67898f1c6bc /after/bin/chown
|
453cb0c1cba85966823d91dfcb79fe494736839656bd757b790de7c3b1403d8c /after/bin/chown
|
||||||
49363b2acf3e85a15649c4a9f12700d92eb7e9c1566732d669c691a93697d94a /after/bin/chroot
|
6b90b8354b9fe3c8804384a8c028f01b6b04df764c3af5e8a8fbe1fa38aeca0c /after/bin/chroot
|
||||||
99b2aca6a31487d68eaf0f8f2ec9e9e36b5d2a61479dae4d63f7997cf81dbf42 /after/bin/cksum
|
1cf4e54e3bf96739b5cd184dad44f40ed19f3a8b0aafd19f72997cef9b473db6 /after/bin/cksum
|
||||||
2668ec14d2f2dc6370f497213a9852759efc517f14fbdbff17c04d28db895bb8 /after/bin/comm
|
c969da84baa070bbdab9e269e6e3fec4f4b6ca385ed74632970ab7fbda78f4d1 /after/bin/comm
|
||||||
017c629fdfd08fb5af1b292d210bc604207ccafc1a18dbff21a0abf3cee63770 /after/bin/cp
|
8e1ef24a88b8e032c2e1af3186a206212e8939fe011ff9c6fe278bbae5536d47 /after/bin/cp
|
||||||
04b0791914942a0c4c167365b9edb40584ad3631a07cd7dd0be1990ef5a028a0 /after/bin/csplit
|
d46f3c060d5edbea25a2fcf7c65dcbeed3d0084eb2f1a15c1b8f8eeed6642d67 /after/bin/csplit
|
||||||
83b204a10a5c8e36b215909ba08284771f9778a210af41c481b3c89633d16496 /after/bin/cut
|
fb8faa5610e38b9e3c186aa9cdfcbe7ca07809c3569e3dafe3890678c36ebeac /after/bin/cut
|
||||||
b76650df2d3b059006a63a2ee23c28591cd313d1ac2d6587f906a9ade41bed8e /after/bin/date
|
8146b6270016150120854b3eec6382d52d44e72f80abbde00c6c8238a78839b6 /after/bin/date
|
||||||
82be6ccfebc72b2361f3e0de823c0052a3d8071431ddb6e941c460098921789c /after/bin/dd
|
2d70f5bda07a63a645db04b7c0908ca96873f075e8a1d89422b90f48bffb04fa /after/bin/dd
|
||||||
62b26c448e248869d5f7577aace26787dfb35efbec1c88bc3d98c3603d9d102c /after/bin/df
|
7831d760c20670064963fa41b0939ac19932d8b04a4c7b56aabfd4d917962675 /after/bin/df
|
||||||
124dc892158d257eed2fb35b9499135e9740bb265ccb66edcbf905544c808f4d /after/bin/dir
|
8c7c9de8ee2792b12cd0eeb795a366bb1d3812244a6eaee1b4d32ce878c6e077 /after/bin/dir
|
||||||
3c75d475b7b5ab532a165f058d9693198b28ed797b844fa9e8e531a3a293e886 /after/bin/dircolors
|
5601dc48fe224812071c2c1de6a73223aaf90921ec90c6575596f4fbeb92a570 /after/bin/dircolors
|
||||||
e033a42a84cd51a39be62eef25dac820fc88b6e56fff3d486461c95ea750ec98 /after/bin/dirname
|
2ba169c8791696adc37779dcc35eb689af5bebce3ea05ba46d3c1b667dc6bc04 /after/bin/dirname
|
||||||
b7c5e2e068d35c4f0810b1326a2687c1f479947df6da54b53c61ef66e295f9a2 /after/bin/du
|
ce57fade16775a802e3b14643dd3e2d41db8bd6fe8a5005cc8ba2290c9d2be91 /after/bin/du
|
||||||
1b0d32561261db41ec7b5ceef6824714e063a70ba7050468e18917a610f1f0cf /after/bin/echo
|
1613e25b9b8ead7db666b9c77ec0e4f37239a5d847bb475ba89881231e8050c9 /after/bin/echo
|
||||||
d2265786f1624ea6770b144977f0f4fb529191ceb8ad8c5af0735c28c826ab04 /after/bin/env
|
bb822886e49633840975978af4cada542a951522ac753dfc0b67b5054d5be0d8 /after/bin/env
|
||||||
4bd3bdd9c4d5a600593780f092f89e7d784b35ac6527caab5819997ef4938fff /after/bin/expand
|
7240ea8a4139df493be025d41503d827c64b6051ac3651c0d2448694991f4051 /after/bin/expand
|
||||||
bdb8da72d4d64c82681cf3e8a9f4da88dbd42c454da5f7ca8a19445113c01f33 /after/bin/expr
|
10e7908eda22cf34ae2fb7b578497c60aca01adb9b93865af4b24659ed4731ad /after/bin/expr
|
||||||
7e4f3fabf9de05aaa34aa2e9baabb52fb2f3e87acfa6f202c1639e381fb7ece0 /after/bin/factor
|
f21cd98cbae3c93ba86893cbde49177f068b097aa75b9dad63bc233b8c0eff55 /after/bin/factor
|
||||||
ce84ef03bd5c5b9fef8223cd7f5b53cff7c939f9f5581859442f43b1f24ffd42 /after/bin/false
|
2e31dcb31b02e1665d95948ef9fba420c3d03f77f15314b8dc39b82e09112821 /after/bin/false
|
||||||
23bc80a7c3b42c72bdd3d8a0a11764d84558238b93b7cde30673a55081fd27a7 /after/bin/fmt
|
993f48bf28d51ef0631c54c5d43692db891959950ccff7b012c9fe622a4dc23f /after/bin/fmt
|
||||||
5ecc029ba10ce5a57d98b49cc77c21fb915eb37beba93738a1fc3d14ebad31b3 /after/bin/fold
|
0dcdbcd7578726d424d5873d1b0907867db67430b456bbb6d617a7769013af95 /after/bin/fold
|
||||||
22aadd09f819a4f993d33b92642331ea8f0ae4f829b65b673dc00ea75d959846 /after/bin/groups
|
072b49fe3e8c3ed889cb9756d23bb3040a633b44889e2e8f2d033ea795f16e32 /after/bin/groups
|
||||||
b6df9e24dd89206ea15f5b3e8cd840c3b44c7f4563ecca620d3d0deec2fbcf5b /after/bin/head
|
8af0f46e031b8c6aa13367cfaf24dc3d7861d7a92785e3483e1b4e7d0d1035ef /after/bin/head
|
||||||
4139d323fd7a01fc6f1b662443a7c0af0b677b3c2fe295743d8fbcff4ed82048 /after/bin/hostid
|
b14cae09e34d8ff404fff1d44c9d5eb28ace744b25e18c097b2304b475195b49 /after/bin/hostid
|
||||||
a6f82e0a6ac850361c799296290ca35578260a89fc6e3b5a56ad4238dfc8bb37 /after/bin/id
|
a064920bb701620402aca4e73e53b0aa92dd98003d265f1b90e7d71e53bdd9ee /after/bin/id
|
||||||
d8b7fb9a3e83a41f94f1acc041c4e0430279f7797d817705eeb86634e5e4c584 /after/bin/install
|
efc206df123a0fc345347ca9d67a0c257af9751f860707f32729f7c4c0a713ee /after/bin/install
|
||||||
b336bdfa943f530053908bf86239c3a4b0a804a4c39763886a4248e675b7123c /after/bin/join
|
261a508fc2db1b42c40f37a96c3fbde8cdc527ad408c07558dede622513333f8 /after/bin/join
|
||||||
1b7fd9b369aa36815256199b6afceb30c0fb0751a8a19fa633adba6d29654b42 /after/bin/kill
|
e0a9c45e9ecd9a50fec3bf50246ddf77c3e6220e295928878166fab92dea41bb /after/bin/kill
|
||||||
3421bdec4318066e0e36df02408ec4d9066e84a6ee01f899836611b889a059ef /after/bin/link
|
daa02c83dd3ab0d5e9fd3945500aae8838fd660f102f3e9826858235101c0e3c /after/bin/link
|
||||||
6e4960e08193f5f2bed00c55d26c3163067929469cbefdb0599c499688c8fa04 /after/bin/ln
|
b2c4f2b084743a12c9bad0fa5403484c5ead4192eab69fc9b2f84971294eef8d /after/bin/ln
|
||||||
6c68245b55e060067de17ba920ff87c8303913decea2d81588d4efd74530b05c /after/bin/logname
|
37dc27b546188d9a7525002c3557480fd53189819f5cea0e3ec9a5d0bf4edc4f /after/bin/logname
|
||||||
075235c1f345f45434ffec06ddddd0d6ad2a4dad65efb3231591a50248209785 /after/bin/ls
|
aa6b09e8cf5c4c992eaf41e92d085a2bfc56e9ff6f1e2fee7c7f9255a71d4187 /after/bin/ls
|
||||||
769219e8f4cffd8387d1a53900b3c65c902bb9f3e2857178847894415b950f12 /after/bin/md5sum
|
1efa01b8f1295fa476366b7d1a15c823e9763a4f4d67195b27c2ba542d3e1048 /after/bin/md5sum
|
||||||
2fdbd337da4ff238fba88085efa4c946b3c23510a995cb1c218a032e86f20526 /after/bin/mkdir
|
cf4c167f97ee4c120371b34759f2742e2eb35bb457585742d47c064d1cd20d20 /after/bin/mkdir
|
||||||
0bb537f30fab5289408530cd1878d1d9f1592a119b3bd7c823406e32fcc2f993 /after/bin/mkfifo
|
3b0b76786a1f2259f50eb479caf8389535522578e286780d0de0d8b5f5504d98 /after/bin/mkfifo
|
||||||
1f18fe91c9aad164d2d0d5f1aa319cf5e27562f80577ebbe5e41dc77cb20634c /after/bin/mknod
|
753351bf70cf50988318b4c3e75178d77dbf0af453764a92b9d0813accf92438 /after/bin/mknod
|
||||||
7480a54cf51676e406cc48255a9c25ba934a021bf61b4e3bba04d0d45e2b04c8 /after/bin/mktemp
|
b2e5fac44cd937921a96eab1d6de49158d794b69d98904c6197eb927f49eee3f /after/bin/mktemp
|
||||||
7de04a3d8346a4f8e766152d6d4e32841894005c330a5bf67b60e15bafa5717e /after/bin/mv
|
4e4e8125a649146c92b6d663f4a503e296c238549a56084666e2dc96a43cf280 /after/bin/mv
|
||||||
f3ee0b68fb0e546c887dc8e9003cf9ca570e54207c62ac4154e42f0e0182a060 /after/bin/nice
|
fd8f3a5773c1e5ec53afdb566c40a48d48cf522136cd1be7e6007cb32168347b /after/bin/nice
|
||||||
3a7bab449fa311bea65050823deeef2a5c8dd945861d14a736aca7ac20555623 /after/bin/nl
|
119d0a16ffb5249299fe4a1016e854b55c4664e89428f34afba489c050b6616c /after/bin/nl
|
||||||
0c196bc4ed5680e1ea63faac72f6792cebb1ef68b7332e14f79a77bae7236203 /after/bin/nohup
|
2f0ba52b0cea906e5bed48634a0a72962cbc37ca7a4d9018f14f36a9a7078aff /after/bin/nohup
|
||||||
f463be3b2d953544793fd89506a2e3ab1dc9c7fb05b2253c98ab5791a62424f5 /after/bin/nproc
|
adb3a4ee51b6142640052983cf61ab1c1a8cd949d0cb087baa53b7e68bc7d2eb /after/bin/nproc
|
||||||
0d587099627d3067d2e871e2517b5f20577c4b4e8dc311f3cc4441e323efc268 /after/bin/numfmt
|
9b2e9da81d9cdd5ee6b0c824a89841855dc52c9ca2650be9a28b9e13bac2d2e0 /after/bin/numfmt
|
||||||
f086ead993a0bb0a1db8aa03e04781be8cc8b84cfbd6002e794e529591704df6 /after/bin/od
|
5085d336706f08f3bad923aa897de93ac438374f9852f0d2dec9b1e6e6dad1d7 /after/bin/od
|
||||||
53b0d361ec7fb64d11f5ecc1c5dece768811f2cba60c4528f2bb9437fd3020cc /after/bin/paste
|
7ed640050e9868ad1fed9e7834b40277b9d3b42d873b3b28c01192fce33b12c9 /after/bin/paste
|
||||||
4aa833e4a93f70511918eb3535c4c76dba2d9f96f87487d655910b940ead581a /after/bin/pathchk
|
53636efdd4fc5c4dcda3888e572dfbe1c39c7574e16fb88219e8fee12397305e /after/bin/pathchk
|
||||||
66011e626078cc15eff7f117d3457d327b04e2696051a0e7665a0b6c899e8468 /after/bin/pinky
|
62539a81f0de9df7b5e2176668ed4b22c5d3e85d9ffe02164fc0b3dc3caf34e9 /after/bin/pinky
|
||||||
a053f1a2e3ad977c29611783ed5e9cc9b495766d66a26dc6810bc9d155936c6c /after/bin/pr
|
b8200442dcb94c2bc6918ce59e061247f7b1f7dea0514c789e23c5eb8491cece /after/bin/pr
|
||||||
bccdd16a690a14d1cf868c14122c3bc26cc3d214957fa1c2bcb562c406263b7a /after/bin/printenv
|
1b1505e75514d057d8819391abbb6cdd30fcca89cda0b852393d62059476f6e1 /after/bin/printenv
|
||||||
0ea5e299b966350a8beb7396614b57720b7e4e891d9b0d1875d9033d374be721 /after/bin/printf
|
369d7b4d49b4d7710e284c4d0713c7abdfa01ee5e0239f8e8be6c7cc521a5723 /after/bin/printf
|
||||||
89580495bc95821f07d11008f70acf9d70eec3a2db48d0374eb5c54feb2ecb38 /after/bin/ptx
|
2bc17d7bdfc3a855be1e1c82089809e1339aa8a09701b2d8fe0d33219336d905 /after/bin/ptx
|
||||||
eec466a54cc8e5a13f26128258fdf4f17333e48b2c759fb7412df62cfb47e674 /after/bin/pwd
|
5ee1f648fdd305f478e1dd71e4befbc524cac46c23708c0649b1f055ff305286 /after/bin/pwd
|
||||||
2f70cbe9688f62846222778a234ac3a612e34edbb414b391585c1b44efee707d /after/bin/readlink
|
61a30394510e94c5f7be84fa341948a6f4cf65f5931a9107dd23d0cd66a2b82a /after/bin/readlink
|
||||||
2839db35b5390c224cef97bfdb86120d4aa78f6fb6d513bb80f13172c8083075 /after/bin/realpath
|
319c34f870304012d3c491853c16f6e0d5255ef7ceaffd118dcf0acd57f88606 /after/bin/realpath
|
||||||
c662c03027990fcb8ed59f5144b3fb9a46a66ef115a6d7d9a6053a1e24fbdb71 /after/bin/rm
|
dd51e28c1a922c459d81f08d6a596614cf1f9383b856623f8e02b6de94cbe22a /after/bin/rm
|
||||||
9d34798c14694c0c3caa61fd9c22275b4c3febc7d048fb2c9cf1ae9189dff176 /after/bin/rmdir
|
7b342e22dfd4e51c063bb434b330ac650b452878555543a54d7c8becbec64a71 /after/bin/rmdir
|
||||||
16562920d60f4d71388c1f9ce894d852ff53e9e9d84e879a65285b1ea6f4e402 /after/bin/runcon
|
0da00f19781fca93b3b12c8a1e86348b139a087ca3fcc8d30bbd52c1ac7f1470 /after/bin/runcon
|
||||||
a5294ed68982a99c2630c061a64d6d3eafcffb06c8474e8d3154805b0575f5c5 /after/bin/seq
|
2cafd71e25c88b7641655890146f2899c71459f9bd1ac902aa4fbcf45d485ea6 /after/bin/seq
|
||||||
888b71e21d66d7220f63e37d4fd06d228de1b026776bbaa84a901d62ad74abd8 /after/bin/sha1sum
|
9825fb6c054dd81fee7bac2b21e34f46ffbd7e06d4101846ea83387395ce74ef /after/bin/sha1sum
|
||||||
419ddc6994ebe2bc49ee5d2a8c3a7efed5fd64ead1390b885b703a1488bb2274 /after/bin/sha224sum
|
159f7650b7367309df6b4a3dff65c7815211a21a35bff9c44a083ac257d5c984 /after/bin/sha224sum
|
||||||
a84405002a76830aa0f5483d07f272c713dd3b9526950df2dc4369f81a599ec8 /after/bin/sha256sum
|
bbedf99768efbd9f3c1e8b3ad5537109ef0a0c0832e5f1255aa07278b7791ab5 /after/bin/sha256sum
|
||||||
45270aa4548bf2ae8c58a03e71eac51944474f7b279b7d10faed2ece34ee80ea /after/bin/sha384sum
|
3d23b8a7faf5b86b4330c787adeb9a234fea32480b05cd1a47ea8e59ffb41a76 /after/bin/sha384sum
|
||||||
a094aa18b9825c5d8bf374c249ee28b16d43fb7655cb3dd5bbe289cd27b6dede /after/bin/sha512sum
|
b0ee23e6205993d8c148641f40e71a0d532454b60ce4af81ee31ed9efa0b6c2c /after/bin/sha512sum
|
||||||
27fcc8333a3dddc1f61e309c926871798728f638f2aab1a534da392cf2708cdb /after/bin/shred
|
e5121aee699f38aaffd1f13396cc511d0cbdf2ce6f99cd2a383ab44b13ac560f /after/bin/shred
|
||||||
db0f9e5853d099ab30b80620609b358d74735636943a25f6a3fd0381b510c308 /after/bin/shuf
|
62a7ca82d151ca73d4bca464bd89c1fe32caa5aaa6f0bd22ac43ae304b9cd074 /after/bin/shuf
|
||||||
7006051038bf81f4eff6475b2dc341e0badd6d7c60fe34e5c2cf51a5eacaa0c5 /after/bin/sleep
|
60788da914956ef6308bb48fe98ea0bb6b993c4cffa99bd23bc901252a688105 /after/bin/sleep
|
||||||
30eed72bc4f1c814b8904504226cdb1633056084b0aabf466e21c276506786f4 /after/bin/sort
|
16ce2fe78a9f32c5eb41c507a0ca7b5e8e8fd1a70c00c911317d9e6a1f59262a /after/bin/sort
|
||||||
bc9c507c8ecf43c2b5d6561ef5d2079ad8a3eb9bd400ee9ac877d6014e1945c4 /after/bin/split
|
8bf2bdb2ad64a52bd8c40cb5388de9420acd776e24eb9f41087fcbb5f88d2705 /after/bin/split
|
||||||
48bc6a7172277d53cba1c1c40d8bb17f5144d6640e3a8c6ee230713663d58471 /after/bin/stat
|
6f67d8777f310cb65ef069e95619f1baa7a577d64b4e56e9bf4da55c572da1be /after/bin/stat
|
||||||
4c768645e03dfd4038f8d9f3204eee6f8738aa99bd772229e9c1cff78dc0cdcb /after/bin/stdbuf
|
3fa5d8be2a7f5bdfe2a368c376c16659c7f0802d3a09a05f6c6a6873f51d7582 /after/bin/stdbuf
|
||||||
8f2f16382ce6d80cb0ebe5fc9f34b3ad57255aa9ee43a5a5f50a140fa8a29961 /after/bin/stty
|
a2895039858ebe3c0675c9a5d5846ecd802f0e2b776df3358eda4b9a40294ed0 /after/bin/stty
|
||||||
d64ac8f851f0219dd16a71b60204dcc77ee689a930e4358595fcd3e4bf15e47d /after/bin/sum
|
be5ae441381df95c156fdda4e9b7a9909327d81a119e8563a133ffaa00c4bf76 /after/bin/sum
|
||||||
463814942a4eca3e541b763cf759f5146331935594d6aff69d1a1e8da1d52bd9 /after/bin/sync
|
6b71e4f6a51f9f3f3abd10dfe177217fb8ddcadff6edbb75fbf84296d00645e0 /after/bin/sync
|
||||||
4837bb4e3382abe4aaa989f7a1a907759635c6cae0f13088535172ff043857c8 /after/bin/tac
|
e3dcdfedfe4fda19b07411e7ae7e8c32aae797932ca8c5bbf95ebd85ee1e0934 /after/bin/tac
|
||||||
4b0772a93c3d6a000349137b2c0eb6bc4e0c2a38667376a0ab2728f37fac778d /after/bin/tail
|
34bb92fda0e49f488322742f9527fbb840b85feea084cba8cc252b697f6ade45 /after/bin/tail
|
||||||
601a2765ea1142d45ab84359592982483859acd9b1eaa712dce0d62010f36388 /after/bin/tee
|
945739b04260b4114ebb9757bc13a582c3dde6f00bffc5de25703e851fa112fd /after/bin/tee
|
||||||
a2e22163aaf77d89293567393ad4d9b198b712e824591241c639f69a5cf671b5 /after/bin/test
|
a2e22163aaf77d89293567393ad4d9b198b712e824591241c639f69a5cf671b5 /after/bin/test
|
||||||
c49a201a19cbba7a153d583ae5c257ae0773bc2ef0cbe6c6f2ed194592030e74 /after/bin/timeout
|
365a00f40d8e6e5e07aa9e00bd2819c0b7e15e74d4c99aeea52337d168cd54ab /after/bin/timeout
|
||||||
ee291cf6f3a9af0bc7d5d2803fdea2138b968ce7e1d9c228a966af6b847a65ce /after/bin/touch
|
484e588f4e5c38f10cf5dd70c4087b19c6049bb728f07c43801d80bd263d1b15 /after/bin/touch
|
||||||
2b8600af9893171d8282f224e55cdf8a361cc2669cf9b11f501ad345c06e17be /after/bin/tr
|
cf704419a2d480bce878e244ec394b5504d06e7bc5357483f01e89f9745dfdd9 /after/bin/tr
|
||||||
bf984b62de0b142882c683ca03a56eb7869e5913d8e917758fcadb81de6f2a88 /after/bin/true
|
062ab3a391741063b4c33b990b9e3eefc5d9e9bbe6e283ac515724efd9785e66 /after/bin/true
|
||||||
95cea6e58b4598b4ad6c4cc8d27e8c44d35e0a7b73501b576d5a4ec409c20495 /after/bin/truncate
|
c4fe5e836e2371ad66cf2123c656de3761d79fce1b4eff4e5add9aed6cc954e4 /after/bin/truncate
|
||||||
20ae9411f3b9d1a6577a0c9d584e3dda13d8afe6f17e92615a1549a82e4fc724 /after/bin/tsort
|
a683492998ae6cdeb221f6f0c404fe1bffae42024e91531060bc03a72a06ef09 /after/bin/tsort
|
||||||
eca6848521913240e785ea53aa0f0cf4c2f2255ae4043dcecb8fa12127d3663e /after/bin/tty
|
ff52caff909a08bf23ad85acf30a5019b5569846cda014d64d30c0336b9758a6 /after/bin/tty
|
||||||
d8830e45e12e081835126ba61e3733ee92dd6b98ce9ac33fca6b3a8f0f6da97d /after/bin/uname
|
0128ce2ff9556dba801c0acc35a727de8525e7ceefc6ff518b88de8a3463857f /after/bin/uname
|
||||||
a7fefed8ca9ed0d21a9e5e4e6cb0f3d3a0de42bfc3ff7ecb7eb884b1a2508054 /after/bin/unexpand
|
28a13bdd01fc216f35bb39b28254038e64563571bea1dc5b56c9b88cee758e8f /after/bin/unexpand
|
||||||
1fda68497c80da9d4c3419c1953f5e86cd3b88a98b468b755606e9f2911f85be /after/bin/uniq
|
73ea7c3aa47e17d398762c7d0a6594564792a1cba251eef865ad5d83af0b8488 /after/bin/uniq
|
||||||
bad61a2a4f6b426344334ac03c698fdf2a76124087993431d8d475ddbc539d6c /after/bin/unlink
|
008ec49612fb884c43505fefbab0609c768d8169648df51b4411776a18089b41 /after/bin/unlink
|
||||||
0b3c47f1417700d09e96d9f057903eed5411f18ec1b461048df29b1822046c65 /after/bin/uptime
|
7497fb11caa2bb7ce43d3673b5045baf5caecac9208366ec28620a3981669c55 /after/bin/uptime
|
||||||
eb178d863f7f9d7a8935891e03f8354f20e6d22485a8deffd966080ad0c73789 /after/bin/users
|
fe64d199e3fdbda804a00d4f5ca988a90efc7afb41b7a53171d1c6406c724623 /after/bin/users
|
||||||
1c4529c1fba8371992768bca64d70d979ff91ba0256f3b3763a3f5a091b9384c /after/bin/vdir
|
5da613c7860de85805d5fe13084e0d8aedbb8a300bad0d36fdac0afbca24f6f9 /after/bin/vdir
|
||||||
81654f5e1deb77f7be09d5ec231d4b0f33550d91b68236e83c53407442546ad6 /after/bin/wc
|
aa143b5801454739d12007fc535651ab7ce76bbfba49018723f98b77e32b17da /after/bin/wc
|
||||||
e7e1c068cb667552d77825930899e05c990f6cfc042252c97cab8a104e35023d /after/bin/who
|
4418606dfb0c770d7ba182f28761be07019678dc1e9b4e2eb02a62a6c2be60c3 /after/bin/who
|
||||||
071bb22567a698ae1f48ade64460e13c7d7c60d053c11ca75a3744add5e11730 /after/bin/whoami
|
090e03584c0b9754c76ba23689321a8b114fdbeb3d158e15da4e700a78b33eed /after/bin/whoami
|
||||||
543f7dc9c08f2f921b83aa30edf8392aa87c51f43f0e7349ec61c56981049d36 /after/bin/yes
|
829c9904baeeb08f8f074223b7f0a8d7dfc375779cca0626a020c1323d4f7abb /after/bin/yes
|
||||||
02ae56360b3c7a21a83c0bffba077f82f851fbf08ac26e740779060bebb2e006 /after/libexec/coreutils/libstdbuf.so
|
02ae56360b3c7a21a83c0bffba077f82f851fbf08ac26e740779060bebb2e006 /after/libexec/coreutils/libstdbuf.so
|
||||||
|
|
|
@ -2,12 +2,6 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
# Remove pre-generated files from source code.
|
|
||||||
remove_generated_files() {
|
|
||||||
find . -name '*.info' -delete
|
|
||||||
find . -name '*.gmo' -delete
|
|
||||||
}
|
|
||||||
|
|
||||||
regenerate_files() {
|
regenerate_files() {
|
||||||
build-aux/gen-lists-of-programs.sh --autoconf > m4/cu-progs.m4
|
build-aux/gen-lists-of-programs.sh --autoconf > m4/cu-progs.m4
|
||||||
build-aux/gen-lists-of-programs.sh --automake > src/cu-progs.mk
|
build-aux/gen-lists-of-programs.sh --automake > src/cu-progs.mk
|
||||||
|
@ -21,13 +15,15 @@ regenerate_files() {
|
||||||
# dependency.
|
# dependency.
|
||||||
cp man/dummy-man man/help2man
|
cp man/dummy-man man/help2man
|
||||||
|
|
||||||
|
VERSION=$(basename ${BASH_SOURCE[0]} .sh | sed 's/coreutils-//')
|
||||||
|
echo $VERSION > .tarball-version
|
||||||
|
|
||||||
# We don't have autopoint from gettext yet.
|
# We don't have autopoint from gettext yet.
|
||||||
AUTOPOINT=true autoreconf-2.69 -fi
|
AUTOPOINT=true autoreconf-2.69 -fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
remove_generated_files
|
|
||||||
regenerate_files
|
regenerate_files
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
Remove dependency on po folder because we don't have gettext yet.
|
|
||||||
|
|
||||||
--- ./Makefile.am
|
|
||||||
+++ ./Makefile.am
|
|
||||||
@@ -17,7 +17,7 @@
|
|
||||||
|
|
||||||
ALL_RECURSIVE_TARGETS =
|
|
||||||
|
|
||||||
-SUBDIRS = po . gnulib-tests
|
|
||||||
+SUBDIRS = . gnulib-tests
|
|
||||||
|
|
||||||
EXTRA_DIST = \
|
|
||||||
.mailmap \
|
|
|
@ -1,11 +1,10 @@
|
||||||
SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
Remove dependency on unicodeio.h. This drops support for outputting unicode
|
Remove dependency on gperf. This drops support for outputting unicode
|
||||||
characters. We do that, because inclusion of unicodeio.h from gnulib brings
|
characters. We do that, because inclusion of unicodeio.h and propername.h
|
||||||
dependencies on gperf generated files. We don't have gperf on this stage so
|
from gnulib brings dependencies on gperf generated files. We don't have
|
||||||
we can't regenerate them.
|
gperf at this stage so we can't regenerate them.
|
||||||
|
|
||||||
--- ./src/printf.c
|
--- ./src/printf.c
|
||||||
+++ ./src/printf.c
|
+++ ./src/printf.c
|
||||||
|
@ -32,3 +31,20 @@ we can't regenerate them.
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
--- ./src/system.h
|
||||||
|
+++ ./src/system.h
|
||||||
|
@@ -361,13 +361,13 @@ enum
|
||||||
|
#include "version-etc.h"
|
||||||
|
#undef emit_bug_reporting_address
|
||||||
|
|
||||||
|
-#include "propername.h"
|
||||||
|
/* Define away proper_name (leaving proper_name_utf8, which affects far
|
||||||
|
fewer programs), since it's not worth the cost of adding ~17KB to
|
||||||
|
the x86_64 text size of every single program. This avoids a 40%
|
||||||
|
(almost ~2MB) increase in the on-disk space utilization for the set
|
||||||
|
of the 100 binaries. */
|
||||||
|
#define proper_name(x) (x)
|
||||||
|
+#define proper_name_utf8(x, y) (x, y)
|
||||||
|
|
||||||
|
#include "progname.h"
|
||||||
|
|
|
@ -18,3 +18,14 @@ of the build.
|
||||||
|
|
||||||
# For a test of uniq: it uses the $LOCALE_FR envvar.
|
# For a test of uniq: it uses the $LOCALE_FR envvar.
|
||||||
gt_LOCALE_FR
|
gt_LOCALE_FR
|
||||||
|
--- ./Makefile.am
|
||||||
|
+++ ./Makefile.am
|
||||||
|
@@ -17,7 +17,7 @@
|
||||||
|
|
||||||
|
ALL_RECURSIVE_TARGETS =
|
||||||
|
|
||||||
|
-SUBDIRS = po . gnulib-tests
|
||||||
|
+SUBDIRS = . gnulib-tests
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
.mailmap \
|
|
@ -1,26 +0,0 @@
|
||||||
SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
|
|
||||||
|
|
||||||
SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
Remove dependency on propername.h.
|
|
||||||
We do that, because inclusion of propername.h from gnulib brings dependencies
|
|
||||||
on gperf generated files. We don't have gperf at this stage so we can't
|
|
||||||
regenerate them.
|
|
||||||
|
|
||||||
--- ./src/system.h
|
|
||||||
+++ ./src/system.h
|
|
||||||
@@ -361,13 +361,13 @@ enum
|
|
||||||
#include "version-etc.h"
|
|
||||||
#undef emit_bug_reporting_address
|
|
||||||
|
|
||||||
-#include "propername.h"
|
|
||||||
/* Define away proper_name (leaving proper_name_utf8, which affects far
|
|
||||||
fewer programs), since it's not worth the cost of adding ~17KB to
|
|
||||||
the x86_64 text size of every single program. This avoids a 40%
|
|
||||||
(almost ~2MB) increase in the on-disk space utilization for the set
|
|
||||||
of the 100 binaries. */
|
|
||||||
#define proper_name(x) (x)
|
|
||||||
+#define proper_name_utf8(x, y) (x, y)
|
|
||||||
|
|
||||||
#include "progname.h"
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
367fe021db63c7ef39357af01a252bed6e2d4ccc928e6a9dbc42592c3a6b1a5d /after/bin/metaconfig
|
||||||
|
a7c30101cc041d1ffd0e9d4c940885ac31c78a9a066a56b1c33e166f75ff1a17 /after/bin/manifake
|
|
@ -0,0 +1,29 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
# We manually compile here because ./Configure uses metaconfig itself
|
||||||
|
# *sigh*
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
sed 's/@PERLVER@/5.10.1/' config.sh.in > config.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
cd mcon
|
||||||
|
./mconfig.SH
|
||||||
|
perl ../bin/perload -o mconfig > metaconfig
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd kit
|
||||||
|
./manifake.SH
|
||||||
|
cd ..
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
install mcon/metaconfig "${PREFIX}/bin/"
|
||||||
|
install kit/manifake "${PREFIX}/bin/"
|
||||||
|
cp -r mcon/U/ "${PREFIX}/lib/perl5/5.10.1/"
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
eunicefix=':'
|
||||||
|
grep='grep'
|
||||||
|
privlib='/after/lib/perl5/@PERLVER@'
|
||||||
|
VERSION='3'
|
||||||
|
ENV='env'
|
||||||
|
PATCHLEVEL='5'
|
||||||
|
spitshell='cat'
|
|
@ -0,0 +1,5 @@
|
||||||
|
// SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
#define REVISION "236"
|
|
@ -0,0 +1,17 @@
|
||||||
|
This is not valid Perl, I don't really understand why it is here anyway.
|
||||||
|
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Artistic-1.0
|
||||||
|
|
||||||
|
--- bin/perload 2021-04-21 19:01:35.803767498 +1000
|
||||||
|
+++ bin/perload 2021-04-21 19:01:47.959850217 +1000
|
||||||
|
@@ -450,8 +450,6 @@
|
||||||
|
:# This perl program uses dynamic loading [generated by perload]
|
||||||
|
:#
|
||||||
|
:
|
||||||
|
-:$ENV{LC_ALL} = 'C';
|
||||||
|
-:
|
||||||
|
EOC
|
||||||
|
$init_emitted = 1;
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
d80c682810b2f44dffe005e2cf7b239d51758220d1e489f0115b21ec186a8d7b /after/bin/flex
|
1e6280bcd57c357ad60c687ad5fab6597b9e6ef5f0a1186fcfef6383b76a3242 /after/bin/flex
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
8f497d6d82df2c6638654f43630559df83444d32f8e690109387d16db1d8d889 /after/bin/flex-2.5.33
|
|
@ -0,0 +1,29 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
AUTOPOINT=true autoreconf -fi
|
||||||
|
|
||||||
|
# Remove pregenerated files
|
||||||
|
rm parse.c parse.h scan.c
|
||||||
|
|
||||||
|
# Remove pregenerated .info
|
||||||
|
rm doc/flex.info
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure \
|
||||||
|
--prefix="${PREFIX}" \
|
||||||
|
--program-suffix=-2.5.33
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
make MAKEINFO=true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||||
|
}
|
|
@ -0,0 +1,33 @@
|
||||||
|
ae57dcdd55ec00e102376d03c0ceaf588c086bc71e648dd4b9d8f7f3265a533a /after/bin/autopoint
|
||||||
|
af98b25f2e03ed9174d8c20055865e13bed7f4fa4d284532af78d1886e4c8887 /after/bin/gettextize
|
||||||
|
d0ff40c3f1c8a6b29911383efca003e1df9d00cb35dc1d7658f1918c3644b5e4 /after/bin/recode-sr-latin
|
||||||
|
5f29b12551c8a9800bd898452e44a4f117e164ff337d56eac2606a68c966bc15 /after/bin/msguniq
|
||||||
|
cf15064cf9c7080ed483067cc7e85b8d994e1924bd86776b07938ea0f80d6ab2 /after/bin/msginit
|
||||||
|
37a7ab6da6eae0e26f3fc2bf4285b225faf0dd68599c7842d43754d4a968106c /after/bin/msggrep
|
||||||
|
c60c55e6c98383c66081ea4302365ed2e4635e1a83b7c2f885abd665b406c64e /after/bin/msgfilter
|
||||||
|
a022eb5c3eb83b8677ce06689e540af395e4ede3d9be86cd44e6d0319e7317f3 /after/bin/msgexec
|
||||||
|
626a060a0863bc361445bf0e41b74322a48346e78e6c5110d51979bb5ab954d1 /after/bin/msgen
|
||||||
|
a6866ef540e92140be9d02ce835265c6d474cc07114f61dbed3ce48b5df711ba /after/bin/msgconv
|
||||||
|
1f87652ef93fdec6b516b230c0a10d7dba982876e5acbfcde0699a0aaa65d4a1 /after/bin/msgcomm
|
||||||
|
46754718f5c23607657cd0c77d87a505694e6fb1b1e878335a513bf7425f37e4 /after/bin/msgcat
|
||||||
|
924146efef74f273df347ccfadea4dc0c99c47af5f4301ab50bf9814983ed6f6 /after/bin/msgattrib
|
||||||
|
30c64e8fdde097a0840f6dcd8cdfd8ebab744d6b0db07e702f77eb2b2f5e2a88 /after/bin/xgettext
|
||||||
|
40945c1bc1fd94dcef4a7e3358ebadaad7789888d16d0d26076b69c8b00be3ee /after/bin/msgunfmt
|
||||||
|
447e69025ab8759c63d7327a46e4fd711d201f94ef3f46fb03d2cdc0a15eabd3 /after/bin/msgmerge
|
||||||
|
d952aef84d4d599e092e95f344726b5a61874b67a5ab787398e39de154690c07 /after/bin/msgfmt
|
||||||
|
1a022b7ccd384fd1a30b1f31dbdb4238b1ba6db921c776b8725f16f4c18c0020 /after/bin/msgcmp
|
||||||
|
b1c70a26633d0096404a6cd40a78ea61fba5d2d2b49359950241613ed29561db /after/bin/gettext.sh
|
||||||
|
407929c2b891c444961ae16973662b55ea8496134a1711f4719e68a64aa03e62 /after/bin/envsubst
|
||||||
|
e9ac3a3f15b6947016f1ec9bd4bd40616f3442e45f210b5626fd0113fb0d0ad4 /after/bin/ngettext
|
||||||
|
f9d039270f7c6309132674638c9601674bdf943465cd38d201aae422de0feb65 /after/bin/gettext
|
||||||
|
c59296ff45b64e8692aa56d862902181f4834994d4b0732e17a74b5d028126b3 /after/lib/libgettextpo.a
|
||||||
|
d99dd08dc71af49e35bfcba95e35cc43867cedfdca781a1ef006157b9d527676 /after/lib/libgettextpo.la
|
||||||
|
d6ae3f511cc498740005918e41b64517c7cc69fb0259ac3ecd88919f0eae0173 /after/lib/gettext/project-id
|
||||||
|
ba935eae927fe15c606be43a1375ba256f44b86b70d0fce2eb84c93e3a865074 /after/lib/gettext/user-email
|
||||||
|
c2ab5a50f2e322034b68df183b31fd212141e3d8cb62cefa2d9c31c6f4eb5a86 /after/lib/gettext/cldr-plurals
|
||||||
|
0af910d5d7ec188157810d7bcbbe5ed82a24ce419e71b2bdc617dc4779697582 /after/lib/gettext/urlget
|
||||||
|
fc76fae2ccdfa71be223d94441d1f449013a9dbcefa68d645fc1c93cfb90895f /after/lib/gettext/hostname
|
||||||
|
bd7c85884c88885899175b68e541e18d0423044d153f4d0dde961f3b110f9353 /after/lib/libgettextsrc.la
|
||||||
|
6e46fa48a95c24e0d9d52e71597fb936d0f1f165ea22c10880f4467bb580d2a0 /after/lib/libgettextlib.la
|
||||||
|
23dc70c83e615beb0fd5946801f28facfc3b44f9e1bad268c36742b515c7d690 /after/lib/libtextstyle.a
|
||||||
|
8c2b8e24145bf1acceff1d91db99ba722a052fe30eb7440b5625252d191a9dbc /after/lib/libtextstyle.la
|
|
@ -0,0 +1,24 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
find . -name '*.info*' -delete
|
||||||
|
find . -name '*.gmo' -delete
|
||||||
|
|
||||||
|
# bison
|
||||||
|
rm gettext-runtime/intl/plural.c gettext-tools/src/{po-gram-gen,cldr-plural}.{c,h}
|
||||||
|
GNULIB_SRCDIR=$(realpath ../gnulib-7daa86f) ./autogen.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure --prefix="${PREFIX}" --enable-static --disable-shared
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
make MAKEINFO=true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||||
|
}
|
|
@ -1,3 +1 @@
|
||||||
20706 /after/bin/gzip
|
304cead634e6766db915155d422049269f66b2ff34a20a7f20819a0c69193d33 /after/bin/gzip
|
||||||
20706 /after/bin/gunzip
|
|
||||||
20706 /after/bin/zcat
|
|
||||||
|
|
|
@ -8,9 +8,11 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
|
ungz ../src/${pkg}.tar.gz
|
||||||
untar ../src/${pkg}.tar
|
untar ../src/${pkg}.tar
|
||||||
cd ${pkg}
|
cd ${pkg}
|
||||||
|
|
||||||
|
@ -43,4 +45,4 @@ chmod 755 ${bindir}/zcat
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
# Checksums
|
# Checksums
|
||||||
fletcher16 checksums
|
sha256sum -c checksums
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
77feb203eae9e115939775f41a91f47de628e4e9cb041ece8c55d73cec3fe871 /after/bin/yacc
|
d1a3da2e1199a8a11e97d5b2b201d49452be4403c37b5af070c1001cf0a932a2 /after/bin/yacc
|
||||||
65931952321d43b30c891744eaebab1a15c8087e4b1b624619a945ea3e7a1fd8 /after/bin/lex
|
fe3bf155e60efebc7a4018bf55e228ee7b98b2c9da0588a8c89fd358b1530a66 /after/bin/lex
|
||||||
ffe696afc1bda32a5f4035e29b3275cab73a27df7635ccbe02ed49a30374ccdd /after/lib/libl.a
|
ffe696afc1bda32a5f4035e29b3275cab73a27df7635ccbe02ed49a30374ccdd /after/lib/libl.a
|
||||||
bf3fb293f1ff89ee3dbcb08166c64b7a6793b49a12673d7633e3353ebea80d4d /yaccpar
|
bf3fb293f1ff89ee3dbcb08166c64b7a6793b49a12673d7633e3353ebea80d4d /yaccpar
|
||||||
ee0f187b844f50d64c912bfcb5d73706662846d6d8a90b8b1fb20dda60464734 /lex/ncform
|
ee0f187b844f50d64c912bfcb5d73706662846d6d8a90b8b1fb20dda60464734 /lex/ncform
|
||||||
|
|
|
@ -17,12 +17,14 @@ export PATH=/after/bin
|
||||||
# 2) optionally specify build script. Default is name-version.sh
|
# 2) optionally specify build script. Default is name-version.sh
|
||||||
# 3) optionally specify name of checksum file. Default is checksums
|
# 3) optionally specify name of checksum file. Default is checksums
|
||||||
# 4) directory of patches. Default is patches
|
# 4) directory of patches. Default is patches
|
||||||
|
# 5) directory to cd into. Default is ${pkg}
|
||||||
build () {
|
build () {
|
||||||
pkg=$1
|
pkg=$1
|
||||||
script_name=${2:-${pkg}.sh}
|
script_name=${2:-${pkg}.sh}
|
||||||
checksum_f=${3:-checksums}
|
checksum_f=${3:-checksums}
|
||||||
|
dirname=${5:-${pkg}}
|
||||||
|
|
||||||
cd "$pkg" || (echo "Cannot cd into ${pkg}!"; kill $$)
|
cd "${PREFIX}/${pkg}" || (echo "Cannot cd into ${pkg}!"; kill $$)
|
||||||
echo "${pkg}: beginning build using script ${script_name}"
|
echo "${pkg}: beginning build using script ${script_name}"
|
||||||
base_dir="${PWD}"
|
base_dir="${PWD}"
|
||||||
patch_dir="${base_dir}/${4:-patches}"
|
patch_dir="${base_dir}/${4:-patches}"
|
||||||
|
@ -44,7 +46,7 @@ build () {
|
||||||
build_stage=src_unpack
|
build_stage=src_unpack
|
||||||
call $build_stage
|
call $build_stage
|
||||||
|
|
||||||
cd "${pkg}" || (echo "Cannot cd into build/${pkg}!"; kill $$)
|
cd "${dirname}" || (echo "Cannot cd into build/${dirname}!"; kill $$)
|
||||||
|
|
||||||
echo "${pkg}: preparing source."
|
echo "${pkg}: preparing source."
|
||||||
build_stage=src_prepare
|
build_stage=src_prepare
|
||||||
|
@ -62,13 +64,13 @@ build () {
|
||||||
build_stage=src_install
|
build_stage=src_install
|
||||||
call $build_stage
|
call $build_stage
|
||||||
|
|
||||||
cd ../..
|
cd "${PREFIX}/${pkg}"
|
||||||
|
|
||||||
echo "${pkg}: checksumming installed files."
|
echo "${pkg}: checksumming installed files."
|
||||||
test -e "${checksum_f}" && sha256sum -c "${checksum_f}"
|
test -e "${checksum_f}" && sha256sum -c "${checksum_f}"
|
||||||
|
|
||||||
echo "${pkg}: build successful"
|
echo "${pkg}: build successful"
|
||||||
cd ..
|
cd "${PREFIX}"
|
||||||
|
|
||||||
unset -f src_unpack src_prepare src_configure src_compile src_install
|
unset -f src_unpack src_prepare src_configure src_compile src_install
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
06699b2728829d9c989f28a28af3d9ea00391a8678140af77a5ba4892244c4e8 /after/bin/make
|
8e0d4cc1e9c25a927b17bf07aaae57c4f6779d42a659140a736c65d6a71b456c /after/bin/make
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
c52511b504311f960636173d825a985ac551f6254fb85dced27fdae74ee652c4 /after/bin/make
|
|
@ -0,0 +1,30 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
rm doc/make.info
|
||||||
|
touch doc/make.info
|
||||||
|
|
||||||
|
# We don't have autopoint from gettext yet
|
||||||
|
AUTOPOINT=true autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure \
|
||||||
|
--prefix="${PREFIX}" \
|
||||||
|
--target=i386-unknown-linux-gnu \
|
||||||
|
--host=i386-unknown-linux-gnu \
|
||||||
|
--build=i386-unknown-linux-gnu \
|
||||||
|
--disable-nls
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
make MAKEINFO="true"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make install MAKEINFO="true" DESTDIR="${DESTDIR}"
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
pkg-config is not yet avaliable.
|
||||||
|
|
||||||
|
--- configure.ac 2021-04-21 17:02:44.864090500 +1000
|
||||||
|
+++ configure.ac 2021-04-21 17:03:31.468411937 +1000
|
||||||
|
@@ -160,19 +160,9 @@
|
||||||
|
AC_FUNC_CLOSEDIR_VOID
|
||||||
|
|
||||||
|
# See if the user wants to add (or not) GNU Guile support
|
||||||
|
-PKG_PROG_PKG_CONFIG
|
||||||
|
AC_ARG_WITH([guile], [AS_HELP_STRING([--with-guile],
|
||||||
|
[Support GNU Guile for embedded scripting])])
|
||||||
|
|
||||||
|
-# For some strange reason, at least on Ubuntu, each version of Guile
|
||||||
|
-# comes with it's own PC file so we have to specify them as individual
|
||||||
|
-# packages. Ugh.
|
||||||
|
-AS_IF([test "x$with_guile" != xno],
|
||||||
|
-[ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes],
|
||||||
|
- [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes],
|
||||||
|
- [have_guile=no])])
|
||||||
|
-])
|
||||||
|
-
|
||||||
|
AS_IF([test "$have_guile" = yes],
|
||||||
|
[AC_DEFINE([HAVE_GUILE], [1], [Embed GNU Guile support])])
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
17767 /after/bin/mes
|
e835fdb1cd8c7852e8c879f1efdea6f7392bdd04938f5a01a6199ab2730fac4b /after/bin/mes-m2
|
||||||
23643 /after/bin/mescc.scm
|
b91c81e543b878ead4cc975df75e3d211f7bd2dcdd4c90e42df99d44311ce71e /after/bin/mescc.scm
|
||||||
36724 /after/lib/x86-mes/crt1.s
|
90811dafd33ad56b8e4b0adcc04263f9329b9047b7cc337abe8151a75017172c /after/lib/x86-mes/crt1.s
|
||||||
42390 /after/lib/x86-mes/crt1.o
|
e065af5f73d40b20029e9ba23143660f99c6abacb82d1b4c8f2067a4e395d553 /after/lib/x86-mes/crt1.o
|
||||||
39638 /after/lib/x86-mes/x86.M1
|
c9944a799d584abfa76f385c14ac0caf6f46d03b34bf2712493602b12826c6b2 /after/lib/x86-mes/x86.M1
|
||||||
526 /after/lib/x86-mes/libmescc.s
|
d8646707db6aa2a76fdc5dbb3521376439e357f9f1de1d67f02a1afeefd342ac /after/lib/x86-mes/libmescc.s
|
||||||
10591 /after/lib/x86-mes/libc+tcc.s
|
aaf89a9d6818cdb8ece73454631b1a1ae83503e5eb7777d38cdaf141cba0e530 /after/lib/x86-mes/libc+tcc.s
|
||||||
45027 /after/lib/x86-mes/libc.s
|
b5ce4e1288a27864156d74268090c13aea6b5a261fa81c75bfbe844d0689d03d /after/lib/x86-mes/libc.s
|
||||||
17259 /after/lib/x86-mes/libmescc.a
|
52f697278ccdff5e457f27e10f465a91ab9858f0c6cee0683831cadb3109bbb7 /after/lib/x86-mes/libmescc.a
|
||||||
20204 /after/lib/x86-mes/libc+tcc.a
|
3156e619dbd85c471e2a8d053ba536eaaa8f91da657003777b8e87e7bab4266d /after/lib/x86-mes/libc+tcc.a
|
||||||
34645 /after/lib/x86-mes/libc.a
|
400615ca47339a3149680748b319f089ca5cb7ff2fdb42cce252f8c408445c1b /after/lib/x86-mes/libc.a
|
||||||
8245 /after/lib/linux/x86-mes/elf32-header.hex2
|
b16ab368bc4c7b8bd896d03cba565a60e97760dea4da9f5c8a1a3d2902a79df6 /after/lib/linux/x86-mes/elf32-header.hex2
|
||||||
15474 /after/lib/linux/x86-mes/elf32-footer-single-main.hex2
|
f9873d9aab12e70f24d97f8319e17a1e698ca60779ae9a6ab3ede648cd60fc61 /after/lib/linux/x86-mes/elf32-footer-single-main.hex2
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
Subproject commit 2ab4c5c676cb66088b0fb8de03b40b01f07bd4e0
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 06a0985332cfbc76e759da50d228d5aa01b4f6a9
|
|
|
@ -1,3 +0,0 @@
|
||||||
27475 /after/bin/chmod
|
|
||||||
51523 /after/bin/cp
|
|
||||||
37928 /after/bin/fletcher16
|
|
|
@ -1,130 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# SPDX-FileCopyrightText: 2020-2021 fosslinux <fosslinux@aussies.space>
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
cd src
|
|
||||||
|
|
||||||
# cp command
|
|
||||||
M2-Planet \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/file.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/exit.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/malloc.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/getcwd.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/chdir.c \
|
|
||||||
-f functions/string.c \
|
|
||||||
-f functions/file_print.c \
|
|
||||||
-f functions/match.c \
|
|
||||||
-f functions/require.c \
|
|
||||||
-f /M2-Planet/functions/calloc.c \
|
|
||||||
-f functions/in_set.c \
|
|
||||||
-f functions/numerate_number.c \
|
|
||||||
-f cp.c \
|
|
||||||
--architecture x86 \
|
|
||||||
--debug \
|
|
||||||
-o cp.M1
|
|
||||||
|
|
||||||
blood-elf -f cp.M1 -o cp-footer.M1
|
|
||||||
|
|
||||||
M1 \
|
|
||||||
-f /M2-Planet/test/common_x86/x86_defs.M1 \
|
|
||||||
-f /M2-Planet/test/common_x86/libc-core.M1 \
|
|
||||||
-f cp.M1 \
|
|
||||||
-f cp-footer.M1 \
|
|
||||||
--LittleEndian \
|
|
||||||
--architecture x86 \
|
|
||||||
-o hold
|
|
||||||
|
|
||||||
hex2 \
|
|
||||||
-f /M2-Planet/test/common_x86/ELF-i386-debug.hex2 \
|
|
||||||
-f hold \
|
|
||||||
--LittleEndian \
|
|
||||||
--architecture x86 \
|
|
||||||
--BaseAddress 0x8048000 \
|
|
||||||
-o ${bindir}/cp \
|
|
||||||
--exec_enable
|
|
||||||
|
|
||||||
# chmod command
|
|
||||||
M2-Planet \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/file.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/exit.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/malloc.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/getcwd.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/chdir.c \
|
|
||||||
-f functions/string.c \
|
|
||||||
-f functions/file_print.c \
|
|
||||||
-f functions/match.c \
|
|
||||||
-f functions/require.c \
|
|
||||||
-f functions/in_set.c \
|
|
||||||
-f functions/numerate_number.c \
|
|
||||||
-f /M2-Planet/functions/calloc.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/stat.c \
|
|
||||||
-f chmod.c \
|
|
||||||
--architecture x86 \
|
|
||||||
--debug \
|
|
||||||
-o chmod.M1
|
|
||||||
|
|
||||||
blood-elf -f chmod.M1 -o chmod-footer.M1
|
|
||||||
|
|
||||||
M1 \
|
|
||||||
-f /M2-Planet/test/common_x86/x86_defs.M1 \
|
|
||||||
-f /M2-Planet/test/common_x86/libc-core.M1 \
|
|
||||||
-f chmod.M1 \
|
|
||||||
-f chmod-footer.M1 \
|
|
||||||
--LittleEndian \
|
|
||||||
--architecture x86 \
|
|
||||||
-o hold
|
|
||||||
|
|
||||||
hex2 \
|
|
||||||
-f /M2-Planet/test/common_x86/ELF-i386-debug.hex2 \
|
|
||||||
-f hold \
|
|
||||||
--LittleEndian \
|
|
||||||
--architecture x86 \
|
|
||||||
--BaseAddress 0x8048000 \
|
|
||||||
-o ${bindir}/chmod \
|
|
||||||
--exec_enable
|
|
||||||
|
|
||||||
# fletcher16 command
|
|
||||||
M2-Planet \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/file.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/exit.c \
|
|
||||||
-f functions/numerate_number.c \
|
|
||||||
-f functions/string.c \
|
|
||||||
-f functions/file_print.c \
|
|
||||||
-f functions/match.c \
|
|
||||||
-f functions/require.c \
|
|
||||||
-f functions/in_set.c \
|
|
||||||
-f /M2-Planet/functions/calloc.c \
|
|
||||||
-f /M2-Planet/test/common_x86/functions/malloc.c \
|
|
||||||
-f fletcher16.c \
|
|
||||||
--architecture x86 \
|
|
||||||
--debug \
|
|
||||||
-o fletcher16.M1
|
|
||||||
|
|
||||||
blood-elf -f fletcher16.M1 -o fletcher16-footer.M1
|
|
||||||
|
|
||||||
M1 \
|
|
||||||
-f /M2-Planet/test/common_x86/x86_defs.M1 \
|
|
||||||
-f /M2-Planet/test/common_x86/libc-core.M1 \
|
|
||||||
-f fletcher16.M1 \
|
|
||||||
-f fletcher16-footer.M1 \
|
|
||||||
--LittleEndian \
|
|
||||||
--architecture x86 \
|
|
||||||
-o hold
|
|
||||||
|
|
||||||
hex2 \
|
|
||||||
-f /M2-Planet/test/common_x86/ELF-i386-debug.hex2 \
|
|
||||||
-f hold \
|
|
||||||
--LittleEndian \
|
|
||||||
--architecture x86 \
|
|
||||||
--BaseAddress 0x8048000 \
|
|
||||||
-o ${bindir}/fletcher16 \
|
|
||||||
--exec_enable
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
# Checksums
|
|
||||||
fletcher16 checksums
|
|
|
@ -1,161 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2020 fosslinux <fosslinux@aussies.space>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
|
|
||||||
/* Define all of the constants */
|
|
||||||
// CONSTANT FALSE 0
|
|
||||||
#define FALSE 0
|
|
||||||
// CONSTANT TRUE 1
|
|
||||||
#define TRUE 1
|
|
||||||
// CONSTANT MAX_STRING 4096
|
|
||||||
#define MAX_STRING 4096
|
|
||||||
// CONSTANT MAX_ARRAY 256
|
|
||||||
#define MAX_ARRAY 256
|
|
||||||
|
|
||||||
/* There are all of the constants we need for the bitmask */
|
|
||||||
/* constant name */ /* decimal */ /* octal */
|
|
||||||
// CONSTANT S_ISUID 2048 /* 04000 */
|
|
||||||
// CONSTANT S_ISGID 1024 /* 02000 */
|
|
||||||
// CONSTANT S_ISVTX 512 /* 01000 */
|
|
||||||
// CONSTANT S_IRUSR 256 /* 00400 */
|
|
||||||
// CONSTANT S_IWUSR 128 /* 00200 */
|
|
||||||
// CONSTANT S_IXUSR 64 /* 00100 */
|
|
||||||
// CONSTANT S_IRGRP 32 /* 00040 */
|
|
||||||
// CONSTANT S_IWGRP 16 /* 00020 */
|
|
||||||
// CONSTANT S_IXGRP 8 /* 00010 */
|
|
||||||
// CONSTANT S_IROTH 4 /* 00004 */
|
|
||||||
// CONSTANT S_IWOTH 2 /* 00002 */
|
|
||||||
// CONSTANT S_IXOTH 1 /* 00001 */
|
|
||||||
|
|
||||||
/* Prototypes for external funcs */
|
|
||||||
void file_print(char* s, FILE* f);
|
|
||||||
char* prepend_char(char a, char* s);
|
|
||||||
int numerate_string(char *a);
|
|
||||||
void require(int bool, char* error);
|
|
||||||
char* copy_string(char* target, char* source);
|
|
||||||
int match(char* a, char* b);
|
|
||||||
/* Globals */
|
|
||||||
int verbose;
|
|
||||||
|
|
||||||
/* UTILITY FUNCTIONS */
|
|
||||||
|
|
||||||
/* Function to find the length of a char**; an array of strings */
|
|
||||||
int array_length(char** array)
|
|
||||||
{
|
|
||||||
int length = 0;
|
|
||||||
while(array[length] != NULL)
|
|
||||||
{
|
|
||||||
length = length + 1;
|
|
||||||
}
|
|
||||||
return length;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* PROCESSING FUNCTIONS */
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
|
||||||
{
|
|
||||||
/* Initialize variables */
|
|
||||||
char** files = calloc(MAX_ARRAY, sizeof(char*));
|
|
||||||
require(files != NULL, "Memory initialization of files failed\n");
|
|
||||||
int files_index = 0;
|
|
||||||
char* mode = NULL;
|
|
||||||
|
|
||||||
/* Set defaults */
|
|
||||||
verbose = FALSE;
|
|
||||||
|
|
||||||
int i = 1;
|
|
||||||
/* Loop arguments */
|
|
||||||
while(i <= argc)
|
|
||||||
{
|
|
||||||
if(NULL == argv[i])
|
|
||||||
{ /* Ignore and continue */
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
else if(match(argv[i], "-h") || match(argv[i], "--help"))
|
|
||||||
{
|
|
||||||
file_print("Usage: ", stdout);
|
|
||||||
file_print(argv[0], stdout);
|
|
||||||
file_print(" [-h | --help] [-V | --version] [-v | --verbose]\n", stdout);
|
|
||||||
exit(EXIT_SUCCESS);
|
|
||||||
}
|
|
||||||
else if(match(argv[i], "-V") || match(argv[i], "--version"))
|
|
||||||
{ /* Output version */
|
|
||||||
file_print("chmod version 1.1.0\n", stdout);
|
|
||||||
exit(EXIT_SUCCESS);
|
|
||||||
}
|
|
||||||
else if(match(argv[i], "-v") || match(argv[i], "--verbose"))
|
|
||||||
{
|
|
||||||
verbose = TRUE;
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
else if(argv[i][0] != '-')
|
|
||||||
{ /* It must be the file or the mode */
|
|
||||||
if(mode == NULL)
|
|
||||||
{ /* Mode always comes first */
|
|
||||||
mode = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(mode != NULL, "Memory initialization of mode failed\n");
|
|
||||||
copy_string(mode, argv[i]);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{ /* It's a file, as the mode is already done */
|
|
||||||
files[files_index] = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(files[files_index] != NULL, "Memory initialization of files[files_index] failed\n");
|
|
||||||
copy_string(files[files_index], argv[i]);
|
|
||||||
files_index = files_index + 1;
|
|
||||||
}
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{ /* Unknown argument */
|
|
||||||
file_print("UNKNOWN_ARGUMENT\n", stderr);
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Ensure the two values have values */
|
|
||||||
require(mode != NULL, "Provide a mode\n");
|
|
||||||
require(files[0] != NULL, "Provide a file\n");
|
|
||||||
|
|
||||||
/* Convert the mode str into octal */
|
|
||||||
if(mode[0] != '0')
|
|
||||||
{ /* We need to indicate it is octal */
|
|
||||||
mode = prepend_char('0', mode);
|
|
||||||
}
|
|
||||||
int omode = numerate_string(mode);
|
|
||||||
|
|
||||||
/* Loop over files to be operated on */
|
|
||||||
FILE* test;
|
|
||||||
for(i = 0; i < array_length(files); i = i + 1)
|
|
||||||
{
|
|
||||||
/* Make sure the file can be opened */
|
|
||||||
test = fopen(files[i], "r");
|
|
||||||
require(test != NULL, "A file cannot be read\n");
|
|
||||||
fclose(test);
|
|
||||||
|
|
||||||
/* Verbose message */
|
|
||||||
if(verbose)
|
|
||||||
{
|
|
||||||
file_print("mode of '", stdout);
|
|
||||||
file_print(files[i], stdout);
|
|
||||||
file_print("' changed to ", stdout);
|
|
||||||
file_print(mode, stdout);
|
|
||||||
file_print("\n", stdout);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Perform the chmod */
|
|
||||||
chmod(files[i], omode);
|
|
||||||
|
|
||||||
free(files[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
free(mode);
|
|
||||||
free(files);
|
|
||||||
}
|
|
|
@ -1,323 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2020 fosslinux <fosslinux@aussies.space>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
|
|
||||||
/* Define all of the constants */
|
|
||||||
// CONSTANT FALSE 0
|
|
||||||
#define FALSE 0
|
|
||||||
// CONSTANT TRUE 1
|
|
||||||
#define TRUE 1
|
|
||||||
// CONSTANT MAX_STRING 4096
|
|
||||||
#define MAX_STRING 4096
|
|
||||||
// CONSTANT MAX_ARRAY 256
|
|
||||||
#define MAX_ARRAY 256
|
|
||||||
|
|
||||||
/* Prototypes for external funcs */
|
|
||||||
int match(char* a, char* b);
|
|
||||||
void file_print(char* s, FILE* f);
|
|
||||||
char* copy_string(char* target, char* source);
|
|
||||||
char* prepend_string(char* add, char* base);
|
|
||||||
void require(int bool, char* error);
|
|
||||||
char* postpend_char(char* s, char a);
|
|
||||||
int string_length(char* a);
|
|
||||||
void require(int bool, char* error);
|
|
||||||
|
|
||||||
/* Globals */
|
|
||||||
int verbose;
|
|
||||||
|
|
||||||
/* UTILITY FUNCTIONS */
|
|
||||||
|
|
||||||
/* Function to find a character's position in a string (last match) */
|
|
||||||
int find_last_char_pos(char* string, char a)
|
|
||||||
{
|
|
||||||
int i = string_length(string) - 1;
|
|
||||||
if(i < 0) return i;
|
|
||||||
while(i >= 0)
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* This conditional should be in the while conditional but we are
|
|
||||||
* running into the M2-Planet short-circuit bug.
|
|
||||||
*/
|
|
||||||
if(a == string[i]) break;
|
|
||||||
i = i - 1;
|
|
||||||
}
|
|
||||||
return i;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Function to find the length of a char**; an array of strings */
|
|
||||||
int array_length(char** array)
|
|
||||||
{
|
|
||||||
int length = 0;
|
|
||||||
while(array[length] != NULL)
|
|
||||||
{
|
|
||||||
length = length + 1;
|
|
||||||
}
|
|
||||||
return length;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* PROCESSING FUNCTIONS */
|
|
||||||
|
|
||||||
char* directory_dest(char* dest, char* source, int require_directory)
|
|
||||||
{
|
|
||||||
/*
|
|
||||||
* First, check if it is a directory to copy to.
|
|
||||||
* We have two ways of knowing this:
|
|
||||||
* - If the destination ends in a slash, the user has explicitly said
|
|
||||||
* it is a directory.
|
|
||||||
* - Normally we would use stat() but we don't want to force support for
|
|
||||||
* that syscall onto the kernel, so we just attempt to chdir() into it
|
|
||||||
* and if it works then it must be a directory. A bit hacky, bit it
|
|
||||||
* works.
|
|
||||||
*/
|
|
||||||
int isdirectory = FALSE;
|
|
||||||
if(dest[string_length(dest) - 1] == '/')
|
|
||||||
{
|
|
||||||
isdirectory = TRUE;
|
|
||||||
}
|
|
||||||
if(!isdirectory)
|
|
||||||
{ /* Use the other testing method */
|
|
||||||
/*
|
|
||||||
* Get the current path so that we can chdir back to it if it does
|
|
||||||
* chdir successfully.
|
|
||||||
*/
|
|
||||||
char* current_path = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(current_path != NULL, "Memory initialization of current_path in directory_dest failed\n");
|
|
||||||
getcwd(current_path, MAX_STRING);
|
|
||||||
require(!match("", current_path), "getcwd() failed\n");
|
|
||||||
/*
|
|
||||||
* chdir expects an absolute path.
|
|
||||||
* If the first character is / then it is already absolute, otherwise
|
|
||||||
* it is relative and needs to be changed (by appending current_path
|
|
||||||
* to the dest path).
|
|
||||||
*/
|
|
||||||
char* chdir_dest = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(chdir_dest != NULL, "Memory initialization of chdir_dest in directory_dest failed\n");
|
|
||||||
if(dest[0] != '/')
|
|
||||||
{ /* The path is relative, append current_path */
|
|
||||||
copy_string(chdir_dest, prepend_string(prepend_string(current_path, "/"), dest));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{ /* The path is absolute */
|
|
||||||
copy_string(chdir_dest, dest);
|
|
||||||
}
|
|
||||||
if(0 <= chdir(chdir_dest))
|
|
||||||
{ /* chdir returned successfully */
|
|
||||||
/*
|
|
||||||
* But because of M2-Planet, that doesn't mean anything actually
|
|
||||||
* happened, check that before we go any further.
|
|
||||||
*/
|
|
||||||
char* new_path = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(new_path != NULL, "Memory initialization of new_path in directory_dest failed\n");
|
|
||||||
getcwd(new_path, MAX_STRING);
|
|
||||||
if(!match(current_path, new_path))
|
|
||||||
{
|
|
||||||
isdirectory = TRUE;
|
|
||||||
chdir(current_path);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
free(chdir_dest);
|
|
||||||
free(current_path);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* If it isn't a directory, and we require one, error out.
|
|
||||||
* Otherwise, just return what we were given, we're done here.
|
|
||||||
*/
|
|
||||||
if(require_directory) require(isdirectory, "Provide a directory destination for multiple source files\n");
|
|
||||||
if(!isdirectory) return dest;
|
|
||||||
|
|
||||||
/* If it is, we need to make dest a full path */
|
|
||||||
/* 1. Get the basename of source */
|
|
||||||
char* basename = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(basename != NULL, "Memory initialization of basename in directory_dest failed\n");
|
|
||||||
int last_slash_pos = find_last_char_pos(source, '/');
|
|
||||||
if(last_slash_pos >= 0)
|
|
||||||
{ /* Yes, there is a slash in it, copy over everything after that pos */
|
|
||||||
int spos; /* source pos */
|
|
||||||
int bpos = 0; /* basename pos */
|
|
||||||
int source_length = string_length(source);
|
|
||||||
/* Do the actual copy */
|
|
||||||
for(spos = last_slash_pos + 1; spos < string_length(source); spos = spos + 1)
|
|
||||||
{
|
|
||||||
basename[bpos] = source[spos];
|
|
||||||
bpos = bpos + 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{ /* No, there is no slash in it, hence the basename is just the source */
|
|
||||||
copy_string(basename, source);
|
|
||||||
}
|
|
||||||
/* 2. Ensure our dest (which is a directory) has a trailing slash */
|
|
||||||
if(dest[string_length(dest) - 1] != '/')
|
|
||||||
{
|
|
||||||
dest = postpend_char(dest, '/');
|
|
||||||
}
|
|
||||||
/* 3. Add the basename to the end of the directory */
|
|
||||||
dest = prepend_string(dest, basename);
|
|
||||||
free(basename);
|
|
||||||
|
|
||||||
/* Now we have a returnable path! */
|
|
||||||
return dest;
|
|
||||||
}
|
|
||||||
|
|
||||||
int copy_file(char* source, char* dest)
|
|
||||||
{
|
|
||||||
if(verbose)
|
|
||||||
{ /* Output message */
|
|
||||||
/* Of the form 'source' -> 'dest' */
|
|
||||||
file_print("'", stdout);
|
|
||||||
file_print(source, stdout);
|
|
||||||
file_print("' -> '", stdout);
|
|
||||||
file_print(dest, stdout);
|
|
||||||
file_print("'\n", stdout);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Open source and dest as FILE*s */
|
|
||||||
FILE* fsource = fopen(source, "r");
|
|
||||||
require(fsource != NULL, prepend_string(
|
|
||||||
prepend_string("Error opening source file ", source), "\n"));
|
|
||||||
FILE* fdest = fopen(dest, "w");
|
|
||||||
require(fdest >= 0, prepend_string(
|
|
||||||
prepend_string("Error opening destination file", dest), "\n"));
|
|
||||||
|
|
||||||
/*
|
|
||||||
* The following loop reads a character from the source and writes it to the
|
|
||||||
* dest file. This is all M2-Planet supports.
|
|
||||||
*/
|
|
||||||
char c = fgetc(fsource);
|
|
||||||
while(c != EOF)
|
|
||||||
{
|
|
||||||
fputc(c, fdest);
|
|
||||||
c = fgetc(fsource);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Cleanup */
|
|
||||||
fclose(fsource);
|
|
||||||
fclose(fdest);
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
|
||||||
{
|
|
||||||
/* Initialize variables */
|
|
||||||
char** sources = calloc(MAX_ARRAY, sizeof(char*));
|
|
||||||
require(sources != NULL, "Memory initialization of sources failed\n");
|
|
||||||
int sources_index = 0;
|
|
||||||
char* dest = NULL;
|
|
||||||
|
|
||||||
/* Set defaults */
|
|
||||||
verbose = FALSE;
|
|
||||||
|
|
||||||
int i = 1;
|
|
||||||
int j;
|
|
||||||
int args_found;
|
|
||||||
/* Loop arguments */
|
|
||||||
while(i <= argc)
|
|
||||||
{
|
|
||||||
if(NULL == argv[i])
|
|
||||||
{ /* Ignore and continue */
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
else if(match(argv[i], "-h") || match(argv[i], "--help"))
|
|
||||||
{
|
|
||||||
file_print("Usage: ", stdout);
|
|
||||||
file_print(argv[0], stdout);
|
|
||||||
file_print(" [-h | --help] [-V | --version] [-v | --verbose] source1 source2 sourcen destination\n", stdout);
|
|
||||||
exit(EXIT_SUCCESS);
|
|
||||||
}
|
|
||||||
else if(match(argv[i], "-V") || match(argv[i], "--version"))
|
|
||||||
{ /* Output version */
|
|
||||||
file_print("cp version 1.1.0\n", stdout);
|
|
||||||
exit(EXIT_SUCCESS);
|
|
||||||
}
|
|
||||||
else if(match(argv[i], "-v") || match(argv[i], "--verbose"))
|
|
||||||
{
|
|
||||||
verbose = TRUE;
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
else if(argv[i][0] != '-')
|
|
||||||
{ /* It is not an option */
|
|
||||||
/*
|
|
||||||
* We can tell if this is the source file or the destination file
|
|
||||||
* through looking *ahead*. If it is the last of this type of argument then
|
|
||||||
* it must be the destination. (1 destination, many sources).
|
|
||||||
*/
|
|
||||||
j = i + 1;
|
|
||||||
args_found = 0;
|
|
||||||
while(j < array_length(argv))
|
|
||||||
{
|
|
||||||
if(argv[j][0] != '-')
|
|
||||||
{ /* It's one of these type of arguments */
|
|
||||||
args_found = args_found + 1;
|
|
||||||
}
|
|
||||||
j = j + 1;
|
|
||||||
}
|
|
||||||
if(args_found == 0)
|
|
||||||
{ /* We are setting the destination (there are no more left after this) */
|
|
||||||
dest = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(dest != NULL, "Memory initialization of dest failed\n");
|
|
||||||
copy_string(dest, argv[i]);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{ /* We are setting a source */
|
|
||||||
require(sources_index < MAX_ARRAY, "Too many files\n");
|
|
||||||
sources[sources_index] = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(sources[sources_index] != NULL, "Memory initialization of sources[source_index] failed\n");
|
|
||||||
copy_string(sources[sources_index], argv[i]);
|
|
||||||
sources_index = sources_index + 1;
|
|
||||||
}
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{ /* Unknown argument */
|
|
||||||
file_print("UNKNOWN_ARGUMENT\n", stderr);
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Sanitize values */
|
|
||||||
/* Ensure the two values have values */
|
|
||||||
/* Another workaround for short-circuit bug */
|
|
||||||
int error = FALSE;
|
|
||||||
if(sources[0] == NULL) error = TRUE;
|
|
||||||
if(error == FALSE) if(match(sources[0], "")) error = TRUE;
|
|
||||||
require(!error, "Provide a source file\n");
|
|
||||||
error = FALSE;
|
|
||||||
if(dest == NULL) error = TRUE;
|
|
||||||
if(error == FALSE) if(match(dest, "")) error = TRUE;
|
|
||||||
require(!error, "Provide a destination file\n");
|
|
||||||
|
|
||||||
/* Loop through all of the sources, copying each one */
|
|
||||||
char* this_dest;
|
|
||||||
for(i = 0; i < array_length(sources); i = i + 1)
|
|
||||||
{
|
|
||||||
/* Convert the dest variable to a full path if it's a directory copying to */
|
|
||||||
/*
|
|
||||||
* Also, if there is more than one source, we have to be copying to
|
|
||||||
* a directory destination...
|
|
||||||
*/
|
|
||||||
if(array_length(sources) == 1)
|
|
||||||
{
|
|
||||||
dest = directory_dest(dest, sources[i], FALSE);
|
|
||||||
copy_file(sources[i], dest);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
this_dest = calloc(MAX_STRING, sizeof(char));
|
|
||||||
require(this_dest != NULL, "Memory initialization of this_dest failed\n");
|
|
||||||
this_dest = directory_dest(dest, sources[i], TRUE);
|
|
||||||
copy_file(sources[i], this_dest);
|
|
||||||
}
|
|
||||||
/* Perform the actual copy */
|
|
||||||
free(sources[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
free(sources);
|
|
||||||
free(dest);
|
|
||||||
}
|
|
|
@ -1,103 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
#define BUF_SIZE 1024
|
|
||||||
// CONSTANT BUF_SIZE 1024
|
|
||||||
#define PATH_MAX 512
|
|
||||||
// CONSTANT PATH_MAX 512
|
|
||||||
|
|
||||||
int fletch16(FILE* fp)
|
|
||||||
{
|
|
||||||
long sum1 = 0;
|
|
||||||
long sum2 = 0;
|
|
||||||
int index;
|
|
||||||
int c = fgetc(fp);
|
|
||||||
while(c != EOF)
|
|
||||||
{
|
|
||||||
sum1 = (sum1 + c) % 255;
|
|
||||||
sum2 = (sum2 + sum1) % 255;
|
|
||||||
c = fgetc(fp);
|
|
||||||
}
|
|
||||||
|
|
||||||
return (sum2 << 8) | sum1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
|
||||||
{
|
|
||||||
/* Open the file containing the checksums */
|
|
||||||
FILE* check_fp = fopen(argv[1], "r");
|
|
||||||
require(check_fp != NULL, prepend_string(
|
|
||||||
prepend_string("Error opening checksum file ", argv[1]), "\n"));
|
|
||||||
int rc = 0;
|
|
||||||
|
|
||||||
/* Now loop over each one */
|
|
||||||
FILE* fp;
|
|
||||||
char c;
|
|
||||||
char* filename;
|
|
||||||
char* s_rchecksum;
|
|
||||||
char* file;
|
|
||||||
int rchecksum;
|
|
||||||
int i;
|
|
||||||
int csum;
|
|
||||||
/* It's much easier to just break; out of the loop */
|
|
||||||
while(1)
|
|
||||||
{
|
|
||||||
filename = calloc(PATH_MAX, sizeof(char));
|
|
||||||
require(filename != NULL, "Failed to allocate filename\n");
|
|
||||||
s_rchecksum = calloc(16, sizeof(char));
|
|
||||||
require(s_rchecksum != NULL, "Failed to allocate filename\n");
|
|
||||||
/* Read the checksum */
|
|
||||||
c = fgetc(check_fp);
|
|
||||||
i = 0;
|
|
||||||
while (c != ' ' && c != EOF)
|
|
||||||
{
|
|
||||||
require(in_set(c, "0123456789"), "Invalid checksum file\n");
|
|
||||||
s_rchecksum[i] = c;
|
|
||||||
c = fgetc(check_fp);
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
if(c == EOF) break;
|
|
||||||
/* Skip the space */
|
|
||||||
c = fgetc(check_fp);
|
|
||||||
/* Read the filename */
|
|
||||||
i = 0;
|
|
||||||
while(c != '\n' && c != EOF)
|
|
||||||
{
|
|
||||||
filename[i] = c;
|
|
||||||
c = fgetc(check_fp);
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
/* If we got here and it is EOF, we probably have all the needed data */
|
|
||||||
/* Convert s_rchecksum -> int */
|
|
||||||
rchecksum = numerate_string(s_rchecksum);
|
|
||||||
|
|
||||||
/* Now let's actually calculate the real checksum */
|
|
||||||
/* Read the file into a char* array */
|
|
||||||
fp = fopen(filename, "r");
|
|
||||||
/* Calculate the checksum! */
|
|
||||||
csum = fletch16(fp);
|
|
||||||
|
|
||||||
/* Compare */
|
|
||||||
if(csum == rchecksum)
|
|
||||||
{
|
|
||||||
file_print(prepend_string(filename, ": OK\n"), stdout);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
/* We failed.. we should fail at the end */
|
|
||||||
rc = 1;
|
|
||||||
file_print(prepend_string(filename, ": FAILED\n"), stdout);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Now if we finished the last one, leave */
|
|
||||||
if(c == EOF) break;
|
|
||||||
}
|
|
||||||
|
|
||||||
return rc;
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include<stdio.h>
|
|
||||||
// void fputc(char s, FILE* f);
|
|
||||||
|
|
||||||
void file_print(char* s, FILE* f)
|
|
||||||
{
|
|
||||||
while(0 != s[0])
|
|
||||||
{
|
|
||||||
fputc(s[0], f);
|
|
||||||
s = s + 1;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,21 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
* SPDX-FileCopyrightText: 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define FALSE 0
|
|
||||||
// CONSTANT FALSE 0
|
|
||||||
#define TRUE 1
|
|
||||||
// CONSTANT TRUE 1
|
|
||||||
|
|
||||||
int in_set(int c, char* s)
|
|
||||||
{
|
|
||||||
while(0 != s[0])
|
|
||||||
{
|
|
||||||
if(c == s[0]) return TRUE;
|
|
||||||
s = s + 1;
|
|
||||||
}
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
|
@ -1,24 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define FALSE 0
|
|
||||||
// CONSTANT FALSE 0
|
|
||||||
#define TRUE 1
|
|
||||||
// CONSTANT TRUE 1
|
|
||||||
|
|
||||||
int match(char* a, char* b)
|
|
||||||
{
|
|
||||||
int i = -1;
|
|
||||||
do
|
|
||||||
{
|
|
||||||
i = i + 1;
|
|
||||||
if(a[i] != b[i])
|
|
||||||
{
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
} while((0 != a[i]) && (0 !=b[i]));
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
|
@ -1,159 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include<stdlib.h>
|
|
||||||
// void* calloc(int count, int size);
|
|
||||||
#define TRUE 1
|
|
||||||
//CONSTANT TRUE 1
|
|
||||||
#define FALSE 0
|
|
||||||
//CONSTANT FALSE 0
|
|
||||||
int in_set(int c, char* s);
|
|
||||||
//CONSTANT NULL 0
|
|
||||||
|
|
||||||
char* numerate_number(int a)
|
|
||||||
{
|
|
||||||
char* result = calloc(16, sizeof(char));
|
|
||||||
if(NULL == result) return NULL;
|
|
||||||
|
|
||||||
int i = 0;
|
|
||||||
|
|
||||||
/* Deal with Zero case */
|
|
||||||
if(0 == a)
|
|
||||||
{
|
|
||||||
result[0] = '0';
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Deal with negatives */
|
|
||||||
if(0 > a)
|
|
||||||
{
|
|
||||||
result[0] = '-';
|
|
||||||
i = 1;
|
|
||||||
a = a * -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Using the largest 10^n number possible in 32bits */
|
|
||||||
int divisor = 0x3B9ACA00;
|
|
||||||
/* Skip leading Zeros */
|
|
||||||
while(0 == (a / divisor)) divisor = divisor / 10;
|
|
||||||
|
|
||||||
/* Now simply collect numbers until divisor is gone */
|
|
||||||
while(0 < divisor)
|
|
||||||
{
|
|
||||||
result[i] = ((a / divisor) + 48);
|
|
||||||
a = a % divisor;
|
|
||||||
divisor = divisor / 10;
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
int char2hex(int c)
|
|
||||||
{
|
|
||||||
if (c >= '0' && c <= '9') return (c - 48);
|
|
||||||
else if (c >= 'a' && c <= 'f') return (c - 87);
|
|
||||||
else if (c >= 'A' && c <= 'F') return (c - 55);
|
|
||||||
else return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int hex2char(int c)
|
|
||||||
{
|
|
||||||
if((c >= 0) && (c <= 9)) return (c + 48);
|
|
||||||
else if((c >= 10) && (c <= 15)) return (c + 55);
|
|
||||||
else return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int char2dec(int c)
|
|
||||||
{
|
|
||||||
if (c >= '0' && c <= '9') return (c - 48);
|
|
||||||
else return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int dec2char(int c)
|
|
||||||
{
|
|
||||||
if((c >= 0) && (c <= 9)) return (c + 48);
|
|
||||||
else return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int index_number(char* s, char c)
|
|
||||||
{
|
|
||||||
int i = 0;
|
|
||||||
while(s[i] != c)
|
|
||||||
{
|
|
||||||
i = i + 1;
|
|
||||||
if(0 == s[i]) return -1;
|
|
||||||
}
|
|
||||||
return i;
|
|
||||||
}
|
|
||||||
|
|
||||||
int toupper(int c)
|
|
||||||
{
|
|
||||||
if(in_set(c, "abcdefghijklmnopqrstuvwxyz")) return (c & 0xDF);
|
|
||||||
return c;
|
|
||||||
}
|
|
||||||
|
|
||||||
int set_reader(char* set, int mult, char* input)
|
|
||||||
{
|
|
||||||
int n = 0;
|
|
||||||
int i = 0;
|
|
||||||
int hold;
|
|
||||||
int negative_p = FALSE;
|
|
||||||
|
|
||||||
if(input[0] == '-')
|
|
||||||
{
|
|
||||||
negative_p = TRUE;
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
while(in_set(input[i], set))
|
|
||||||
{
|
|
||||||
n = n * mult;
|
|
||||||
hold = index_number(set, toupper(input[i]));
|
|
||||||
|
|
||||||
/* Input managed to change between in_set and index_number */
|
|
||||||
if(-1 == hold) return 0;
|
|
||||||
n = n + hold;
|
|
||||||
i = i + 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* loop exited before NULL and thus invalid input */
|
|
||||||
if(0 != input[i]) return 0;
|
|
||||||
|
|
||||||
if(negative_p)
|
|
||||||
{
|
|
||||||
n = 0 - n;
|
|
||||||
}
|
|
||||||
|
|
||||||
return n;
|
|
||||||
}
|
|
||||||
|
|
||||||
int numerate_string(char *a)
|
|
||||||
{
|
|
||||||
/* If NULL string */
|
|
||||||
if(0 == a[0]) return 0;
|
|
||||||
|
|
||||||
/* Deal with binary*/
|
|
||||||
else if ('0' == a[0] && 'b' == a[1])
|
|
||||||
{
|
|
||||||
return set_reader("01", 2, a+2);
|
|
||||||
}
|
|
||||||
/* Deal with hex */
|
|
||||||
else if ('0' == a[0] && 'x' == a[1])
|
|
||||||
{
|
|
||||||
return set_reader("0123456789ABCDEFabcdef", 16, a+2);
|
|
||||||
}
|
|
||||||
/* Deal with octal */
|
|
||||||
else if('0' == a[0])
|
|
||||||
{
|
|
||||||
return set_reader("01234567", 8, a+1);
|
|
||||||
}
|
|
||||||
/* Deal with decimal */
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return set_reader("0123456789", 10, a);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,20 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
* SPDX-FileCopyrightText: 2018 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include<stdio.h>
|
|
||||||
#include<stdlib.h>
|
|
||||||
|
|
||||||
void file_print(char* s, FILE* f);
|
|
||||||
|
|
||||||
void require(int bool, char* error)
|
|
||||||
{
|
|
||||||
if(!bool)
|
|
||||||
{
|
|
||||||
file_print(error, stderr);
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
/*
|
|
||||||
* SPDX-FileCopyrightText: 2016 Jeremiah Orians
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include<stdlib.h>
|
|
||||||
#include<stdio.h>
|
|
||||||
#define MAX_STRING 4096
|
|
||||||
//CONSTANT MAX_STRING 4096
|
|
||||||
// void* calloc(int count, int size);
|
|
||||||
void file_print(char* s, FILE* f);
|
|
||||||
|
|
||||||
char* copy_string(char* target, char* source)
|
|
||||||
{
|
|
||||||
while(0 != source[0])
|
|
||||||
{
|
|
||||||
target[0] = source[0];
|
|
||||||
target = target + 1;
|
|
||||||
source = source + 1;
|
|
||||||
}
|
|
||||||
return target;
|
|
||||||
}
|
|
||||||
|
|
||||||
char* postpend_char(char* s, char a)
|
|
||||||
{
|
|
||||||
char* ret = calloc(MAX_STRING, sizeof(char));
|
|
||||||
if(NULL == ret) return NULL;
|
|
||||||
|
|
||||||
char* hold = copy_string(ret, s);
|
|
||||||
hold[0] = a;
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
char* prepend_char(char a, char* s)
|
|
||||||
{
|
|
||||||
char* ret = calloc(MAX_STRING, sizeof(char));
|
|
||||||
if(NULL == ret) return NULL;
|
|
||||||
|
|
||||||
ret[0] = a;
|
|
||||||
copy_string((ret+1), s);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
char* prepend_string(char* add, char* base)
|
|
||||||
{
|
|
||||||
char* ret = calloc(MAX_STRING, sizeof(char));
|
|
||||||
if(NULL == ret) return NULL;
|
|
||||||
|
|
||||||
copy_string(copy_string(ret, add), base);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
int string_length(char* a)
|
|
||||||
{
|
|
||||||
int i = 0;
|
|
||||||
while(0 != a[i]) i = i + 1;
|
|
||||||
return i;
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
12760 /after/bin/blood-elf
|
|
||||||
31684 /after/bin/catm
|
|
||||||
52674 /after/bin/get_machine
|
|
||||||
47046 /after/bin/hex2
|
|
||||||
25862 /after/bin/kaem
|
|
||||||
33226 /after/bin/M1
|
|
||||||
61798 /after/bin/M2-Planet
|
|
||||||
44920 /after/bin/mes-m2
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 3f5b7588a20bc2225f25a31eed53a8152563955f
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 0e6d8d6d3f261b550af1768b767f66b30fd07854
|
|
|
@ -1 +1 @@
|
||||||
62187 /after/bin/patch
|
19ead2cf81b112f2e8907089954915eeae36d78df6bf1d2e72a0d7fc15c4483b /after/bin/patch
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
# Extract
|
# Extract
|
||||||
|
@ -51,4 +52,4 @@ patch --version
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
# Checksums
|
# Checksums
|
||||||
fletcher16 checksums
|
sha256sum -c checksums
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
7885f8e8f9b41e2239c34053f22cffb31cce08ddbdfb85f03059ac6754db9c37 /after/bin/patch
|
|
@ -0,0 +1,76 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
../gnulib-e017871/gnulib-tool --import \
|
||||||
|
--local-dir=gl \
|
||||||
|
--lib=libpatch \
|
||||||
|
--source-base=lib \
|
||||||
|
--m4-base=m4 \
|
||||||
|
--doc-base=doc \
|
||||||
|
--tests-base=tests \
|
||||||
|
--aux-dir=build-aux \
|
||||||
|
--makefile-name=gnulib.mk \
|
||||||
|
--no-conditional-dependencies \
|
||||||
|
--no-libtool \
|
||||||
|
--macro-prefix=gl \
|
||||||
|
argmatch \
|
||||||
|
backupfile \
|
||||||
|
clock-time \
|
||||||
|
diffseq \
|
||||||
|
dirname \
|
||||||
|
dup2 \
|
||||||
|
errno \
|
||||||
|
exitfail \
|
||||||
|
extensions \
|
||||||
|
faccessat \
|
||||||
|
fchmodat \
|
||||||
|
fchownat \
|
||||||
|
fcntl-h \
|
||||||
|
fstatat \
|
||||||
|
full-write \
|
||||||
|
getdate \
|
||||||
|
getopt-gnu \
|
||||||
|
gettime \
|
||||||
|
git-version-gen \
|
||||||
|
gitlog-to-changelog \
|
||||||
|
gnupload \
|
||||||
|
hash \
|
||||||
|
ignore-value \
|
||||||
|
intprops \
|
||||||
|
largefile \
|
||||||
|
linked-list \
|
||||||
|
maintainer-makefile \
|
||||||
|
malloc \
|
||||||
|
manywarnings \
|
||||||
|
memchr \
|
||||||
|
minmax \
|
||||||
|
mkdirat \
|
||||||
|
nstrftime \
|
||||||
|
openat \
|
||||||
|
progname \
|
||||||
|
quotearg \
|
||||||
|
readlinkat \
|
||||||
|
realloc \
|
||||||
|
renameat \
|
||||||
|
setenv \
|
||||||
|
signal \
|
||||||
|
size_max \
|
||||||
|
ssize_t \
|
||||||
|
stat-time \
|
||||||
|
stdbool \
|
||||||
|
stdlib \
|
||||||
|
symlinkat \
|
||||||
|
sys_stat \
|
||||||
|
tempname \
|
||||||
|
time \
|
||||||
|
unistd \
|
||||||
|
unlinkat \
|
||||||
|
update-copyright \
|
||||||
|
utimensat \
|
||||||
|
verror \
|
||||||
|
xalloc \
|
||||||
|
xlist \
|
||||||
|
xmemdup0
|
|
@ -0,0 +1,24 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
../../import-gnulib.sh
|
||||||
|
|
||||||
|
# bison
|
||||||
|
rm lib/parse-datetime.c
|
||||||
|
|
||||||
|
autoreconf -fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure --prefix="${PREFIX}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
make MAKEINFO=true
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
make MAKEINFO=true DESTDIR="${DESTDIR}" install
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
2d311726e861cc74d1e3e0b329f49be20e1b1832f02518bea201a927ec3c4c6c /after/bin/perl
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,20 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
ar='ar'
|
||||||
|
cc='gcc'
|
||||||
|
ldlibpthname='LD_LIBRARY_PATH'
|
||||||
|
libpth='/after/lib'
|
||||||
|
path_sep=':'
|
||||||
|
archname='i386'
|
||||||
|
osvers=''
|
||||||
|
byteorder='12345678'
|
||||||
|
x=''
|
||||||
|
ivsize='4'
|
||||||
|
ivtype='long'
|
||||||
|
lib_ext='.a'
|
||||||
|
_a='.a'
|
||||||
|
|
||||||
|
PERL_CONFIG_SH=true
|
|
@ -0,0 +1,137 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
# Note: This makefile is not currently parallel-safe.
|
||||||
|
|
||||||
|
VERSION=5.10.1
|
||||||
|
PRIVLIB_EXP=$(PREFIX)/lib/perl5/$(VERSION)
|
||||||
|
|
||||||
|
CC = gcc
|
||||||
|
AR = ar
|
||||||
|
CFLAGS = -DPRIVLIB_EXP=\"$(PRIVLIB_EXP)\" \
|
||||||
|
-DPERL_CORE=1 \
|
||||||
|
-I. \
|
||||||
|
-DVERSION=\"$(VERSION)\" \
|
||||||
|
-DNO_PPPORT_H
|
||||||
|
|
||||||
|
MINICFLAGS = -DPERL_EXTERNAL_GLOB
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
|
||||||
|
LIBPERL_SRC = av scope op doop doio dump gv hv mg reentr mro perl perly pp \
|
||||||
|
pp_hot pp_ctl pp_sys regcomp regexec utf8 sv taint toke util \
|
||||||
|
deb run universal xsutils pad globals perlio perlapi numeric \
|
||||||
|
mathoms locale pp_pack pp_sort
|
||||||
|
LIBPERL_OBJ = $(addsuffix .o, $(LIBPERL_SRC))
|
||||||
|
|
||||||
|
EXTENSIONS = File/Glob Digest/SHA Data/Dumper Cwd
|
||||||
|
EXTENSIONS_A := $(foreach f,$(EXTENSIONS), lib/auto/$f/$(notdir $f).a)
|
||||||
|
EXTENSIONS_PM = ext/File/Glob/Glob.pm ext/Digest/SHA/lib/Digest/SHA.pm \
|
||||||
|
ext/Data/Dumper/Dumper.pm
|
||||||
|
|
||||||
|
all: perl
|
||||||
|
|
||||||
|
# miniperl
|
||||||
|
|
||||||
|
opmini.c: op.c
|
||||||
|
cp op.c opmini.c
|
||||||
|
|
||||||
|
perlmini.c: perl.c
|
||||||
|
cp perl.c perlmini.c
|
||||||
|
|
||||||
|
generate_uudmap: generate_uudmap.o
|
||||||
|
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||||
|
|
||||||
|
uudmap.h: generate_uudmap
|
||||||
|
./generate_uudmap > $@
|
||||||
|
|
||||||
|
git_version.h: lib/Config_git.pl
|
||||||
|
|
||||||
|
lib/Config_git.pl:
|
||||||
|
perl make_patchnum.pl
|
||||||
|
|
||||||
|
globals.o: uudmap.h
|
||||||
|
|
||||||
|
perl.o: git_version.h
|
||||||
|
|
||||||
|
perlmini.o: git_version.h
|
||||||
|
|
||||||
|
libperl.a: $(LIBPERL_OBJ)
|
||||||
|
$(AR) cr $@ $^
|
||||||
|
|
||||||
|
miniperl: miniperlmain.o opmini.o perlmini.o libperl.a
|
||||||
|
$(CC) $(CFLAGS) $(MINICFLAGS) $^ $(LDFLAGS) -o $@
|
||||||
|
# An extremely dodgy hack
|
||||||
|
sed -i 's/va\.a\.a/v5.8.1/' miniperl
|
||||||
|
chmod +x miniperl
|
||||||
|
|
||||||
|
# full perl
|
||||||
|
|
||||||
|
lib/re.pm:
|
||||||
|
cp ext/re/re.pm lib/re.pm
|
||||||
|
|
||||||
|
lib/Config.pm: config.sh miniperl configpm lib/re.pm
|
||||||
|
./miniperl -Ilib configpm
|
||||||
|
|
||||||
|
writemain: writemain.SH
|
||||||
|
spitshell=cat eunicefix=true ./$<
|
||||||
|
|
||||||
|
perlmain.c: writemain $(EXTENSIONS_A)
|
||||||
|
./writemain $(EXTENSIONS_A) > $@
|
||||||
|
|
||||||
|
perl: perlmain.o libperl.a $(EXTENSIONS_A) lib/File/Glob.pm lib/Digest/SHA.pm \
|
||||||
|
lib/DynaLoader.pm lib/XSLoader.pm lib/Data/Dumper.pm
|
||||||
|
$(CC) $(CFLAGS) perlmain.o libperl.a $(EXTENSIONS_A) -o $@
|
||||||
|
# An extremely dodgy hack (v2)
|
||||||
|
sed -i 's/va\.a\.a/v5.8.1/' perl
|
||||||
|
chmod +x perl
|
||||||
|
|
||||||
|
# extensions
|
||||||
|
|
||||||
|
autosplit.pl: lib/re.pm lib/Config.pm miniperl
|
||||||
|
echo 'use AutoSplit; autosplit_lib_modules(@ARGV)' > $@
|
||||||
|
|
||||||
|
ext/DynaLoader/DynaLoader.pm: miniperl lib/Config.pm
|
||||||
|
./miniperl -Ilib ext/DynaLoader/DynaLoader_pm.PL DynaLoader.pm
|
||||||
|
mv DynaLoader.pm $@
|
||||||
|
|
||||||
|
ext/DynaLoader/XSLoader.pm: miniperl lib/Config.pm
|
||||||
|
./miniperl -Ilib ext/DynaLoader/XSLoader_pm.PL XSLoader.pm
|
||||||
|
mv XSLoader.pm $@
|
||||||
|
|
||||||
|
lib/DynaLoader.pm: ext/DynaLoader/DynaLoader.pm
|
||||||
|
install $< $@
|
||||||
|
|
||||||
|
lib/XSLoader.pm: ext/DynaLoader/XSLoader.pm
|
||||||
|
install $< $@
|
||||||
|
|
||||||
|
lib/File/Glob.pm: ext/File/Glob/Glob.pm
|
||||||
|
install $< $@
|
||||||
|
|
||||||
|
lib/Digest/SHA.pm: ext/Digest/SHA/lib/Digest/SHA.pm
|
||||||
|
install $< $@
|
||||||
|
|
||||||
|
lib/Data:
|
||||||
|
mkdir $@
|
||||||
|
|
||||||
|
lib/Data/Dumper.pm: ext/Data/Dumper/Dumper.pm lib/Data
|
||||||
|
install $< $@
|
||||||
|
|
||||||
|
define build_rule
|
||||||
|
lib/auto/$1/$(notdir $1).a: ext/$1/$(notdir $1).o $(patsubst %.c,%.o,$(wildcard ext/$1/*.c)) $(EXTENSIONS_PM)
|
||||||
|
mkdir -p lib/auto/$1
|
||||||
|
$(AR) cr lib/auto/$1/$(notdir $1).a ext/$1/$(notdir $1).o $(patsubst %.c,%.o,$(wildcard ext/$1/*.c))
|
||||||
|
|
||||||
|
ext/$1/$(notdir $1).c: miniperl lib/Config.pm
|
||||||
|
cd ext/$1; \
|
||||||
|
$(CURDIR)/miniperl -I$(CURDIR)/lib Makefile.PL; \
|
||||||
|
$(CURDIR)/miniperl -I$(CURDIR)/lib $(CURDIR)/lib/ExtUtils/xsubpp -noprototypes -typemap $(CURDIR)/lib/ExtUtils/typemap `echo $(notdir $1) | sed 's/.*-//'`.xs > $(notdir $1).c
|
||||||
|
endef
|
||||||
|
$(foreach f,$(EXTENSIONS),$(eval $(call build_rule,$f)))
|
||||||
|
|
||||||
|
install: all
|
||||||
|
install perl "$(DESTDIR)$(PREFIX)/bin/perl"
|
||||||
|
mkdir -p "$(DESTDIR)$(PRIVLIB_EXP)"
|
||||||
|
cp -r lib/* "$(DESTDIR)$(PRIVLIB_EXP)"
|
|
@ -0,0 +1,124 @@
|
||||||
|
SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
|
||||||
|
SPDX-License-Identifier: Artistic-1.0-Perl
|
||||||
|
|
||||||
|
There are a bunch of aliases that perl's build system somehow makes but
|
||||||
|
I'm not sure how to appropriately do them, so just patch them.
|
||||||
|
|
||||||
|
--- lib/ExtUtils/Constant.pm 2021-04-20 21:06:43.272663878 +1000
|
||||||
|
+++ lib/ExtUtils/Constant.pm 2021-04-20 21:07:11.116805426 +1000
|
||||||
|
@@ -253,11 +253,11 @@
|
||||||
|
switch (type) {
|
||||||
|
case PERL_constant_NOTFOUND:
|
||||||
|
sv =
|
||||||
|
- sv_2mortal(newSVpvf("%s is not a valid $package_sprintf_safe macro", s));
|
||||||
|
+ sv_2mortal(Perl_newSVpvf("%s is not a valid $package_sprintf_safe macro", s));
|
||||||
|
PUSHs(sv);
|
||||||
|
break;
|
||||||
|
case PERL_constant_NOTDEF:
|
||||||
|
- sv = sv_2mortal(newSVpvf(
|
||||||
|
+ sv = sv_2mortal(Perl_newSVpvf(
|
||||||
|
"Your vendor has not defined $package_sprintf_safe macro %s, used",
|
||||||
|
s));
|
||||||
|
PUSHs(sv);
|
||||||
|
@@ -288,7 +288,7 @@
|
||||||
|
}
|
||||||
|
$xs .= << "EOT";
|
||||||
|
default:
|
||||||
|
- sv = sv_2mortal(newSVpvf(
|
||||||
|
+ sv = sv_2mortal(Perl_newSVpvf(
|
||||||
|
"Unexpected return type %d while processing $package_sprintf_safe macro %s, used",
|
||||||
|
type, s));
|
||||||
|
PUSHs(sv);
|
||||||
|
--- ext/Data-Dumper/Dumper.xs 2009-06-11 02:42:23.000000000 +1000
|
||||||
|
+++ ext/Data-Dumper/Dumper.xs 2021-04-21 18:19:32.548468344 +1000
|
||||||
|
@@ -312,7 +312,7 @@
|
||||||
|
{
|
||||||
|
dSP; ENTER; SAVETMPS; PUSHMARK(sp);
|
||||||
|
XPUSHs(val); PUTBACK;
|
||||||
|
- i = perl_call_method(SvPVX_const(freezer), G_EVAL|G_VOID);
|
||||||
|
+ i = call_method(SvPVX_const(freezer), G_EVAL|G_VOID);
|
||||||
|
SPAGAIN;
|
||||||
|
if (SvTRUE(ERRSV))
|
||||||
|
warn("WARNING(Freezer method call failed): %"SVf"", ERRSV);
|
||||||
|
@@ -515,7 +515,7 @@
|
||||||
|
|
||||||
|
SV * const ixsv = newSViv(0);
|
||||||
|
/* allowing for a 24 char wide array index */
|
||||||
|
- New(0, iname, namelen+28, char);
|
||||||
|
+ Newx(iname, namelen+28, char);
|
||||||
|
(void)strcpy(iname, name);
|
||||||
|
inamelen = namelen;
|
||||||
|
if (name[0] == '@') {
|
||||||
|
@@ -660,7 +660,7 @@
|
||||||
|
if (sortkeys != &PL_sv_yes) {
|
||||||
|
dSP; ENTER; SAVETMPS; PUSHMARK(sp);
|
||||||
|
XPUSHs(sv_2mortal(newRV_inc(ival))); PUTBACK;
|
||||||
|
- i = perl_call_sv(sortkeys, G_SCALAR | G_EVAL);
|
||||||
|
+ i = call_sv(sortkeys, G_SCALAR | G_EVAL);
|
||||||
|
SPAGAIN;
|
||||||
|
if (i) {
|
||||||
|
sv = POPs;
|
||||||
|
@@ -745,7 +745,7 @@
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
nticks = num_q(key, klen);
|
||||||
|
- New(0, nkey_buffer, klen+nticks+3, char);
|
||||||
|
+ Newx(nkey_buffer, klen+nticks+3, char);
|
||||||
|
nkey = nkey_buffer;
|
||||||
|
nkey[0] = '\'';
|
||||||
|
if (nticks)
|
||||||
|
@@ -772,7 +772,7 @@
|
||||||
|
char *extra;
|
||||||
|
I32 elen = 0;
|
||||||
|
newapad = newSVsv(apad);
|
||||||
|
- New(0, extra, klen+4+1, char);
|
||||||
|
+ Newx(extra, klen+4+1, char);
|
||||||
|
while (elen < (klen+4))
|
||||||
|
extra[elen++] = ' ';
|
||||||
|
extra[elen] = '\0';
|
||||||
|
@@ -829,7 +829,7 @@
|
||||||
|
char *npack;
|
||||||
|
char *npack_buffer = NULL;
|
||||||
|
|
||||||
|
- New(0, npack_buffer, plen+pticks+1, char);
|
||||||
|
+ Newx(npack_buffer, plen+pticks+1, char);
|
||||||
|
npack = npack_buffer;
|
||||||
|
plen += esc_q(npack, realpack, plen);
|
||||||
|
npack[plen] = '\0';
|
||||||
|
@@ -903,7 +903,7 @@
|
||||||
|
if (len > 10) {
|
||||||
|
/* Looks like we're on a 64 bit system. Make it a string so that
|
||||||
|
if a 32 bit system reads the number it will cope better. */
|
||||||
|
- sv_catpvf(retval, "'%s'", tmpbuf);
|
||||||
|
+ Perl_sv_catpvf(retval, "'%s'", tmpbuf);
|
||||||
|
} else
|
||||||
|
sv_catpvn(retval, tmpbuf, len);
|
||||||
|
}
|
||||||
|
@@ -1036,7 +1036,7 @@
|
||||||
|
|
||||||
|
if (!SvROK(href)) { /* call new to get an object first */
|
||||||
|
if (items < 2)
|
||||||
|
- croak("Usage: Data::Dumper::Dumpxs(PACKAGE, VAL_ARY_REF, [NAME_ARY_REF])");
|
||||||
|
+ Perl_croak_nocontext("Usage: Data::Dumper::Dumpxs(PACKAGE, VAL_ARY_REF, [NAME_ARY_REF])");
|
||||||
|
|
||||||
|
ENTER;
|
||||||
|
SAVETMPS;
|
||||||
|
@@ -1047,7 +1047,7 @@
|
||||||
|
if (items >= 3)
|
||||||
|
XPUSHs(sv_2mortal(newSVsv(ST(2))));
|
||||||
|
PUTBACK;
|
||||||
|
- i = perl_call_method("new", G_SCALAR);
|
||||||
|
+ i = call_method("new", G_SCALAR);
|
||||||
|
SPAGAIN;
|
||||||
|
if (i)
|
||||||
|
href = newSVsv(POPs);
|
||||||
|
@@ -1234,7 +1234,7 @@
|
||||||
|
SvREFCNT_dec(valstr);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
- croak("Call to new() method failed to return HASH ref");
|
||||||
|
+ Perl_croak_nocontext("Call to new() method failed to return HASH ref");
|
||||||
|
if (gimme == G_SCALAR)
|
||||||
|
XPUSHs(sv_2mortal(retval));
|
||||||
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default_src_prepare
|
||||||
|
|
||||||
|
# Regenerate bison files
|
||||||
|
# perly.c looks suspiciously like it is from bison, but is not; from the
|
||||||
|
# below script:
|
||||||
|
# Note that perly.c is *not* regenerated - this is now a static file which
|
||||||
|
# is not dependent on perly.y any more.
|
||||||
|
perl regen_perly.pl -b bison-2.3
|
||||||
|
# Remove the source file so make works.
|
||||||
|
rm perly.y
|
||||||
|
|
||||||
|
# Regenerate other prebuilt header files
|
||||||
|
# Taken from headers of regen scripts
|
||||||
|
rm lib/warnings.pm warnings.h regnodes.h reentr.h reentr.c overload.h \
|
||||||
|
overload.c lib/overload/numbers.pm opcode.h opnames.h pp_proto.h \
|
||||||
|
pp.sym keywords.h embed.h embedvar.h global.sym perlapi.c perlapi.h \
|
||||||
|
proto.h
|
||||||
|
perl regen.pl
|
||||||
|
|
||||||
|
mkdir -p ext/File ext/Digest ext/Data
|
||||||
|
mv ext/File-Glob ext/File/Glob
|
||||||
|
mv ext/Digest-SHA ext/Digest/SHA
|
||||||
|
mv ext/Data-Dumper ext/Data/Dumper
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Remove old perl
|
||||||
|
rm -rf "${PREFIX}"/lib/perl5/
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
|
@ -0,0 +1,81 @@
|
||||||
|
5dc92a9450e0fdccf6b381a5dc370aee1c51afa8d75c507b909c56184d0f0358 /after/bin/pod2man
|
||||||
|
26f0c107f0d65ac9ed4bf1eee43f0ee64ff6b474f52a4f62d3f5f25e1a1fd805 /after/bin/pod2text
|
||||||
|
03197a1fc4cef1248c78a7de614ed6265f23da857e58c9c2de590c261218db46 /after/bin/pod2usage
|
||||||
|
7ff07183a290e7f04fa576bee4f97c773c53db36715cef7f47df401c217b00af /after/bin/podchecker
|
||||||
|
7c0780e7fd0bdb3866b5b849699fd5b5c695287423d0c87a5bd7819cf3a25eb8 /after/bin/cpan
|
||||||
|
0f4425db23a90632732166f8b0caae3ce29ad885b64fd6c989c3b2977534545a /after/bin/corelist
|
||||||
|
270a6cc0d3fa955ab852a87ea3e2f7b7a423561ab87d57ee7874ff40eb07f55b /after/bin/enc2xs
|
||||||
|
57b186f90c7b54bfc922568cb806af3028969a7937856399bad1f528fca1d034 /after/bin/encguess
|
||||||
|
20f9172d837eab89c648e6118143a2a714cfdebe9f64e6c98145ce1126b1dfc4 /after/bin/h2ph
|
||||||
|
9f24f685b8f1e0f7ea6ede4ae4c79a87ea082503d21b1fb73eb5f41453c94382 /after/bin/h2xs
|
||||||
|
0d37c4fb6f163187ac5f5e8e562983e7a6f7079696f46d488a73055d0f7c7915 /after/bin/instmodsh
|
||||||
|
d71e05147c84fa2882de928ae13baa7a7d6eb4752a9b21fc35ed36ff33aabc9f /after/bin/json_pp
|
||||||
|
6f22e8c45358e131b13717192424c53f192950741c4c30a338a18e862ab085e0 /after/bin/libnetcfg
|
||||||
|
cad024aedd0b0416148c69cb539073ad2ca72c96014804d0f9cbfb47095b19ba /after/bin/perlbug
|
||||||
|
3ff327faa0aca312aff9e6a4f06a744ea5a782107964d04bee9f89e9e47ab1c8 /after/bin/perldoc
|
||||||
|
bdb64fc8fe9732a215e6d6b04f2508be6dea2a2b8014290b01669e9f40d3c3ec /after/bin/perlivp
|
||||||
|
c0b75aa28834780570f0f4ee212f89e9b0f7e41823a37363302d397837bc75a6 /after/bin/piconv
|
||||||
|
4d36250e79f9057ad8856f2cb1728a090d795f05e9f0f1afe5c12ebe6d96dd5c /after/bin/pl2pm
|
||||||
|
01deff305eab23134f9fb15689d805972a74011b3eaf12c813f10535727b4cd7 /after/bin/pod2html
|
||||||
|
97140c9d2122e146b2873ece6b9620412f32835b8bf4df5ff8171c5a5d4fdfee /after/bin/prove
|
||||||
|
ef017ae1f2e4b593310828680f589a63d2b9a7b3fe9a586821ec84f4cbaa5fb5 /after/bin/ptar
|
||||||
|
be0153da66a10852e68c48d88bca22d713ba18884e4dc2abb682694f633d8da4 /after/bin/ptardiff
|
||||||
|
9ec56aff9e367161f051630d3009745362ca2879416a705074f5029764a855d5 /after/bin/ptargrep
|
||||||
|
d073c2ae271acc6a2716703b40c0ab860e0a7013f0fa8d1b2717c877eaad0fdf /after/bin/shasum
|
||||||
|
89e791b58ff80175d50410eba0e936eaa2c123717672a30d75434cd4383241ad /after/bin/splain
|
||||||
|
89517ecc5aaa3112e49eb877b4f4406f794de51993cdaea01548de50d7a376ce /after/bin/streamzip
|
||||||
|
f93027f512185e8aa77e814ada2551de01c8f56b926381e71b958a01118c1ffd /after/bin/xsubpp
|
||||||
|
2bcc91ca8f95a6cdce14f0a13b0948b04224d7c1ab25e175077a1b6ec7993a9f /after/bin/zipdetails
|
||||||
|
cad024aedd0b0416148c69cb539073ad2ca72c96014804d0f9cbfb47095b19ba /after/bin/perlthanks
|
||||||
|
f78466a5e44f8a50e04fad23895afc62f441d0db1ae451949f31928bc459597c /after/bin/perl
|
||||||
|
f78466a5e44f8a50e04fad23895afc62f441d0db1ae451949f31928bc459597c /after/bin/perl5.32.1
|
||||||
|
16d60fa7138f0b5e31b4462e7f5cef7e9d0040cab5c4d808367802b186dd99d2 /after/lib/perl5/5.32.1/i386-linux/CORE/libperl.a
|
||||||
|
b9aa5df8e7790d25b610d3568a1fb5ec19d4b7a24ea89032b3e48e6baeff7829 /after/lib/perl5/5.32.1/i386-linux/auto/IO/IO.a
|
||||||
|
a00d9d1d16cb84df222e42726962751d6296aa4ef5b43d3e3d39b5db677524be /after/lib/perl5/5.32.1/i386-linux/auto/B/B.a
|
||||||
|
97297837e713b3c32fdf15d3beb4df27dd04d36770520a39cb9609bfe03e8b95 /after/lib/perl5/5.32.1/i386-linux/auto/Compress/Raw/Bzip2/Bzip2.a
|
||||||
|
cbace9433582cb7a952f8765351e5e8ac24c3d08c5cc659fc57fc5d001f85a46 /after/lib/perl5/5.32.1/i386-linux/auto/Compress/Raw/Zlib/Zlib.a
|
||||||
|
11a5a396f223fca1c0f663f92e2ccca804c0e1bcc8ebdc7aa6c02007c0ef6eb2 /after/lib/perl5/5.32.1/i386-linux/auto/Cwd/Cwd.a
|
||||||
|
40bd3da520ef0b12afb7a6e422bba60618a294ea48315a0c3788b238ceec1cff /after/lib/perl5/5.32.1/i386-linux/auto/Data/Dumper/Dumper.a
|
||||||
|
913b4c30b4444bb5d20fdfb1235b0bad897900247d6c90f20453f4b3fff88d22 /after/lib/perl5/5.32.1/i386-linux/auto/Devel/Peek/Peek.a
|
||||||
|
1adda90e944ad90f66a6d6beeb73f36eb15346868f86fcf2428e9468e0df924c /after/lib/perl5/5.32.1/i386-linux/auto/Digest/MD5/MD5.a
|
||||||
|
ca94220bc83615eacfe76c219681cc5bbf60b20f967d4e0050115411cce4b5d3 /after/lib/perl5/5.32.1/i386-linux/auto/Digest/SHA/SHA.a
|
||||||
|
9f63bd4cba00691b802276da76cf44e0d1c42ac2a785d523ebf4ae0baba120cb /after/lib/perl5/5.32.1/i386-linux/auto/Encode/Byte/Byte.a
|
||||||
|
6d583d90aa9d93a081dd23e59a4ccb67566213075277b2f576f0bc70be0ae45f /after/lib/perl5/5.32.1/i386-linux/auto/Encode/CN/CN.a
|
||||||
|
4f1a62ec40d3d6971043ff20bcc159ce9600946c200dd7349aab1fade57ac4bb /after/lib/perl5/5.32.1/i386-linux/auto/Encode/EBCDIC/EBCDIC.a
|
||||||
|
30a5bad1d7bfeb2c8a1c3d40b242dbb57d7f5a7a90b8b0da2f37ca1e97f5cd98 /after/lib/perl5/5.32.1/i386-linux/auto/Encode/JP/JP.a
|
||||||
|
4070f08ca88900519ecd2d44a1733fcf0addf0bcf4cc7b09fce9303f8194577f /after/lib/perl5/5.32.1/i386-linux/auto/Encode/KR/KR.a
|
||||||
|
7e20461c2762fcf062fe3d7366357f85d21c1ad510466e41f886a8427382e2a5 /after/lib/perl5/5.32.1/i386-linux/auto/Encode/Symbol/Symbol.a
|
||||||
|
7c1eab792c8cdd25bd3db0fe932a7025106de4f5a5477859feac4efcd7ed2758 /after/lib/perl5/5.32.1/i386-linux/auto/Encode/TW/TW.a
|
||||||
|
7945204be71d45eac99d52c8ba80f4a415e5a442ba9118045835130fcb793278 /after/lib/perl5/5.32.1/i386-linux/auto/Encode/Unicode/Unicode.a
|
||||||
|
d435dad257f8a3062fdf0ed36ef1ff8bf459035bf91666a053f1a825d619c7ba /after/lib/perl5/5.32.1/i386-linux/auto/Encode/Encode.a
|
||||||
|
de952455eb6c8920eb83b24d116fba667148e3ced2c300d09fbcd0695460d503 /after/lib/perl5/5.32.1/i386-linux/auto/Fcntl/Fcntl.a
|
||||||
|
d1477681608164d970571537fe57a4f57c2ff079827a2c7836e098cdb116725a /after/lib/perl5/5.32.1/i386-linux/auto/File/DosGlob/DosGlob.a
|
||||||
|
e71679d8b946cfc769d28579d7277f5c3f6026bbd012c804de044cf960920596 /after/lib/perl5/5.32.1/i386-linux/auto/File/Glob/Glob.a
|
||||||
|
e4585db5d46bdb7ce6a1f755596131e15e9a6170dfb8911025b1a8aa0d5084bc /after/lib/perl5/5.32.1/i386-linux/auto/Filter/Util/Call/Call.a
|
||||||
|
e78509cd064d5b33e4183472569f477759b31ebaaaebda7f7de5210d49f8f01a /after/lib/perl5/5.32.1/i386-linux/auto/Hash/Util/FieldHash/FieldHash.a
|
||||||
|
ac19d921e8c417aac14aed76e301636c4665d8ce0b8b8cc60db99e6fe6d78c6b /after/lib/perl5/5.32.1/i386-linux/auto/Hash/Util/Util.a
|
||||||
|
6c149bdde39147d4a78ecef243509c9de02ce247113332249122657caedf0fe9 /after/lib/perl5/5.32.1/i386-linux/auto/I18N/Langinfo/Langinfo.a
|
||||||
|
17bca9d539f4267ee479d0e04accc0261855287ab05628def3af50aabf8fa091 /after/lib/perl5/5.32.1/i386-linux/auto/IPC/SysV/SysV.a
|
||||||
|
c31d93eede732e7e3077c942c1cf98c0837dc29f7f481d377dfc2e54f9734e0b /after/lib/perl5/5.32.1/i386-linux/auto/List/Util/Util.a
|
||||||
|
5cf46c40bd99950add133ff1be1e829ebbf6be51271ce74e362516daaddaa268 /after/lib/perl5/5.32.1/i386-linux/auto/MIME/Base64/Base64.a
|
||||||
|
19a514c34f9379d6fc9b9cd0b0847983cf070a552ae3ad99da3bc28f26960342 /after/lib/perl5/5.32.1/i386-linux/auto/Math/BigInt/FastCalc/FastCalc.a
|
||||||
|
37a428027797b6482e91a04da997005a34d64e5614ae7607e2b85ea6795ab198 /after/lib/perl5/5.32.1/i386-linux/auto/Opcode/Opcode.a
|
||||||
|
9cf4db7b20230c803821094bc910fc27783814046fa1e5fcc39348b076c2a838 /after/lib/perl5/5.32.1/i386-linux/auto/POSIX/POSIX.a
|
||||||
|
ed1b19fbe06597635a6015447c68fdac7a5ce0e5ba814b020d260237fe007489 /after/lib/perl5/5.32.1/i386-linux/auto/PerlIO/encoding/encoding.a
|
||||||
|
2dce279ba070676998d7b2d08cd53102107bddfa8cc4150f0dfb513360507127 /after/lib/perl5/5.32.1/i386-linux/auto/PerlIO/mmap/mmap.a
|
||||||
|
a4834b1e3bc003dc3a556ae4a1f07d0d1caee784930c15c9bb3b80f33adefa0a /after/lib/perl5/5.32.1/i386-linux/auto/PerlIO/scalar/scalar.a
|
||||||
|
9e1f4f68be71a56656b76f0e189b2e1fadc12683b34662250cf25130a420786e /after/lib/perl5/5.32.1/i386-linux/auto/PerlIO/via/via.a
|
||||||
|
08a5d9d75f149b00493e656752375710a636fa1fbd33d51bbf8386b6c020360c /after/lib/perl5/5.32.1/i386-linux/auto/SDBM_File/SDBM_File.a
|
||||||
|
b33eb13f4b8682e95c6d0d69e142c737f946cbc711fd0217b1c42fa5dd830d23 /after/lib/perl5/5.32.1/i386-linux/auto/Socket/Socket.a
|
||||||
|
1569d0e1d134bec913093c3cf08231b310707843e276e2687fe2350b298c4cfd /after/lib/perl5/5.32.1/i386-linux/auto/Storable/Storable.a
|
||||||
|
cf65ae0455595319fbf2f6102b1c71df9b0711d5d5a5d0f77ab2c128f678b5dc /after/lib/perl5/5.32.1/i386-linux/auto/Sys/Hostname/Hostname.a
|
||||||
|
200aab211a4b3c56e4f2c3a5b57ac67155894c042a22e07d7b3d88033d8fb36b /after/lib/perl5/5.32.1/i386-linux/auto/Sys/Syslog/Syslog.a
|
||||||
|
4472ab7f81d0c67ceece4c66985ba95e4a399182fcb889465f81d009fd66b735 /after/lib/perl5/5.32.1/i386-linux/auto/Time/HiRes/HiRes.a
|
||||||
|
4a4dadffbe8d7ccd71fb6fbe13696f42b8985d3517d48b2f5697d3a243d538c9 /after/lib/perl5/5.32.1/i386-linux/auto/Time/Piece/Piece.a
|
||||||
|
81b92d161e5b456901a5e297981d10fc889fcd94baa4bdf687d90c2a0510fdf6 /after/lib/perl5/5.32.1/i386-linux/auto/Unicode/Collate/Collate.a
|
||||||
|
3de37e2608ee975d2be422b716722b622558e9a16ad7cb01a4909108e8da565f /after/lib/perl5/5.32.1/i386-linux/auto/Unicode/Normalize/Normalize.a
|
||||||
|
5685a0b7e09fa209b44e92b6ffeef3ffaf45c88f5ce3a210982820107bcc845a /after/lib/perl5/5.32.1/i386-linux/auto/attributes/attributes.a
|
||||||
|
20b56fd11c78ae924ad3ac6da04e412067732f051688865dc9271c19b30b7bff /after/lib/perl5/5.32.1/i386-linux/auto/mro/mro.a
|
||||||
|
5c1adcd8427427a1f6feb1b3dfd52a16f6a57435c1ad74abc8f8ba7c78ec0a6d /after/lib/perl5/5.32.1/i386-linux/auto/re/re.a
|
||||||
|
f5e09198bbacd7eef23375e1a7eb2166c884666c8fd14dfeeab11f1bda5d313d /after/lib/perl5/5.32.1/i386-linux/auto/threads/shared/shared.a
|
||||||
|
d850f9ecb18bb102876c8e0b9032efdef2c70a66243fb3f686d770699d643a8f /after/lib/perl5/5.32.1/i386-linux/auto/threads/threads.a
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue