summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-chroot.sh18
-rw-r--r--sources.list2
2 files changed, 9 insertions, 11 deletions
diff --git a/build-chroot.sh b/build-chroot.sh
index fa9e18d..247c008 100755
--- a/build-chroot.sh
+++ b/build-chroot.sh
@@ -509,16 +509,14 @@ make -j $THREADS
make -j $THREADS install
cd ..
-# net-tools Build
-tar xf ../sources/net-tools-*.tar*
-cd net-tools-*/
-# NOTE: We are passing BASH=1 because the configure script apparently relies on
-# some bashism and zsh doesn't set this environment variable. Nobody tell
-# it that we aren't actually using bash. :) ~ahill
-# NOTE: zsh doesn't support set -h, so we'll just patch that out. ~ahill
-sed -i "s/set -f -h/set -f/" configure.sh
-BASH=1 make config
-make -j $THREADS
+# iproute2 Build
+tar xf ../sources/iproute2-*.tar*
+cd iproute2-*/
+./configure --color auto --include_dir /usr/include --libdir /lib
+# NOTE: It seems that iproute2's configuration script isn't compatible with
+# musl, which means we need to manually define HAVE_HANDLE_AT and
+# HAVE_SETNS to make it work properly. ~ahill
+CFLAGS="$(CFLAGS) -DHAVE_HANDLE_AT -DHAVE_SETNS" make -j $THREADS CC=clang
make -j $THREADS install
cd ..
diff --git a/sources.list b/sources.list
index 3da024c..5b70522 100644
--- a/sources.list
+++ b/sources.list
@@ -15,6 +15,7 @@ f8c3486509de705192138b00ef2c00bbbdd0e84c30d5c07d23fc73a9dc4cc9cc,https://ftp.gnu
1bfeeafc78036e78c7b422219473987a6fa79bfdc1da673fcf20e4901399e09f,https://git.kernel.org/pub/scm/git/git.git/snapshot/git-2.49.0.tar.gz,
2649b27c0e90e632eadcd757be06c6e9a4f48d941de51e7c0f83ff76408a07b9,https://ftp.gnu.org/gnu/grep/grep-3.12.tar.xz,
01a7b881bd220bfdf615f97b8718f80bdfd3f6add385b993dcf6efd14e8c0ac6,https://ftp.gnu.org/gnu/gzip/gzip-1.14.tar.xz,
+96aa279cd044098daf715f691f4a3891f44221e9d3d844084dadfee01e42142f,https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/snapshot/iproute2-6.14.0.tar.gz,
f167d899d92b56ccf12f6f49355173f93870a95f15d8aeebf5fdcd28a621aca8,https://www.kernel.org/pub/linux/utils/kbd/kbd-2.7.1.tar.xz,
d1dfcf19b58133b6f39917e6e9560e33b73d9308282750d31501870c24f22c53,https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/snapshot/kmod-34.2.tar.gz,
ed8b5732e4cd6e30fae909fb945cad8ff9cb7be5c6cdaa3944ec96e4a200c04c,https://libarchive.org/downloads/libarchive-3.7.9.tar.xz,
@@ -35,7 +36,6 @@ a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4,https://musl.li
5ad29222bbd55624d87ea677928b3106a743114d6c6f9b41f36c97be2a8e628d,https://www.nano-editor.org/dist/v8/nano-8.4.tar.xz,
1412a1c760bbd05db026b6c0d1657affd6631cd0a63cddb6f73cc6d4aa616148,https://www.nasm.us/pub/nasm/releasebuilds/2.16.03/nasm-2.16.03.tar.xz,
97fc51ac2b085d4cde31ef4d2c3122c21abc217e9090a43a30fc5ec21684e059,https://invisible-island.net/datafiles/release/ncurses.tar.gz,ncurses-6.3.tar.gz
-b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69,https://versaweb.dl.sourceforge.net/project/net-tools/net-tools-2.10.tar.xz,
a56bfc25c86620c6d04ee3037fbeb7f3cc508f6d0040ca006dea34b8ad2696e9,https://github.com/OpenRC/openrc/archive/refs/tags/0.61.tar.gz,openrc-0.61.tar.gz
02f8c45bb379ed0c3de7514fad48c714fd46be8f0b536bfd5320050165a1ee26,https://www.cpan.org/src/5.0/perl-5.40.1.tar.gz,
51203d99ed573fa7344bf07ca626f10c7cc094e0846ac4aa0023bd0c83c25a41,https://distfiles.ariadne.space/pkgconf/pkgconf-2.4.3.tar.xz,