commit: 77f3dc047d101863f4c4bf859816f2e185bcb10f
parent 9a4fea8d44822a933554d0f46c9e5c9115453831
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 1 Aug 2024 04:31:18 +0200
bump to utils-std-5b03749
Notable changes:
* Most of the tests got migrated to tap.sh, avoiding extra dependencies
* No blobs being shipped in the testsuite
* cmd/install: support for -T option, long options
* cmd/date: -j and -r options, setting system date
* cmv/mv: copies directories entries when cross-filesystem
* lib/iso_parse: handles UTC offsets
* cmd/env: properly support long options
* cmd/sync: Add hook to fsync() and fdatasync()
* cmd/mktemp: new
Diffstat:
4 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/distfiles.SHA512SUM b/distfiles.SHA512SUM
@@ -67,7 +67,7 @@ ede1616d9892b2ca1fdb332a4329ac26f544321620cae1abc73bea13c79120599e7bc626296494ef
b932d4c4d05193a4c68370607234f3d77ce0fba93aadf6323529ad6aa56e51b38309c0d85870a040baac704eb30807a71e6510351e8893fbd2aa7b1265027ecc distfiles/tcc-libs-static-0.9.27_git20240117-r0.apk.x86
b89b489fbee7c19a21175ad61168d250856801175fa000261b35202312148ee8e7b6cb1994d042503ad36f2651ee1ba68c4f83d96051abb50fb4e0e5dbc78960 distfiles/tcc-libs-static-0.9.27_git20240117-r0.apk.x86_64
ccb62313eaf2fb149ba3a372ab6a0cccde2fc23e2193843f457b9ed181b832fddb34fe23b18ec3005aefb7d1137fcb440fb57462b9414734f3b1a90183d3db36 distfiles/tiny-curl-8.4.0.tar.gz
-8ca563852297abd1f444076e707aa1e40845ecbc082009c0bba1b46c0466d71ee2d7d437a6aabde40fc679f9af072f1a39158674a2044f14114d75116de85ce6 distfiles/utils-std-9f43909.tar.gz
+dd377009f160f45ec6ed7fb6406d713084078f547474c880908365213609d66438f51e914ece95018271de7f5ebdfbfee52e8e1fed356029820837fabfde0a54 distfiles/utils-std-5b03749.tar.gz
c32c32c95e3541b906e0284e66a953ace677e0ce6af2084e7b122600047bf7542c1b0fabb5909b19ff79fba6def530be674df1c675b22a47a8d57f3f0b736a82 distfiles/xz-5.6.2.tar.gz
e186a8fc01871414574fd5e90e8ce87a45bcf40aa0d7276bd90a301ee8c312be3a0adb580fc2c8b6653fbeeda1ce4dfdd078095a5fc77e70263e5e940414dc54 distfiles/yacc-oyacc-6.6.tar.gz
580677aad97093829090d4b605ac81c50327e74a6c2de0b85dd2e8525553f3ddde17556ea46f8f007f89e435493c9a20bc997d1ef1c1c2c23274528e3c46b94f distfiles/zlib-1.3.1.tar.gz
diff --git a/fetch.sh b/fetch.sh
@@ -1,6 +1,6 @@
#!/bin/sh
URLS="
- https://hacktivis.me/releases/utils-std/utils-std-9f43909.tar.gz
+ https://hacktivis.me/releases/utils-std/utils-std-5b03749.tar.gz
https://frippery.org/make/pdpmake-2.0.0.tgz
https://gitlab.com/bzip2/bzip2/-/archive/bzip2-1.0.8/bzip2-bzip2-1.0.8.tar.gz
https://zlib.net/zlib-1.3.1.tar.gz
diff --git a/init.sh b/init.sh
@@ -116,6 +116,7 @@ build_utils_std() {
MAKE=pdpmake loksh ./configure PREFIX=/usr M4=true || die
rm cmd/cat cmd/printf cmd/tr || die
pdpmake || die
+ ./selfcheck.sh || die
pdpmake install || die
pdpmake clean || die
diff --git a/make-root.sh b/make-root.sh
@@ -7,7 +7,7 @@ tarballs="
lolibc-f6e9da7.tar.gz
loksh-7.5.tar.gz
yacc-oyacc-6.6.tar.gz
- utils-std-9f43909.tar.gz
+ utils-std-5b03749.tar.gz
pdpmake-2.0.0.tgz
nawk-20240422.tar.gz
bzip2-bzip2-1.0.8.tar.gz
@@ -108,7 +108,7 @@ fi
deblob
-mkdir -p dev proc sys etc usr/bin || die "Failed creating base directories"
+mkdir -p dev proc sys etc usr/bin var/empty || die "Failed creating base directories"
ln -s /proc/mounts etc/mtab || die "Failed symlink for /etc/mtab"
ln -s bin sbin
ln -s usr/lib lib
@@ -116,8 +116,16 @@ ln -s usr/bin bin
ln -s usr/bin sbin
mkdir -m 777 tmp
-echo 'root:x:0:0:root:/root:/bin/sh' > etc/passwd
-echo 'root:x:0:root' > etc/group
+cat >etc/passwd <<EOF
+root:x:0:0:root:/root:/bin/sh
+nobody:x:65534:65534:nobody:/var/empty:/bin/false
+EOF
+
+cat >etc/group <<EOF
+root:x:0:root
+nobody:x:65534:
+nogroup:x:65533:
+EOF
for i in fd stderr stdin stdout; do
ln -fs proc/self/$i dev/$i