Skip to content

Commit

Permalink
Updated format: No longer show source URL for each package.
Browse files Browse the repository at this point in the history
  • Loading branch information
dslm4515 committed Jul 11, 2021
1 parent 6688215 commit 48bdea3
Show file tree
Hide file tree
Showing 43 changed files with 108 additions and 75 deletions.
3 changes: 1 addition & 2 deletions doc/3-Chroot/014-File
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: File 5.39
# Source: ftp://ftp.astron.com/pub/file/file-5.39.tar.gz
# Final System: File
# This section is done in Chroot environment

# Configure
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/017-Bc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Bc
# Source: https://github.com/gavinhoward/bc/releases/download/3.1.5/bc-3.1.5.tar.xz
# This section is done in Chroot environment

# Configure source
Expand Down
14 changes: 11 additions & 3 deletions doc/3-Chroot/018-Binutils
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Final System: Binutils
# Source: http://ftp.gnu.org/gnu/binutils/binutils-2.35.tar.xz
# This section is done in Chroot environment

# Apply patches from Alpine Linux;
patch -Np1 -i ../patches/binutils-alpine/binutils-ld-fix-static-linking.patch
patch -Np1 -i ../patches/binutils-alpine/binutils-mips-disable-assert.patch
patch -Np1 -i ../patches/binutils-alpine/gold-mips.patch
patch -Np1 -i ../patches/binutils-alpine/ld-bfd-mips.patch

# Create build directory
mkdir -v build && cd build

case $(uname -m) in
x86_64) export EXTRA_CONFIG=" --enable-targets=x86_64-pep"
;;
i686) export EXTRA_CONFIG=" --enable-64-bit-bfd --enable-targets=x86_64-linux-gnu,x86_64-pep"
i686) export EXTRA_CONFIG=" --disable-separate-code --enable-64-bit-bfd --enable-targets=x86_64-linux-gnu,x86_64-pep"
;;
esac

Expand All @@ -24,9 +29,11 @@ esac
--enable-lto \
--disable-nls \
--enable-deterministic-archives \
--enable-default-hash-style=gnu \
--enable-threads \
--disable-multilib \
--disable-compressed-debug-sections \
--with-mmap $EXTRA_CONFIG
--with-mmap $EXTRA_CONFIG

# Build
make tooldir=/usr
Expand All @@ -46,6 +53,7 @@ make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
cp -a opcodes opcodes-pic
make -C opcodes-pic clean
make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
install -v -m 644 opcodes-pic/libopcodes.a /usr/lib

# Install
make tooldir=/usr install
Expand Down
5 changes: 2 additions & 3 deletions doc/3-Chroot/019-GMP
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: GMP 6.2.0
# Source: http://ftp.gnu.org/gnu/gmp/gmp-6.2.0.tar.xz
# Final System: GMP
# This section is done in Chroot environment

# By default, GMP configures to optimize for the
Expand All @@ -12,7 +11,7 @@
./configure --prefix=/usr \
--enable-cxx \
--disable-static \
--docdir=/usr/share/doc/gmp-6.2.0
--docdir=/usr/share/doc/gmp-6.2.1

# Build
make
Expand Down
3 changes: 1 addition & 2 deletions doc/3-Chroot/020-MPFR
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: MPFR 4.1.0
# Souce: http://www.mpfr.org/mpfr-4.1.0/mpfr-4.1.0.tar.xz
# Final System: MPFR
# This section is done in Chroot environment

# Configure source
Expand Down
5 changes: 2 additions & 3 deletions doc/3-Chroot/021-MPC
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Final System: MPC 1.1.0
# Source: https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz
# Final System: MPC
# This section is done in Chroot environment

# Configure source
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/mpc-1.1.0
--docdir=/usr/share/doc/mpc-1.2.1

# Build and install
make && make install
8 changes: 5 additions & 3 deletions doc/3-Chroot/022-Shadow
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Shadow
# Source: https://github.com/shadow-maint/shadow/releases/download/4.8.1/shadow-4.8.1.tar.xz
# This section is done in Chroot environment

# Disable the installation of the groups program and its man pages,
Expand All @@ -13,8 +12,11 @@ sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \
sed -i 's/1000/999/' etc/useradd

# Configure source
touch /usr/bin/passwd
./configure --sysconfdir=/etc --with-group-name-max-length=32
touch /usr/bin/passwd &&
LIBS="-lutmps -lskarnet" \
./configure --with-group-name-max-length=32 \
--sysconfdir=/etc \
--enable-utmpx

# Build, Install, and fix misplaced files
make && make install
Expand Down
6 changes: 5 additions & 1 deletion doc/3-Chroot/024-Bzip2
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
# Final System: Bzip2
# Source: http://anduin.linuxfromscratch.org/LFS/bzip2-1.0.8.tar.gz
# This section is done in Chroot environment

# Patch, per Void Linux
patch -Np1 -i ../patches/bzip2-void/install_docs-1.patch
patch -Np0 -i ../patches/bzip2-void/soname.patch
sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile
sed -i "s@(PREFIX)/man@(PREFIX)/share/man@g" Makefile

# Freeytpe requires this flag set for bzip2
export CFLAGS="-fPIC"

# Prepare the source
make -f Makefile-libbz2_so
make clean
Expand All @@ -20,3 +23,4 @@ rm -v /usr/bin/{bunzip2,bzcat,bzip2}
ln -sv bzip2 /bin/bunzip2
ln -sv bzip2 /bin/bzcat

unset CFLAGS
4 changes: 2 additions & 2 deletions doc/3-Chroot/026-Ncurses
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Ncurses
# Source: http://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz
# This section is done in Chroot environment

# Don't install a static library that is not
Expand All @@ -13,7 +12,8 @@ sed -i '/LIBTOOL_INSTALL/d' c++/Makefile.in
--without-debug \
--without-normal \
--enable-pc-files \
--enable-widec
--enable-widec \
--with-pkg-config-libdir=/usr/lib/pkgconfig

# Build and install
make && make install
Expand Down
5 changes: 2 additions & 3 deletions doc/3-Chroot/027-Attr
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Final System: Attr 2.4.48
# Source: http://download.savannah.gnu.org/releases/attr/attr-2.4.48.tar.gz
# Final System: Attr
# This section is done in Chroot environment

./configure --prefix=/usr \
--bindir=/bin \
--disable-static \
--sysconfdir=/etc \
--docdir=/usr/share/doc/attr-2.4.48
--docdir=/usr/share/doc/attr-2.5.1

make && make install

Expand Down
5 changes: 2 additions & 3 deletions doc/3-Chroot/028-ACL
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# Final System: ACL 2.2.53
# Source: http://download.savannah.gnu.org/releases/acl/acl-2.2.53.tar.gz
# Final System: ACL
# This section is done in Chroot environment

./configure --prefix=/usr \
--bindir=/bin \
--disable-static \
--libexecdir=/usr/lib \
--docdir=/usr/share/doc/acl-2.2.53
--docdir=/usr/share/doc/acl-2.3.1

make && make install
mv -v /usr/lib/libacl.so.* /lib
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/030-Sed
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Sed
# Source: http://ftp.gnu.org/gnu/sed/sed-4.8.tar.xz
# This section is done in Chroot environment

./configure --prefix=/usr --bindir=/bin
Expand Down
3 changes: 1 addition & 2 deletions doc/3-Chroot/035-Grep
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Grep 3.3
# Source: http://ftp.gnu.org/gnu/grep/grep-3.3.tar.xz
# Final System: Grep
# This section is done in Chroot environment

./configure --prefix=/usr --bindir=/bin && make && make install
3 changes: 1 addition & 2 deletions doc/3-Chroot/037-Libtool
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Libtool 2.4.6
# Source: http://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
# Final System: Libtool
# This section is done in Chroot environment

./configure --prefix=/usr && make && make install
Expand Down
3 changes: 1 addition & 2 deletions doc/3-Chroot/038-GDBM
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: GDBM 1.18.1
# Source: http://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz
# Final System: GDBM
# This section is done in Chroot environment

sed -r -i '/^char.*parseopt_program_(doc|args)/d' src/parseopt.c
Expand Down
3 changes: 1 addition & 2 deletions doc/3-Chroot/039-Gperf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Gperf 3.1
# Source: http://ftp.gnu.org/gnu/gperf/gperf-3.1.tar.gz
# Final System: Gperf
# This section is done in Chroot environment

./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/043-XML-Parser
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: XML::Parser
# Source: https://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.46.tar.gz
# This section is done in Chroot environment

perl Makefile.PL && make && make install
3 changes: 1 addition & 2 deletions doc/3-Chroot/044-Intltool
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Intltool 0.51.0
# Source: https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
# Final System: Intltool
# This section is done in Chroot environment

sed -i 's:\\\${:\\\$\\{:' intltool-update.in
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/050-Xz
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Xz
# Source: https://tukaani.org/xz/xz-5.2.5.tar.xz
# This section is done in Chroot environment

./configure --prefix=/usr \
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/051-Kmod
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Kmod
# Source: https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-27.tar.xz
# This section is done in Chroot environment

./configure --prefix=/usr \
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/054-Zstd
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Zstd
# Source: https://github.com/facebook/zstd/releases/download/v1.4.5/zstd-1.4.5.tar.gz
# This section is done in Chroot environment

make
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/056-Libffi
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Libffi
# Source: ftp://sourceware.org/pub/libffi/libffi-3.3.tar.gz
# This section is done in Chroot environment

# Configure source. If host and target are the same machine,
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/059-Ninja
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Ninja
# Source: https://github.com/ninja-build/ninja/archive/v1.10.0/ninja-1.10.0.tar.gz
# This section is done in Chroot environment

# If desired, add the capability to use the
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/060-Meson
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Meson
# Source: https://github.com/mesonbuild/meson/releases/download/0.55.1/meson-0.55.1.tar.gz
# This section is done in Chroot environment

# Build
Expand Down
1 change: 0 additions & 1 deletion doc/3-Chroot/062-Coreutils
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Coreutils
# Source: http://ftp.gnu.org/gnu/coreutils/coreutils-8.32.tar.xz
# This section is done in Chroot environment

# Apply patches
Expand Down
5 changes: 3 additions & 2 deletions doc/3-Chroot/063-Check
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Final System: Check 0.15.2
# Source: https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz
# Final System: Check
# This section is done in Chroot environment

# Configure
./configure --prefix=/usr --disable-static &&

# Build & install
make && make install

# Fix a script
Expand Down
4 changes: 3 additions & 1 deletion doc/3-Chroot/064-Diffutils
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Final System: Diffutils
# Source: http://ftp.gnu.org/gnu/diffutils/diffutils-3.7.tar.xz
# This section is done in Chroot environment

# Configure
./configure --prefix=/usr

# Build and install
make && make install
3 changes: 2 additions & 1 deletion doc/3-Chroot/065-Gawk
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Final System: Gawk
# Source: http://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.xz
# This section is done in Chroot environment

# Ensure some unneeded files are not installed
sed -i 's/extras//' Makefile.in

# Configure
./configure --prefix=/usr

# Build & install
make && make install
2 changes: 0 additions & 2 deletions doc/3-Chroot/066-Findutils
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
# Final System: Findutils
# Source: http://ftp.gnu.org/gnu/findutils/findutils-4.7.0.tar.xz
# This section is done in Chroot environment

# Configure source
./configure --prefix=/usr --localstatedir=/var/lib/locate

# Build in this order:
#make -C locate dblocation.texi &&
make

# Install
Expand Down
3 changes: 2 additions & 1 deletion doc/3-Chroot/067-Groff
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Final System: Groff
# Source: http://ftp.gnu.org/gnu/groff/groff-1.22.4.tar.gz
# This section is done in Chroot environment

#For users in the United States, PAGE=letter is appropriate. Elsewhere, PAGE=A4 may be more suitable.
#It can be overridden later by echoing either `A4` or `letter` to the `/etc/papersize` file.

# Configure
PAGE=<paper_size> ./configure --prefix=/usr

# Build and install
make -j1 && make install
3 changes: 2 additions & 1 deletion doc/3-Chroot/069-Less
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Final System: Less
# Source: http://www.greenwoodsoftware.com/less/less-551.tar.gz
# This section is done in Chroot environment

# Configure
./configure --prefix=/usr --sysconfdir=/etc &&

# Build and install
make && make install
1 change: 0 additions & 1 deletion doc/3-Chroot/070-Gzip
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: Gzip
# Source: http://ftp.gnu.org/gnu/gzip/gzip-1.10.tar.xz
# This section is done in Chroot environment

# Configure source
Expand Down
3 changes: 0 additions & 3 deletions doc/3-Chroot/072-KBD
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Final System: KBD
# Source: https://www.kernel.org/pub/linux/utils/kbd/kbd-2.3.0.tar.xz
# This section is done in Chroot environment

patch -Np1 -i ../patches/kbd-lfs/kbd-2.3.0-backspace-1.patch
Expand Down Expand Up @@ -40,8 +39,6 @@ autoreconf -fvi
sed -e '/^PKG_CHECK_MODULES.*/d' -i configure.ac
sed -e 's,tests ,,g' -i Makefile.am



# Configure
./configure --prefix=/usr --disable-vlock

Expand Down
10 changes: 8 additions & 2 deletions doc/3-Chroot/073-Libpipeline
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Final System: Libpipeline
# Source: http://download.savannah.gnu.org/releases/libpipeline/libpipeline-1.5.3.tar.gz
# This section is done in Chroot environment

./configure --prefix=/usr && make && make install
# Configure
./configure --prefix=/usr

# Build
make

# Install
make install
10 changes: 8 additions & 2 deletions doc/3-Chroot/074-Make
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Final System: Make
# Source: http://ftp.gnu.org/gnu/make/make-4.3.tar.bz2
# This section is done in Chroot environment

./configure --prefix=/usr && make && make install
# Configure
./configure --prefix=/usr

# Build
make

# Install
make install
Loading

0 comments on commit 48bdea3

Please sign in to comment.