Compare commits

...

47 Commits
8.4 ... master

Author SHA1 Message Date
Chris Cromer 726e6c5fc8 Merge pull request '9.1' (#1) from 9.1 into master 2020-06-02 00:45:18 -04:00
Chris Cromer 9024cb4dee
fix missing folder 2020-06-02 00:14:20 -04:00
Chris Cromer f77300d664
fix missing provides in gcc 2020-06-01 23:44:58 -04:00
Chris Cromer 2853fc858a
fix python dependency 2020-06-01 23:40:57 -04:00
Chris Cromer de69259c4d
fix broken python3 spec 2020-06-01 23:27:57 -04:00
Chris Cromer 24ca4c3fbd
fix texinfo perl requirement 2020-06-01 23:03:00 -04:00
Chris Cromer 73619b0046
rpm needs python, so link it to python3 2020-06-01 22:44:23 -04:00
Chris Cromer 86b9d18e9b
remove rsync 2020-06-01 22:41:32 -04:00
Chris Cromer c392358b0b
remove python 2 2020-06-01 22:41:14 -04:00
Chris Cromer 7a3145bb8d
fix incorrect hash in rpm spec 2020-06-01 22:19:16 -04:00
Chris Cromer eff8223d88
fix incorrect extension in bootscripts spec 2020-06-01 21:15:29 -04:00
Chris Cromer 0cda3a32bf
fix incorrect hash in bootscripts spec 2020-06-01 21:13:32 -04:00
Chris Cromer 52c95a39bf
fix mangled package name from mass search and replace 2020-06-01 21:12:14 -04:00
Chris Cromer 6508192ca4
fix extension and hash for 9.1 2020-06-01 21:06:34 -04:00
Chris Cromer 53db20852b
fix new languages in vim 2020-06-01 20:57:16 -04:00
Chris Cromer d56df3aace
fix folder name in vim spec 2020-06-01 20:46:44 -04:00
Chris Cromer b70df08402
fix filelist in zstd 2020-06-01 20:35:05 -04:00
Chris Cromer 1e2f0a976a
info file is not part of zstd 2020-06-01 20:30:39 -04:00
Chris Cromer deee245993
fix gawk checksum in spec 2020-06-01 20:18:28 -04:00
Chris Cromer aa1a8f138a
fix gawk checksum version 2020-06-01 20:17:30 -04:00
Chris Cromer 5eacec74ca
fix error in version number 2020-06-01 20:03:38 -04:00
Chris Cromer 65f57af9df
fix missing configure parameter in libelf spec 2020-06-01 18:49:34 -04:00
Chris Cromer d8ea6fb342
man is not installed anymore 2020-06-01 18:31:30 -04:00
Chris Cromer aef0a94cca
fix extension in expat spec 2020-06-01 18:28:49 -04:00
Chris Cromer 9f1a24ee0f
fix bison version 2020-06-01 18:22:30 -04:00
Chris Cromer bfa3b07121
fix md5 hash in bison spec 2020-06-01 18:17:24 -04:00
Chris Cromer bba6c563ff
fix md5 hash in libcap spec 2020-06-01 18:12:03 -04:00
Chris Cromer 5a6488157f
change codename 2020-06-01 17:10:08 -04:00
Chris Cromer 2c47402be7
fix missing infodir, bc no longer has it 2020-06-01 16:58:06 -04:00
Chris Cromer af23dcca6a
fix incorrect license file name in bc spec 2020-06-01 16:54:55 -04:00
Chris Cromer e3632f488a
fix incorrect install location 2020-06-01 16:45:17 -04:00
Chris Cromer 9965429fe1
fix linux api spec missing install directory 2020-06-01 16:22:54 -04:00
Chris Cromer d9c4e5c2a1
update todo 2020-06-01 16:11:32 -04:00
Chris Cromer a232f5138b
update specs for 9.1 2020-06-01 16:11:06 -04:00
Chris Cromer 2abf2270d6
remove openmp since lfs doesn't have it 2020-05-31 19:07:56 -04:00
Chris Cromer df1af63eb3
revert gomp commit 2020-05-31 19:06:33 -04:00
Chris Cromer 39f4b05c97
omp is needed by new rpm 2020-05-31 17:45:55 -04:00
Chris Cromer 0e5798e0f0
fix make file extension 2020-05-31 17:20:20 -04:00
Chris Cromer f74fbf2f18
fix problem with gettext build 2020-05-31 17:04:43 -04:00
Chris Cromer 8075f6f42d
final newline 2020-05-31 16:33:38 -04:00
Chris Cromer d377fd973c
fix findutils extension 2020-05-31 16:33:29 -04:00
Chris Cromer 8f66d8ab9c
fix case of examples in readme 2020-05-31 16:24:05 -04:00
Chris Cromer a9ca1b996e
update readme file 2020-05-31 16:22:10 -04:00
Chris Cromer 563df4ba5f
update toolchain to 9.1 2020-05-31 15:25:14 -04:00
Chris Cromer 1230b52fe1
fix spacing 2020-05-31 14:15:18 -04:00
Chris Cromer 4e4480632c
update scripts for 9.1 2020-05-31 13:19:17 -04:00
Chris Cromer 223bfb33d1
update book to 9.1 2020-05-31 11:47:17 -04:00
104 changed files with 7360 additions and 6489 deletions

Binary file not shown.

Binary file not shown.

BIN
BOOK/LFS-BOOK-9.1.pdf Normal file

Binary file not shown.

BIN
BOOK/LFS-BOOK-9.1.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -3,80 +3,82 @@ bc1e5cb5c96d99b24886f1f527d3bb3d attr-2.4.48.tar.gz
50f97f4159805e374639a73e2636f22e autoconf-2.69.tar.xz
53f38e7591fa57c3d2cee682be668e5b automake-1.16.1.tar.xz
2b44b47b905be16f45709648f671820b bash-5.0.tar.gz
cda93857418655ea43590736fc3ca9fc bc-1.07.1.tar.gz
0d174cdaf85721c5723bf52355be41e6 binutils-2.32.tar.xz
c9b552dee234b2f6b66e56b27e5234c9 bison-3.3.2.tar.xz
00b516f4704d4a7cb50a1d97e6e8e15b bzip2-1.0.6.tar.gz
31b17c6075820a434119592941186f70 check-0.12.0.tar.gz
ab06d68949758971fe744db66b572816 coreutils-8.30.tar.xz
6582c6fbbae943fbfb8fe14a34feab57 bc-2.5.3.tar.gz
664ec3a2df7805ed3464639aaae332d6 binutils-2.34.tar.xz
49fc2cf23e31e697d5072835e1662a97 bison-3.5.2.tar.xz
67e051268d0c475ea773822f7500d0e5 bzip2-1.0.8.tar.gz
270e82a445be6026040267a5e11cc94b check-0.14.0.tar.gz
0009a224d8e288e8ec406ef0161f9293 coreutils-8.31.tar.xz
e1b07516533f351b3aba3423fafeffd6 dejagnu-1.6.2.tar.gz
4824adc0e95dbbf11dfbdfaad6a1e461 diffutils-3.7.tar.xz
8d78b11d04d26c0b2dd149529441fa80 e2fsprogs-1.44.5.tar.gz
077e4f49320cad82bf17a997068b1db9 elfutils-0.176.tar.bz2
c75d99910c1791dd9430d26ab76059c0 eudev-3.2.7.tar.gz
ca047ae951b40020ac831c28859161b2 expat-2.2.6.tar.bz2
6d35428e4ce960cb7e875afe5849c0f3 e2fsprogs-1.45.5.tar.gz
5480d0b7174446aba13a6adde107287f elfutils-0.178.tar.bz2
dedfb1964f6098fe9320de827957331f eudev-3.2.9.tar.gz
d2384fa607223447e713e1b9bd272376 expat-2.2.9.tar.xz
00fce8de158422f5ccd2666512329bd2 expect5.45.4.tar.gz
9af0eb3f5db4ae00fffc37f7b861575c file-5.36.tar.gz
9936aa8009438ce185bea2694a997fc1 findutils-4.6.0.tar.gz
3217633ed09c7cd35ed8d04191675574 file-5.38.tar.gz
731356dec4b1109b812fecfddfead6b2 findutils-4.7.0.tar.xz
2882e3179748cc9f9c23ec593d6adc8d flex-2.6.4.tar.gz
95cf553f50ec9f386b5dfcd67f30180a gawk-4.2.1.tar.xz
4ab282f414676496483b3e1793d07862 gcc-8.2.0.tar.xz
f9db3f6715207c6f13719713abc9c707 gawk-5.0.1.tar.xz
3818ad8600447f05349098232c2ddc78 gcc-9.2.0.tar.xz
988dc82182121c7570e0cb8b4fcd5415 gdbm-1.18.1.tar.gz
df3f5690eaa30fd228537b00cb7b7590 gettext-0.19.8.1.tar.xz
e6c279d5b2f0736f740216f152acf974 glibc-2.29.tar.xz
f58fa8001d60c4c77595fbbb62b63c1d gmp-6.1.2.tar.xz
9ed9e26ab613b668e0026222a9c23639 gettext-0.20.1.tar.xz
78a720f17412f3c3282be5a6f3363ec6 glibc-2.31.tar.xz
a325e3f09e6d91e62101e59f9bda3ec1 gmp-6.2.0.tar.xz
9e251c0a618ad0824b51117d5d9db87e gperf-3.1.tar.gz
05d0718a1b7cc706a4bdf8115363f1ed grep-3.3.tar.xz
111b117d22d6a7d049d6ae7505e9c4d2 grep-3.4.tar.xz
08fb04335e2f5e73f23ea4c3adbf0c5f groff-1.22.4.tar.gz
8a4a2a95aac551fb0fba860ceabfa1d3 grub-2.02.tar.xz
5aaca6713b47ca2456d8324a58755ac7 grub-2.04.tar.xz
691b1221694c3394f1c537df4eee39d3 gzip-1.10.tar.xz
3ba3afb1d1b261383d247f46cb135ee8 iana-etc-2.30.tar.bz2
87fef1fa3f603aef11c41dcc097af75e inetutils-1.9.4.tar.xz
12e517cac2b57a0121cda351570f1e63 intltool-0.51.0.tar.gz
f3dab4c812812bbb5873cb90f471bcbf iproute2-4.20.0.tar.xz
c1635a5a83b63aca7f97a3eab39ebaa6 kbd-2.0.4.tar.xz
ee8e2cdb416d4a8ef39525d39ab7c2d0 iproute2-5.5.0.tar.xz
d1d7ae0b5fb875dc082731e09cd0c8bc kbd-2.2.0.tar.xz
1129c243199bdd7db01b55a61aa19601 kmod-26.tar.xz
6a39bccf420c946b0fd7ffc64961315b less-530.tar.gz
e08811a18356eeef524b2ed333e8cb86 lfs-bootscripts-20180820.tar.bz2
968ac4d42a1a71754313527be2ab5df3 libcap-2.26.tar.xz
83b89587607e3eb65c70d361f13bab43 libffi-3.2.1.tar.gz
4c8fe6cd85422baafd6e060f896c61bc libpipeline-1.5.1.tar.gz
4ad4408b06d7a6626a055cb453f36819 less-551.tar.gz
e9249541960df505e4dfac0c32369372 lfs-bootscripts-20191031.tar.xz
52120c05dc797b01f5a7ae70f4335e96 libcap-2.31.tar.xz
6313289e32f1d38a9df4770b014a2ca7 libffi-3.3.tar.gz
169de4cc1f6f7f7d430a5bed858b2fd3 libpipeline-1.5.2.tar.gz
1bfb9b923f2c1339b4d2ce1807064aa5 libtool-2.4.6.tar.xz
edd3015435d60598b99cf6aaf223710e linux-4.20.12.tar.xz
3ea50025d8c679a327cf2fc225d81a46 linux-5.5.3.tar.xz
730bb15d96fffe47e148d1e09235af82 m4-1.4.18.tar.xz
15b012617e7c44c0ed482721629577ac make-4.2.1.tar.bz2
c5c6c3434be14a5527d43b5ad0f09a13 man-db-2.8.5.tar.xz
ad9f1ff81276fe8d90d077484d6d4b5e man-pages-4.16.tar.xz
0267b0871266056184c484792572c682 meson-0.49.2.tar.gz
fc7a67ea86ace13195b0bce683fd4469 make-4.3.tar.gz
897576a19ecbef376a916485608cd790 man-db-2.9.0.tar.xz
da25a4f8dfed0a34453c90153b98752d man-pages-5.05.tar.xz
9bf73f7b5a2426a7c8674a809bb8cae2 meson-0.53.1.tar.gz
4125404e41e482ec68282a2e687f6c73 mpc-1.1.0.tar.gz
320fbc4463d4c8cb1e566929d8adc4f8 mpfr-4.0.2.tar.xz
f340be768a76724b83e6daab69009902 ninja-1.9.0.tar.gz
98c889aaf8d23910d2b92d65be2e737a ncurses-6.1.tar.gz
963deb2272d6be7d4c2458afd2517b73 openssl-1.1.1a.tar.gz
cf1d964113a171da42a8940e7607e71a ninja-1.10.0.tar.gz
e812da327b1c2214ac1aed440ea3ae8d ncurses-6.2.tar.gz
3be209000dbc7e1b95bcdf47980a3baa openssl-1.1.1d.tar.gz
78ad9937e4caadcba1526ef1853730d5 patch-2.7.6.tar.xz
fbb590c305f2f88578f448581b8cf9c4 perl-5.28.1.tar.xz
f399f3aaee90ddcff5eadd3bccdaacc0 perl-5.30.1.tar.xz
f6e931e319531b736fadc017f470e68a pkg-config-0.29.2.tar.gz
2b0717a7cb474b3d6dfdeedfbad2eccc procps-ng-3.3.15.tar.xz
0524258861f00be1a02d27d39d8e5e62 psmisc-23.2.tar.xz
df6ec36011808205beda239c72f947cb Python-3.7.2.tar.xz
107ade7bb17efd104a22b2d457f4cb67 python-3.7.2-docs-html.tar.bz2
b3fb85fd479c0bf950c626ef80cacb57 Python-3.8.1.tar.xz
edc8c97f9680373fcc1dd952f0ea7fcc python-3.8.1-docs-html.tar.bz2
7e6c1f16aee3244a69aba6e438295ca3 readline-8.0.tar.gz
777ddfd9d71dd06711fe91f0925e1573 sed-4.7.tar.xz
b491fecbf1232632c32ff8f1437fd60e shadow-4.6.tar.xz
6d906edfdb3202304059233f51f9a71d sed-4.8.tar.xz
4b05eff8a427cf50e615bda324b5bc45 shadow-4.8.1.tar.xz
c70599ab0d037fde724f7210c2c8d7f8 sysklogd-1.5.1.tar.gz
041dbe36a5dd80b2108aff305bc10620 sysvinit-2.93.tar.xz
bc9a89da1185ceb2210de12552c43ce2 tar-1.31.tar.xz
aa0a121d95a0e7b73a036f26028538d4 tcl8.6.9-src.tar.gz
3715197e62e0e07f85860b3d7aab55ed texinfo-6.5.tar.xz
b3f0a1a789480a036e58466cd0702477 tzdata2018i.tar.gz
d92afb0c6e8e616792068ee4737b0d24 udev-lfs-20171102.tar.bz2
6fcfea2043b5ac188fd3eed56aeb5d90 util-linux-2.33.1.tar.xz
1739a1df312305155285f0cfa6118294 vim-8.1.tar.bz2
af4813fe3952362451201ced6fbce379 XML-Parser-2.44.tar.gz
48cebffebf2a96ab09bec14bf9976016 sysvinit-2.96.tar.xz
83e38700a80a26e30b2df054e69956e5 tar-1.32.tar.xz
97c55573f8520bcab74e21bfd8d0aadc tcl8.6.10-src.tar.gz
d4c5d8cc84438c5993ec5163a59522a6 texinfo-6.7.tar.xz
f6987e6dfdb2eb83a1b5076a50b80894 tzdata2019c.tar.gz
27cd82f9a61422e186b9d6759ddf1634 udev-lfs-20171102.tar.xz
7f64882f631225f0295ca05080cee1bf util-linux-2.35.1.tar.xz
f5337b1170df90e644a636539a0313a3 vim-8.2.0190.tar.gz
80bb18a8e6240fcf7ec2f7b57601c170 XML-Parser-2.46.tar.gz
003e4d0b1b1899fc6e3000b24feddf7c xz-5.2.4.tar.xz
85adef240c5f370b308da8c938951a68 zlib-1.2.11.tar.xz
6a5ac7e89b791aae556de0f745916f7f bzip2-1.0.6-install_docs-1.patch
a9404fb575dfd5514f3c8f4120f9ca7d coreutils-8.30-i18n-1.patch
9a5997c3452909b1769918c759eff8a2 glibc-2.29-fhs-1.patch
f75cca16a38da6caa7d52151f7136895 kbd-2.0.4-backspace-1.patch
aaa84675e717504d7d3da452c8c2eaf1 sysvinit-2.93-consolidated-1.patch
487f7ee1562dee7c1c8adf85e2a63df9 zstd-1.4.4.tar.gz
c1545da2ad7d78574b52c465ec077ed9 bash-5.0-upstream_fixes-1.patch
6a5ac7e89b791aae556de0f745916f7f bzip2-1.0.8-install_docs-1.patch
a9404fb575dfd5514f3c8f4120f9ca7d coreutils-8.31-i18n-1.patch
9a5997c3452909b1769918c759eff8a2 glibc-2.31-fhs-1.patch
f75cca16a38da6caa7d52151f7136895 kbd-2.2.0-backspace-1.patch
4900322141d493e74020c9cf437b2cdc sysvinit-2.96-consolidated-1.patch

View File

@ -3,84 +3,85 @@ http://download.savannah.gnu.org/releases/attr/attr-2.4.48.tar.gz
http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz
http://ftp.gnu.org/gnu/automake/automake-1.16.1.tar.xz
http://ftp.gnu.org/gnu/bash/bash-5.0.tar.gz
http://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz
http://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz
http://ftp.gnu.org/gnu/bison/bison-3.3.2.tar.xz
http://anduin.linuxfromscratch.org/LFS/bzip2-1.0.6.tar.gz
https://github.com/libcheck/check/releases/download/0.12.0/check-0.12.0.tar.gz
http://ftp.gnu.org/gnu/coreutils/coreutils-8.30.tar.xz
https://dbus.freedesktop.org/releases/dbus/dbus-1.12.12.tar.gz
https://github.com/gavinhoward/bc/archive/2.5.3/bc-2.5.3.tar.gz
http://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.xz
http://ftp.gnu.org/gnu/bison/bison-3.5.2.tar.xz
https://www.sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz
https://github.com/libcheck/check/releases/download/0.14.0/check-0.14.0.tar.gz
http://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz
https://dbus.freedesktop.org/releases/dbus/dbus-1.12.16.tar.gz
http://ftp.gnu.org/gnu/dejagnu/dejagnu-1.6.2.tar.gz
http://ftp.gnu.org/gnu/diffutils/diffutils-3.7.tar.xz
https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.44.5/e2fsprogs-1.44.5.tar.gz
https://sourceware.org/ftp/elfutils/0.176/elfutils-0.176.tar.bz2
https://dev.gentoo.org/~blueness/eudev/eudev-3.2.7.tar.gz
https://prdownloads.sourceforge.net/expat/expat-2.2.6.tar.bz2
https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.45.5/e2fsprogs-1.45.5.tar.gz
https://sourceware.org/ftp/elfutils/0.178/elfutils-0.178.tar.bz2
https://dev.gentoo.org/~blueness/eudev/eudev-3.2.9.tar.gz
https://prdownloads.sourceforge.net/expat/expat-2.2.9.tar.xz
https://prdownloads.sourceforge.net/expect/expect5.45.4.tar.gz
ftp://ftp.astron.com/pub/file/file-5.36.tar.gz
http://ftp.gnu.org/gnu/findutils/findutils-4.6.0.tar.gz
ftp://ftp.astron.com/pub/file/file-5.38.tar.gz
http://ftp.gnu.org/gnu/findutils/findutils-4.7.0.tar.xz
https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz
http://ftp.gnu.org/gnu/gawk/gawk-4.2.1.tar.xz
http://ftp.gnu.org/gnu/gcc/gcc-8.2.0/gcc-8.2.0.tar.xz
http://ftp.gnu.org/gnu/gawk/gawk-5.0.1.tar.xz
http://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
http://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz
http://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz
http://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.xz
http://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.xz
http://ftp.gnu.org/gnu/gettext/gettext-0.20.1.tar.xz
http://ftp.gnu.org/gnu/glibc/glibc-2.31.tar.xz
http://ftp.gnu.org/gnu/gmp/gmp-6.2.0.tar.xz
http://ftp.gnu.org/gnu/gperf/gperf-3.1.tar.gz
http://ftp.gnu.org/gnu/grep/grep-3.3.tar.xz
http://ftp.gnu.org/gnu/grep/grep-3.4.tar.xz
http://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz
https://ftp.gnu.org/gnu/grub/grub-2.02.tar.xz
https://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz
http://ftp.gnu.org/gnu/gzip/gzip-1.10.tar.xz
http://anduin.linuxfromscratch.org/LFS/iana-etc-2.30.tar.bz2
http://ftp.gnu.org/gnu/inetutils/inetutils-1.9.4.tar.xz
https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-4.20.0.tar.xz
https://www.kernel.org/pub/linux/utils/kbd/kbd-2.0.4.tar.xz
https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.5.0.tar.xz
https://www.kernel.org/pub/linux/utils/kbd/kbd-2.2.0.tar.xz
https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-26.tar.xz
http://www.greenwoodsoftware.com/less/less-530.tar.gz
http://www.linuxfromscratch.org/lfs/downloads/8.4/lfs-bootscripts-20180820.tar.bz2
https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.26.tar.xz
ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz
http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.1.tar.gz
http://www.greenwoodsoftware.com/less/less-551.tar.gz
http://www.linuxfromscratch.org/lfs/downloads/9.1/lfs-bootscripts-20191031.tar.xz
https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.31.tar.xz
ftp://sourceware.org/pub/libffi/libffi-3.3.tar.gz
http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.2.tar.gz
http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.20.12.tar.xz
https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.5.3.tar.xz
http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz
http://ftp.gnu.org/gnu/make/make-4.2.1.tar.bz2
http://download.savannah.gnu.org/releases/man-db/man-db-2.8.5.tar.xz
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-4.16.tar.xz
https://github.com/mesonbuild/meson/releases/download/0.49.2/meson-0.49.2.tar.gz
http://ftp.gnu.org/gnu/make/make-4.3.tar.gz
http://download.savannah.gnu.org/releases/man-db/man-db-2.9.0.tar.xz
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-5.05.tar.xz
https://github.com/mesonbuild/meson/releases/download/0.53.1/meson-0.53.1.tar.gz
https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz
http://www.mpfr.org/mpfr-4.0.2/mpfr-4.0.2.tar.xz
https://github.com/ninja-build/ninja/archive/v1.9.0/ninja-1.9.0.tar.gz
http://ftp.gnu.org/gnu/ncurses/ncurses-6.1.tar.gz
https://www.openssl.org/source/old/1.1.1/openssl-1.1.1a.tar.gz
https://github.com/ninja-build/ninja/archive/v1.10.0/ninja-1.10.0.tar.gz
http://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz
https://www.openssl.org/source/openssl-1.1.1d.tar.gz
http://ftp.gnu.org/gnu/patch/patch-2.7.6.tar.xz
https://www.cpan.org/src/5.0/perl-5.28.1.tar.xz
https://www.cpan.org/src/5.0/perl-5.30.1.tar.xz
https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-3.3.15.tar.xz
https://sourceforge.net/projects/psmisc/files/psmisc/psmisc-23.2.tar.xz
https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
https://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-html.tar.bz2
https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz
https://www.python.org/ftp/python/doc/3.8.1/python-3.8.1-docs-html.tar.bz2
http://ftp.gnu.org/gnu/readline/readline-8.0.tar.gz
http://ftp.gnu.org/gnu/sed/sed-4.7.tar.xz
https://github.com/shadow-maint/shadow/releases/download/4.6/shadow-4.6.tar.xz
http://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz
https://github.com/shadow-maint/shadow/releases/download/4.8.1/shadow-4.8.1.tar.xz
http://www.infodrom.org/projects/sysklogd/download/sysklogd-1.5.1.tar.gz
https://github.com/systemd/systemd/archive/v240/systemd-240.tar.gz
http://anduin.linuxfromscratch.org/LFS/systemd-man-pages-240.tar.xz
http://download.savannah.gnu.org/releases/sysvinit/sysvinit-2.93.tar.xz
http://ftp.gnu.org/gnu/tar/tar-1.31.tar.xz
https://downloads.sourceforge.net/tcl/tcl8.6.9-src.tar.gz
http://ftp.gnu.org/gnu/texinfo/texinfo-6.5.tar.xz
https://www.iana.org/time-zones/repository/releases/tzdata2018i.tar.gz
http://anduin.linuxfromscratch.org/LFS/udev-lfs-20171102.tar.bz2
https://www.kernel.org/pub/linux/utils/util-linux/v2.33/util-linux-2.33.1.tar.xz
ftp://ftp.vim.org/pub/vim/unix/vim-8.1.tar.bz2
https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.44.tar.gz
https://github.com/systemd/systemd/archive/v244/systemd-244.tar.gz
http://anduin.linuxfromscratch.org/LFS/systemd-man-pages-244.tar.xz
http://download.savannah.gnu.org/releases/sysvinit/sysvinit-2.96.tar.xz
http://ftp.gnu.org/gnu/tar/tar-1.32.tar.xz
https://downloads.sourceforge.net/tcl/tcl8.6.10-src.tar.gz
http://ftp.gnu.org/gnu/texinfo/texinfo-6.7.tar.xz
https://www.iana.org/time-zones/repository/releases/tzdata2019c.tar.gz
http://anduin.linuxfromscratch.org/LFS/udev-lfs-20171102.tar.xz
https://www.kernel.org/pub/linux/utils/util-linux/v2.35/util-linux-2.35.1.tar.xz
http://anduin.linuxfromscratch.org/LFS/vim-8.2.0190.tar.gz
https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz
https://tukaani.org/xz/xz-5.2.4.tar.xz
https://zlib.net/zlib-1.2.11.tar.xz
http://www.linuxfromscratch.org/patches/lfs/8.4/bzip2-1.0.6-install_docs-1.patch
http://www.linuxfromscratch.org/patches/lfs/8.4/coreutils-8.30-i18n-1.patch
http://www.linuxfromscratch.org/patches/lfs/8.4/glibc-2.29-fhs-1.patch
http://www.linuxfromscratch.org/patches/lfs/8.4/kbd-2.0.4-backspace-1.patch
http://www.linuxfromscratch.org/patches/lfs/8.4/sysvinit-2.93-consolidated-1.patch
http://www.linuxfromscratch.org/patches/lfs/8.4/systemd-240-security_fixes-2.patch
https://github.com/facebook/zstd/releases/download/v1.4.4/zstd-1.4.4.tar.gz
http://www.linuxfromscratch.org/patches/lfs/9.1/bash-5.0-upstream_fixes-1.patch
http://www.linuxfromscratch.org/patches/lfs/9.1/bzip2-1.0.8-install_docs-1.patch
http://www.linuxfromscratch.org/patches/lfs/9.1/coreutils-8.31-i18n-1.patch
http://www.linuxfromscratch.org/patches/lfs/9.1/glibc-2.31-fhs-1.patch
http://www.linuxfromscratch.org/patches/lfs/9.1/kbd-2.2.0-backspace-1.patch
http://www.linuxfromscratch.org/patches/lfs/9.1/sysvinit-2.96-consolidated-1.patch

128
README
View File

@ -1,128 +0,0 @@
#-----------------------------------------------------------------------------
# Copyright 2020 Chris Cromer
# Copyright 2019 Baho Utot
#-----------------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#-----------------------------------------------------------------------------
OVERVIEW:
This build tracks linux from scratch version 8.4
#-----------------------------------------------------------------------------
REQUIREMENTS:
1. git installed on the host
2. wget on host system
3. Directory for build, mounted at /mnt/lfs
There will need to be partition mounted there.
You will be responsible for that.
This build system uses whatever filesystem
that is at ${LFS}
4. run version-check.sh and install required packages if needed
#-----------------------------------------------------------------------------
WARNING:
This build system is designed in such a way to not be
able to trash your host system. Mistakes can happen.
Not responsible for trashed host system. You
bear all responsibilities for any failures.
#-----------------------------------------------------------------------------
GENERAL NOTES:
This system was designed and debugged on an AMD64 {x86_64} system
and I have not tested it on a i686 system as I no longer have or
use such systems.
The build system installs/work directory:
/mnt/lfs/usr/src/LFS-RPM
This build has a mkinitramfs step ( which requires cpio ) this step
creates an initrd so cpu updates and firmware is loaded.
Your lfs kernel should be configured to use this.
This build has Microcode updates for AMD CPUs.
To use it make a link to the proper cpu family.
See BLFS book for more information.
I have installed rpm macro files in:
/home/lfs/.rpmmacros
This makes the rpm environment correct so it builds
the base system correctly.
#-----------------------------------------------------------------------------
ADDITIONS:
cpio # needed for mkinitramfs
mkinitramfs # to create initrd
popt # needed for rpm
python2 # needed for rpm
rpm # package manager
wget # needed to fetch packages
firmware-radeon # firmware for radeon graphics
firmware-realtek # firmware for realtek network
firmware-amd-ucode # microcode updates for AMD CPUs
#-----------------------------------------------------------------------------
BUILD PROCEDURE:
login as root user
fdisk /dev/sdx partition drive, you need to do this
mkfs.ext4 /dev/sdxx create ext4 filesystem
install -vdm 755 /mnt/lfs create lfs directory
mount /dev/sdxx /mnt/lfs mount partition to work directory
install -vdm 755 /mnt/lfs/usr/src create build directory
cd /mnt/lfs/usr/src goto build directory
Now fetch the build system it will go into /mnt/lfs/usr/src/LFS-RPM by default
git clone https://github.com/baho-utot/LFS-RPM.git
cd LFS-RPM Lets do this
./setup.sh setup environment and fetches source tarballs
./lfs.sh build it
./cleanup.sh cleanup host
Build at this point is complete.
All that is needed is to install grub and/or add a menu item in the
the grub configuration file /boot/grub.cfg
This completes the build.
#-----------------------------------------------------------------------------
GRUB:
GPT partitioned drive
menuentry 'Linux From Scratch (8.4) (on /dev/sdxx)' {
insmod part_gpt
insmod ext2
set root='hdx,gptx'
linux /boot/vmlinuz-4.20.12 root=/dev/sdxx
initrd /boot/initrd.img-4.20.12
}
MSDOS/BIOS partitioned drive
menuentry 'Linux From Scratch (8.4) (on /dev/sdxx)' {
insmod part_msdos
insmod ext2
set root='hdx,msdosx'
linux /boot/vmlinuz-4.20.12 root=/dev/sdxx
initrd /boot/initrd.img-4.20.12
}
Change the x's to the proper drives and partition
#-----------------------------------------------------------------------------
INSTALLER SCRIPT:
The installer.sh script will take the binary rpms ( chapter 6 ) and
install them into a partition that YOU mounted on /mnt. If you want
to install else where then change ROOTPATH="/mnt" to the installation
partition mounted by YOU.
#-----------------------------------------------------------------------------
SCRIPTS:
base.sh* builds chapter 6
cleanup.sh* cleanup host system after build
installer.sh* install rpm binaries to mounted partition
lfs.sh* builds the whole thing
setup.sh* configure for build
tools.sh* builds chapter 5
version-check.sh* checks host system for requirements

122
README.MD Normal file
View File

@ -0,0 +1,122 @@
# OVERVIEW:
This build tracks linux from scratch version 9.1
# REQUIREMENTS:
1. git installed on the host
2. wget on host system
3. Directory for build, mounted at /mnt/lfs
There will need to be a partition mounted there.
You will be responsible for that.
This build system uses whatever filesystem that is present at ${LFS}
4. run version-check.sh and install required packages if needed
# WARNING:
This build system is designed in such a way to not be
able to trash your host system. Mistakes can happen.
I am not responsible for trashed host systems. You
bear all responsibilities for any failures.
# GENERAL NOTES:
This system was designed and debugged on an AMD64 {x86_64} system
and does not support i686.
The build system installs/work directory:
/mnt/lfs/usr/src/LFS-RPM
This build has a mkinitramfs step (which requires cpio) this step
creates an initrd so cpu updates and firmware is loaded.
Your lfs kernel should be configured to use this.
This build has linux-firmware to provide firmware for various
hardware.
See BLFS book for more information.
I have installed rpm macro files in:
/home/lfs/.rpmmacros
This makes the rpm environment correct so it builds
the base system correctly.
# ADDITIONS:
- rpm
- the package manager
- mkinitramfs
- to create initramfs
- cpio
- needed for mkinitramfs
- popt
- needed for rpm
- python2
- needed for rpm
- wget
- needed to fetch packages
- linux-firmware
- needed to boot under certain hardware
# BUILD PROCEDURE:
login as root user
fdisk /dev/sdx partition drive, you need to do this
mkfs.ext4 /dev/sdxx create ext4 filesystem
install -vdm 755 /mnt/lfs create lfs directory
mount /dev/sdxx /mnt/lfs mount partition to work directory
install -vdm 755 /mnt/lfs/usr/src create build directory
cd /mnt/lfs/usr/src goto build directory
Now fetch the build system it will go into /mnt/lfs/usr/src/LFS-RPM by default
git clone https://git.cromer.cl/cromer/LFS-RPM.git
cd LFS-RPM Lets do this
./setup.sh setup environment and fetches source tarballs
./lfs.sh build it
./cleanup.sh cleanup host
Build at this point is complete.
All that is needed is to install grub and/or add a menu item in the
the grub configuration file /boot/grub.cfg
This completes the build.
# GRUB EXAMPLES:
GPT partitioned drive
menuentry 'Linux From Scratch (9.1) (on /dev/sdxx)' {
insmod part_gpt
insmod ext2
set root='hdx,gptx'
linux /boot/vmlinuz-5.5.3 root=/dev/sdxx
initrd /boot/initrd.img-5.5.3
}
MSDOS/BIOS partitioned drive
menuentry 'Linux From Scratch (9.1) (on /dev/sdxx)' {
insmod part_msdos
insmod ext2
set root='hdx,msdosx'
linux /boot/vmlinuz-5.5.3 root=/dev/sdxx
initrd /boot/initrd.img-5.5.3
}
Change the x's to the proper drives and partition
# INSTALLER SCRIPT:
The installer.sh script will take the binary rpms (chapter 6) and
install them into a partition that YOU mounted on /mnt. If you want
to install else where then change ROOTPATH="/mnt" to the installation
partition mounted by YOU.
# SCRIPTS:
- base.sh
- builds chapter 6
- cleanup.sh
- cleanup host system after build
- installer.sh
- install rpm binaries to mounted partition
- lfs.sh
- builds the whole thing
- setup.sh
- configure for build
- tools.sh
- builds chapter 5
- version-check.sh
- checks host system for requirements

File diff suppressed because it is too large Load Diff

View File

@ -8,18 +8,18 @@
# filesystem
%_sysconfdir /etc
%_prefix /usr
%_lib /lib
%_lib64 /lib64
%_libdir %{_prefix}/lib
%_libdir64 %{_prefix}/lib64
%_docdir %{_prefix}/share/doc
%_var /var
%_localstatedir %{_var}
%_sharedstatedir %{_var}/lib
%_prefix /usr
%_lib /lib
%_lib64 /lib64
%_libdir %{_prefix}/lib
%_libdir64 %{_prefix}/lib64
%_docdir %{_prefix}/share/doc
%_var /var
%_localstatedir %{_var}
%_sharedstatedir %{_var}/lib
# rpm
%_topdir /usr/src/LFS-RPM
%_tmppath %{_var}/tmp
%_dbpath %{_var}/lib/rpm
%_topdir /usr/src/LFS-RPM
%_tmppath %{_var}/tmp
%_dbpath %{_var}/lib/rpm
%_unique_build_ids 0
%_build_id_links none

View File

@ -1,14 +1,13 @@
#TARBALL: http://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.44.tar.gz
#MD5SUM: af4813fe3952362451201ced6fbce379;SOURCES/XML-Parser-2.44.tar.gz
#TARBALL: http://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz
#MD5SUM: 80bb18a8e6240fcf7ec2f7b57601c170;SOURCES/XML-Parser-2.46.tar.gz
#-----------------------------------------------------------------------------
Summary: The XML::Parser module is a Perl interface to James Clark's XML parser, Expat.
Name: XML-Parser
Version: 2.44
Version: 2.46
Release: 1
License: Non-GPL
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://cpan.metacpan.org/authors/id/T/TO/TODDR/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -26,17 +25,17 @@ The XML::Parser module is a Perl interface to James Clark's XML parser, Expat.
install -D -m644 README %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.46-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.44-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The Acl package contains utilities to administer Access Control Lists
Name: acl
Version: 2.2.53
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -16,14 +15,14 @@ The Acl package contains utilities to administer Access Control Lists, which are
used to define more fine-grained discretionary access rights for files and directories.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
%setup -q -n %{name}-%{version}
%build
./configure \
--prefix=%{_prefix} \
--bindir=/bin \
--disable-static \
--libexecdir=%_libdir \
--docdir=%{_docdir}/%{NAME}-%{VERSION}
--libexecdir=%{_libdir} \
--docdir=%{_docdir}/%{name}-%{version}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
@ -36,20 +35,20 @@ used to define more fine-grained discretionary access rights for files and direc
install -D -m644 doc/COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_mandir}/man5/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.2.53-2
* Wed Apr 03 2019 baho-utot <baho-utot@columbus.rr.com> 2.2.53-1
- update
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.2.52-1

View File

@ -4,11 +4,10 @@
Summary: The attr package contains utilities to administer the extended attributes on filesystem objects.
Name: attr
Version: 2.4.48
Release: 1
Release: 2
License: GPLv2
URL: http://savannah.nongnu.org/projects/attr
Group: LFS/Base
Vendor: Elizabeth
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -21,7 +20,7 @@ The attr package contains utilities to administer the extended attributes on fil
--prefix=%{_prefix} \
--bindir=/bin \
--disable-static \
--sysconfdir=/etc \
--sysconfdir=%{_sysconfdir} \
--docdir=%{_docdir}/%{NAME}-%{VERSION}
make %{?_smp_mflags}
%install
@ -31,23 +30,20 @@ The attr package contains utilities to administer the extended attributes on fil
mv -v %{buildroot}/usr/lib/libattr.so.* %{buildroot}/lib
ln -sfv ../../lib/$(readlink %{buildroot}/usr/lib/libattr.so) %{buildroot}/usr/lib/libattr.so
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 doc/COPYINGLICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.4.48-2
* Wed Apr 03 2018 baho-utot <baho-utot@columbus.rr.com> 2.4.48-1
- update
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.4.47-1

View File

@ -4,11 +4,10 @@
Summary: The Autoconf package contains programs for producing shell scripts that can automatically configure source code.
Name: autoconf
Version: 2.69
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/autoconf/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -30,16 +29,17 @@ sed '361 s/{/\\{/' -i bin/autoscan.in
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.69-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.69-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The Automake package contains programs for generating Makefiles for use with Autoconf
Name: automake
Version: 1.16.1
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/automake/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -30,17 +29,18 @@ The Automake package contains programs for generating Makefiles for use with Aut
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.16.1-2
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 1.16.1-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.15.1-1

View File

@ -2,12 +2,11 @@
#-----------------------------------------------------------------------------
Summary: Meta package for LFS Base installation
Name: base
Version: 8.4
Release: 2
Version: 9.1
Release: 1
License: None
URL: None
Group: LFS/Base
Vendor: Elizabeth
#
# LFS Chapter 6
#
@ -85,11 +84,11 @@ Requires: vim
Requires: XML-Parser
Requires: xz
Requires: zlib
Requires: zstd
# ADDONS:
Requires: cpio
Requires: mkinitramfs
Requires: popt
Requires: python2
Requires: rpm
Requires: wget
Requires: linux-firmware
@ -100,9 +99,11 @@ Summary: Meta package for LFS Base installation
%build
%install
%files
%defattr(-,lfs,lfs)
%defattr(-,lfs,lfs)
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 9.1-1
- LFS-9.1
* Sat May 30 2020 Chris Cromer <chris@cromer.cl> 8.4-2
- Add linux-firmware and remove other firmwares
* Mon Apr 29 2019 baho-utot <baho-utot@columbus.rr.com> 8.4-1

View File

@ -4,11 +4,10 @@
Summary: The Bash package contains the Bourne-Again SHell.
Name: bash
Version: 5.0
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -35,17 +34,18 @@ The Bash package contains the Bourne-Again SHell.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.0-2
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 5.0-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.4.18-1

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/bc/bc-1.07.1.tar.gz
#MD5SUM: cda93857418655ea43590736fc3ca9fc;SOURCES/bc-1.07.1.tar.gz
#TARBALL: http://ftp.gnu.org/gnu/bc/bc-2.5.3.tar.gz
#MD5SUM: 6582c6fbbae943fbfb8fe14a34feab57;SOURCES/bc-2.5.3.tar.gz
#-----------------------------------------------------------------------------
Summary: The Bc package contains an arbitrary precision numeric processing language
Name: bc
Version: 1.07.1
Version: 2.5.3
Release: 1
License: GPLv3
URL: http://www.gnu.org
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -16,38 +15,27 @@ The Bc package contains an arbitrary precision numeric processing language
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
cat > bc/fix-libmath_h <<- EOF
#! /bin/bash
sed -e '1 s/^/{"/' -e 's/$/",/' -e '2,$ s/^/"/' -e '$ d' -i libmath.h
sed -e '$ s/$/0}/' -i libmath.h
EOF
sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure
%build
./configure \
--prefix=%{_prefix} \
--with-readline \
--mandir=%{_mandir} \
--infodir=%{_infodir}
PREFIX=%{_prefix} CC=gcc CFLAGS="-std=c99" ./configure.sh -G -O3
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
install -D -m644 LICENSE.md %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.5.3-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.07.1-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz
#MD5SUM: 0d174cdaf85721c5723bf52355be41e6;SOURCES/binutils-2.32.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/binutils/binutils-2.34.tar.xz
#MD5SUM: 664ec3a2df7805ed3464639aaae332d6;SOURCES/binutils-2.34.tar.xz
#-----------------------------------------------------------------------------
Summary: The Binutils package contains a linker, an assembler, and other tools for handling object files
Name: binutils
Version: 2.32
Version: 2.34
Release: 1
License: GPLv3
URL: http://ftp.gnu.org
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -17,6 +16,7 @@ The Binutils package contains a linker, an assembler, and other tools for handli
%prep
%setup -q -n %{NAME}-%{VERSION}
%build
sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in
mkdir build
cd build
../configure \
@ -40,17 +40,18 @@ The Binutils package contains a linker, an assembler, and other tools for handli
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.34-1
* Mon Mar 25 2019 baho-utot <baho-utot@columbus.rr.com> 2.32-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.30-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/bison/bison-3.3.2.tar.xz
#MD5SUM: c9b552dee234b2f6b66e56b27e5234c9;SOURCES/bison-3.3.2.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/bison/bison-3.5.2.tar.xz
#MD5SUM: 49fc2cf23e31e697d5072835e1662a97;SOURCES/bison-3.5.2.tar.xz
#-----------------------------------------------------------------------------
Summary: The Bison package contains a parser generator.
Name: bison
Version: 3.3.2
Version: 3.5.2
Release: 1
License: Any
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -24,23 +23,21 @@ The Bison package contains a parser generator.
%install
make DESTDIR=%{buildroot} install
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 3.5.2-1
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 3.3.2-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 3.0.4-1

View File

@ -1,18 +1,17 @@
#TARBALL: http://anduin.linuxfromscratch.org/LFS/bzip2-1.0.6.tar.gz
#MD5SUM: 00b516f4704d4a7cb50a1d97e6e8e15b;SOURCES/bzip2-1.0.6.tar.gz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/8.2/bzip2-1.0.6-install_docs-1.patch
#MD5SUM: 6a5ac7e89b791aae556de0f745916f7f;SOURCES/bzip2-1.0.6-install_docs-1.patch
#TARBALL: http://anduin.linuxfromscratch.org/LFS/bzip2-1.0.8.tar.gz
#MD5SUM: 67e051268d0c475ea773822f7500d0e5;SOURCES/bzip2-1.0.8.tar.gz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/9.1/bzip2-1.0.8-install_docs-1.patch
#MD5SUM: 6a5ac7e89b791aae556de0f745916f7f;SOURCES/bzip2-1.0.8-install_docs-1.patch
#-----------------------------------------------------------------------------
Summary: The Bzip2 package contains programs for compressing and decompressing files
Name: bzip2
Version: 1.0.6
Version: 1.0.8
Release: 1
License: Other
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.%{name}.org/%{version}/%{name}-%{version}.tar.gz
Patch0: http://www.linuxfromscratch.org/patches/lfs/8.1/%{name}-%{version}-install_docs-1.patch
Patch0: http://www.linuxfromscratch.org/patches/lfs/9.1/%{name}-%{version}-install_docs-1.patch
Requires: filesystem
%description
The Bzip2 package contains programs for compressing and decompressing files
@ -29,7 +28,7 @@ than with the traditional gzip.
make clean
make
%install
make PREFIX=%{buildroot}/usr install
make PREFIX=%{buildroot}/%{_prefix} install
install -vdm 755 %{buildroot}/bin
install -vdm 755 %{buildroot}/lib
install -vdm 755 %{buildroot}%{_libdir}
@ -37,7 +36,7 @@ than with the traditional gzip.
cp -v bzip2-shared %{buildroot}/bin/bzip2
cp -av libbz2.so* %{buildroot}/lib
ln -sv ../../lib/libbz2.so.1.0 %{buildroot}%{_libdir}/libbz2.so
rm -v %{buildroot}%{_bindir}/{bunzip2,bzcat,bzip2}
rm -v %{buildroot}/%{_bindir}/{bunzip2,bzcat,bzip2}
ln -sv bzip2 %{buildroot}/bin/bunzip2
ln -sv bzip2 %{buildroot}/bin/bzcat
#-----------------------------------------------------------------------------
@ -45,17 +44,17 @@ than with the traditional gzip.
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl>
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.0.6-1
- Initial build. First version

View File

@ -1,15 +1,14 @@
#TARBALL: https://github.com/libcheck/check/releases/download/0.12.0/check-0.12.0.tar.gz
#MD5SUM: 31b17c6075820a434119592941186f70;SOURCES/check-0.12.0.tar.gz
#TARBALL: https://github.com/libcheck/check/releases/download/0.14.0/check-0.14.0.tar.gz
#MD5SUM: 270e82a445be6026040267a5e11cc94b;SOURCES/check-0.14.0.tar.gz
#-----------------------------------------------------------------------------
Summary: Check is a unit testing framework for C.
Name: check
Version: 0.12.0
Version: 0.14.0
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source: %{name}-%{version}.tar.gz
Source: https://github.com/libcheck/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
Check is a unit testing framework for C.
@ -23,25 +22,24 @@ Check is a unit testing framework for C.
%install
make DESTDIR=%{buildroot} install
sed -i '1 s/tools/usr/' ${RPM_BUILD_ROOT}/usr/bin/checkmk
# sed -i 's|/tools/bin/gawk|/usr/bin/gawk|' ${RPM_BUILD_ROOT}%%{_prefix}/bin/checkmk
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
install -D -m644 COPYING.LESSER %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 0.14.0-1
* Sat Jul 28 2018 baho-utot <baho-utot@columbus.rr.com> 0.12.0-1
- Initial build. First version

View File

@ -1,19 +1,18 @@
%global _default_patch_fuzz 2
#TARBALL: http://ftp.gnu.org/gnu/coreutils/coreutils-8.30.tar.xz
#MD5SUM: ab06d68949758971fe744db66b572816;SOURCES/coreutils-8.30.tar.xz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/8.4/coreutils-8.30-i18n-1.patch
#MD5SUM: a9404fb575dfd5514f3c8f4120f9ca7d;SOURCES/coreutils-8.30-i18n-1.patch
#TARBALL: http://ftp.gnu.org/gnu/coreutils/coreutils-8.31.tar.xz
#MD5SUM: 0009a224d8e288e8ec406ef0161f9293;SOURCES/coreutils-8.31.tar.xz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/9.1/coreutils-8.31-i18n-1.patch
#MD5SUM: a9404fb575dfd5514f3c8f4120f9ca7d;SOURCES/coreutils-8.31-i18n-1.patch
#-----------------------------------------------------------------------------
Summary: The Coreutils package contains utilities for showing and setting the basic system characteristics.
Name: coreutils
Version: 8.30
Version: 8.31
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source: %{name}-%{version}.tar.xz
Patch0: coreutils-8.30-i18n-1.patch
Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Patch0: http://www.linuxfromscratch.org/patches/lfs/9.1/%{name}-%{version}-i18n-1.patch
Requires: filesystem
%description
The Coreutils package contains utilities for showing and setting the basic system characteristics.
@ -48,18 +47,19 @@ sed -i '/test.lock/s/^/#/' gnulib-tests/gnulib.mk
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 8.31-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 8.30-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 8.29-1

View File

@ -1,15 +1,14 @@
#TARBALL: https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.bz2
#MD5SUM: 93eea9f07c0058c097891c73e4955456;SOURCES/cpio-2.12.tar.bz2
#TARBALL: https://ftp.gnu.org/gnu/cpio/cpio-2.13.tar.bz2
#MD5SUM: f3438e672e3fa273a7dc26339dd1eed6;SOURCES/cpio-2.13.tar.bz2
#-----------------------------------------------------------------------------
Summary: The cpio package contains tools for archiving
Name: cpio
Version: 2.12
Version: 2.13
Release: 1
License: GPLv3
URL: Any
Group: BLFS/System_Utilities
Vendor: Elizabeth
Source0: cpio/%{name}-%{version}.tar.bz2
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
Requires: filesystem
%description
The cpio package contains tools for archiving
@ -29,18 +28,17 @@ The cpio package contains tools for archiving
make DESTDIR=%{buildroot} install
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
@ -57,5 +55,6 @@ The cpio package contains tools for archiving
popd
#-----------------------------------------------------------------------------
%changelog
* Wed Feb 14 2018 baho-utot <baho-utot@columbus.rr.com> cpio-2.12-1
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.13-1
* Wed Feb 14 2018 baho-utot <baho-utot@columbus.rr.com> 2.12-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The Diffutils package contains programs that show the differences between files or directories.
Name: diffutils
Version: 3.7
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/diffutils/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -29,17 +28,18 @@ The Diffutils package contains programs that show the differences between files
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 3.7-2
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 3.7-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 3.6-1

View File

@ -1,15 +1,14 @@
#TARBALL: https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.44.5/e2fsprogs-1.44.5.tar.gz
#MD5SUM: 8d78b11d04d26c0b2dd149529441fa80;SOURCES/e2fsprogs-1.44.5.tar.gz
#TARBALL: https://downloads.sourceforge.net/project/e2fsprogs/e2fsprogs/v1.45.5/e2fsprogs-1.45.5.tar.gz
#MD5SUM: 6d35428e4ce960cb7e875afe5849c0f3;SOURCES/e2fsprogs-1.45.5.tar.gz
#-----------------------------------------------------------------------------
Summary: The E2fsprogs package contains the utilities for handling the ext2 file system.
Name: e2fsprogs
Version: 1.44.5
Version: 1.45.5
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.gz
Source0: https://downloads.sourceforge.net/project/%{name}/%{name}/v%{version}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
The E2fsprogs package contains the utilities for handling the ext2 file system.
@ -33,7 +32,6 @@ It also supports the ext3 and ext4 journaling file systems.
%install
cd build
make DESTDIR=%{buildroot} install
make DESTDIR=%{buildroot} install-libs
cd -
chmod -v u+w %{buildroot}%{_libdir}/{libcom_err,libe2p,libext2fs,libss}.a
gunzip -v %{buildroot}%{_infodir}/libext2fs.info.gz
@ -48,12 +46,12 @@ It also supports the ext3 and ext4 journaling file systems.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
@ -73,6 +71,7 @@ It also supports the ext3 and ext4 journaling file systems.
popd
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.45.5-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.44.5-1
- LFS-8.4
* Wed Jul 25 2018 baho-utot <baho-utot@columbus.rr.com> 1.43.9-1

View File

@ -1,68 +1,61 @@
#TARBALL: https://dev.gentoo.org/~blueness/eudev/eudev-3.2.7.tar.gz
#MD5SUM: c75d99910c1791dd9430d26ab76059c0;SOURCES/eudev-3.2.7.tar.gz
#TARBALL: http://anduin.linuxfromscratch.org/LFS/udev-lfs-20171102.tar.bz2
#MD5SUM: d92afb0c6e8e616792068ee4737b0d24
#TARBALL: https://dev.gentoo.org/~blueness/eudev/eudev-3.2.9.tar.gz
#MD5SUM: dedfb1964f6098fe9320de827957331f;SOURCES/eudev-3.2.9.tar.gz
#TARBALL: http://anduin.linuxfromscratch.org/LFS/udev-lfs-20171102.tar.xz
#MD5SUM: 27cd82f9a61422e186b9d6759ddf1634;SOURCES/udev-lfs-20171102.tar.xz
#-----------------------------------------------------------------------------
Summary: The Eudev package contains programs for dynamic creation of device nodes.
Name: eudev
Version: 3.2.7
Version: 3.2.9
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.gz
Source1: udev-lfs-20171102.tar.bz2
Source0: https://dev.gentoo.org/~blueness/%{name}/%{name}-%{version}.tar.gz
Source1: http://anduin.linuxfromscratch.org/LFS/udev-lfs-20171102.tar.xz
Requires: filesystem
%description
The Eudev package contains programs for dynamic creation of device nodes.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
%setup -T -D -a 1
cat > config.cache <<- "EOF"
HAVE_BLKID=1
BLKID_LIBS="-lblkid"
BLKID_CFLAGS="-I/tools/include"
EOF
%setup -q -T -D -a 1
%build
./configure \
--prefix=%{_prefix} \
--bindir=/sbin \
--sbindir=/sbin \
--libdir=%{_libdir} \
--sysconfdir=/etc \
--sysconfdir=%{_sysconfdir} \
--libexecdir=/lib \
--with-rootprefix= \
--with-rootlibdir=/lib \
--enable-manpages \
--disable-static \
--config-cache
LIBRARY_PATH=/tools/lib make %{?_smp_mflags}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} LD_LIBRARY_PATH=/tools/lib install
make DESTDIR=%{buildroot} install
make -f udev-lfs-20171102/Makefile.lfs DESTDIR=%{buildroot} install
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
%post
LD_LIBRARY_PATH=/tools/lib udevadm hwdb --update
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man5/*
%{_mandir}/man7/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 3.2.9-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 3.2.7-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 3.2.5-1

View File

@ -1,15 +1,14 @@
#TARBALL: https://prdownloads.sourceforge.net/expat/expat-2.2.6.tar.bz2
#MD5SUM: ca047ae951b40020ac831c28859161b2;SOURCES/expat-2.2.6.tar.bz2
#TARBALL: https://prdownloads.sourceforge.net/expat/expat-2.2.9.tar.xz
#MD5SUM: d2384fa607223447e713e1b9bd272376;SOURCES/expat-2.2.9.tar.xz
#-----------------------------------------------------------------------------
Summary: The Expat package contains a stream oriented C library for parsing XML.
Name: expat
Version: 2.2.6
Version: 2.2.9
Release: 1
License: Other
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://prdownloads.sourceforge.net/expat/%{name}-%{version}.tar.bz2
Source0: http://prdownloads.sourceforge.net/expat/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The Expat package contains a stream oriented C library for parsing XML.
@ -32,18 +31,17 @@ The Expat package contains a stream oriented C library for parsing XML.
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.2.9-1
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 2.2.6-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.2.5-1

View File

@ -1,14 +1,13 @@
#TARBALL: ftp://ftp.astron.com/pub/file/file-5.36.tar.gz
#MD5SUM: 9af0eb3f5db4ae00fffc37f7b861575c;SOURCES/file-5.36.tar.gz
#TARBALL: ftp://ftp.astron.com/pub/file/file-5.38.tar.gz
#MD5SUM: 3217633ed09c7cd35ed8d04191675574;SOURCES/file-5.38.tar.gz
#-----------------------------------------------------------------------------
Summary: The File package contains a utility for determining the type of a given file or files
Name: file
Version: 5.36
Version: 5.38
Release: 1
License: Other
URL: ftp://ftp.astron.com/pub
Group: LFS/Base
Vendor: Elizabeth
Source0: ftp://ftp.astron.com/pub/%{name}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -26,20 +25,20 @@ The File package contains a utility for determining the type of a given file or
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/file.1.gz
%{_mandir}/man3/libmagic.3.gz
%{_mandir}/man4/magic.4.gz
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.38-1
* Mon Mar 15 2019 baho-utot <baho-utot@columbus.rr.com> 5.36-1
* Mon Mar 19 2018 baho-utot <baho-utot@columbus.rr.com> 5.32-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 5.31-1

View File

@ -3,11 +3,10 @@
#-----------------------------------------------------------------------------
Summary: Default file system
Name: filesystem
Version: 8.4
Version: 9.1
Release: 1
License: None
Group: LFS/Base
Vendor: Elizabeth
URL: http://www.linuxfromscratch.org
%description
The filesystem package is one of the basic packages that is installed
@ -279,7 +278,7 @@ echo %{version} > %{buildroot}/etc/lfs-release
cat > %{buildroot}/etc/lsb-release <<- "EOF"
DISTRIB_ID="Linux From Scratch"
DISTRIB_RELEASE=%{version}
DISTRIB_CODENAME="Elizabeth"
DISTRIB_CODENAME="Isabella"
DISTRIB_DESCRIPTION="Linux From Scratch"
EOF
#-----------------------------------------------------------------------------
@ -521,7 +520,7 @@ EOF
%defattr(-,root,root)
%attr(600,root,root) /var/log/btmp
%attr(664,root,utmp) /var/log/lastlog
%attr(-,root,root) /var/log/wtmp
%attr(-,root,root) /var/log/wtmp
%attr(750,root,root) /root
%attr(1777,root,root) /tmp
%attr(1777,root,root) /var/tmp
@ -553,7 +552,7 @@ EOF
%dir /etc/rc.d/rc5.d
%dir /etc/rc.d/rc6.d
%dir /etc/rc.d/rc7.d
/etc/rc.d/rcS.d
/etc/rc.d/rcS.d
%dir /etc/sysconfig
%dir /etc/ld.so.conf.d
%dir /etc/opt
@ -659,6 +658,8 @@ EOF
%config(noreplace) /etc/skel/.vimrc
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 9.1-1
- Update to LFS-9.1
* Thu Mar 14 2019 baho-utot <baho-utot@columbus.rr.com> 8.4-1
* Sun Oct 28 2018 baho-utot <baho-utot@columbus.rr.com> 8.2-1
* Tue Dec 12 2017 baho-utot <baho-utot@columbus.rr.com> 8.1-1

View File

@ -1,15 +1,14 @@
#TARBALL: http://ftp.gnu.org/gnu/findutils/findutils-4.6.0.tar.gz
#MD5SUM: 9936aa8009438ce185bea2694a997fc1;SOURCES/findutils-4.6.0.tar.gz
#TARBALL: http://ftp.gnu.org/gnu/findutils/findutils-4.7.0.tar.xz
#MD5SUM: 731356dec4b1109b812fecfddfead6b2;SOURCES/findutils-4.7.0.tar.xz
#-----------------------------------------------------------------------------
Summary: The Findutils package contains programs to find files.
Name: findutils
Version: 4.6.0
Version: 4.7.0
Release: 1
License: Any
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/findutils/%{name}-%{version}.tar.gz
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The Findutils package contains programs to find files. These programs
@ -19,10 +18,6 @@ find, but unreliable if the database has not been recently updated).
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
sed -i 's/test-lock..EXEEXT.//' tests/Makefile.in
sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' gl/lib/*.c
sed -i '/unistd/a #include <sys/sysmacros.h>' gl/lib/mountlist.c
echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h
%build
./configure \
--prefix=%{_prefix} \
@ -40,12 +35,12 @@ echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
@ -53,5 +48,6 @@ echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h
%dir %{_localstatedir}/lib/locate
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 4.7.0-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.6.0-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The Flex package contains a utility for generating programs that recognize patterns in text.
Name: flex
Version: 2.6.4
Release: 1
Release: 2
License: BSD
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: https://github.com/westes/flex/releases/download/v2.6.4/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -33,16 +32,17 @@ The Flex package contains a utility for generating programs that recognize patte
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.6.4-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.6.4-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/gawk/gawk-4.2.1.tar.xz
#MD5SUM: 95cf553f50ec9f386b5dfcd67f30180a;SOURCES/gawk-4.2.1.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/gawk/gawk-5.0.1.tar.xz
#MD5SUM: f9db3f6715207c6f13719713abc9c707;SOURCES/gawk-5.0.1.tar.xz
#-----------------------------------------------------------------------------
Summary: The Gawk package contains programs for manipulating text files.
Name: gawk
Version: 4.2.1
Version: 5.0.1
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/gawk/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -31,18 +30,19 @@ The Gawk package contains programs for manipulating text files.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 5.0.1-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 4.2.1-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.2.0-1

View File

@ -1,19 +1,19 @@
#TARBALL:
#MD5SUM: ;SOURCES/gcc-8.2.0.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/gcc/gcc-9.2.0/gcc-9.2.0.tar.xz
#MD5SUM: 3818ad8600447f05349098232c2ddc78;SOURCES/gcc-9.2.0.tar.xz
#-----------------------------------------------------------------------------
Summary: The GCC package contains the GNU compiler collection
Name: gcc
Version: 8.2.0
Version: 9.2.0
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
Provides: libgcc_s.so.1()(64bit)
Provides: libgcc_s.so.1(GCC_3.0)(64bit)
Provides: libgcc_s.so.1(GCC_3.3)(64bit)
Provides: libgcc_s.so.1(GCC_4.2.0)(64bit)
Provides: libgcc_s.so.1()(64bit) = %{version}
Provides: libgcc_s.so.1(GCC_3.0)(64bit) = %{version}
Provides: libgcc_s.so.1(GCC_3.3)(64bit) = %{version}
Provides: libgcc_s.so.1(GCC_3.4)(64bit) = %{version}
Provides: libgcc_s.so.1(GCC_4.2.0)(64bit) = %{version}
Requires: filesystem
%description
The GCC package contains the GNU compiler collection, which includes the C and C++ compilers.
@ -21,8 +21,7 @@ The GCC package contains the GNU compiler collection, which includes the C and C
%prep
%setup -q -n %{NAME}-%{VERSION}
sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
[ -h /usr/lib/gcc ] && rm -f /usr/lib/gcc
[ -d /usr/lib/gcc ] && rm -rf /usr/lib/gcc
sed -e '1161 s|^|//|' -i libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
mkdir build
%build
cd build
@ -32,7 +31,6 @@ The GCC package contains the GNU compiler collection, which includes the C and C
--enable-languages=c,c++ \
--disable-multilib \
--disable-bootstrap \
--disable-libmpx \
--with-system-zlib
make %{?_smp_mflags}
%install
@ -54,18 +52,19 @@ The GCC package contains the GNU compiler collection, which includes the C and C
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
%{_mandir}/man7/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 9.2.0-1
* Tue Mar 26 2019 baho-utot <baho-utot@columbus.rr.com> 8.2.0-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 7.3.0-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The GDBM package contains the GNU Database Manager
Name: gdbm
Version: 1.18.1
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/gdbm/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -34,18 +33,19 @@ retrieving the data by its key and deleting a key along with its data.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.18.1-2
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 1.18.1-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.14.1-1

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz
#MD5SUM: df3f5690eaa30fd228537b00cb7b7590;SOURCES/gettext-0.19.8.1.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/gettext/gettext-0.20.1.tar.xz
#MD5SUM: 9ed9e26ab613b668e0026222a9c23639;SOURCES/gettext-0.20.1.tar.xz
#-----------------------------------------------------------------------------
Summary: The Gettext package contains utilities for internationalization and localization.
Name: gettext
Version: 0.19.8.1
Version: 0.20.1
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -18,8 +17,6 @@ them to output messages in the user's native language.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
sed -i '/^TESTS =/d' gettext-runtime/tests/Makefile.in
sed -i 's/test-lock..EXEEXT.//' gettext-tools/gnulib-tests/Makefile.in
%build
./configure \
--prefix=%{_prefix} \
@ -37,17 +34,18 @@ them to output messages in the user's native language.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.20.1-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 0.19.8.1-1
- Initial build. First version

View File

@ -1,21 +1,20 @@
# %%global _default_patch_fuzz 2
%define GCC_INCDIR GCC_INCDIR=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include
#TARBALL: http://ftp.gnu.org/gnu/glibc/glibc-2.29.tar.xz
#MD5SUM: e6c279d5b2f0736f740216f152acf974;SOURCES/glibc-2.29.tar.xz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/8.4/glibc-2.29-fhs-1.patch
#MD5SUM: 9a5997c3452909b1769918c759eff8a2;SOURCES/glibc-2.29-fhs-1.patch
%define GCC_INCDIR GCC_INCDIR=/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include
#TARBALL: http://ftp.gnu.org/gnu/glibc/glibc-2.31.tar.xz
#MD5SUM: 78a720f17412f3c3282be5a6f3363ec6;SOURCES/glibc-2.31.tar.xz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/9.1/glibc-2.29-fhs-1.patch
#MD5SUM: 9a5997c3452909b1769918c759eff8a2;SOURCES/glibc-2.31-fhs-1.patch
#-----------------------------------------------------------------------------
Summary: Main C library
Name: glibc
Version: 2.29
Version: 2.31
Release: 1
License: GPLv2
URL: http://www.gnu.org/software/libc
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
Source1: locale-gen
Patch0: glibc-%{version}-fhs-1.patch
Patch0: glibc-%{version}-fhs-1.patch
Requires: filesystem
%description
This library provides the basic routines for allocating memory,
@ -29,12 +28,13 @@ and so on.
mkdir -v build
%build
cd build
CC='gcc -isystem %{GCC_INCDIR} -isystem /usr/include' \
../configure --prefix=%{_prefix} \
--disable-werror \
--enable-kernel=3.2 \
--enable-stack-protector=strong \
libc_cv_slibdir=/lib
CC="gcc -ffile-prefix-map=/tools=/usr" \
../configure --prefix=%{_prefix} \
--disable-werror \
--enable-kernel=3.2 \
--enable-stack-protector=strong \
--with-headers=/usr/include \
libc_cv_slibdir=/lib
make PARALLELMFLAGS=" %{_smp_mflags} "
# make %{_smp_mflags}
%install
@ -87,7 +87,7 @@ EOF
#-----------------------------------------------------------------------------
install -vdm 755 %{buildroot}/sbin
install -vdm 755 %{buildroot}/usr/lib/locale
cp %{_sourcedir}/locale-gen %{buildroot}/sbin/locale-gen
cp %{SOURCE1} %{buildroot}/sbin/locale-gen
chmod 755 %{buildroot}/sbin/locale-gen
cat > %{buildroot}/etc/locale-gen.conf << EOF
# Configuration file for locale-gen
@ -146,16 +146,17 @@ EOF
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/libc.*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.31-1
* Fri Mar 15 2019 baho-utot <baho-utot@columbus.rr.com> 2.29-1
* Mon Mar 19 2018 baho-utot <baho-utot@columbus.rr.com> 2.27-1
* Wed Dec 20 2017 baho-utot <baho-utot@columbus.rr.com> 2.26-1

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.xz
#MD5SUM: f58fa8001d60c4c77595fbbb62b63c1d;SOURCES/gmp-6.1.2.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/gmp/gmp-6.2.0.tar.xz
#MD5SUM: a325e3f09e6d91e62101e59f9bda3ec1;SOURCES/gmp-6.2.0.tar.xz
#-----------------------------------------------------------------------------
Summary: The GMP package contains math libraries.
Name: gmp
Version: 6.1.2
Version: 6.2.0
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -35,15 +34,16 @@ The GMP package contains math libraries. These have useful functions for arbitra
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 6.2.0-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 6.1.2-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: Gperf generates a perfect hash function from a key set.
Name: gperf
Version: 3.1
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/gperf/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -30,16 +29,17 @@ Gperf generates a perfect hash function from a key set.
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 3.1-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 3.1-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/grep/grep-3.3.tar.xz
#MD5SUM: 05d0718a1b7cc706a4bdf8115363f1ed;SOURCES/grep-3.3.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/grep/grep-3.4.tar.xz
#MD5SUM: 111b117d22d6a7d049d6ae7505e9c4d2;SOURCES/grep-3.4.tar.xz
#-----------------------------------------------------------------------------
Summary: The Grep package contains programs for searching through files.
Name: grep
Version: 3.3
Version: 3.4
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -19,29 +18,29 @@ The Grep package contains programs for searching through files.
%build
./configure \
--prefix=%{_prefix} \
--bindir=/bin
--bindir=/bin
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 3.4-1
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 3.3-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 3.1-1

View File

@ -4,17 +4,16 @@
Summary: The Groff package contains programs for processing and formatting text.
Name: groff
Version: 1.22.4
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/groff/%{name}-%{version}.tar.gz
Provides: perl(File::HomeDir)
Provides: perl(main_subs.pl)
Provides: perl(man.pl)
Provides: perl(oop_fh.pl)
Provides: perl(subs.pl)
Provides: perl(File::HomeDir) = %{version}
Provides: perl(main_subs.pl) = %{version}
Provides: perl(man.pl) = %{version}
Provides: perl(oop_fh.pl) = %{version}
Provides: perl(subs.pl) = %{version}
Requires: filesystem
%description
The Groff package contains programs for processing and formatting text.
@ -33,12 +32,12 @@ The Groff package contains programs for processing and formatting text.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
@ -46,6 +45,7 @@ The Groff package contains programs for processing and formatting text.
%{_mandir}/man7/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.22.4-2
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.22.4-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.22.3-1

View File

@ -1,15 +1,14 @@
# %%define _optflags -march=x86-64 -mtune=generic -O2 -pipe
#TARBALL: http://ftp.gnu.org/gnu/grub/grub-2.02.tar.xz
#MD5SUM: 8a4a2a95aac551fb0fba860ceabfa1d3;SOURCES/grub-2.02.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/grub/grub-2.04.tar.xz
#MD5SUM: 5aaca6713b47ca2456d8324a58755ac7;SOURCES/grub-2.04.tar.xz
#-----------------------------------------------------------------------------
Summary: The GRUB package contains the GRand Unified Bootloader.
Name: grub
Version: 2.02
Version: 2.04
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/grub/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -21,7 +20,7 @@ The GRUB package contains the GRand Unified Bootloader.
./configure \
--prefix=%{_prefix} \
--sbindir=/sbin \
--sysconfdir=/etc \
--sysconfdir=%{_sysconfdir} \
--disable-efiemu \
--disable-werror
make %{?_smp_mflags}
@ -36,15 +35,16 @@ The GRUB package contains the GRand Unified Bootloader.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.04-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.02-1
- Initial build. First version

View File

@ -4,12 +4,11 @@
Summary: The Gzip package contains programs for compressing and decompressing files.
Name: gzip
Version: 1.10
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.xz
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The Gzip package contains programs for compressing and decompressing files.
@ -29,17 +28,18 @@ The Gzip package contains programs for compressing and decompressing files.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.10-2
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.10-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.9-1

View File

@ -4,11 +4,10 @@
Summary: The Iana-Etc package provides data for network services and protocols.
Name: iana-etc
Version: 2.30
Release: 1
Release: 2
License: OSLv3.0
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://anduin.linuxfromscratch.org/LFS/%{name}-%{version}.tar.bz2
Requires: filesystem
%description
@ -27,14 +26,15 @@ The Iana-Etc package provides data for network services and protocols.
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.30-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.30-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The Inetutils package contains programs for basic networking.
Name: inetutils
Version: 1.9.4
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/inetutils/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -41,16 +40,17 @@ The Inetutils package contains programs for basic networking.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.9.4-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.9.4-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The Intltool is an internationalization tool used for extracting translatable strings from source files.
Name: intltool
Version: 0.51.0
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://launchpad.net/intltool/trunk/0.51.0/+download/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -29,17 +28,17 @@ The Intltool is an internationalization tool used for extracting translatable st
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.51.0-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 0.51.0-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-4.20.0.tar.xz
#MD5SUM: f3dab4c812812bbb5873cb90f471bcbf;SOURCES/iproute2-4.20.0.tar.xz
#TARBALL: https://www.kernel.org/pub/linux/utils/net/iproute2/iproute2-5.5.0.tar.xz
#MD5SUM: ee8e2cdb416d4a8ef39525d39ab7c2d0;SOURCES/iproute2-5.5.0.tar.xz
#-----------------------------------------------------------------------------
Summary: The IPRoute2 package contains programs for basic and advanced IPV4-based networking.
Name: iproute2
Version: 4.20.0
Version: 5.5.0
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: https://www.kernel.org/pub/linux/utils/net/iproute2/%{NAME}-%{VERSION}.tar.xz
Requires: filesystem
%description
@ -28,20 +27,20 @@ The IPRoute2 package contains programs for basic and advanced IPV4-based network
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man3/*
%{_mandir}/man7/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 5.5.0-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 4.20.0-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.15.0-1

View File

@ -1,18 +1,17 @@
#TARBALL: https://www.kernel.org/pub/linux/utils/kbd/kbd-2.0.4.tar.xz
#MD5SUM: c1635a5a83b63aca7f97a3eab39ebaa6;SOURCES/kbd-2.0.4.tar.xz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/8.2/kbd-2.0.4-backspace-1.patch
#MD5SUM: f75cca16a38da6caa7d52151f7136895;SOURCES/kbd-2.0.4-backspace-1.patch
#TARBALL: https://www.kernel.org/pub/linux/utils/kbd/kbd-2.2.0.tar.xz
#MD5SUM: d1d7ae0b5fb875dc082731e09cd0c8bc;SOURCES/kbd-2.2.0.tar.xz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/9.1/kbd-2.2.0-backspace-1.patch
#MD5SUM: f75cca16a38da6caa7d52151f7136895;SOURCES/kbd-2.2.0-backspace-1.patch
#-----------------------------------------------------------------------------
Summary: The Kbd package contains key-table files, console fonts, and keyboard utilities.
Name: kbd
Version: 2.0.4
Version: 2.2.0
Release: 1
License: Other
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: https://www.kernel.org/pub/linux/utils/kbd/%{name}-%{version}.tar.xz
Patch0: kbd-2.0.4-backspace-1.patch
Source0: https://www.kernel.org/pub/linux/utils/%{name}/%{name}-%{version}.tar.xz
Patch0: http://www.linuxfromscratch.org/patches/lfs/9.1/kbd-2.2.0-backspace-1.patch
Requires: filesystem
%description
The Kbd package contains key-table files, console fonts, and keyboard utilities.
@ -37,14 +36,13 @@ The Kbd package contains key-table files, console fonts, and keyboard utilities.
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man1/*
@ -52,5 +50,6 @@ The Kbd package contains key-table files, console fonts, and keyboard utilities.
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.2.0-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.0.4-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The Kmod package contains libraries and utilities for loading kernel modules
Name: kmod
Version: 26
Release: 1
Release: 2
License: GPLv2.1
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: https://www.kernel.org/pub/linux/utils/kernel/kmod/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -38,19 +37,19 @@ The Kmod package contains libraries and utilities for loading kernel modules
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man5/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 26-2
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 26-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 25-1

View File

@ -1,14 +1,13 @@
#TARBALL: http://www.greenwoodsoftware.com/less/less-530.tar.gz
#MD5SUM: 6a39bccf420c946b0fd7ffc64961315b;SOURCES/less-530.tar.gz
#TARBALL: http://www.greenwoodsoftware.com/less/less-551.tar.gz
#MD5SUM: 4ad4408b06d7a6626a055cb453f36819;SOURCES/less-551.tar.gz
#-----------------------------------------------------------------------------
Summary: The Less package contains a text file viewer.
Name: less
Version: 530
Version: 551
Release: 1
License: Other
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -19,7 +18,7 @@ The Less package contains a text file viewer.
%build
./configure \
--prefix=%{_prefix} \
--sysconfdir=/etc
--sysconfdir=%{_sysconfdir}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
@ -28,17 +27,17 @@ The Less package contains a text file viewer.
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 551-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 530-1
- Initial build. First version

View File

@ -1,18 +1,17 @@
#TARBALL: http://www.linuxfromscratch.org/lfs/downloads/8.4/lfs-bootscripts-20180820.tar.bz2
#MD5SUM: e08811a18356eeef524b2ed333e8cb86;SOURCES/lfs-bootscripts-20180820.tar.bz2
#TARBALL: http://www.linuxfromscratch.org/lfs/downloads/9.1/lfs-bootscripts-20191031.tar.xz
#MD5SUM: e9249541960df505e4dfac0c32369372;SOURCES/lfs-bootscripts-20191031.tar.xz
#-----------------------------------------------------------------------------
Summary: The LFS-Bootscripts package contains a set of scripts to start/stop the LFS system at bootup/shutdown.
Summary: The lfs-bootscripts package contains a set of scripts to start/stop the LFS system at bootup/shutdown.
Name: lfs-bootscripts
Version: 20180820
Version: 20191031
Release: 1
License: None
URL: http://www.linuxfromscratch.org
Group: LFS/Base
Vendor: Elizabeth
Source0: lfs-bootscripts-20180820.tar.bz2
Source0: http://www.linuxfromscratch.org/lfs/downloads/9.1/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The LFS-Bootscripts package contains a set of scripts to start/stop the LFS system
The lfs-bootscripts package contains a set of scripts to start/stop the LFS system
at bootup/shutdown. The configuration files and procedures needed to customize the
boot process are described in the following sections.
#-----------------------------------------------------------------------------
@ -21,22 +20,20 @@ boot process are described in the following sections.
%build
%install
make DESTDIR=%{buildroot} install
# rm %{buildroot}/etc/sysconfig/rc.site
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 20191031-1
* Sun Apr 07 2019 baho-utot <baho-utot@columbus.rr.com> 20180820-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 20170626-1

View File

@ -1,14 +1,13 @@
#TARBALL: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.26.tar.xz
#MD5SUM: 968ac4d42a1a71754313527be2ab5df3;SOURCES/libcap-2.26.tar.xz
#TARBALL: https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-2.31.tar.xz
#MD5SUM: 52120c05dc797b01f5a7ae70f4335e96;SOURCES/libcap-2.31.tar.xz
#-----------------------------------------------------------------------------
Summary: The Libcap package implements the user-space interfaces to the POSIX 1003.1e
Name: libcap
Version: 2.26
Version: 2.31
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -20,32 +19,29 @@ of the all powerful root privilege into a set of distinct privileges.
%setup -q -n %{NAME}-%{VERSION}
sed -i '/install.*STALIBNAME/d' libcap/Makefile
%build
make %{?_smp_mflags}
make lib=lib %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} RAISE_SETFCAP=no lib=lib prefix=%_prefix install
chmod -v 755 %{buildroot}%{_libdir}/libcap.so.2.26
install -vdm 755 %{buildroot}/lib
mv -v %{buildroot}/usr/lib/libcap.so.* %{buildroot}/lib
ln -sfv ../../lib/$(readlink %{buildroot}/usr/lib/libcap.so) %{buildroot}/usr/lib/libcap.so
make DESTDIR=%{buildroot} lib=lib prefix=%{_prefix} install
chmod -v 755 %{buildroot}%{_libdir}/libcap.so.%{version}
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 License %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.31-1
* Wed Apr 03 2019 baho-utot <baho-utot@columbus.rr.com> 2.26-1
- Update
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.25-1

View File

@ -1,15 +1,14 @@
#TARBALL: https://sourceware.org/ftp/elfutils/0.176/elfutils-0.176.tar.bz2
#MD5SUM: 077e4f49320cad82bf17a997068b1db9;SOURCES/elfutils-0.176.tar.bz2
#TARBALL: https://sourceware.org/ftp/elfutils/0.178/elfutils-0.178.tar.bz2
#MD5SUM: 5480d0b7174446aba13a6adde107287f;SOURCES/elfutils-0.178.tar.bz2
#-----------------------------------------------------------------------------
Summary: The elfutils package contains a set of utilities and libraries for handling ELF files
Name: libelf
Version: 0.176
Version: 0.178
Release: 1
License: GPLv3
URL: https://sourceware.org/ftp/elfutils
Group: LFS/BASE
Vendor: Elizabeth
Source0: elfutils-%{version}.tar.bz2
Source0: https://sourceware.org/ftp/elfutils/%{version}/elfutils-%{version}.tar.bz2
Requires: filesystem
%description
The elfutils package contains a set of utilities and libraries for handling ELF
@ -19,28 +18,29 @@ The elfutils package contains a set of utilities and libraries for handling ELF
%setup -q -n elfutils-%{version}
%build
./configure \
--prefix=%{_prefix}
--prefix=%{_prefix} \
--disable-debuginfod
make %{?_smp_mflags}
%install
# make DESTDIR=%{buildroot} install
make DESTDIR=%{buildroot} -C libelf install
install -vDm644 config/libelf.pc %{buildroot}%{_libdir}/pkgconfig/libelf.pc
install -vDm644 config/libelf.pc %{buildroot}/%{_libdir}/pkgconfig/libelf.pc
rm %{buildroot}/%{_libdir}/libelf.a
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%defattr(-,root,root)
%files -f filelist.list
%defattr(-,root,root)
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.178-1
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 0.176-1
- Update for LFS-8.4
* Mon Jan 01 2018 baho-utot <baho-utot@columbus.rr.com> 0.170-1

View File

@ -1,14 +1,13 @@
#TARBALL: ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz
#MD5SUM: 83b89587607e3eb65c70d361f13bab43;SOURCES/libffi-3.2.1.tar.gz
#TARBALL: ftp://sourceware.org/pub/libffi/libffi-3.3.tar.gz
#MD5SUM: 6313289e32f1d38a9df4770b014a2ca7;SOURCES/libffi-3.3.tar.gz
#-----------------------------------------------------------------------------
Summary: The Libffi library provides a portable, high level programming interface to various calling conventions.
Name: libffi
Version: 3.2.1
Version: 3.3
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -17,8 +16,6 @@ This allows a programmer to call any function specified by a call interface desc
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
sed -e '/^includesdir/ s/$(libdir).*$/$(includedir)/' -i include/Makefile.in
sed -e '/^includedir/ s/=.*$/=@includedir@/' -e 's/^Cflags: -I${includedir}/Cflags:/' -i libffi.pc.in
%build
./configure \
--prefix=%{_prefix} \
@ -33,16 +30,17 @@ This allows a programmer to call any function specified by a call interface desc
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 3.3-1
* Fri Jul 17 2018 baho-utot <baho-utot@columbus.rr.com> 3.2.1-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.1.tar.gz
#MD5SUM: 4c8fe6cd85422baafd6e060f896c61bc;SOURCES/libpipeline-1.5.1.tar.gz
#TARBALL: http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.2.tar.gz
#MD5SUM: 169de4cc1f6f7f7d430a5bed858b2fd3;SOURCES/libpipeline-1.5.2.tar.gz
#-----------------------------------------------------------------------------
Summary: The Libpipeline package contains a library for manipulating pipelines of subprocesses in a flexible and convenient way.
Name: libpipeline
Version: 1.5.1
Version: 1.5.2
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -29,17 +28,18 @@ The Libpipeline package contains a library for manipulating pipelines of subproc
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.5.2-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.5.1-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.5.0-1

View File

@ -4,11 +4,10 @@
Summary: The Libtool package contains the GNU generic library support script
Name: libtool
Version: 2.4.6
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/libtool/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -30,16 +29,17 @@ complexity of using shared libraries in a consistent, portable interface.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2.4.6-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.4.6-1
- Initial build. First version

View File

@ -1,15 +1,14 @@
#TARBALL: https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.20.12.tar.xz
#MD5SUM: edd3015435d60598b99cf6aaf223710e;SOURCES/linux-4.20.12.tar.xz
#TARBALL: https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.5.3.tar.xz
#MD5SUM: 3ea50025d8c679a327cf2fc225d81a46;SOURCES/linux-5.5.3.tar.xz
#-----------------------------------------------------------------------------
Summary: Linux API header files
Name: linux-api-headers
Version: 4.20.12
Version: 5.5.3
Release: 1
License: GPLv2
URL: http://www.kernel.org/
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.kernel.org/pub/linux/kernel/v4.x/linux-%{version}.tar.xz
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%{version}.tar.xz
Requires: filesystem
%description
The Linux API Headers expose the kernel's API for use by Glibc.
@ -19,27 +18,27 @@ The Linux API Headers expose the kernel's API for use by Glibc.
%build
make mrproper
%install
cd %{_builddir}/linux-%{version}
make INSTALL_HDR_PATH=dest headers_install
find dest/include \( -name .install -o -name ..install.cmd \) -delete
install -vdm 755 %{buildroot}%{_includedir}
cp -rv dest/include/* %{buildroot}%{_includedir}
make headers
find usr/include -name '.*' -delete
rm usr/include/Makefile
install -vdm 755 %{buildroot}/%{_includedir}
cp -rv usr/include/* %{buildroot}/%{_includedir}
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.5.3-1
* Fri Mar 15 2019 baho-utot <baho-utot@columbus.rr.com> 4.20.12-1
* Thu Mar 15 2018 baho-utot <baho-utot@columbus.rr.com> 4.15.3-1
* Wed Jan 31 2018 baho-utot <baho-utot@columbus.rr.com> 4.9.67-2

View File

@ -3,11 +3,10 @@
Summary: Firmware for various hardware for linux
Name: linux-firmware
Version: 1.0
Release: 1
Release: 2
License: Any
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}.tar.gz
Requires: filesystem
%description
@ -24,5 +23,6 @@ Firmware for various hardware for linux
/lib/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.0-2
* Sat May 30 2020 Chris Cromer <chris@cromer.cl> 1.0-1
- Initial build

View File

@ -1,15 +1,14 @@
#TARBALL: https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.20.12.tar.xz
#MD5SUM: edd3015435d60598b99cf6aaf223710e;SOURCES/linux-4.20.12.tar.xz
#TARBALL: https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.5.3.tar.xz
#MD5SUM: 3ea50025d8c679a327cf2fc225d81a46;SOURCES/linux-5.5.3.tar.xz
#-----------------------------------------------------------------------------
Summary: The Linux package contains the Linux kernel.
Name: linux
Version: 4.20.12
Release: 2
Version: 5.5.3
Release: 1
License: GPLv2
URL: https://www.kernel.org
Group: LFS/Base
Vendor: Elizabeth
Source0: https://www.kernel.org/pub/linux/kernel/v4.x/%{name}-%{version}.tar.xz
Source0: https://www.kernel.org/pub/linux/kernel/v5.x/%{name}-%{version}.tar.xz
Source1: config-%{VERSION}
Requires: filesystem
Requires: mkinitramfs
@ -22,8 +21,7 @@ The Linux package contains the Linux kernel.
make mrproper
# make defconfig
# make allmodconfig
cp %{_sourcedir}/config-%{VERSION} .config
# cp %%{_sourcedir}/config-4.15.3 .config
cp %{SOURCE1} .config
# make oldconfig
make olddefconfig
make %{?_smp_mflags}
@ -40,17 +38,14 @@ The Linux package contains the Linux kernel.
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}-%{VERSION}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
# %%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%post
pushd /boot
@ -65,5 +60,6 @@ The Linux package contains the Linux kernel.
popd
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 5.5.3-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.15.3-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.xz
#MD5SUM: 730bb15d96fffe47e148d1e09235af82;SOURCES/m4-1.4.18.tar.xz
#-----------------------------------------------------------------------------
Summary: The M4 package contains a macro processor
Name: m4
Summary: The M4 package contains a macro processor
Name: m4
Version: 1.4.18
Release: 1
Release: 2
License: GPLv3
URL: http://www.gnu.org
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -30,16 +29,17 @@ echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/m4.1.gz
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.4.18-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.4.18-1
- Initial build. First version

View File

@ -1,22 +1,20 @@
#TARBALL: http://ftp.gnu.org/gnu/make/make-4.2.1.tar.bz2
#MD5SUM: 15b012617e7c44c0ed482721629577ac;SOURCES/make-4.2.1.tar.bz2
#TARBALL: http://ftp.gnu.org/gnu/make/make-4.3.tar.gz
#MD5SUM: fc7a67ea86ace13195b0bce683fd4469;SOURCES/make-4.3.tar.gz
#-----------------------------------------------------------------------------
Summary: The Make package contains a program for compiling packages.
Name: make
Version: 4.2.1
Version: 4.3
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/make/%{name}-%{version}.tar.bz2
Source0: http://ftp.gnu.org/gnu/make/%{name}-%{version}.tar.gz
Requires: filesystem
%description
The Make package contains a program for compiling packages.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c
%build
./configure --prefix=%{_prefix}
make %{?_smp_mflags}
@ -29,16 +27,17 @@ sed -i '211,217 d; 219,229 d; 232 d' glob/glob.c
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 4.3-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.2.1-1
- Initial build. First version

View File

@ -1,15 +1,14 @@
#TARBALL: http://download.savannah.gnu.org/releases/man-db/man-db-2.8.5.tar.xz
#MD5SUM: c5c6c3434be14a5527d43b5ad0f09a13;SOURCES/man-db-2.8.5.tar.xz
#TARBALL: http://download.savannah.gnu.org/releases/man-db/man-db-2.9.0.tar.xz
#MD5SUM: 897576a19ecbef376a916485608cd790;SOURCES/man-db-2.9.0.tar.xz
#-----------------------------------------------------------------------------
Summary: The Man-DB package contains programs for finding and viewing man pages.
Name: man-db
Version: 2.8.5
Version: 2.9.0
Release: 1
License: Other
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: man-db/%{name}-%{version}.tar.xz
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The Man-DB package contains programs for finding and viewing man pages.
@ -20,7 +19,7 @@ The Man-DB package contains programs for finding and viewing man pages.
./configure \
--prefix=%{_prefix} \
--docdir=%{_docdir}/%{NAME}-%{VERSION} \
--sysconfdir=/etc \
--sysconfdir=%{_sysconfdir} \
--disable-setuid \
--enable-cache-owner=bin \
--with-browser=%{_bindir}/lynx \
@ -35,18 +34,16 @@ The Man-DB package contains programs for finding and viewing man pages.
# Copy license/copying file
install -D -m644 README %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/man\/es/d' filelist.rpm
sed -i '/man\/it/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/man\/es/d' filelist.list
sed -i '/man\/it/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_mandir}/man8/*
@ -56,5 +53,6 @@ The Man-DB package contains programs for finding and viewing man pages.
%{_mandir}/it/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.9.0-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.8.1-1
- Initial build. First version

View File

@ -1,18 +1,17 @@
#TARBALL: https://www.kernel.org/pub/linux/docs/man-pages/man-pages-4.16.tar.xz
#MD5SUM: ad9f1ff81276fe8d90d077484d6d4b5e;SOURCES/man-pages-4.16.tar.xz
#TARBALL: https://www.kernel.org/pub/linux/docs/man-pages/man-pages-5.05.tar.xz
#MD5SUM: da25a4f8dfed0a34453c90153b98752d;SOURCES/man-pages-5.05.tar.xz
#-----------------------------------------------------------------------------
Summary: Man pages
Name: man-pages
Version: 4.16
Version: 5.05
Release: 1
License: GPLv2
URL: http://www.kernel.org/doc/man-pages
Group: LFS/Base
Vendor: Elizabeth
Source: http://www.kernel.org/pub/linux/docs/man-pages/%{name}-%{version}.tar.xz
Source0: http://www.kernel.org/pub/linux/docs/man-pages/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The Man-pages package contains over 1,900 man pages.
The Man-pages package contains over 2,200 man pages.
#-----------------------------------------------------------------------------
%prep
%setup -q
@ -24,12 +23,11 @@ The Man-pages package contains over 1,900 man pages.
install -D -m644 man-pages-%{version}.Announce %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files
%defattr(-,root,root)
@ -44,6 +42,7 @@ The Man-pages package contains over 1,900 man pages.
%{_datarootdir}/licenses/man-pages/LICENSE
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.05-1
* Fri Mar 15 2019 baho-utot <baho-utot@columbus.rr.com> 4.16-1
* Mon Mar 19 2018 baho-utot <baho-utot@columbus.rr.com> 4.15-1
* Tue Dec 19 2017 baho-utot <baho-utot@columbus.rr.com> 4.12-1
@ -52,5 +51,3 @@ The Man-pages package contains over 1,900 man pages.
* Fri May 10 2013 baho-utot <baho-utot@columbus.rr.com> 3.51-1
* Sun Mar 24 2013 baho-utot <baho-utot@columbus.rr.com> 3.50-1
* Wed Jan 30 2013 baho-utot <baho-utot@columbus.rr.com> 3.42-1

View File

@ -1,15 +1,14 @@
#TARBALL: https://github.com/mesonbuild/meson/releases/download/0.49.2/meson-0.49.2.tar.gz
#MD5SUM: 0267b0871266056184c484792572c682;SOURCES/meson-0.49.2.tar.gz
#TARBALL: https://github.com/mesonbuild/meson/releases/download/0.53.1/meson-0.53.1.tar.gz
#MD5SUM: 9bf73f7b5a2426a7c8674a809bb8cae2;SOURCES/meson-0.53.1.tar.gz
#-----------------------------------------------------------------------------
Summary: Meson is an open source build system
Name: meson
Version: 0.49.2
Version: 0.53.1
Release: 1
License: Any
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source: %{name}-%{version}.tar.gz
Source0: https://github.com/mesonbuild/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
Meson is an open source build system meant to be both extremely fast, and, even more importantly, as user friendly as possible.
@ -19,26 +18,25 @@ Meson is an open source build system meant to be both extremely fast, and, even
%build
python3 setup.py build
%install
install -vdm 755 %{buildroot}/usr/lib/python3.7/site-packages/
install -vdm 755 %{buildroot}/usr/lib/python3.8/site-packages/
python3 setup.py install --root="%{buildroot}" --optimize=1 --skip-build
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/meson.1.gz
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.53.1-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 0.49.2-1
- LFS-8.4
* Wed Jul 25 2018 baho-utot <baho-utot@columbus.rr.com> 0.44.0-1

View File

@ -1,13 +1,11 @@
#-----------------------------------------------------------------------------
Summary: mkinitramfs creates images for use as initial ramdisk (initrd) images.
Name: mkinitramfs
Version: 8.2
Version: 9.1
Release: 1
License: Any
URL: www.linuxfromscratch.org/blfs
Group: LFS/Base
Vendor: Elizabeth
#Source: %%{name}-%%{version}
Requires: filesystem
Requires: cpio
%description
@ -35,7 +33,6 @@ or for the convenience of specifying the rootfs as a LABEL or UUID.
Anything else usually means that the kernel was not configured properly.
#-----------------------------------------------------------------------------
%prep
# rm -rf %{buildroot}/*
%build
%install
#-----------------------------------------------------------------------------
@ -296,26 +293,17 @@ Anything else usually means that the kernel was not configured properly.
exec switch_root /.root "$init" "$@"
EOF
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
# install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
# find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
# sed -i '/man\/man/d' filelist.rpm
# sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
# %%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%post
%postun
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 9.1-1
* Sun Sep 09 2018 baho-utot <baho-utot@columbus.rr.com> 8.2-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The MPC package contains a library for the arithmetic of complex numbers
Name: mpc
Version: 1.1.0
Release: 1
Release: 2
License: LGPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.multiprecision.org/%{name}/download/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -35,15 +34,16 @@ rounding of the result.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.1.0-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.1.0-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: http://www.mpfr.org/mpfr-4.0.1/mpfr-4.0.2.tar.xz
#TARBALL: http://www.mpfr.org/mpfr-4.0.2/mpfr-4.0.2.tar.xz
#MD5SUM: 320fbc4463d4c8cb1e566929d8adc4f8;SOURCES/mpfr-4.0.2.tar.xz
#-----------------------------------------------------------------------------
Summary: The MPFR package contains functions for multiple precision math.
Name: mpfr
Version: 4.0.2
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.mpfr.org/%{name}-%{version}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -34,16 +33,17 @@ The MPFR package contains functions for multiple precision math.
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 4.0.2-2
* Tue Mar 26 2019 baho-utot <baho-utot@columbus.rr.com> 4.0.2-1
- update to version 4.0.2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.0.1-1

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu//ncurses/ncurses-6.1.tar.gz
#MD5SUM: 98c889aaf8d23910d2b92d65be2e737a;SOURCES/ncurses-6.1.tar.gz
#TARBALL: http://ftp.gnu.org/gnu//ncurses/ncurses-6.2.tar.gz
#MD5SUM: e812da327b1c2214ac1aed440ea3ae8d;SOURCES/ncurses-6.2.tar.gz
#-----------------------------------------------------------------------------
Summary: The Ncurses package contains libraries for terminal-independent handling of character screens.
Name: ncurses
Version: 6.1
Version: 6.2
Release: 1
License: GPL
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu//ncurses/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -47,14 +46,13 @@ The Ncurses package contains libraries for terminal-independent handling of char
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man3/*
@ -62,5 +60,6 @@ The Ncurses package contains libraries for terminal-independent handling of char
%{_mandir}/man7/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 6.2-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 6.1-1
- Initial build. First version

View File

@ -1,15 +1,14 @@
#TARBALL: https://github.com/ninja-build/ninja/archive/v1.9.0/ninja-1.9.0.tar.gz
#MD5SUM: f340be768a76724b83e6daab69009902;SOURCES/ninja-1.9.0.tar.gz
#TARBALL: https://github.com/ninja-build/ninja/archive/v1.10.0/ninja-1.10.0.tar.gz
#MD5SUM: cf1d964113a171da42a8940e7607e71a;SOURCES/ninja-1.10.0.tar.gz
#-----------------------------------------------------------------------------
Summary: Ninja is a small build system with a focus on speed.
Name: ninja
Version: 1.9.0
Version: 1.10.0
Release: 1
License: Any
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source: %{name}-%{version}.tar.gz
Source: %{name}-%{version}.tar.gz
Requires: filesystem
%description
Ninja is a small build system with a focus on speed.
@ -25,20 +24,19 @@ Ninja is a small build system with a focus on speed.
install -vDm644 misc/zsh-completion %{buildroot}/usr/share/zsh/site-functions/_ninja
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.10.0-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.9.0-1
- LFS-8.4
* Wed Jul 25 2018 baho-utot <baho-utot@columbus.rr.com> 1.8.2-1

View File

@ -1,15 +1,14 @@
#TARBALL: https://openssl.org/source/openssl-1.1.1a.tar.gz
#MD5SUM: 963deb2272d6be7d4c2458afd2517b73;SOURCES/openssl-1.1.1a.tar.gz
#TARBALL: https://openssl.org/source/openssl-1.1.1d.tar.gz
#MD5SUM: 3be209000dbc7e1b95bcdf47980a3baa;SOURCES/openssl-1.1.1d.tar.gz
%define __requires_exclude perl\\(WWW::Curl::Easy)
#-----------------------------------------------------------------------------
Summary: The OpenSSL package contains management tools and libraries relating to cryptography
Name: openssl
Version: 1.1.1a
Version: 1.1.1d
Release: 1
License: GPL
URL: https://openssl.org/source
Group: LFS/Base
Vendor: Elizabeth
Source0: https://openssl.org/source/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -22,37 +21,37 @@ email applications and web browsers (for accessing HTTPS sites).
%build
./config \
--prefix=%{_prefix} \
--openssldir=/etc/ssl \
--openssldir=%{_sysconfdir}/ssl \
--libdir=lib \
shared \
zlib-dynamic \
enable-md2
enable-md2 # this is needed for rpm
make %{?_smp_mflags}
%install
sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile
make DESTDIR=%{buildroot} MANSUFFIX=ssl install
mv -v %{buildroot}/usr/share/doc/openssl{,-1.1.0g} &&
cp -vfr doc/* %{buildroot}/usr/share/doc/openssl-1.1.0g
mv -v %{buildroot}/usr/share/doc/%{name} %{buildroot}/usr/share/doc/%{name}-%{version}
cp -vfr doc/* %{buildroot}/usr/share/doc/%{name}-%{version}
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%defattr(-,root,root)
%{_mandir}/man1/*
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_mandir}/man5/*
%{_mandir}/man7/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.1.1d-1
* Sun Feb 03 2019 baho-utot <baho-utot@columbus.rr.com> 1.1.1a-1
- LFS-8.4
* Mon Jan 01 2018 baho-utot <baho-utot@columbus.rr.com> 1.1.0f-1

View File

@ -4,11 +4,10 @@
Summary: The Patch package contains a program for modifying or creating files.
Name: patch
Version: 2.7.6
Release: 1
Release: 2
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -27,18 +26,18 @@ files by applying a patch file typically created by the diff program.
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.7.6-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.7.6-1
- Initial build. First version

View File

@ -1,18 +1,17 @@
#TARBALL: https://www.cpan.org/src/5.0/perl-5.28.1.tar.xz
#MD5SUM: fbb590c305f2f88578f448581b8cf9c4;SOURCES/perl-5.28.1.tar.xz
#TARBALL: https://www.cpan.org/src/5.0/perl-5.30.1.tar.xz
#MD5SUM: f399f3aaee90ddcff5eadd3bccdaacc0;SOURCES/perl-5.30.1.tar.xz
%define __requires_exclude perl\\((VMS|BSD::|Win32|Tk|Mac::|Your::Module::Here|unicore::Name|FCGI|Locale::Codes::.*(Code|Retired))
#|^perl\\(\s\\)
# the following suppresses dependency checks on all modules in /usr/lib/perl5/5.28.1 directories
# the following suppresses dependency checks on all modules in /usr/lib/perl5/5.30.1 directories
%define __requires_exclude_from %{_libdir}/perl5
#-----------------------------------------------------------------------------
Summary: The Perl package contains the Practical Extraction and Report Language.
Name: perl
Version: 5.28.1
Version: 5.30.1
Release: 1
License: GPLv1
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.cpan.org/src/5.0/%{name}-%{version}.tar.xz
Provides: perl = 1:5
Provides: perl = 1:5.8.0
@ -34,34 +33,27 @@ The Perl package contains the Practical Extraction and Report Language.
-Dpager="${_sbindir}/less -isR" \
-Duseshrplib \
-Dusethreads
# -Doptimize="${CFLAGS}" \
# -Dcccdlflags='-fPIC' \
# -Dlddlflags="-shared ${LDFLAGS}" -Dldflags="${LDFLAGS}"
# ulimit -s unlimited;make %{?_smp_mflags}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 Copying %{buildroot}/usr/share/licenses/%{name}/LICENSE
# rm -rf %{buildroot}%{_docdir} %{buildroot}%{_mandir}
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man3/*
# %%{_bindir}/%%{NAME}%%{VERSION}
# %%{_libdir}/%%{NAME}5/%%{VERSION}/*.pm
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.30.1-1
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 5.28.1-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 5.26.1-1

View File

@ -4,11 +4,10 @@
Summary: pkg-config package contains a tool for passing the include and library paths
Name: pkg-config
Version: 0.29.2
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: https://pkg-config.freedesktop.org/releases/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -30,17 +29,17 @@ library paths to build tools during the configure and make file execution.
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 0.29.2-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 0.29.2-1
- Initial build. First version

View File

@ -4,11 +4,10 @@
Summary: The popt package contains the popt libraries which are used by some programs parse command-line options.
Name: popt
Version: 1.16
Release: 1
Release: 2
License: GPL
URL: ftp://anduin.linuxfromscratch.org/BLFS/%{name}/
Group: BLFS/General_Libraries
Vendor: Elizabeth
Source0: ftp://anduin.linuxfromscratch.org/BLFS/%{name}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -27,15 +26,16 @@ The popt package contains the popt libraries which are used by some programs par
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
# Create file list
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.16-2
* Mon Jan 01 2018 baho-utot <baho-utot@columbus.rr.com> 1.16-1
- LFS-8.1

View File

@ -4,12 +4,11 @@
Summary: The Procps-ng package contains programs for monitoring processes.
Name: procps-ng
Version: 3.3.15
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.xz
Source0: http://sourceforge.net/projects/%{name}/files/Production/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The Procps-ng package contains programs for monitoring processes.
@ -35,14 +34,13 @@ The Procps-ng package contains programs for monitoring processes.
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man3/*
@ -50,6 +48,7 @@ The Procps-ng package contains programs for monitoring processes.
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 3.3.15-2
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 3.3.15-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 3.3.12-1

View File

@ -4,11 +4,10 @@
Summary: The Psmisc package contains programs for displaying information about running processes.
Name: psmisc
Version: 23.2
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: https://sourceforge.net/projects/psmisc/files/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -30,18 +29,18 @@ The Psmisc package contains programs for displaying information about running pr
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 23.2-2
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 23.2-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 23.1-1

View File

@ -1,56 +0,0 @@
#TARBALL: https://www.python.org/ftp/python/2.7.15/Python-2.7.15.tar.xz
#MD5SUM: a80ae3cc478460b922242f43a1b4094d;SOURCES/Python-2.7.15.tar.xz
#-----------------------------------------------------------------------------
Summary: The Python 2 package contains the Python development environment.
Name: python2
Version: 2.7.15
Release: 1
License: Any
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: Python-%{VERSION}.tar.xz
Requires: filesystem
%description
The Python 2 package contains the Python development environment.
This is useful for object-oriented programming, writing scripts,
prototyping large programs or developing entire applications.
#-----------------------------------------------------------------------------
%prep
cd %{_builddir}
%setup -q -n "Python-%{VERSION}"
# %%setup -q -T -D -a 1 -n Python-%{VERSION}
%build
./configure --prefix=%{_prefix} \
--enable-shared \
--with-system-expat \
--with-system-ffi \
--with-ensurepip=yes \
--enable-unicode=ucs4
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
chmod -v 755 %{buildroot}/usr/lib/libpython2.7.so.1.0
rm %{buildroot}%{_libdir}/python2.7/cgi.py
rm '%{buildroot}/usr/lib/python2.7/site-packages/setuptools/command/launcher manifest.xml'
rm "%{buildroot}/usr/lib/python2.7/site-packages/setuptools/script (dev).tmpl"
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
rm %{buildroot}/usr/bin/2to3
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Wed Sep 26 2018 baho-utot <baho-utot@columbus.rr.com> python2-2.7.14-1
- Initial build. First version

View File

@ -1,16 +1,15 @@
#TARBALL: https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz
#MD5SUM: df6ec36011808205beda239c72f947cb;SOURCES/Python-3.7.2.tar.xz
#TARBALL: https://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-html.tar.bz2
#MD5SUM: 107ade7bb17efd104a22b2d457f4cb67;SOURCES/python-3.7.2-docs-html.tar.bz2
#TARBALL: https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz
#MD5SUM: b3fb85fd479c0bf950c626ef80cacb57;SOURCES/Python-3.8.1.tar.xz
#TARBALL: https://docs.python.org/ftp/python/doc/3.8.1/python-3.8.1-docs-html.tar.bz2
#MD5SUM: edc8c97f9680373fcc1dd952f0ea7fcc;SOURCES/python-3.8.1-docs-html.tar.bz2
#-----------------------------------------------------------------------------
Summary: The Python 3 package contains the Python development environment.
Name: python3
Version: 3.7.2
Version: 3.8.1
Release: 1
License: Any
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: Python-%{VERSION}.tar.xz
Source1: python-%{VERSION}-docs-html.tar.bz2
Requires: filesystem
@ -22,7 +21,7 @@ prototyping large programs or developing entire applications.
%prep
cd %{_builddir}
%setup -q -n "Python-%{VERSION}"
%setup -q -T -D -a 1 -n Python-%{VERSION}
%setup -q -T -D -a 1 -n Python-%{VERSION}
%build
./configure \
--prefix=%{_prefix} \
@ -33,30 +32,31 @@ cd %{_builddir}
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
chmod -v 755 %{buildroot}/usr/lib/libpython3.7m.so
chmod -v 755 %{buildroot}/usr/lib/libpython3.8.so
chmod -v 755 %{buildroot}/usr/lib/libpython3.so
ln -sfv pip3.8 %{buildroot}/usr/bin/pip3
install -v -dm755 %{buildroot}/usr/share/doc/python-%{version}/html
cp -var python-%{version}-docs-html/* %{buildroot}/usr/share/doc/python-%{version}/html
rm %{buildroot}%{_libdir}/python3.7/cgi.py
rm "%{buildroot}/usr/lib/python3.7/site-packages/setuptools/command/launcher manifest.xml"
rm "%{buildroot}/usr/lib/python3.7/site-packages/setuptools/script (dev).tmpl"
ln -sfv python3 %{buildroot}/usr/bin/python
install -v -dm755 %{buildroot}/usr/local/bin
ln -sfv python3 %{buildroot}/usr/local/bin/python
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 3.8.1-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> Python-3.7.2-1
- LFS-8.4
* Fri Jul 17 2018 baho-utot <baho-utot@columbus.rr.com> Python-3.6.4-1

View File

@ -4,11 +4,10 @@
Summary: The Readline package is a set of libraries that offers command-line editing and history capabilities
Name: readline
Version: 8.0
Release: 1
Release: 2
License: GPLv3
URL: http://ftp.gnu.org/gnu/readline/%{name}-%{version}.tar.gz
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
@ -41,18 +40,18 @@ The Readline package is a set of libraries that offers command-line editing and
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man3/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 CHris Cromer <chris@cromer.cl> 8.0-2
* Mon Mar 25 2019 baho-utot <baho-utot@columbus.rr.com> 8.0-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 7.0-1
- Initial build. First version

View File

@ -1,19 +1,17 @@
#TARBALL: ftp.rpm.org/releases/rpm-4.14.x/rpm-4.14.2.1.tar.bz2
#TARBALL: ftp.rpm.org/releases/rpm-4.15.x/rpm-4.15.1.tar.bz2
#TARBALL: http://download.oracle.com/berkeley-db/db-6.0.20.tar.gz
#MD5SUM: fdb8b8857f103b087b6aed5b78dd9b4f;SOURCES/rpm-4.14.2.1.tar.bz2
#MD5SUM: f73afcb308aefde7e6ece4caa87b22a9;SOURCES/db-6.0.20.tar.gz
#MD5SUM: ed72147451a5ed93b2a48e2f8f5413c3;SOURCES/rpm-4.15.1.tar.bz2
#MD5SUM: b99454564d5b4479750567031d66fe24;SOURCES/db-5.3.28.tar.gz
#-----------------------------------------------------------------------------
Summary: Package manager
Name: rpm
Version: 4.14.2.1
Version: 4.15.1
Release: 1
License: GPLv2
URL: http://rpm.org
Group: LFS/BASE
Vendor: Elizabeth
Source0: http://ftp.rpm.org/releases/rpm-4.14.x/%{name}-%{version}.tar.bz2
Source1: http://download.oracle.com/berkeley-db/db-6.0.20.tar.gz
Source0: http://ftp.rpm.org/releases/rpm-4.15.x/%{name}-%{version}.tar.bz2
Source1: http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
Source2: macros
Requires: filesystem
%description
@ -24,11 +22,11 @@ Package manager
%setup -q -T -D -a 1 -n %{name}-%{version}
sed -i 's/--srcdir=$db_dist/--srcdir=$db_dist --with-pic/' db3/configure
%build
ln -vs db-6.0.20 db
ln -vs db-5.3.28 db
./configure \
--prefix=%{_prefix} \
--program-prefix= \
--sysconfdir=/etc \
--sysconfdir=%{_sysconfdir} \
--with-crypto=openssl \
--with-cap \
--with-acl \
@ -43,28 +41,27 @@ sed -i 's/--srcdir=$db_dist/--srcdir=$db_dist --with-pic/' db3/configure
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
install -vdm 755 %{buildroot}/etc/rpm
install -vm 644 %{_sourcedir}/macros %{buildroot}/etc/rpm
install -vdm 755 %{buildroot}/%{_sysconfdir}/rpm
install -vm 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/rpm
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}%{_datarootdir}/licenses/%{name}-%{version}/COPYING
install -D -m644 INSTALL %{buildroot}%{_datarootdir}/licenses/%{name}-%{version}/INSTALL
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
sed -i '/man\/fr/d' filelist.rpm
sed -i '/man\/pl/d' filelist.rpm
sed -i '/man\/sk/d' filelist.rpm
sed -i '/man\/ko/d' filelist.rpm
sed -i '/man\/ja/d' filelist.rpm
sed -i '/man\/ru/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
sed -i '/man\/fr/d' filelist.list
sed -i '/man\/pl/d' filelist.list
sed -i '/man\/sk/d' filelist.list
sed -i '/man\/ko/d' filelist.list
sed -i '/man\/ja/d' filelist.list
sed -i '/man\/ru/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man8/*
@ -77,6 +74,7 @@ sed -i 's/--srcdir=$db_dist/--srcdir=$db_dist --with-pic/' db3/configure
%{_mandir}/sk/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 4.15.1-1
* Wed Sep 26 2018 baho-utot <baho-utot@columbus.rr.com> 4.14.1-2
* Sat Jul 28 2018 baho-utot <baho-utot@columbus.rr.com> 4.14.1-1
* Sat Mar 10 2018 baho-utot <baho-utot@columbus.rr.com> 4.14.0-4
@ -85,4 +83,3 @@ sed -i 's/--srcdir=$db_dist/--srcdir=$db_dist --with-pic/' db3/configure
- Added python bindings for rpmlint
* Mon Jan 01 2018 baho-utot <baho-utot@columbus.rr.com> 4.14.0-1
- LFS-8.1
/

View File

@ -1,48 +0,0 @@
#TARBALL: https://www.samba.org/ftp/rsync/src/rsync-3.1.3.tar.gz
#MD5SUM: 1581a588fde9d89f6bc6201e8129afaf;SOURCES/rsync-3.1.3.tar.gz
#-----------------------------------------------------------------------------
Summary: The rsync package contains the rsync utility.
Name: rsync
Version: 3.1.3
Release: 1
License: GPLv3
URL: https://rsync.samba.org
Group: LFS/Base
Vendor: Elizabeth
#Requires: popt >= 1.16
Source0: https://www.samba.org/ftp/rsync/src/rsync-%{version}.tar.gz
%description
The rsync package contains the rsync utility.
This is useful for synchronizing large file archives over a network.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
%build
./configure \
--prefix=%{_prefix} \
--without-included-zlib \
--with-included-popt=no
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
#-----------------------------------------------------------------------------
# Copy license/copying file
# install -D -m644 LICENSE %{buildroot}/usr/share/licenses/%{name}/LICENSE
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man5/*
#-----------------------------------------------------------------------------
%changelog
* Mon Feb 04 2019 baho-utot <baho-utot@columbus.rr.com> 3.1.3-1
- Initial build. First version

View File

@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/sed/sed-4.7.tar.xz
#MD5SUM: 777ddfd9d71dd06711fe91f0925e1573;SOURCES/sed-4.7.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz
#MD5SUM: 6d906edfdb3202304059233f51f9a71d;SOURCES/sed-4.8.tar.xz
#-----------------------------------------------------------------------------
Summary: The Sed package contains a stream editor
Name: sed
Version: 4.7
Version: 4.8
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -34,18 +33,18 @@ The Sed package contains a stream editor
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 4.8-1
* Wed Apr 03 2019 baho-utot <baho-utot@columbus.rr.com> 4.7-1
- Update
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.4-1

View File

@ -1,13 +1,12 @@
#TARBALL: https://github.com/shadow-maint/shadow/releases/download/4.6/shadow-4.6.tar.xz
#MD5SUM: b491fecbf1232632c32ff8f1437fd60e;SOURCES/shadow-4.6.tar.xz
#TARBALL: https://github.com/shadow-maint/shadow/releases/download/4.8/shadow-4.8.1.tar.xz
#MD5SUM: 4b05eff8a427cf50e615bda324b5bc45;SOURCES/shadow-4.8.1.tar.xz
#-----------------------------------------------------------------------------
Summary: The Shadow package contains programs for handling passwords in a secure way.
Name: shadow
Version: 4.6
Version: 4.8.1
Release: 1
License: Artistic
Group: LFS/Base
Vendor: Elizabeth
Source0: https://github.com/shadow-maint/shadow/releases/download/4.5/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -24,13 +23,12 @@ The Shadow package contains programs for handling passwords in a secure way.
sed -i 's/1000/999/' etc/useradd
%build
./configure \
--sysconfdir=/etc \
--sysconfdir=%{_sysconfdir} \
--with-group-name-max-length=32
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
install -vdm 755 %{buildroot}/bin
mv -v %{buildroot}/usr/bin/passwd %{buildroot}/bin
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
@ -53,11 +51,11 @@ The Shadow package contains programs for handling passwords in a secure way.
rm -rf %{buildroot}/%{_mandir}/tr
rm -rf %{buildroot}/%{_mandir}/zh_CN
rm -rf %{buildroot}/%{_mandir}/zh_TW
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
%{_mandir}/man3/*
@ -68,6 +66,7 @@ The Shadow package contains programs for handling passwords in a secure way.
grpconv
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 4.8.1-1
* Tue Mar 26 2019 baho-utot <baho-utot@columbus.rr.com> 4.6-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 4.5-1
- Initial build. First version

View File

@ -4,12 +4,11 @@
Summary: The Sysklogd package contains programs for logging system messages
Name: sysklogd
Version: 1.5.1
Release: 1
Release: 2
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.infodrom.org/projects/sysklogd/download/%{name}-%{version}.tar.gz
Source0: http://www.infodrom.org/projects/%{name}/download/%{name}-%{version}.tar.gz
Requires: filesystem
%description
The Sysklogd package contains programs for logging system messages, such as those
@ -51,19 +50,19 @@ EOF
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%config(noreplace) /etc/syslog.conf
%{_mandir}/man5/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.5.1-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.5.1-1
- Initial build. First version

View File

@ -1,18 +1,17 @@
#TARBALL: http://download.savannah.gnu.org/releases/sysvinit/sysvinit-2.93.tar.xz
#MD5SUM: 041dbe36a5dd80b2108aff305bc10620;SOURCES/sysvinit-2.93.tar.xz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/8.4/sysvinit-2.93-consolidated-1.patch
#MD5SUM: aaa84675e717504d7d3da452c8c2eaf1;SOURCES/sysvinit-2.93-consolidated-1.patch
#TARBALL: http://download.savannah.gnu.org/releases/sysvinit/sysvinit-2.96.tar.xz
#MD5SUM: 48cebffebf2a96ab09bec14bf9976016;SOURCES/sysvinit-2.96.tar.xz
#TARBALL: http://www.linuxfromscratch.org/patches/lfs/8.4/sysvinit-2.96-consolidated-1.patch
#MD5SUM: 4900322141d493e74020c9cf437b2cdc;SOURCES/sysvinit-2.96-consolidated-1.patch
#-----------------------------------------------------------------------------
Summary: Controls the start up, running and shutdown of the system
Name: sysvinit
Version: 2.93
Version: 2.96
Release: 1
License: GPLv2
URL: http://savannah.nongnu.org/projects/sysvinit
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.xz
Patch: %{name}-%{version}-consolidated-1.patch
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
Patch0: %{name}-%{version}-consolidated-1.patch
Requires: filesystem
%description
Contains programs for controlling the start up, running and
@ -20,7 +19,7 @@ shutdown of the system
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
%patch -p1
%patch0 -p1
%build
make VERBOSE=1 %{?_smp_mflags}
%install
@ -31,20 +30,19 @@ shutdown of the system
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man5/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.96-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 2.93-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.88dsf-1

View File

@ -1,15 +1,14 @@
#TARBALL: http://ftp.gnu.org/gnu/tar/tar-1.31.tar.xz
#MD5SUM: bc9a89da1185ceb2210de12552c43ce2;SOURCES/tar-1.31.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/tar/tar-1.32.tar.xz
#MD5SUM: 83e38700a80a26e30b2df054e69956e5;SOURCES/tar-1.32.tar.xz
#-----------------------------------------------------------------------------
Summary: The Tar package contains an archiving program.
Name: tar
Version: 1.31
Version: 1.32
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.xz
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The Tar package contains an archiving program.
@ -33,12 +32,12 @@ sed -i 's/abort.*/FALLTHROUGH;/' src/extract.c
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
@ -46,6 +45,7 @@ sed -i 's/abort.*/FALLTHROUGH;/' src/extract.c
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.32-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 1.31-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.30-1

View File

@ -1,23 +1,22 @@
#TARBALL: http://ftp.gnu.org/gnu/texinfo/texinfo-6.5.tar.xz
#MD5SUM: 3715197e62e0e07f85860b3d7aab55ed;SOURCES/texinfo-6.5.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/texinfo/texinfo-6.7.tar.xz
#MD5SUM: d4c5d8cc84438c5993ec5163a59522a6;SOURCES/texinfo-6.7.tar.xz
%define __requires_exclude perl\\(Locale::gettext_xs\\)
#-----------------------------------------------------------------------------
Summary: The Texinfo package contains programs for reading, writing, and converting info pages.
Name: texinfo
Version: 6.5
Version: 6.7
Release: 1
License: GPLv3
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://ftp.gnu.org/gnu/texinfo/%{name}-%{version}.tar.xz
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
Requires: filesystem
Provides: perl(Texinfo::ParserNonXS) = %{version}
%description
The Texinfo package contains programs for reading, writing, and converting info pages.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
sed -i '5481,5485 s/({/(\\{/' tp/Texinfo/Parser.pm
%build
./configure \
--prefix=%{_prefix} \
@ -32,12 +31,12 @@ sed -i '5481,5485 s/({/(\\{/' tp/Texinfo/Parser.pm
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
@ -49,5 +48,6 @@ sed -i '5481,5485 s/({/(\\{/' tp/Texinfo/Parser.pm
popd
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 6.7-1
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 6.5-1
- Initial build. First version

View File

@ -1,15 +1,14 @@
%define blddir %{name}-%{version}
#TARBALL: https://www.iana.org/time-zones/repository/releases/tzdata2018i.tar.gz
#MD5SUM: b3f0a1a789480a036e58466cd0702477;SOURCES/tzdata2018i.tar.gz
#TARBALL: https://www.iana.org/time-zones/repository/releases/tzdata2019c.tar.gz
#MD5SUM: f6987e6dfdb2eb83a1b5076a50b80894;SOURCES/tzdata2019c.tar.gz
#-----------------------------------------------------------------------------
Summary: Time zone data
Name: tzdata
Version: 2018i
Version: 2019c
Release: 1
URL: http://www.iana.org/time-zones
License : public-domain
License: public-domain
Group: LFS/Base
Vendor: Elizabeth
Source0: http://www.iana.org//time-zones/repository/releases/%{name}%{version}.tar.gz
Requires: filesystem
%description
@ -34,6 +33,7 @@ Sources for time zone and daylight saving time data
done
cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
zic -d $ZONEINFO -p America/New_York
unset ZONEINFO
install -vDm 555 %{buildroot}/usr/share/zoneinfo/America/New_York %{buildroot}/etc/localtime
#-----------------------------------------------------------------------------
# Copy license/copying file
@ -41,17 +41,17 @@ Sources for time zone and daylight saving time data
cd -
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 2019c-1
* Fri Mar 15 2019 baho-utot <baho-utot@columbus.rr.com> 2018i-1
* Mon Mar 19 2018 baho-utot <baho-utot@columbus.rr.com> 2018c-1
* Wed Dec 20 2014 baho-utot <baho-utot@columbus.rr.com> 2017b-1

View File

@ -1,15 +1,14 @@
#TARBALL: https://www.kernel.org/pub/linux/utils/util-linux/v2.33/util-linux-2.33.1.tar.xz
#MD5SUM: 6fcfea2043b5ac188fd3eed56aeb5d90;SOURCES/util-linux-2.33.1.tar.xz
#TARBALL: https://www.kernel.org/pub/linux/utils/util-linux/v2.35/util-linux-2.35.1.tar.xz
#MD5SUM: 7f64882f631225f0295ca05080cee1bf;SOURCES/util-linux-2.35.1.tar.xz
#-----------------------------------------------------------------------------
Summary: The Util-linux package contains miscellaneous utility programs.
Name: util-linux
Version: 2.33.1
Version: 2.35.1
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.xz
Source0: https://www.kernel.org/pub/linux/utils/%{name}/v2.35/%{name}-%{version}.tar.xz
Requires: filesystem
%description
The Util-linux package contains miscellaneous utility programs.
@ -20,7 +19,7 @@ partitions, and messages.
%setup -q -n %{NAME}-%{VERSION}
%build
./configure \
ADJTIME_PATH=/var/lib/hwclock/adjtime \
ADJTIME_PATH=/var/lib/hwclock/adjtime \
--docdir=%{_docdir}/%{NAME}-%{VERSION} \
--disable-chfn-chsh \
--disable-login \
@ -40,23 +39,22 @@ partitions, and messages.
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
# Create file list
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_mandir}/man5/*
%{_mandir}/man8/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 2.35.1-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 2.33.1-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 2.31.1-1

View File

@ -1,23 +1,22 @@
%global __requires_exclude perl\\(getopts.pl\\)
%define __requires_exclude_from /usr/share/vim
#TARBALL: ftp://ftp.vim.org/pub/vim/unix/vim-8.1.tar.bz2
#MD5SUM: 1739a1df312305155285f0cfa6118294;SOURCES/vim-8.1.tar.bz2
#TARBALL: ftp://ftp.vim.org/pub/vim/unix/vim-8.2.0190.tar.gz
#MD5SUM: f5337b1170df90e644a636539a0313a3;SOURCES/vim-8.2.0190.tar.gz
#-----------------------------------------------------------------------------
Summary: The Vim package contains a powerful text editor.
Name: vim
Version: 8.1
Version: 8.2.0190
Release: 1
License: Charityware
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.bz2
Source0: ftp://ftp.vim.org/pub/%{name}/unix/%{name}-%{version}.tar.gz
Requires: filesystem
%description
The Vim package contains a powerful text editor.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}81
%setup -q -n %{name}-%{version}
echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
%build
./configure \
@ -29,7 +28,7 @@ echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
%install
make DESTDIR=%{buildroot} install
install -vdm 755 %{buildroot}/usr/share/doc/
ln -sv ../vim/vim81/doc %{buildroot}/usr/share/doc/vim-8.1
ln -sv ../vim/vim82/doc %{buildroot}/usr/share/doc/%{name}-%{version}
install -vdm 755 %{buildroot}/etc/vimrc
cat > /etc/vimrc <<- "EOF"
" Begin /etc/vimrc
@ -50,29 +49,39 @@ echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
install -D -m644 README.txt %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/man\/fr/d' filelist.rpm
sed -i '/man\/pl.ISO8859-2/d' filelist.rpm
sed -i '/man\/pl.UTF-8/d' filelist.rpm
sed -i '/man\/ru.UTF-8/d' filelist.rpm
sed -i '/man\/pl/d' filelist.rpm
sed -i '/man\/it.UTF-8/d' filelist.rpm
sed -i '/man\/ja/d' filelist.rpm
sed -i '/man\/it.ISO8859-1/d' filelist.rpm
sed -i '/man\/it/d' filelist.rpm
sed -i '/man\/fr.UTF-8/d' filelist.rpm
sed -i '/man\/ru.KOI8-R/d' filelist.rpm
sed -i '/man\/fr.ISO8859-1/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/man\/da/d' filelist.list
sed -i '/man\/da.ISO8859-1/d' filelist.list
sed -i '/man\/da.UTF-8/d' filelist.list
sed -i '/man\/de/d' filelist.list
sed -i '/man\/de.ISO8859-1/d' filelist.list
sed -i '/man\/de.UTF-8/d' filelist.list
sed -i '/man\/fr/d' filelist.list
sed -i '/man\/pl.ISO8859-2/d' filelist.list
sed -i '/man\/pl.UTF-8/d' filelist.list
sed -i '/man\/ru.UTF-8/d' filelist.list
sed -i '/man\/pl/d' filelist.list
sed -i '/man\/it.UTF-8/d' filelist.list
sed -i '/man\/ja/d' filelist.list
sed -i '/man\/it.ISO8859-1/d' filelist.list
sed -i '/man\/it/d' filelist.list
sed -i '/man\/fr.UTF-8/d' filelist.list
sed -i '/man\/ru.KOI8-R/d' filelist.list
sed -i '/man\/fr.ISO8859-1/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
# %%{_infodir}/*
%{_mandir}/man1/*
%{_mandir}/da/man1/*
%{_mandir}/da.ISO8859-1/man1/*
%{_mandir}/da.UTF-8/man1/*
%{_mandir}/de/man1/*
%{_mandir}/de.ISO8859-1/man1/*
%{_mandir}/de.UTF-8/man1/*
%{_mandir}/fr.ISO8859-1/man1/*
%{_mandir}/fr.UTF-8/man1/*
%{_mandir}/fr/man1/*
@ -87,6 +96,7 @@ echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h
%{_mandir}/ru.UTF-8/man1/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 8.2.0190-1
* Sat Apr 06 2019 baho-utot <baho-utot@columbus.rr.com> 8.1-1
- LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 8.0.586-1

View File

@ -1,15 +1,14 @@
#TARBALL: https://ftp.gnu.org/gnu/wget/wget-1.20.1.tar.gz
#MD5SUM: f6ebe9c7b375fc9832fb1b2028271fb7;SOURCES/wget-1.20.1.tar.gz
#TARBALL: https://ftp.gnu.org/gnu/wget/wget-1.20.3.tar.gz
#MD5SUM: db4e6dc7977cbddcd543b240079a4899;SOURCES/wget-1.20.3.tar.gz
#-----------------------------------------------------------------------------
Summary: The Wget package contains a utility useful for non-interactive downloading of files from the Web.
Name: wget
Version: 1.20.1
Version: 1.20.3
Release: 1
License: Any
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: %{name}-%{version}.tar.gz
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
The Wget package contains a utility useful for non-interactive downloading of files from the Web.
@ -19,7 +18,7 @@ The Wget package contains a utility useful for non-interactive downloading of fi
%build
./configure \
--prefix=%{_prefix} \
--sysconfdir=/etc \
--sysconfdir=%{_sysconfdir} \
--with-ssl=openssl \
--disable-rpath
make %{?_smp_mflags}
@ -32,12 +31,12 @@ The Wget package contains a utility useful for non-interactive downloading of fi
# Create file list
rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_infodir}/*
%{_mandir}/man1/*
@ -53,6 +52,7 @@ The Wget package contains a utility useful for non-interactive downloading of fi
popd
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.20.3-1
* Sun Apr 07 2019 baho-utot <baho-utot@columbus.rr.com> 1.20.1-1
- BLFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.19.1-1

View File

@ -4,11 +4,10 @@
Summary: The Xz package contains programs for compressing and decompressing files
Name: xz
Version: 5.2.4
Release: 1
Release: 2
License: GPL
URL: Any
Group: LFS/Base
Vendor: Elizabeth
Source0: http://tukaani.org/xz/%{name}-%{version}.tar.xz
Requires: filesystem
%description
@ -37,18 +36,18 @@ with the traditional gzip or bzip2 commands.
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 5.2.4-2
* Fri Apr 05 2019 baho-utot <baho-utot@columbus.rr.com> 5.2.4-1
- Update for LFS-8.4
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 5.2.3-1

View File

@ -4,13 +4,12 @@
Summary: The Zlib package contains compression and decompression routines used by some programs.
Name: zlib
Version: 1.2.11
Release: 1
Release: 2
License: Other
URL: http://zlib.net
Group: LFS/Base
Vendor: Elizabeth
Source0: http://zlib.net/%{name}-%{version}.tar.xz
Provides: pkgconfig(zlib)
Provides: pkgconfig(zlib) = %{version}
Requires: filesystem
%description
The Zlib package contains compression and decompression routines used by some programs.
@ -31,17 +30,17 @@ The Zlib package contains compression and decompression routines used by some pr
install -vDm644 README %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
# rm %{buildroot}%{_infodir}/dir
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.rpm
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.rpm
sed -i '/man\/man/d' filelist.rpm
sed -i '/\/usr\/share\/info/d' filelist.rpm
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.rpm
%files -f filelist.list
%defattr(-,root,root)
%_mandir/man3/zlib.3.gz
#-----------------------------------------------------------------------------
%changelog
* Sun May 31 2020 Chris Cromer <chris@cromer.cl> 1.2.11-2
* Tue Jan 09 2018 baho-utot <baho-utot@columbus.rr.com> 1.2.11-1
- Initial build. First version

44
SPECS/zstd.spec Normal file
View File

@ -0,0 +1,44 @@
#TARBALL: https://github.com/facebook/zstd/releases/download/v1.4.4/zstd-1.4.4.tar.gz
#MD5SUM: 487f7ee1562dee7c1c8adf85e2a63df9;SOURCES/zstd-1.4.4.tar.gz
#-----------------------------------------------------------------------------
Summary: Zstandard - Fast real-time compression algorithm.
Name: zstd
Version: 1.4.4
Release: 1
License: GPLv2
URL: Any
Group: LFS/Base
Source0: https://github.com/facebook/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Requires: filesystem
%description
Zstandard is a real-time compression algorithm, providing high compression
ratios. It offers a very wide range of compression / speed trade-offs, while
being backed by a very fast decoder.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{NAME}-%{VERSION}
make %{?_smp_mflags}
%install
make prefix=%{buildroot}/%{_prefix} install
install -vdm 755 %{buildroot}/lib
rm -v %{buildroot}/usr/lib/libzstd.a
mv -v %{buildroot}/usr/lib/libzstd.so.* %{buildroot}/lib
ln -sfv ../../lib/$(readlink %{buildroot}/usr/lib/libzstd.so) %{buildroot}/usr/lib/libzstd.so
#-----------------------------------------------------------------------------
# Copy license/copying file
install -D -m644 COPYING %{buildroot}/usr/share/licenses/%{name}/LICENSE
#-----------------------------------------------------------------------------
# Create file list
find %{buildroot} -name '*.la' -delete
find "${RPM_BUILD_ROOT}" -not -type d -print > filelist.list
sed -i "s|^${RPM_BUILD_ROOT}||" filelist.list
sed -i '/man\/man/d' filelist.list
sed -i '/\/usr\/share\/info/d' filelist.list
#-----------------------------------------------------------------------------
%files -f filelist.list
%defattr(-,root,root)
%{_mandir}/man1/*
#-----------------------------------------------------------------------------
%changelog
* Mon Jun 01 2020 Chris Cromer <chris@cromer.cl> 1.4.4-1
- Initial build. First version

218
base.sh
View File

@ -1,8 +1,8 @@
#!/bin/bash
#-----------------------------------------------------------------------------
# Title: ch6.sh
# Date: 2020-05-30
# Version: 1.0
# Date: 2020-05-31
# Version: 2.0
# Author: chris@cromer.cl
# Options:
#-----------------------------------------------------------------------------
@ -22,23 +22,21 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#-----------------------------------------------------------------------------
# Dedicated to Elizabeth my cat of 20 years, Euthanasia on 2019-05-16
#-----------------------------------------------------------------------------
set -o errexit # exit if error...insurance ;)
set -o nounset # exit if variable not initalized
set +h # disable hashall
#-----------------------------------------------------------------------------
# Master variables
PRGNAME=${0##*/} # script name minus the path
TOPDIR=${PWD} # parent directory
PARENT=/usr/src/LFS-RPM # rpm build directory
LOGS=LOGS # build logs directory
INFOS=INFO # rpm info log directory
SPECS=SPECS # rpm spec file directory
PROVIDES=PROVIDES # rpm provides log directory
REQUIRES=REQUIRES # rpm requires log directory
RPMS=RPMS # rpm binary package directory
LOGPATH=${TOPDIR}/LOGS # path to log directory
PRGNAME=${0##*/} # script name minus the path
TOPDIR=${PWD} # parent directory
PARENT=/usr/src/LFS-RPM # rpm build directory
LOGS=LOGS # build logs directory
INFOS=INFO # rpm info log directory
SPECS=SPECS # rpm spec file directory
PROVIDES=PROVIDES # rpm provides log directory
REQUIRES=REQUIRES # rpm requires log directory
RPMS=RPMS # rpm binary package directory
LOGPATH=${TOPDIR}/LOGS # path to log directory
LC_ALL=POSIX
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
export LC_ALL PATH
@ -109,7 +107,7 @@ function _build {
rpmbuild -ba ${RPM_SPEC} >> ${_log} 2>&1 && msg_success || msg_failure
_status
[ "F" == ${RPM_EXISTS} ] && die "ERROR: Binary Missing: ${RPM_BINARY}"
rpm -qilp ${RPMS}/${RPM_ARCH}/${RPM_BINARY} > ${INFOS}/${RPM_NAME} 2>&1 || true
rpm -qilp ${RPMS}/${RPM_ARCH}/${RPM_BINARY} > ${INFOS}/${RPM_NAME} 2>&1 || true
rpm -qp --provides ${RPMS}/${RPM_ARCH}/${RPM_BINARY} > ${PROVIDES}/${RPM_NAME} 2>&1 || true
rpm -qp --requires ${RPMS}/${RPM_ARCH}/${RPM_BINARY} > ${REQUIRES}/${RPM_NAME} 2>&1 || true
return
@ -197,16 +195,13 @@ function _symlinks {
ln -vsf /tools/bin/{env,install,perl,printf} /usr/bin >> "${_log}" 2>&1
ln -vsf /tools/lib/libgcc_s.so{,.1} /usr/lib >> "${_log}" 2>&1
ln -vsf /tools/lib/libstdc++.{a,so{,.6}} /usr/lib >> "${_log}" 2>&1
install -vdm755 /usr/lib/pkgconfig >> "${_log}" 2>&1
ln -vsf bash /bin/sh >> "${_log}" 2>&1
msg_success
return
}
function _glibc {
ln -sf /tools/lib/gcc /usr/lib
ln -sf ../lib/ld-linux-x86-64.so.2 /lib64
ln -sf ../lib/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3
rm -f /usr/include/limits.h
_build
_install
/sbin/locale-gen
@ -255,13 +250,6 @@ function _adjust {
touch ${_log}
return
}
function _bc {
ln -sf /tools/lib/libncursesw.so.6 /usr/lib/libncursesw.so.6
ln -sf libncursesw.so.6 /usr/lib/libncurses.so
_build
_install
return
}
function _gcc {
_build
_install
@ -321,92 +309,92 @@ function _gcc {
[ -e "${PROVIDES}" ] || install -vdm 755 "${PROVIDES}"
[ -e "${REQUIRES}" ] || install -vdm 755 "${REQUIRES}"
[ -e "${RPMS}" ] || install -vdm 755 "${RPMS}"
LIST+="filesystem " # 6.5. Creating Directories
LIST+="symlinks " # 6.6. Creating Essential Files and Symlinks
LIST+="linux-api-headers " # 6.7. Linux-4.20.12 API Headers
LIST+="man-pages " # 6.8. Man-pages-4.16
LIST+="glibc " # 6.9. Glibc-2.29
LIST+="tzdata " # 6.9.2.2. Adding time zone data
LIST+="adjust " # 6.10. Adjusting the Toolchain
LIST+="zlib " # 6.11. Zlib-1.2.11
LIST+="file " # 6.12. File-5.36
LIST+="readline " # 6.13. Readline-8.0
LIST+="m4 " # 6.14. M4-1.4.18
LIST+="bc " # 6.15. Bc-1.07.1
LIST+="binutils " # 6.16. Binutils-2.32
LIST+="gmp " # 6.17. GMP-6.1.2
LIST+="mpfr " # 6.18. MPFR-4.0.2
LIST+="mpc " # 6.19. MPC-1.1.0
LIST+="shadow " # 6.20. Shadow-4.6
LIST+="gcc " # 6.21. GCC-8.2.0
LIST+="bzip2 " # 6.22. Bzip2-1.0.6
LIST+="pkg-config " # 6.23. Pkg-config-0.29.2
LIST+="ncurses " # 6.24. Ncurses-6.1
LIST+="attr " # 6.25. Attr-2.4.48
LIST+="acl " # 6.26. Acl-2.2.53
LIST+="libcap " # 6.27. Libcap-2.26
LIST+="sed " # 6.28. Sed-4.7
LIST+="psmisc " # 6.29. Psmisc-23.2
LIST+="iana-etc " # 6.30. Iana-Etc-2.30
LIST+="bison " # 6.31. Bison-3.3.2
LIST+="flex " # 6.32. Flex-2.6.4
LIST+="grep " # 6.33. Grep-3.3
LIST+="bash " # 6.34. Bash-5.0
LIST+="libtool " # 6.35. Libtool-2.4.6
LIST+="gdbm " # 6.36. GDBM-1.18.1
LIST+="gperf " # 6.37. Gperf-3.1
LIST+="expat " # 6.38. Expat-2.2.6
LIST+="inetutils " # 6.39. Inetutils-1.9.4
LIST+="perl " # 6.40. Perl-5.28.1
LIST+="XML-Parser " # 6.41. XML::Parser-2.44
LIST+="intltool " # 6.42. Intltool-0.51.0
LIST+="autoconf " # 6.43. Autoconf-2.69
LIST+="automake " # 6.44. Automake-1.16.1
LIST+="xz " # 6.45. Xz-5.2.4
LIST+="kmod " # 6.46. Kmod-26
LIST+="gettext " # 6.47. Gettext-0.19.8.1
LIST+="libelf " # 6.48. Libelf from Elfutils-0.176
LIST+="libffi " # 6.49. Libffi-3.2.1
LIST+="openssl " # 6.50. OpenSSL-1.1.1a
LIST+="python3 " # 6.51. Python-3.7.2
LIST+="ninja " # 6.52. Ninja-1.9.0
LIST+="meson " # 6.53. Meson-0.49.2
LIST+="coreutils " # 6.54. Coreutils-8.30
LIST+="check " # 6.55. Check-0.12.0
LIST+="diffutils " # 6.56. Diffutils-3.7
LIST+="gawk " # 6.57. Gawk-4.2.1
LIST+="findutils " # 6.58. Findutils-4.6.0
LIST+="groff " # 6.59. Groff-1.22.4
LIST+="grub " # 6.60. GRUB-2.02
LIST+="less " # 6.61. Less-530
LIST+="gzip " # 6.62. Gzip-1.10
LIST+="iproute2 " # 6.63. IPRoute2-4.20.0
LIST+="kbd " # 6.64. Kbd-2.0.4
LIST+="libpipeline " # 6.65. Libpipeline-1.5.1
LIST+="make " # 6.66. Make-4.2.1
LIST+="patch " # 6.67. Patch-2.7.6
LIST+="man-db " # 6.68. Man-DB-2.8.5
LIST+="tar " # 6.69. Tar-1.31
LIST+="texinfo " # 6.70. Texinfo-6.5
LIST+="vim " # 6.71. Vim-8.1
LIST+="procps-ng " # 6.72. Procps-ng-3.3.15
LIST+="util-linux " # 6.73. Util-linux-2.33.1
LIST+="e2fsprogs " # 6.74. E2fsprogs-1.44.5
LIST+="sysklogd " # 6.75. Sysklogd-1.5.1
LIST+="sysvinit " # 6.76. Sysvinit-2.93
LIST+="eudev " # 6.77. Eudev-3.2.7
LIST+="filesystem " # Creating Directories
LIST+="symlinks " # Creating Essential Files and Symlinks
LIST+="linux-api-headers " # Linux-5.5.3 API Headers
LIST+="man-pages " # Man-pages-5.05
LIST+="glibc " # Glibc-2.31
LIST+="tzdata " # Adding time zone data
LIST+="adjust " # Adjusting the Toolchain
LIST+="zlib " # Zlib-1.2.11
LIST+="bzip2 " # Bzip2-1.0.8
LIST+="xz " # Xz-5.2.4
LIST+="file " # File-5.38
LIST+="readline " # Readline-8.0
LIST+="m4 " # M4-1.4.18
LIST+="bc " # Bc-2.5.3
LIST+="binutils " # Binutils-2.34
LIST+="gmp " # GMP-6.2.0
LIST+="mpfr " # MPFR-4.0.2
LIST+="mpc " # MPC-1.1.0
LIST+="attr " # Attr-2.4.48
LIST+="acl " # Acl-2.2.53
LIST+="shadow " # Shadow-4.8.1
LIST+="gcc " # GCC-9.2.0
LIST+="pkg-config " # Pkg-config-0.29.2
LIST+="ncurses " # Ncurses-6.2
LIST+="libcap " # Libcap-2.31
LIST+="sed " # Sed-4.8
LIST+="psmisc " # Psmisc-23.2
LIST+="iana-etc " # Iana-Etc-2.30
LIST+="bison " # Bison-3.5.2
LIST+="flex " # Flex-2.6.4
LIST+="grep " # Grep-3.4
LIST+="bash " # Bash-5.0
LIST+="libtool " # Libtool-2.4.6
LIST+="gdbm " # GDBM-1.18.1
LIST+="gperf " # Gperf-3.1
LIST+="expat " # Expat-2.2.9
LIST+="inetutils " # Inetutils-1.9.4
LIST+="perl " # Perl-5.30.1
LIST+="XML-Parser " # XML::Parser-2.46
LIST+="intltool " # Intltool-0.51.0
LIST+="autoconf " # Autoconf-2.69
LIST+="automake " # Automake-1.16.1
LIST+="kmod " # Kmod-26
LIST+="gettext " # Gettext-0.20.1
LIST+="libelf " # Libelf from Elfutils-0.178
LIST+="libffi " # Libffi-3.3
LIST+="openssl " # OpenSSL-1.1.1d
LIST+="python3 " # Python-3.8.1
LIST+="ninja " # Ninja-1.10.0
LIST+="meson " # Meson-0.53.1
LIST+="coreutils " # Coreutils-8.31
LIST+="check " # Check-0.14.0
LIST+="diffutils " # Diffutils-3.7
LIST+="gawk " # Gawk-5.0.1
LIST+="findutils " # Findutils-4.7.0
LIST+="groff " # Groff-1.22.4
LIST+="grub " # GRUB-2.04
LIST+="less " # Less-551
LIST+="gzip " # Gzip-1.10
LIST+="zstd " # Zstd-1.4.4
LIST+="iproute2 " # IPRoute2-5.5.0
LIST+="kbd " # Kbd-2.2.0
LIST+="libpipeline " # Libpipeline-1.5.2
LIST+="make " # Make-4.3
LIST+="patch " # Patch-2.7.6
LIST+="man-db " # Man-DB-2.9.0
LIST+="tar " # Tar-1.32
LIST+="texinfo " # Texinfo-6.7
LIST+="vim " # Vim-8.2.0190
LIST+="procps-ng " # Procps-ng-3.3.15
LIST+="util-linux " # Util-linux-2.35.1
LIST+="e2fsprogs " # E2fsprogs-1.45.5
LIST+="sysklogd " # Sysklogd-1.5.1
LIST+="sysvinit " # Sysvinit-2.96
LIST+="eudev " # Eudev-3.2.9
# Chapter 7
LIST+="lfs-bootscripts " # lfs-bootscripts
LIST+="cpio " # cpio
LIST+="cpio " # cpio
LIST+="mkinitramfs " # mkinitramfs
LIST+="linux " # 8.3. Linux-4.20.12
LIST+="linux " # Linux-5.5.3
# ADDONS
LIST+="popt " # popt
LIST+="rpm " # rpm
LIST+="wget " # wget
LIST+="popt " # popt
LIST+="rpm " # rpm
LIST+="wget " # wget
LIST+="linux-firmware " # linux-firmware
LIST+="python2 " # python2
LIST+="base " # lfs base packages meta package
LIST+="base " # lfs base packages meta package
for i in ${LIST};do
case ${i} in
symlinks) _log="${LOGS}/symlinks"
@ -430,13 +418,6 @@ for i in ${LIST};do
_adjust
fi
;;
bc) _params "${SPECS}/${i}.spec"
if [ "T" = "${RPM_EXISTS}" ]; then
msg "Skipping: ${i}"
else
_bc
fi
;;
gcc) _params "${SPECS}/${i}.spec"
if [ "T" = "${RPM_EXISTS}" ]; then
msg "Skipping: ${i}"
@ -444,17 +425,6 @@ for i in ${LIST};do
_gcc
fi
;;
util-linux) _params "${SPECS}/${i}.spec"
if [ "T" = "${RPM_EXISTS}" ]; then
msg "Skipping: ${i}"
else
[ -e /usr/include/blkid ] && rm -rf /usr/include/blkid
[ -e /usr/include/libmount ] && rm -rf /usr/include/libmount
[ -e /usr/include/uuid ] && rm -rf /usr/include/uuid
_build
_install
fi
;;
*) _params "${SPECS}/${i}.spec"
if [ "T" = "${RPM_EXISTS}" ]; then
msg "Skipping: ${i}"

View File

@ -1,11 +1,12 @@
#!/bin/bash
#-----------------------------------------------------------------------------
# Title: cleanup.sh
# Date: 2019-05-22
# Version: 1.0
# Author: baho-utot@columbus.rr.com
# Date: 2020-05-31
# Version: 2.0
# Author: chris@cromer.cl
# Options:
#-----------------------------------------------------------------------------
# Copyright 2020 Chris Cromer
# Copyright 2019 Baho Utot
#-----------------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
@ -21,8 +22,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#-----------------------------------------------------------------------------
# Dedicated to Elizabeth my cat of 20 years, Euthanasia on 2019-05-16
#-----------------------------------------------------------------------------
# This script removes changes made to the host system and
# also removes the build tool chain chapter 5 packages as they are no
# longer needed. It will also unmount the /mnt/lfs filesystem
@ -31,11 +30,11 @@ set -o errexit # exit if error...insurance ;)
set -o nounset # exit if variable not initalized
set +h # disable hashall
#-----------------------------------------------------------------------------
PRGNAME=${0##*/} # script name minus the path
LFS=/mnt/lfs # build area
PRGNAME=${0##*/} # script name minus the path
LFS=/mnt/lfs # build area
TOOLCHAIN="${LFS}/tools" # tool chain directory
LINK=/tools # tool chain symlink
USER=lfs # build user
LINK=/tools # tool chain symlink
USER=lfs # build user
#-----------------------------------------------------------------------------
function die() {
local _red="\\033[1;31m"

3
cromer-todo Normal file
View File

@ -0,0 +1,3 @@
add missing perl home dir package needed for groff package dependency
remove rsync
remove python2

Some files were not shown because too many files have changed in this diff Show More