From: Sergey Matveev Date: Wed, 25 Mar 2026 11:43:53 +0000 (+0300) Subject: Bootstrap bsdtar X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3cd6c56d21154a5dd983164eee1cb08bfa6ca4ade36c7812ecfeb60eaebd9259;p=bass.git Bootstrap bsdtar --- diff --git a/build/distfiles/dl/.gitignore b/build/distfiles/dl/.gitignore index b56488e..38ac8ed 100644 --- a/build/distfiles/dl/.gitignore +++ b/build/distfiles/dl/.gitignore @@ -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 index 0000000..2fb3b03 --- /dev/null +++ b/build/distfiles/dl/cache/libarchive-3.8.6.tar.xz.asc @@ -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 index 0000000..913d62e --- /dev/null +++ b/build/distfiles/meta/libarchive-3.8.6.tar.xz.asc/size @@ -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 index 0000000..72e6653 --- /dev/null +++ b/build/distfiles/meta/libarchive-3.8.6.tar.xz.asc/urls @@ -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 index 0000000..5e47aa1 --- /dev/null +++ b/build/distfiles/meta/libarchive-3.8.6.tar.xz/hashes @@ -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 index 0000000..c653ff5 --- /dev/null +++ b/build/distfiles/meta/libarchive-3.8.6.tar.xz/size @@ -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 index 0000000..1d9cb65 --- /dev/null +++ b/build/distfiles/meta/libarchive-3.8.6.tar.xz/urls @@ -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 diff --git a/contrib/prepare-deps/README b/contrib/prepare-deps/README index 16ef9ed..409eb41 100644 --- a/contrib/prepare-deps/README +++ b/contrib/prepare-deps/README @@ -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 diff --git a/contrib/prepare-deps/link-from-distfiles b/contrib/prepare-deps/link-from-distfiles index b52c216..e0b57bc 100755 --- a/contrib/prepare-deps/link-from-distfiles +++ b/contrib/prepare-deps/link-from-distfiles @@ -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 index 0000000..510faa5 --- /dev/null +++ b/contrib/prepare-deps/steps/080-libarchive-3.8.6 @@ -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 index 0000000..df09ed2 --- /dev/null +++ b/contrib/prepare-deps/steps/080-libarchive-3.8.6.dl @@ -0,0 +1 @@ +dodl http://www.libarchive.org/downloads/$name 783c5768de2273493d3de377339a134929f412613e19468cee84c0f90301febe818f77252cd886d524e40b7df6356a239208d3ca58f595da0201bcb6030b1044