Skip to content

Commit 48bdea3

Browse files
committed
Updated format: No longer show source URL for each package.
1 parent 6688215 commit 48bdea3

43 files changed

Lines changed: 108 additions & 75 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

doc/3-Chroot/014-File

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Final System: File 5.39
2-
# Source: ftp://ftp.astron.com/pub/file/file-5.39.tar.gz
1+
# Final System: File
32
# This section is done in Chroot environment
43

54
# Configure

doc/3-Chroot/017-Bc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Final System: Bc
2-
# Source: https://github.com/gavinhoward/bc/releases/download/3.1.5/bc-3.1.5.tar.xz
32
# This section is done in Chroot environment
43

54
# Configure source

doc/3-Chroot/018-Binutils

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
# Final System: Binutils
2-
# Source: http://ftp.gnu.org/gnu/binutils/binutils-2.35.tar.xz
32
# This section is done in Chroot environment
43

4+
# Apply patches from Alpine Linux;
5+
patch -Np1 -i ../patches/binutils-alpine/binutils-ld-fix-static-linking.patch
6+
patch -Np1 -i ../patches/binutils-alpine/binutils-mips-disable-assert.patch
7+
patch -Np1 -i ../patches/binutils-alpine/gold-mips.patch
8+
patch -Np1 -i ../patches/binutils-alpine/ld-bfd-mips.patch
9+
510
# Create build directory
611
mkdir -v build && cd build
712

813
case $(uname -m) in
914
x86_64) export EXTRA_CONFIG=" --enable-targets=x86_64-pep"
1015
;;
11-
i686) export EXTRA_CONFIG=" --enable-64-bit-bfd --enable-targets=x86_64-linux-gnu,x86_64-pep"
16+
i686) export EXTRA_CONFIG=" --disable-separate-code --enable-64-bit-bfd --enable-targets=x86_64-linux-gnu,x86_64-pep"
1217
;;
1318
esac
1419

@@ -24,9 +29,11 @@ esac
2429
--enable-lto \
2530
--disable-nls \
2631
--enable-deterministic-archives \
32+
--enable-default-hash-style=gnu \
2733
--enable-threads \
34+
--disable-multilib \
2835
--disable-compressed-debug-sections \
29-
--with-mmap $EXTRA_CONFIG
36+
--with-mmap $EXTRA_CONFIG
3037

3138
# Build
3239
make tooldir=/usr
@@ -46,6 +53,7 @@ make CFLAGS="$CFLAGS -fPIC -fvisibility=hidden" -C bfd-pic
4653
cp -a opcodes opcodes-pic
4754
make -C opcodes-pic clean
4855
make CFLAGS="$CFLAGS -fPIC" -C opcodes-pic
56+
install -v -m 644 opcodes-pic/libopcodes.a /usr/lib
4957

5058
# Install
5159
make tooldir=/usr install

doc/3-Chroot/019-GMP

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Final System: GMP 6.2.0
2-
# Source: http://ftp.gnu.org/gnu/gmp/gmp-6.2.0.tar.xz
1+
# Final System: GMP
32
# This section is done in Chroot environment
43

54
# By default, GMP configures to optimize for the
@@ -12,7 +11,7 @@
1211
./configure --prefix=/usr \
1312
--enable-cxx \
1413
--disable-static \
15-
--docdir=/usr/share/doc/gmp-6.2.0
14+
--docdir=/usr/share/doc/gmp-6.2.1
1615

1716
# Build
1817
make

doc/3-Chroot/020-MPFR

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Final System: MPFR 4.1.0
2-
# Souce: http://www.mpfr.org/mpfr-4.1.0/mpfr-4.1.0.tar.xz
1+
# Final System: MPFR
32
# This section is done in Chroot environment
43

54
# Configure source

doc/3-Chroot/021-MPC

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# Final System: MPC 1.1.0
2-
# Source: https://ftp.gnu.org/gnu/mpc/mpc-1.1.0.tar.gz
1+
# Final System: MPC
32
# This section is done in Chroot environment
43

54
# Configure source
65
./configure --prefix=/usr \
76
--disable-static \
8-
--docdir=/usr/share/doc/mpc-1.1.0
7+
--docdir=/usr/share/doc/mpc-1.2.1
98

109
# Build and install
1110
make && make install

doc/3-Chroot/022-Shadow

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Final System: Shadow
2-
# Source: https://github.com/shadow-maint/shadow/releases/download/4.8.1/shadow-4.8.1.tar.xz
32
# This section is done in Chroot environment
43

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

1514
# Configure source
16-
touch /usr/bin/passwd
17-
./configure --sysconfdir=/etc --with-group-name-max-length=32
15+
touch /usr/bin/passwd &&
16+
LIBS="-lutmps -lskarnet" \
17+
./configure --with-group-name-max-length=32 \
18+
--sysconfdir=/etc \
19+
--enable-utmpx
1820

1921
# Build, Install, and fix misplaced files
2022
make && make install

doc/3-Chroot/024-Bzip2

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# Final System: Bzip2
2-
# Source: http://anduin.linuxfromscratch.org/LFS/bzip2-1.0.8.tar.gz
32
# This section is done in Chroot environment
43

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

10+
# Freeytpe requires this flag set for bzip2
11+
export CFLAGS="-fPIC"
12+
1013
# Prepare the source
1114
make -f Makefile-libbz2_so
1215
make clean
@@ -20,3 +23,4 @@ rm -v /usr/bin/{bunzip2,bzcat,bzip2}
2023
ln -sv bzip2 /bin/bunzip2
2124
ln -sv bzip2 /bin/bzcat
2225

26+
unset CFLAGS

doc/3-Chroot/026-Ncurses

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Final System: Ncurses
2-
# Source: http://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz
32
# This section is done in Chroot environment
43

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

1818
# Build and install
1919
make && make install

doc/3-Chroot/027-Attr

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
# Final System: Attr 2.4.48
2-
# Source: http://download.savannah.gnu.org/releases/attr/attr-2.4.48.tar.gz
1+
# Final System: Attr
32
# This section is done in Chroot environment
43

54
./configure --prefix=/usr \
65
--bindir=/bin \
76
--disable-static \
87
--sysconfdir=/etc \
9-
--docdir=/usr/share/doc/attr-2.4.48
8+
--docdir=/usr/share/doc/attr-2.5.1
109

1110
make && make install
1211

0 commit comments

Comments
 (0)