]> Sergey Matveev's repositories - bass.git/commitdiff
Bootstrap bsdtar
authorSergey Matveev <stargrave@stargrave.org>
Wed, 25 Mar 2026 11:43:53 +0000 (14:43 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 25 Mar 2026 11:43:53 +0000 (14:43 +0300)
build/distfiles/dl/.gitignore
build/distfiles/dl/cache/libarchive-3.8.6.tar.xz.asc [new file with mode: 0644]
build/distfiles/meta/libarchive-3.8.6.tar.xz.asc/size [new file with mode: 0644]
build/distfiles/meta/libarchive-3.8.6.tar.xz.asc/urls [new file with mode: 0644]
build/distfiles/meta/libarchive-3.8.6.tar.xz/hashes [new file with mode: 0644]
build/distfiles/meta/libarchive-3.8.6.tar.xz/size [new file with mode: 0644]
build/distfiles/meta/libarchive-3.8.6.tar.xz/urls [new file with mode: 0644]
contrib/prepare-deps/README
contrib/prepare-deps/link-from-distfiles
contrib/prepare-deps/steps/080-libarchive-3.8.6 [new file with mode: 0644]
contrib/prepare-deps/steps/080-libarchive-3.8.6.dl [new file with mode: 0644]

index b56488e3fffd0932651b5273da5cf1cbfe775a94dd5f7b8ae512308dbf970e75..38ac8ed5ecfcd78781cda6917673b9297648e68914358a3f4af7cb1449d864c9 100644 (file)
@@ -97,6 +97,7 @@
 /less-692.tar.gz
 /lftp-4.9.3.tar.xz
 /libao-1.2.0.tar.gz
+/libarchive-3.8.6.tar.xz
 /libargparse-81998ffafb9c2ac8cf488d31e536a2e6fd6b3fdf.tar.zst
 /libass-0.17.2.tar.xz
 /libassuan-3.0.2.tar.bz2
diff --git a/build/distfiles/dl/cache/libarchive-3.8.6.tar.xz.asc b/build/distfiles/dl/cache/libarchive-3.8.6.tar.xz.asc
new file mode 100644 (file)
index 0000000..2fb3b03
--- /dev/null
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCgAdFiEEZZyEwOI+ofqX4LWMwEC1CNY9KzYFAmmwCvQACgkQwEC1CNY9
+KzYVqhAAidROjbjXZ5+GuYDNw9PMjo1WGsgpHQjstk8Sp2ENsqDXTbZsATZwhldE
+r4Sr8+c1JXk6uHCo/bDGFWpRZeWbeCfkVCIIzSGM65SlbhjaFOF0uiYKYgBxLt5V
+SQKic1sv2s16ysmoiedqz7X8osD2+ZEG1tW/fRtpWZ6tAqxmEPblMhtWbBm46hF4
+3SQSU6PZbJp+y3HmPsvpZBIw5GfGofngsUPbJxTTeoTdySavaCJeVwAT25ERwpS7
+iB1yrtTI5nPeGSFVB4jAkgtQap/B/gb1MVtr6EBKxS0WrelxRYYwm2pFixMTSPBp
+RglUoZSsLchCVV7ux3SUBK8mMHIPgKNa6J1GS9hOe6u2UFNnSZ3pkrkLLWPstB3o
+i5rP5vRAv82QovgL/bpo6r2A+Iyrw+rUmfT9vEIF1sbu8ShODBWJHnOJho5vQ/t9
+LR3YCVH8V7e2LlDCwE7WK4+NPfaOcJ3tFrK3/L0cyJsnGVoqtXS4X9n3HfEr3T37
+ZbVOclIixUI5QE2PS+L3/wWAE7mjdHvJLctIxkQwCQGH8IkDs8EuO6k0rrM/WXHA
+PvXTOaWUUBk7+7oipXtbRvaoHVmfQyExgzDW/G2710mI1bHv2fmV6YPpg4LocdrN
+7n69aYcdyC8W4IjZejv9FdbsU/axnUsElYhLHy1Ltlu/lH9T6p0=
+=BD9W
+-----END PGP SIGNATURE-----
diff --git a/build/distfiles/meta/libarchive-3.8.6.tar.xz.asc/size b/build/distfiles/meta/libarchive-3.8.6.tar.xz.asc/size
new file mode 100644 (file)
index 0000000..913d62e
--- /dev/null
@@ -0,0 +1 @@
+833
diff --git a/build/distfiles/meta/libarchive-3.8.6.tar.xz.asc/urls b/build/distfiles/meta/libarchive-3.8.6.tar.xz.asc/urls
new file mode 100644 (file)
index 0000000..72e6653
--- /dev/null
@@ -0,0 +1 @@
+|xa|https://www.libarchive.org/downloads/libarchive-3.8.6.tar.xz.asc
diff --git a/build/distfiles/meta/libarchive-3.8.6.tar.xz/hashes b/build/distfiles/meta/libarchive-3.8.6.tar.xz/hashes
new file mode 100644 (file)
index 0000000..5e47aa1
--- /dev/null
@@ -0,0 +1,11 @@
+blake3-256 135c2c38b217c9e6bd40b47f39eb221782026bab8636b86e228e8feb06559e0e
+blake2b-512 456eb5b3bbb0e59ccbc34a9704c7bf1dd9f8cffc0075be546b5fbd66f1157651fbfe7298da8c17f80b2ef0420cfeaac971ff06b10ee9d372d4eb8b17f8497628
+blake2b-256 f63c781cb4a2fce666b80b89613b1fea8f985713bf73ecb09ee88bb4d117b4d7
+skein-512 6b256e40f2e2fbb3ad125e99742904e7bca085dd0d39737c8360a1e2619944bb345476257b8024590a3b66ae5108fac7e09cb73a680a931ea11a5fa70ba0c52c
+shake128 97c4cb5d31e91204c2d382678780b7ea9eb268eb9a000881cc1f772fae4d0de9
+shake256 07f5f290b32f06a56d55baaf9a2ad7b92e015ed495454451910c79594ddd89364ba81b5a81a8d5a90daa4b074d59d387889dbbfe9dc463f7dc0048aafc8bbb7b
+sha-512 783c5768de2273493d3de377339a134929f412613e19468cee84c0f90301febe818f77252cd886d524e40b7df6356a239208d3ca58f595da0201bcb6030b1044
+sha-256 8ac57c1f5e99550948d1fe755c806d26026e71827da228f36bef24527e372e6f
+streebog-512 0d34289b5004f6e2fe1357f96ac213dfe892c35640a69f60bacbcd530401f5259966de0e97bba15a7b38b8ec8cea9ddf53f224082470df5ab5dd95f3a5fe0de6
+streebog-256 4d408bb632e95f6f8273e729aec563a50c0b2ea79a762feba3fa5a6298ec29ae
+xxh3-128 45258c032ca833cc68d0637fa213b8ec
diff --git a/build/distfiles/meta/libarchive-3.8.6.tar.xz/size b/build/distfiles/meta/libarchive-3.8.6.tar.xz/size
new file mode 100644 (file)
index 0000000..c653ff5
--- /dev/null
@@ -0,0 +1 @@
+6009400
diff --git a/build/distfiles/meta/libarchive-3.8.6.tar.xz/urls b/build/distfiles/meta/libarchive-3.8.6.tar.xz/urls
new file mode 100644 (file)
index 0000000..1d9cb65
--- /dev/null
@@ -0,0 +1,2 @@
+1|xa|http://www.libarchive.org/downloads/libarchive-3.8.6.tar.xz
+2|xa|https://www.libarchive.org/downloads/libarchive-3.8.6.tar.xz
index 16ef9ed806802a7120026f3874c316e2fe5c22a3b3da32a844dd99cfe957b801..409eb41f95f30c5ccee6d9c3c2a59e381f1cdb8d3c43992d6542bf3a67d5fa80 100644 (file)
@@ -2,11 +2,12 @@ Bunch of scripts for preparing the dependencies required for BASS.
 Make, C compiler are prerequired.
 
 There are various steps: Go compiler bootstrapping, zstd, goredo,
-meta4ra, detpax building. All those steps are optional in general.
-You may use different redo implementation. May use different fetcher
-and no deterministic archiver. All of that means no need in Go building
-at all, as no Go-written software will be used. Either touch $step.done
-in your state directory, or just remove unnecessary steps you want to skip.
+meta4ra, detpax, Perl, bsdtar building. All those steps are optional in
+general. You may use different redo implementation. May use different
+fetcher and no deterministic archiver. All of that means no need in Go
+building at all, as no Go-written software will be used. Either touch
+$step.done in your state directory, or just remove unnecessary steps you
+want to skip.
 
 * Create the state directory, where all your build artefacts will be built:
     $ mkdir state
index b52c216be2cdf8b0adbf8fa98dc87b4f1fe325de675fb7df90430d351ee6aa04..e0b57bca5f3666ae5c9339c1592a4c1463027e765cca9e39fd1a0dedea93f4f8 100755 (executable)
@@ -10,6 +10,7 @@ ln -f $ROOT/../../build/distfiles/dl/go1.23.5.tar.gz go1.23.5.src.tar.gz
 ln -f $ROOT/../../build/distfiles/dl/go1.25.6.tar.gz go1.25.6.src.tar.gz
 ln -f $ROOT/../../build/distfiles/dl/go1.26.1.tar.gz go1.26.1.src.tar.gz
 ln -f $ROOT/../../build/distfiles/dl/goredo-2.9.2.tar.zst
+ln -f $ROOT/../../build/distfiles/dl/libarchive-3.8.6.tar.xz
 ln -f $ROOT/../../build/distfiles/dl/meta4ra-2.1.0.tar.zst
 ln -f $ROOT/../../build/distfiles/dl/perl-5.42.1.tar.xz
 ln -f $ROOT/../../build/distfiles/dl/zstd-1.5.7.tar.gz
diff --git a/contrib/prepare-deps/steps/080-libarchive-3.8.6 b/contrib/prepare-deps/steps/080-libarchive-3.8.6
new file mode 100644 (file)
index 0000000..510faa5
--- /dev/null
@@ -0,0 +1,7 @@
+tar xf $DISTFILES/$name.tar.xz
+cd $name
+./configure --prefix=$DIR/local --enable-static --disable-shared
+make -j$(nproc) >&2
+mkdir -p $DIR/local/bin
+mv bsdtar $DIR/local/bin
+rm -r ../$name
diff --git a/contrib/prepare-deps/steps/080-libarchive-3.8.6.dl b/contrib/prepare-deps/steps/080-libarchive-3.8.6.dl
new file mode 100644 (file)
index 0000000..df09ed2
--- /dev/null
@@ -0,0 +1 @@
+dodl http://www.libarchive.org/downloads/$name 783c5768de2273493d3de377339a134929f412613e19468cee84c0f90301febe818f77252cd886d524e40b7df6356a239208d3ca58f595da0201bcb6030b1044