Browse Source

update specs for 9.1

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

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


+ 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
- 4
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,6 +84,7 @@ Requires: vim
Requires: XML-Parser
Requires: xz
Requires: zlib
Requires: zstd
# ADDONS:
Requires: cpio
Requires: mkinitramfs
@@ -100,9 +100,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


+ 10
- 20
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,18 +15,8 @@ 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
@@ -38,16 +27,17 @@ sed -i -e '/flex/s/as_fn_error/: ;; # &/' configure
# 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

+ 7
- 10
SPECS/bison.spec View File

@@ -4,11 +4,10 @@
Summary: The Bison package contains a parser generator.
Name: bison
Version: 3.3.2
Release: 1
Release: 2
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.3.2-2
* 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


+ 13
- 14
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=%{_prefix} install
install -vdm 755 %{buildroot}/bin
install -vdm 755 %{buildroot}/lib
install -vdm 755 %{buildroot}%{_libdir}
@@ -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


+ 15
- 22
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: 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.bz2
#MD5SUM: d92afb0c6e8e616792068ee4737b0d24
#-----------------------------------------------------------------------------
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.bz2
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


+ 9
- 9
SPECS/expat.spec View File

@@ -1,14 +1,13 @@
#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.bz2
#MD5SUM: d2384fa607223447e713e1b9bd272376;SOURCES/expat-2.2.9.tar.bz2
#-----------------------------------------------------------------------------
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
Requires: filesystem
%description
@@ -34,16 +33,17 @@ The Expat package contains a stream oriented C library for parsing XML.
# 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


+ 5
- 4
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
@@ -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

+ 8
- 8
SPECS/gawk.spec View File

@@ -1,14 +1,13 @@
#TARBALL: http://ftp.gnu.org/gnu/gawk/gawk-4.2.1.tar.xz
#TARBALL: http://ftp.gnu.org/gnu/gawk/gawk-5.0.1.tar.xz
#MD5SUM: 95cf553f50ec9f386b5dfcd67f30180a;SOURCES/gawk-4.2.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


+ 14
- 16
SPECS/gcc.spec View File

@@ -1,19 +1,18 @@
#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_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 +20,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 +30,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 +51,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
* 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


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

+ 21
- 20
SPECS/glibc.spec 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


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

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

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


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


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

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


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

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

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

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


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