Browse Source

Merge pull request '9.1' (#1) from 9.1 into master

tags/9.1
Chris Cromer 5 months ago
parent
commit
726e6c5fc8
100 changed files with 7509 additions and 6627 deletions
  1. BIN
     
  2. BIN
     
  3. +5454
    -4885
      BOOK/LFS-BOOK-9.1-NOCHUNKS.html
  4. BIN
     
  5. BIN
     
  6. BIN
     
  7. BIN
     
  8. +55
    -53
      BOOK/md5sums
  9. +58
    -57
      BOOK/wget-list
  10. +0
    -128
      README
  11. +122
    -0
      README.MD
  12. +835
    -333
      SOURCES/config-5.5.3
  13. +12
    -12
      SOURCES/macros
  14. +9
    -10
      SPECS/XML-Parser.spec
  15. +10
    -11
      SPECS/acl.spec
  16. +8
    -12
      SPECS/attr.spec
  17. +7
    -7
      SPECS/autoconf.spec
  18. +7
    -7
      SPECS/automake.spec
  19. +6
    -5
      SPECS/base.spec
  20. +7
    -7
      SPECS/bash.spec
  21. +11
    -23
      SPECS/bc.spec
  22. +10
    -9
      SPECS/binutils.spec
  23. +9
    -12
      SPECS/bison.spec
  24. +14
    -15
      SPECS/bzip2.spec
  25. +11
    -13
      SPECS/check.spec
  26. +13
    -13
      SPECS/coreutils.spec
  27. +11
    -12
      SPECS/cpio.spec
  28. +7
    -7
      SPECS/diffutils.spec
  29. +10
    -11
      SPECS/e2fsprogs.spec
  30. +17
    -24
      SPECS/eudev.spec
  31. +10
    -12
      SPECS/expat.spec
  32. +9
    -10
      SPECS/file.spec
  33. +6
    -5
      SPECS/filesystem.spec
  34. +10
    -14
      SPECS/findutils.spec
  35. +7
    -7
      SPECS/flex.spec
  36. +9
    -9
      SPECS/gawk.spec
  37. +15
    -16
      SPECS/gcc.spec
  38. +7
    -7
      SPECS/gdbm.spec
  39. +9
    -11
      SPECS/gettext.spec
  40. +21
    -20
      SPECS/glibc.spec
  41. +9
    -9
      SPECS/gmp.spec
  42. +7
    -7
      SPECS/gperf.spec
  43. +10
    -11
      SPECS/grep.spec
  44. +12
    -12
      SPECS/groff.spec
  45. +10
    -10
      SPECS/grub.spec
  46. +8
    -8
      SPECS/gzip.spec
  47. +7
    -7
      SPECS/iana-etc.spec
  48. +7
    -7
      SPECS/inetutils.spec
  49. +7
    -8
      SPECS/intltool.spec
  50. +9
    -10
      SPECS/iproute2.spec
  51. +13
    -14
      SPECS/kbd.spec
  52. +7
    -8
      SPECS/kmod.spec
  53. +10
    -11
      SPECS/less.spec
  54. +12
    -15
      SPECS/lfs-bootscripts.spec
  55. +12
    -16
      SPECS/libcap.spec
  56. +15
    -15
      SPECS/libelf.spec
  57. +9
    -11
      SPECS/libffi.spec
  58. +9
    -9
      SPECS/libpipeline.spec
  59. +7
    -7
      SPECS/libtool.spec
  60. +15
    -16
      SPECS/linux-api-headers.spec
  61. +2
    -2
      SPECS/linux-firmware.spec
  62. +12
    -16
      SPECS/linux.spec
  63. +9
    -9
      SPECS/m4.spec
  64. +10
    -11
      SPECS/make.spec
  65. +13
    -15
      SPECS/man-db.spec
  66. +10
    -13
      SPECS/man-pages.spec
  67. +11
    -13
      SPECS/meson.spec
  68. +5
    -17
      SPECS/mkinitramfs.spec
  69. +7
    -7
      SPECS/mpc.spec
  70. +8
    -8
      SPECS/mpfr.spec
  71. +9
    -10
      SPECS/ncurses.spec
  72. +10
    -12
      SPECS/ninja.spec
  73. +15
    -16
      SPECS/openssl.spec
  74. +7
    -8
      SPECS/patch.spec
  75. +10
    -18
      SPECS/perl.spec
  76. +7
    -8
      SPECS/pkg-config.spec
  77. +7
    -7
      SPECS/popt.spec
  78. +8
    -9
      SPECS/procps-ng.spec
  79. +7
    -8
      SPECS/psmisc.spec
  80. +0
    -56
      SPECS/python2.spec
  81. +17
    -17
      SPECS/python3.spec
  82. +7
    -8
      SPECS/readline.spec
  83. +22
    -25
      SPECS/rpm.spec
  84. +0
    -48
      SPECS/rsync.spec
  85. +9
    -10
      SPECS/sed.spec
  86. +9
    -10
      SPECS/shadow.spec
  87. +8
    -9
      SPECS/sysklogd.spec
  88. +14
    -16
      SPECS/sysvinit.spec
  89. +10
    -10
      SPECS/tar.spec
  90. +11
    -11
      SPECS/texinfo.spec
  91. +11
    -11
      SPECS/tzdata.spec
  92. +12
    -14
      SPECS/util-linux.spec
  93. +36
    -26
      SPECS/vim.spec
  94. +11
    -11
      SPECS/wget.spec
  95. +7
    -8
      SPECS/xz.spec
  96. +8
    -9
      SPECS/zlib.spec
  97. +44
    -0
      SPECS/zstd.spec
  98. +94
    -124
      base.sh
  99. +8
    -9
      cleanup.sh
  100. +3
    -0
      cromer-todo

BIN
View File


BIN
View File


BOOK/LFS-BOOK-9.1-NOCHUNKS.html
File diff suppressed because it is too large
View File


BIN
View File


BIN
View File


BIN
View File


BIN
View File


+ 55
- 53
BOOK/md5sums 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

+ 58
- 57
BOOK/wget-list 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

+ 0
- 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
- 0
README.MD 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

SOURCES/config-5.5.3
File diff suppressed because it is too large
View File


+ 12
- 12
SOURCES/macros 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

+ 9
- 10
SPECS/XML-Parser.spec 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

+ 10
- 11
SPECS/acl.spec 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


+ 8
- 12
SPECS/attr.spec 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


+ 7
- 7
SPECS/autoconf.spec 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

+ 7
- 7
SPECS/automake.spec 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


+ 6
- 5
SPECS/base.spec 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


+ 7
- 7
SPECS/bash.spec 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


+ 11
- 23
SPECS/bc.spec 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

+ 10
- 9
SPECS/binutils.spec 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

+ 9
- 12
SPECS/bison.spec 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


+ 14
- 15
SPECS/bzip2.spec 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

+ 11
- 13
SPECS/check.spec 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
# Copy license/copying file
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

+ 13
- 13
SPECS/coreutils.spec 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


+ 11
- 12
SPECS/cpio.spec 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

+ 7
- 7
SPECS/diffutils.spec 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


+ 10
- 11
SPECS/e2fsprogs.spec 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


+ 17
- 24
SPECS/eudev.spec 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


+ 10
- 12
SPECS/expat.spec 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


+ 9
- 10
SPECS/file.spec 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


+ 6
- 5
SPECS/filesystem.spec 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


+ 10
- 14
SPECS/findutils.spec 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

+ 7
- 7
SPECS/flex.spec 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

+ 9
- 9
SPECS/gawk.spec 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


+ 15
- 16
SPECS/gcc.spec 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

+ 7
- 7
SPECS/gdbm.spec 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