diff options
Diffstat (limited to 'app-arch')
28 files changed, 402 insertions, 941 deletions
diff --git a/app-arch/7zip/7zip-24.05.ebuild b/app-arch/7zip/7zip-24.05.ebuild new file mode 100644 index 000000000000..4393a0da0302 --- /dev/null +++ b/app-arch/7zip/7zip-24.05.ebuild @@ -0,0 +1,109 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edos2unix flag-o-matic toolchain-funcs + +NO_DOT_PV=$(ver_rs 1- '') +DESCRIPTION="Free file archiver for extremely high compression" +HOMEPAGE="https://www.7-zip.org/ https://sourceforge.net/projects/sevenzip/" +# linux-x64 tarball is only used for docs +SRC_URI=" + https://downloads.sourceforge.net/sevenzip/7-Zip/${PV}/7z${NO_DOT_PV}-src.tar.xz + https://downloads.sourceforge.net/sevenzip/7-Zip/${PV}/7z${NO_DOT_PV}-linux-x64.tar.xz +" +S="${WORKDIR}" + +LICENSE="LGPL-2 BSD rar? ( unRAR )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="uasm jwasm rar" +REQUIRED_USE="?? ( uasm jwasm )" + +DOCS=( readme.txt History.txt License.txt ) +HTML_DOCS=( MANUAL ) + +DEPEND="${RDEPEND}" +BDEPEND=" + uasm? ( dev-lang/uasm ) + jwasm? ( dev-lang/jwasm ) +" + +PATCHES=( + "${FILESDIR}/${P}-respect-build-env.patch" +) + +# TODO(NRK): also build and install the library +# TODO(NRK): make it so this package can be used as a drop-in replacement +# for app-arch/p7zip ?? + +pkg_setup() { + # instructions in DOC/readme.txt, Compiling 7-Zip for Unix/Linux + # TLDR; every combination of options (clang|gcc)+(asm/noasm) + # has a dedicated makefile & builddir + mfile="cmpl" + if tc-is-clang; then + mfile="${mfile}_clang" + bdir=c + elif tc-is-gcc; then + mfile="${mfile}_gcc" + bdir=g + else + die "Unsupported compiler: $(tc-getCC)" + fi + if use jwasm || use uasm ; then + mfile="${mfile}_x64" + bdir="${bdir}_x64" + fi + export mfile="${mfile}.mak" + export bdir +} + +src_prepare() { + # patch doesn't deal with CRLF even if file+patch match + # not even with --ignore-whitespace, --binary or --force + pushd "./CPP/7zip" || die "Unable to switch directory" + edos2unix ./7zip_gcc.mak ./var_gcc{,_x64}.mak ./var_clang{,_x64}.mak + sed -i -e 's/-Werror //g' ./7zip_gcc.mak || die "Error removing -Werror" + popd >/dev/null || die "Unable to switch directory" + + default +} + +src_compile() { + pushd "./CPP/7zip/Bundles/Alone2" || die "Unable to switch directory" + + # avoid executable stack when using uasm/jwasm, harmless otherwise + append-ldflags -Wl,-z,noexecstack + export G_CFLAGS=${CFLAGS} + export G_CXXFLAGS=${CXXFLAGS} + export G_LDFLAGS=${LDFLAGS} + + local args=( + -f "../../${mfile}" + CC=$(tc-getCC) + CXX=$(tc-getCXX) + ) + # NOTE: makefile doesn't check the value of DISABLE_RAR_COMPRESS, only + # whether it's defined or not. so in case user has `rar` enabled + # DISABLE_RAR_COMPRESS (and DISABLE_RAR) needs to stay undefined. + if ! use rar; then + # disables non-free rar code but allows listing and extracting + # non-compressed rar archives + args+=( DISABLE_RAR_COMPRESS=1 ) + fi + if use jwasm; then + args+=( USE_JWASM=1 ) + elif use uasm; then + args+=( MY_ASM=uasm ) + fi + + emake ${args[@]} + popd > /dev/null || die "Unable to switch directory" +} + +src_install() { + dobin "./CPP/7zip/Bundles/Alone2/b/${bdir}/7zz" + einstalldocs +} diff --git a/app-arch/7zip/Manifest b/app-arch/7zip/Manifest index 8ea5408195a2..f7ed1afcf431 100644 --- a/app-arch/7zip/Manifest +++ b/app-arch/7zip/Manifest @@ -1,5 +1,9 @@ AUX 7zip-23.01-respect-build-env.patch 1556 BLAKE2B fdc1993dbcdc1bac28420d82ae19906be1c9857b7e0822f87d8c40003c55182b42b2f6ebde17897c4e1b074fe518cd4dc8d1c09a7d96d8be599aed5d2d506c91 SHA512 52dc54e980a729291fcadd097c6291fe33183c81cc92e30b10f5ad9c3f7ae09d8b0d3fd483c766ed63fb977b71b28eec0a78b2d4c7c054f68bcb63b8ef57d69a +AUX 7zip-24.05-respect-build-env.patch 1428 BLAKE2B 00a6da925ca0236a423e1f82426ae81976358c30ba8b6d30b8af368aeb8e4271c443d3e401f7ea32ef6743b21c730f2ecaf78319e0bdf8c76d6a45baa8f9c1e3 SHA512 0aabff2930325553de08314bd161d2132f5c6fd3ed0363c37c961b04e16ae8b906053c0f8f9132c55760acf3ec1dbdb47f0677d618cf82d8ce8cfe6d52cb6e8d DIST 7z2301-linux-x64.tar.xz 1527700 BLAKE2B 35dc74f0a7a4e586ea5ae969dce72c14e0231822630d2d70f24e1c911cea0492354a258ef65096a6ce0da1510117c12466bc6cda577cdf9e8e74ede17e47f23e SHA512 d3549468de8fd161e4c9233fa0b170af1f28c74749d20f3d0eeb3873857f6c6d2cc0777d564e6a79be7cc21c9e982e10710a795320428dc51db809a8d0f9454e DIST 7z2301-src.tar.xz 1378588 BLAKE2B 348484b24b39db70e513fe50d79954ea0e2dd669f83e3601fa796c8f0ca4734132ca20fac8cda9b8ba550bad9146627fc0ae07056abb99028ef6d825b6a533bd SHA512 e39f660c023aa65e55388be225b5591fe2a5c9138693f3c9107e2eb4ce97fafde118d3375e01ada99d29de9633f56221b5b3d640c982178884670cd84c8aa986 +DIST 7z2405-linux-x64.tar.xz 1553872 BLAKE2B d6c0bd4eb81f4112bfe50bf6affc68021b03d059076af5519a41c8d471e978ad2b4acc8f67c650070f9d07c518741a0146579ddfb8d56fd125f6db0beece0990 SHA512 13f97236157e2761a0bf406b08fba13a1ecc6d5663fb38f8dfe3b87f3910ba34fd359d8b36bea5135319543f31ec1e210eb512ea9864d9b140c336b9e416c313 +DIST 7z2405-src.tar.xz 1486772 BLAKE2B 609c7ae8b89e56e747ebfecb25108d8918138f48f0f2ed73183c76101ddd3615aafb9eb7823be0de2a434b450587e01f476d2ed092628a311b6e4ed091e06260 SHA512 d340adfa68e818dd3d3aa411780c81532fa37b6649178b81ec3739725f83e0bc3c01744612b2d467f4d0c2cc984dd35488406d7baee185cf372acebd9c0123a7 EBUILD 7zip-23.01.ebuild 2887 BLAKE2B 8b30b8baa88bb0d0806b4547d4005a92dc6cc3a018e915fb2deafe014e103c943bbd7f744e6a7475d735eb715e97acc3f851104b59b96e27c291ab1b05cdd48b SHA512 29d37f7aff541638e6220f3f23d9c41e4a6bdbdcb79c23115efc0c44febf867b1f4eb558ea75966fa5e892293ddd18d1b85c5d6b8dda89f51e66988571669147 +EBUILD 7zip-24.05.ebuild 2887 BLAKE2B 8b30b8baa88bb0d0806b4547d4005a92dc6cc3a018e915fb2deafe014e103c943bbd7f744e6a7475d735eb715e97acc3f851104b59b96e27c291ab1b05cdd48b SHA512 29d37f7aff541638e6220f3f23d9c41e4a6bdbdcb79c23115efc0c44febf867b1f4eb558ea75966fa5e892293ddd18d1b85c5d6b8dda89f51e66988571669147 MISC metadata.xml 967 BLAKE2B 5b54d1cc757cdc63407a51587389f9db032ae141fd9e19423185fd457f50c469ceb53095b128d8c6cd751cf3f0a87703dd36ba5d048dbfe9bea0ccd2354168b2 SHA512 c8c53c995f4bb5982461fa16dd50193f48c59aa15076bd78e38ccc4f0abf2190bf2b143df50e1c7911bd7814bd2ecb34892ee818b328764a9ff4ab2429718d37 diff --git a/app-arch/7zip/files/7zip-24.05-respect-build-env.patch b/app-arch/7zip/files/7zip-24.05-respect-build-env.patch new file mode 100644 index 000000000000..d16b22bf1d4e --- /dev/null +++ b/app-arch/7zip/files/7zip-24.05-respect-build-env.patch @@ -0,0 +1,52 @@ +Respect build environment settings + +Bug: https://bugs.gentoo.org/913186 +Bug: https://bugs.gentoo.org/913188 +Bug: https://bugs.gentoo.org/913189 + + +--- a/CPP/7zip/7zip_gcc.mak ++++ b/CPP/7zip/7zip_gcc.mak +@@ -45,7 +45,6 @@ + else + CFLAGS_DEBUG = -DNDEBUG + ifneq ($(CC), $(CROSS_COMPILE)clang) +-LFLAGS_STRIP = -s + endif + endif + +@@ -104,14 +103,14 @@ + LDFLAGS = -shared -DEF $(DEF_FILE) $(LDFLAGS_STATIC) + else + SHARED_EXT=.so +-LDFLAGS = -shared -fPIC $(LDFLAGS_STATIC) ++LDFLAGS = -shared -fPIC $(G_LDFLAGS) $(LDFLAGS_STATIC) + CC_SHARED=-fPIC + endif + + + else + +-LDFLAGS = $(LDFLAGS_STATIC) ++LDFLAGS = $(G_LDFLAGS) $(LDFLAGS_STATIC) + # -z force-bti + # -s is not required for clang, do we need it for GCC ??? + +@@ -169,7 +168,7 @@ + + + +-CFLAGS = $(MY_ARCH_2) $(LOCAL_FLAGS) $(CFLAGS_BASE2) $(CFLAGS_BASE) $(FLAGS_FLTO) $(CC_SHARED) -o $@ ++CFLAGS = $(MY_ARCH_2) $(LOCAL_FLAGS) $(CFLAGS_BASE2) $(CFLAGS_BASE) $(FLAGS_FLTO) $(CC_SHARED) $(G_CFLAGS) -o $@ + + + ifdef IS_MINGW +@@ -210,7 +209,7 @@ + #-Wno-invalid-offsetof + #-Wno-reorder + +-CXXFLAGS = $(MY_ARCH_2) $(LOCAL_FLAGS) $(CXXFLAGS_BASE2) $(CFLAGS_BASE) $(FLAGS_FLTO) $(CXXFLAGS_EXTRA) $(CC_SHARED) $(CXX_WARN_FLAGS) $(CXX_STD_FLAGS) $(CXX_INCLUDE_FLAGS) -o $@ ++CXXFLAGS = $(MY_ARCH_2) $(LOCAL_FLAGS) $(CXXFLAGS_BASE2) $(CFLAGS_BASE) $(FLAGS_FLTO) $(CXXFLAGS_EXTRA) $(CC_SHARED) $(CXX_WARN_FLAGS) $(CXX_STD_FLAGS) $(CXX_INCLUDE_FLAGS) $(G_CXXFLAGS) -o $@ + + STATIC_TARGET= + ifdef COMPL_STATIC diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz Binary files differindex 86fb9d52d3d4..6b34699c054c 100644 --- a/app-arch/Manifest.gz +++ b/app-arch/Manifest.gz diff --git a/app-arch/bzip2/Manifest b/app-arch/bzip2/Manifest index a8ff1221799c..fd9b4f42c736 100644 --- a/app-arch/bzip2/Manifest +++ b/app-arch/bzip2/Manifest @@ -7,7 +7,6 @@ AUX bzip2-1.0.8-out-of-tree-build.patch 1997 BLAKE2B 87791ad7b5c702110a7a45bb4a0 AUX bzip2-1.0.8-saneso.patch 463 BLAKE2B 83c5a905dbb3dd6481abe7ad7f57f9ce5c5cac8ababee2b5ff0221965f1ee6675c4060cec841dcf4370018a7fc6376cced900c6410eca96579962d52fd07563d SHA512 19d1a721680e4113c3b3267af74fa5a7ec5947c6630946c60ac5cf165476d9e7c2229e0cb099029dc9f5708b5ba15864f84af198940709144b65dbd2cd3a76a8 DIST bzip2-1.0.8.tar.gz 810029 BLAKE2B 22ab3acd84f4db8c3d6f59340c252faedfd4447cea00dafbd652e65b6cf8a20adf6835c22e58563004cfafdb15348c924996230b4b23cae42da5e25eeac4bdad SHA512 083f5e675d73f3233c7930ebe20425a533feedeaaa9d8cc86831312a6581cefbe6ed0d08d2fa89be81082f2a5abdabca8b3c080bf97218a1bd59dc118a30b9f3 DIST bzip2-1.0.8.tar.gz.sig 310 BLAKE2B 0d702dcb19f7738da9f05ee9d719f5cd3653540365e78db143404e599ea54bc6f9d5e6a38cdf5cdd3c6550243d34266343467c6b1db9d5d3c134f9353b00f395 SHA512 4a4a3fa0ec1c10a704b9870e8e629fd007cca55184423c6bfc3049a702fb41e4aeb73bfe9ca7442c27d32d278f1f34f27523a6be67d35b37896acdded12bf40d -EBUILD bzip2-1.0.8-r4.ebuild 3551 BLAKE2B faa39850794cf91b33067cb90ea0c9113d65b01610f8a9025bd9018a221d9ecc5ea32d3f42c66b01e52ba131dedec34b78c7eba198108e63da9f5fde22f4c351 SHA512 a655dd1c0bdbbbea98a88cf3d235b08a7b3b47bc527858443a9a3024a58a5e5f4acab440f53f36bdc2c3d9827de2ad4b4f42606604b4ca36eb9208c2d482ec5c EBUILD bzip2-1.0.8-r5.ebuild 3511 BLAKE2B 406daa92ae16bd8ee10185f84fe154815717bc7b16b6dca0dc0e7d36b31ddfa8d563e01c2692ca7f5b5d6cb07afc4fd50e0f77d5512d596acf6e8786f0333751 SHA512 e01bcf2ca47dddbbbed0a8c12b150165e54b98b8eae3d88d965c6250ed2718432e63c3df3d975367d3637ee66e36aaad3771f58bdd5ac77ee3392737ff7a7cf7 EBUILD bzip2-9999.ebuild 1382 BLAKE2B 03246514a2ea9a7123145072068f0b3ca0092d8d87a769ef4b01966e77d79029203a1fb8b4692d1024cf9727b596231f1926b77b978e509d23ecf3d012b19d8b SHA512 5c4a20ea3691e4641e3db5b79f9f65e554f893dacafa980e2beb62f790a6c104d4b39586b9a6e81e4b34abead9045df114182321445cd86ebcbd15235f97e774 MISC metadata.xml 384 BLAKE2B e74083bed23efd0279d23ea4f9fc048a9a0c253d48757f74a6c0044f5ca6a6b4cb86908db25d42f304b72a8dbf4c3627371ad6ab69aeab9267e8eb21c2053898 SHA512 c358db6bdaabfa401452ceaa8f85298b75ae00e5f7f189768741b4c74ed123be79405c03c7b94707db29b7d60710c441d089c10fa511262ad5a88cd106fb54f4 diff --git a/app-arch/bzip2/bzip2-1.0.8-r4.ebuild b/app-arch/bzip2/bzip2-1.0.8-r4.ebuild deleted file mode 100644 index c90c3005af92..000000000000 --- a/app-arch/bzip2/bzip2-1.0.8-r4.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# XXX: atm, libbz2.a is always PIC :(, so it is always built quickly -# (since we're building shared libs) ... - -EAPI=7 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bzip2.gpg -inherit toolchain-funcs multilib multilib-minimal usr-ldscript verify-sig - -DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux" -HOMEPAGE="https://sourceware.org/bzip2/" -SRC_URI="https://sourceware.org/pub/${PN}/${P}.tar.gz" -SRC_URI+=" verify-sig? ( https://sourceware.org/pub/${PN}/${P}.tar.gz.sig )" - -LICENSE="BZIP2" -SLOT="0/1" # subslot = SONAME -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos" -IUSE="static static-libs" - -BDEPEND=" - verify-sig? ( sec-keys/openpgp-keys-bzip2 ) -" -PDEPEND=" - app-alternatives/bzip2 -" - -PATCHES=( - "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch - "${FILESDIR}"/${PN}-1.0.8-saneso.patch - "${FILESDIR}"/${PN}-1.0.4-man-links.patch #172986 - "${FILESDIR}"/${PN}-1.0.6-progress.patch - "${FILESDIR}"/${PN}-1.0.3-no-test.patch - "${FILESDIR}"/${PN}-1.0.8-mingw.patch #393573 - "${FILESDIR}"/${PN}-1.0.8-out-of-tree-build.patch -) - -DOCS=( CHANGES README{,.COMPILATION.PROBLEMS,.XML.STUFF} manual.pdf ) -HTML_DOCS=( manual.html ) - -src_prepare() { - default - - # - Use right man path - # - Generate symlinks instead of hardlinks - # - pass custom variables to control libdir - sed -i \ - -e 's:\$(PREFIX)/man:\$(PREFIX)/share/man:g' \ - -e 's:ln -s -f $(PREFIX)/bin/:ln -s -f :' \ - -e 's:$(PREFIX)/lib:$(PREFIX)/$(LIBDIR):g' \ - Makefile || die -} - -bemake() { - emake \ - VPATH="${S}" \ - CC="$(tc-getCC)" \ - AR="$(tc-getAR)" \ - RANLIB="$(tc-getRANLIB)" \ - "$@" -} - -multilib_src_compile() { - bemake -f "${S}"/Makefile-libbz2_so all - # Make sure we link against the shared lib #504648 - ln -s libbz2.so.${PV} libbz2.so || die - bemake -f "${S}"/Makefile all LDFLAGS="${LDFLAGS} $(usex static -static '')" -} - -multilib_src_test() { - cp "${S}"/sample* "${BUILD_DIR}" || die - bemake -f "${S}"/Makefile check -} - -multilib_src_install() { - into /usr - - # Install the shared lib manually. We install: - # .x.x.x - standard shared lib behavior - # .x.x - SONAME some distros use #338321 - # .x - SONAME Gentoo uses - dolib.so libbz2.so.${PV} - local v - for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do - dosym libbz2.so.${PV} /usr/$(get_libdir)/${v} - done - - use static-libs && dolib.a libbz2.a - - if multilib_is_native_abi ; then - gen_usr_ldscript -a bz2 - - dobin bzip2recover$(get_exeext) - into / - newbin bzip2$(get_exeext) bzip2-reference$(get_exeext) - fi -} - -multilib_src_install_all() { - # `make install` doesn't cope with out-of-tree builds, nor with - # installing just non-binaries, so handle things ourselves. - insinto /usr/include - doins bzlib.h - into /usr - dobin bz{diff,grep,more} - doman bz{diff,grep,more}.1 - newman bzip2.1 bzip2-reference.1 - - dosym bzdiff /usr/bin/bzcmp - dosym bzdiff.1 /usr/share/man/man1/bzcmp.1 - - dosym bzmore /usr/bin/bzless - dosym bzmore.1 /usr/share/man/man1/bzless.1 - - dosym bzip2-reference.1 /usr/share/man/man1/bzip2recover.1 - local x - for x in bz{e,f}grep ; do - dosym bzgrep /usr/bin/${x} - dosym bzgrep.1 /usr/share/man/man1/${x}.1 - done - - einstalldocs -} - -pkg_postinst() { - # ensure to preserve the symlinks before app-alternatives/bzip2 - # is installed - local x - for x in bzip2 bunzip2 bzcat; do - if [[ ! -h ${EROOT}/bin/${x} ]]; then - ln -s bzip2-reference$(get_exeext) "${EROOT}/bin/${x}$(get_exeext)" || die - fi - done -} diff --git a/app-arch/cfv/Manifest b/app-arch/cfv/Manifest index 8a13c34c6750..9c504c26a9ce 100644 --- a/app-arch/cfv/Manifest +++ b/app-arch/cfv/Manifest @@ -1,3 +1,5 @@ +AUX cfv-3.0.0-fix-removed-assertequal.patch 1685 BLAKE2B 57448c6fe9ea46de5bb21ddfa58ee89e562cd8aed414e85a9195be5c9eb6cb089c9dd7a6d25d42cf522eae29a357718d78ebcdf21e17deb53d353dfab7b8a2b9 SHA512 82c843e4df3bc16dd59c08a937a7118b528aa44d0b5efcd69a6732c4ab3111d71c1a811e26045599fcc937376a16acd1d40b73aea23a55bb56297d1482f3adcf +AUX cfv-3.0.0-fix-removed-imp.patch 1463 BLAKE2B 25b960a6df1e03b4397759d85078408ef7c38e3c80b41de1f4c5e2939ee3b25c4b2541093ccb2b03a0fb53dbfa36862c3c669a2f175e54a243e8ce667d2a7476 SHA512 4fd662500afb205ba68868ef1ea1454a26f7aa4e68240c3e6b5be7abdee51871ab12f7eeca942115ff18bb6a18a341d60b9b84f90444bc18b46cb6209da688b7 DIST cfv-3.0.0.gh.tar.gz 91600 BLAKE2B 5a0d53a2b75973967ef976ce55d5262f71af97a8d7c64e8ea94ed9d66fd12778e10321e82bdbc4b8037df3f1a9c9c817694a7cd5e60615fc903127df9057b04f SHA512 9a44bf20f0a4f48a93631353d0b0ab79ea15d19f1da5492296dd4bd4e6208d3f0d71e957165e31d07b5faa7fc75122f0ae5ddbd8d54b9c6b633c43695b362640 -EBUILD cfv-3.0.0.ebuild 1205 BLAKE2B 10d049170b71bbe789a984caa8c449eb377385a2b1ef47290aef823386cde688434ecafe25f7c4812666713ca882605b8f82ec2e280f693c33a55ea5749a5576 SHA512 5e59aedfc6c4573c1a7569c43ed9b5c857016236100a825fcb90cf733c1eb58de6ac5e3dafa7f4ac50d44924805ca1b53524c06a58e91453b48f511b07e7cd6e +EBUILD cfv-3.0.0.ebuild 1463 BLAKE2B a27a1762e136a740a9aeda75b69ee3d009daacd5391d4d54642c16c15cb9776d5c4cbfe104242b0e9bb956c5ce4436cca1b7c87ec36ee110dca308d45e447fcb SHA512 4b18f197ca3e7039daf8befd4c3af1887c18d52de5f9ef2dc2dde7cb521517a5cb06847e5cb14207160069f11d84b615787fa60895a963a3a257051526fe6853 MISC metadata.xml 752 BLAKE2B ad109bc840ed5d4b581fa93ed023eb489b2e410d6cfef41756680ae64c6ffb2a1ee4e8a979909d7584844bb8639d26374c00840864ffe380f0446226ab45f63f SHA512 6803dc7d2b3d65cf1586d6d4153280f2f672aa4be914ab80bd693a64282102a3bc59ad213b39830b7421f1764f912920e96cd975cc1929d1878452c87f12ba88 diff --git a/app-arch/cfv/cfv-3.0.0.ebuild b/app-arch/cfv/cfv-3.0.0.ebuild index 02f12d0e670c..239956198afc 100644 --- a/app-arch/cfv/cfv-3.0.0.ebuild +++ b/app-arch/cfv/cfv-3.0.0.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools # Tests fail with pypy3 as of PyPy 7.3.9 / Python 3.9.12 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 optfeature @@ -26,6 +26,13 @@ BDEPEND=" ) " +PATCHES=( + # Backported from https://github.com/cfv-project/cfv/commit/5259bcbe3434c6974f7a65cc435dd0b4cfc3f864 + "${FILESDIR}/${P}-fix-removed-assertequal.patch" + # See https://github.com/cfv-project/cfv/pull/53 + "${FILESDIR}/${P}-fix-removed-imp.patch" +) + python_prepare_all() { # Remove upstream's attempt to install the man page sed -i '/\sdata_files=/d' setup.py || die diff --git a/app-arch/cfv/files/cfv-3.0.0-fix-removed-assertequal.patch b/app-arch/cfv/files/cfv-3.0.0-fix-removed-assertequal.patch new file mode 100644 index 000000000000..aa7820d03a92 --- /dev/null +++ b/app-arch/cfv/files/cfv-3.0.0-fix-removed-assertequal.patch @@ -0,0 +1,39 @@ +commit 5259bcbe3434c6974f7a65cc435dd0b4cfc3f864 +Author: Louis Sautier <sautier.louis@gmail.com> +Date: Tue Nov 1 15:48:21 2022 +0100 + + tests: use assertEqual instead of assertEquals + + The latter is deprecated and causes warnings when running tests. + +--- a/test/test_caching.py ++++ b/test/test_caching.py +@@ -136,18 +136,18 @@ class RelPathKeyTest(RelTestCase): + self.mkfile('aAaA/Aaa2', '2') + self.mkfile('aAaA/AAa2', '3') + +- self.assertEquals(a1, cache.nocase_findfile(self.mkpath('aaAA/aaa1'))) ++ self.assertEqual(a1, cache.nocase_findfile(self.mkpath('aaAA/aaa1'))) + with self.assertRaises(IOError) as cm: + cache.nocase_findfile(self.mkpath('aaAb/aaa1')) +- self.assertEquals(errno.ENOENT, cm.exception.errno) ++ self.assertEqual(errno.ENOENT, cm.exception.errno) + + with self.assertRaises(IOError) as cm: + cache.nocase_findfile(self.mkpath('aaAA/aab1')) +- self.assertEquals(errno.ENOENT, cm.exception.errno) ++ self.assertEqual(errno.ENOENT, cm.exception.errno) + + with self.assertRaises(IOError) as cm: + cache.nocase_findfile(self.mkpath('aaAA/aaa2')) +- self.assertEquals(errno.EEXIST, cm.exception.errno) ++ self.assertEqual(errno.EEXIST, cm.exception.errno) + + def test_nocase_findfile_parent(self): + cache = FileInfoCache() +@@ -159,4 +159,4 @@ class RelPathKeyTest(RelTestCase): + # one. + with self.assertRaises(IOError) as cm: + cache.nocase_findfile(self.mkpath('aaAA/aaa2')) +- self.assertEquals(errno.EEXIST, cm.exception.errno) ++ self.assertEqual(errno.EEXIST, cm.exception.errno) diff --git a/app-arch/cfv/files/cfv-3.0.0-fix-removed-imp.patch b/app-arch/cfv/files/cfv-3.0.0-fix-removed-imp.patch new file mode 100644 index 000000000000..d4fa6e9aeb29 --- /dev/null +++ b/app-arch/cfv/files/cfv-3.0.0-fix-removed-imp.patch @@ -0,0 +1,39 @@ +commit ecf720058f63930d53075584a59cf42e035347eb +Author: Louis Sautier <sautier.louis@gmail.com> +Date: Sun May 12 15:44:26 2024 +0200 + + Fix tests for Python 3.12: remove "imp", fixes #21, #44 + + The "imp" module was removed in Python 3.12. + The replacement functions were added in Python 3.5, see + https://docs.python.org/3/library/importlib.html#importlib.util.spec_from_file_location + https://docs.python.org/3/library/importlib.html#importlib.util.module_from_spec + +--- a/test/cfvtest.py ++++ b/test/cfvtest.py +@@ -23,8 +23,8 @@ from builtins import map + from builtins import object + + import fnmatch +-import imp + import importlib ++import importlib.util + import os + import shlex + import sys +@@ -201,8 +201,14 @@ def setcfv(fn=None, internal=None): + cfv_compiled = compile(_cfv_code, cfvfn, 'exec') + + with open(cfvfn, 'rt') as f: ++ # For spec_from_file_location to accept a file without the .py suffix ("cfv") ++ importlib.machinery.SOURCE_SUFFIXES.append('') ++ spec = importlib.util.spec_from_file_location('cfvwrapper', cfvfn) ++ module = importlib.util.module_from_spec(spec) + # This is so that the sys.path modification of the wrapper (if it has one) will be executed.. +- imp.load_source('cfvwrapper', cfvfn, f) ++ spec.loader.exec_module(module) ++ # Restore SOURCE_SUFFIXES to its default value ++ importlib.machinery.SOURCE_SUFFIXES.pop() + + get_version_flags() + diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest index 7c1d02b672fc..3efbe3e4fc88 100644 --- a/app-arch/dpkg/Manifest +++ b/app-arch/dpkg/Manifest @@ -14,7 +14,7 @@ EBUILD dpkg-1.20.12-r1.ebuild 2150 BLAKE2B 2be4aeb76172e2b556258cc32d5adb7d62831 EBUILD dpkg-1.20.9-r1.ebuild 2045 BLAKE2B 555da7a29f194a5d8f04d13f2a778f25c594d5abad48003306c94599f7276dce3b6b4641215a0fbfde30e9f26bd34f948a56e96e4cc3832f8e88eec62b1da6eb SHA512 d9185d019aafd0d4d4de183b57461f611eddf4295b4d4dbccb6cf45dd35dba9ca407b085bee5a803f7eca23044256fd19e58e0d878afb6238fc517bb93469049 EBUILD dpkg-1.21.1.ebuild 1996 BLAKE2B a69947de02e76dd19b41ed90bedfbb36a0daeeef1e3b90eb8fa5541e8d62d1d4e8064379ae3807ff3156911bb918fd871e8efad0f5940ac22f62dbbe3ba30329 SHA512 44f90a6d9e6f953f732686709c6cba360c989c6a41471df5d88ca434c6850fb7ff50c5cf2192ff8c21c05f75f63330a7ee314b6dd6095a36dd50d7275960bb9f EBUILD dpkg-1.21.15-r2.ebuild 2410 BLAKE2B 9161874af4cf244fadb2ec45947fe4b4f85581ce452f8b201c20bb51d257e876021524b356c362239c995012b02449db0cc328c593c5bb3659034726c7791530 SHA512 3a4bbfddf910e6b50b638261bb097164c6129e8ee88176821a2a225ad4cd6f095524e8f0bcadfb2f8b3bbec39ae06e2ea508e543432d43b44343a5b7bd416172 -EBUILD dpkg-1.21.15-r3.ebuild 2453 BLAKE2B 7fddcd029301dea735fc0928a8b791031889a93a1d283ead0d89c300e4634c80f374bc6346cf2dde5a113a889e91dcb6eb9b570b546fad277663a40afc9a5388 SHA512 e87c81a466bceedbe92d5c01edf5cd1afed92169b23680b2314e180e66774fd2d1cf6010de23f197f1eabfb97519d5a0143d6e9ba08698361d5e32ae372ed71c +EBUILD dpkg-1.21.15-r3.ebuild 2447 BLAKE2B e1efe9f0834ebe02a67b9adc24700d3e7327aaa332e85ffeeac0d56b46cc874927605d83b24c827201b6cb0a2b962c166d668185fef8b5dfca72b2bd58c82d5c SHA512 edd4d491f70b4f15c6a4b89a25749320c95f48f2d6a064cdd7d7a3c6f86edbc46cd6585e336f5bd2c8f4f5b7e890a400dd64a7121c595f9a42d29bce5355cc73 EBUILD dpkg-1.21.19-r1.ebuild 2474 BLAKE2B 64962a40f89d7ecb952a8a9271a07fed4b863fa582861510c31fd0d4efbecb15b699aaf39e6670d5e7ec545ac21f417b8d6184aa0c8f8613b967cf8a45eb5e29 SHA512 e18bf07bbc42e050b6bc8a628834939a48992b3fcfb2afcf4c100c17258f98754a7634efb251de5c1545eb67524abb0e1996a7188b15e138b9490ff1718a9a21 EBUILD dpkg-1.21.19.ebuild 2431 BLAKE2B dd9c2a649a121ff4f8e01f2bd0d90071061a05cf57044f313a0f729e9bcd5e2f398a76df0a432c9388d8429fbb3d1a18e57fc2af8cdc9d4c940da5ba9c6f61fd SHA512 cafacf23d15431b1ce3ccfe266f3ba9e573894a2bcddccfb80f48da174a9adc77640a22ed6fca89f3692047a1f0a31a0ef39bbdfd920eb70011cfee051808884 MISC metadata.xml 349 BLAKE2B e311693432d6511d85a67b510821e683e0f2df05a8d73fd3086b15296cf6cc5771965b5731dd6fb5ed7d0f71843b278b7d9f81a1228f637803cf2e073ac6a563 SHA512 7a4cc7a8c40dd6a52f8efbb454439f025e873b9c4583a4ce9d9233530747b423dcec65e02222c92a0e570c4fc87b1ca330bc2bbb121077d96f94eeff531838a0 diff --git a/app-arch/dpkg/dpkg-1.21.15-r3.ebuild b/app-arch/dpkg/dpkg-1.21.15-r3.ebuild index 5c90c53eb9bd..f0ece9c5ab6a 100644 --- a/app-arch/dpkg/dpkg-1.21.15-r3.ebuild +++ b/app-arch/dpkg/dpkg-1.21.15-r3.ebuild @@ -10,7 +10,7 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="+bzip2 +lzma nls selinux static-libs test +update-alternatives +zlib" RESTRICT="!test? ( test )" diff --git a/app-arch/file-roller/Manifest b/app-arch/file-roller/Manifest index 00432ab55a29..0dc2f4aa81d4 100644 --- a/app-arch/file-roller/Manifest +++ b/app-arch/file-roller/Manifest @@ -1,6 +1,8 @@ AUX 3.36-packages.match 672 BLAKE2B 6481af901bcd606a5cf4909736234bd9ab65c2ebe030819a47efd5354f479c25941f482e40478b9731a0afb2a2478d2f49e859d2a183c493726e7bed1c694a83 SHA512 7858d57c2da0587ae85a028dbf76a6524552a3e24f50bfa5b5a285484a2b50e2ba6f26af3b0fe637db671df5e49ba8cd71baf2ae807f6909fcfaa74c33495509 DIST file-roller-44.1.tar.xz 927156 BLAKE2B 60ced1711298989eda90a675095b5e7b8f1e9b84b5f4cf364bce4683ba9eac6a8a4a1857b0248cd9a49ea2161cbc5c2c36df94ebc164e195de528ba50220d1da SHA512 de0d0ce93ecba822ec495227cd484cb164a81f8b5349033d80207acc19584985f0c88bfa766a46468349e2b16b020371e2e6b73b4fb7f2f18f40f115f2391b30 +DIST file-roller-44.3.tar.xz 1042572 BLAKE2B 8fa5c474f96e739f141ee3c94ed002a127c09e941125832f043c914fcdbc1a2306ad1649bb51e9a6207ad7147c7862f0fdc5ad3703a244b447fe4262801107a3 SHA512 940e67cef0a3e71f7c60aea67419666d92c3861b6c7e20dfd50cd055ec590013702b941c938eea3375878a997c377102bc8480d06fd28e0eb8d8f6660ba1df38 DIST file-roller-44.tar.xz 924236 BLAKE2B 12eebd312afdec8f87141d384d1476be7296073f911791328158af1ab93fcb4092ee79e0c65743c36eaa28e06b5b59503357b6c4cff87b4896d3969a67d08e45 SHA512 d40ac036161397828ded2bab7bdf1c029ef0b53fad65e0922e6eeec40442eb7a9898a7d5c3208f6dfda3ad6f51b0771f248ab64c177769b655493a44c403f824 EBUILD file-roller-44.1.ebuild 2524 BLAKE2B c6e5d436f8907d6f6449444766cd7bbca46b71a26ffeafff0844f9c592e14d12f333cf60348a033a49c17a8015e389629cfc74218266c24e32870cb45bb441fb SHA512 b13bba641d9f801574f977a2a9867d48dea8ba2d463052d42f7964cbf404defb73cf4049a74fe2bca9e0ea236efe8a780603eac2896683c7aa6d46c0f3ae2ee5 +EBUILD file-roller-44.3.ebuild 2524 BLAKE2B c6e5d436f8907d6f6449444766cd7bbca46b71a26ffeafff0844f9c592e14d12f333cf60348a033a49c17a8015e389629cfc74218266c24e32870cb45bb441fb SHA512 b13bba641d9f801574f977a2a9867d48dea8ba2d463052d42f7964cbf404defb73cf4049a74fe2bca9e0ea236efe8a780603eac2896683c7aa6d46c0f3ae2ee5 EBUILD file-roller-44.ebuild 2521 BLAKE2B 61e0b1963e0cc26c9a388538701ca09f7aed711e751c52ba344cbcd653b82fab3591e3d3af3170e24e513db6d70db17c331a9f4ce505df77c2a7b8cbcabd1987 SHA512 5f818819cabcb6250e8ae65f9ad6da8edd00f4261637953e898a163c41c441cf570712c1c72c56a3f44074bbd055fc85001c803e7203f3cd7e603f1a5786f507 MISC metadata.xml 544 BLAKE2B 395aff0ef64dd1ae52ecf07df0a723454f648ae54468c611a3d3c10c2930bf25413f892a02dca15dad5930ad24baa45adb2df41e740c4d2dbdce9104f8f89e0d SHA512 3639aa10a6e40e9ea901842e40b9e33857254a00f84aa61403fc663e8ef1f356850d77ffa9ee61c7fb05a1152a9cd1ab0adb972edd3d1020308da06680a64410 diff --git a/app-arch/file-roller/file-roller-44.3.ebuild b/app-arch/file-roller/file-roller-44.3.ebuild new file mode 100644 index 000000000000..6b9c0f7cfa2c --- /dev/null +++ b/app-arch/file-roller/file-roller-44.3.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson readme.gentoo-r1 xdg + +DESCRIPTION="Archive manager for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/FileRoller" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="gtk-doc +introspection nautilus" +REQUIRED_USE="gtk-doc? ( introspection )" + +# gdk-pixbuf used extensively in the source +# cairo used in eggtreemultidnd.c +# pango used in fr-window +RDEPEND=" + >=dev-libs/glib-2.38:2 + >=gui-libs/gtk-4.8.1:4[introspection?] + >=gui-libs/libadwaita-1.2:1 + nautilus? ( >=gnome-base/nautilus-43.0 ) + >=dev-libs/json-glib-0.14 + >=app-arch/libarchive-3.2:= + introspection? ( dev-libs/gobject-introspection ) + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/pango +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + dev-util/itstool + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + gtk-doc? ( dev-util/gi-docgen ) +" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +${PN} is a frontend for several archiving utilities. If you want a +particular archive format support, see ${HOMEPAGE} +and install the relevant package. For example: +7-zip - app-arch/p7zip +ace - app-arch/unace +arj - app-arch/arj +brotli - app-arch/brotli +cpio - app-alternatives/cpio +deb - app-arch/dpkg +iso - app-cdr/cdrtools +jar,zip - app-arch/zip and app-arch/unzip +lha - app-arch/lha +lzop - app-arch/lzop +lz4 - app-arch/lz4 +rar - app-arch/unrar or app-arch/unar +rpm - app-arch/rpm +unstuff - app-arch/stuffit +zstd - app-arch/zstd +zoo - app-arch/zoo" + +src_prepare() { + # File providing Gentoo package names for various archivers + cp -v "${FILESDIR}"/3.36-packages.match data/packages.match || die + + default + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Drun-in-place=false + $(meson_feature nautilus nautilus-actions) + -Dnotification=enabled + -Duse_native_appchooser=false + -Dpackagekit=false + -Dlibarchive=enabled + $(meson_feature introspection) + $(meson_feature gtk-doc api_docs) + ) + meson_src_configure +} + +src_install() { + meson_src_install + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/ || die + mv "${ED}"/usr/share/doc/file-roller "${ED}"/usr/share/gtk-doc/file-roller || die + fi + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + readme.gentoo_print_elog +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} diff --git a/app-arch/libarchive/Manifest b/app-arch/libarchive/Manifest index 4bf03daeab08..3e720ea2eaef 100644 --- a/app-arch/libarchive/Manifest +++ b/app-arch/libarchive/Manifest @@ -1,14 +1,8 @@ -AUX libarchive-3.7.2-32bit-test.patch 1211 BLAKE2B 2cff16e77e244f07df26f81c879400da74010eaac5c87dd333b85d204fc7cb3acd3cabd67751ee19eed26c1897d1fd39c7284a0a85bb7eb755016219ec757a89 SHA512 f0a8e3881e742395afc74e418eceab419280152f0884fd6b9dc971d90e117de1cd0a7578c08f14f694c75b904f12fa71fb0102dde0d67a095f6369b3413f7348 AUX libarchive-3.7.2-lrzip.patch 1095 BLAKE2B 011c61282f5ad91436e8155458695c5f0b9144e21ae856ba319927e6431d9730257d6e7f7ebcc916ad784e24b2f4ff2af75955aa0493ea3705fa8826f632f163 SHA512 71e3aefe7d3e5faa6cd47e350e52135d594184d957cf3e2d592e3770971ff3fed8886b7fe6c897c94efa15b3b9e9d15be05686178d201b422d4503e3878b704d -AUX libarchive-3.7.2-safe-fprintf.patch 945 BLAKE2B 2f9a65b554360d43e3a7b6043df93d49db1c13a9dd4282db7aa08aa0ad6b1c404f1a51f06a4621059d55921cd1c7d0817091efd4b10561a0d554d1d012a4b764 SHA512 eef136388c5b26d82f706746965d756494e185ebb95542d79ceb55f4ec9ad9439049a0984086fe128c6fa9ad66150334bdd50edef6cbb800ee6f403226630e8e -DIST libarchive-3.7.2.tar.xz 5237056 BLAKE2B 7221db4811a965ee61d879a2603480363628a19995a351b572d099be9f35576d76f0b0822f9a5a47d9929bc094d4444fd8eafcb4a073e39bb3aa797d4b926ca5 SHA512 a21bebb27b808cb7d2ed13a70739904a1b7b55661d8dea83c9897a0129cf71e20c962f13666c571782ff0f4f753ca885619c2097d9e7691c2dee4e6e4b9a2971 -DIST libarchive-3.7.2.tar.xz.asc 659 BLAKE2B 7141baf007b89b7ee38ec817b648cef5efb4d694953fcd49f6ed2dc95cf4da2d9259262b9eb4f01ff5d4ecee1257b266a8c6687a8e8ef8790121048229f1ad22 SHA512 c2ce850088245d7723720737d74d1cc1819984d01b3f9e4ed96b0757f4c6d6d511b78792181a12400c563632d74edcd0c2c3a4b7527cba40ada7ef74488078fc DIST libarchive-3.7.3.tar.xz 5428992 BLAKE2B c53672c8cdbe8f406f00bf4fc6b36e4dffcd23a33909dbec6ef06b86dceefc6062840eff629ba3bd19c36121720e16a8ba10dfa1a35ebed186cc92eb144f55d0 SHA512 984e7c61010b9555bafe54d5f52ff2d089e28afe5cea3a14615e2aca8539075293789d18f17f8915882ec328bcbdca7b3d1536d6dc19620ca226e8b6d802ef63 DIST libarchive-3.7.3.tar.xz.asc 659 BLAKE2B bfe18e36ef2e96ad46ab2cd1236701b4b80f41ebb840681c1baf7eac72f38444cc0619645fac17d3acdda6553b294483d87f0a92d9575138d117934e838d85d2 SHA512 9f340b41fc9db34f1c4e0823d559b666196d3031249e05981cfb43a401aa8a85710f14ba1cc784ab3ca367439e4c485668dffe7020f38f50b3ed35810df504a1 DIST libarchive-3.7.4.tar.xz 5417660 BLAKE2B 128f72235da61e112201046c0cfe62a8c580cf73b426c4cfe270ae913356f6ad430ba33a663dcd617b082c7baf45ada8d1c9928c45fea16fd57e8020693a60bc SHA512 84bc346ba15861ab10aa54a3d687de955178e4efbe12bf3a49a467181e7f819673949f131f4c8338de8ed6e319a8565af376e5a540380bda08e60dffbc7c8686 DIST libarchive-3.7.4.tar.xz.asc 659 BLAKE2B 77e705194f6e9a9f97da0ac43c9b3157e1a8a490d26da34079e4ef3f2bcf98d6f6e95567e110287fab0ec26d3fc27e5bbeff7569c9ca138de2caf47af737c6d0 SHA512 82caa18a78661ea717ce93cdcb0806eed48450c20fb4d45cb4c33001f2d4d0fb5a791552acbb24ad8c41772e1d0b66c76c9cb86946bc862109721a0c986f5331 -EBUILD libarchive-3.7.2-r1.ebuild 4336 BLAKE2B dccd258eb4057619ac0eb9dfc01dd405b2d099f4d856e7170c87799c6fe210833e560ab1a5ff571b9d80c6ce971e006adb125616d8720d4cc6dea4aac965ec51 SHA512 1394e8d9a7cac7f1b16213343b42b64029e204193a79214c3591f2a5b44895b95cf072e168dae8825d95ba3e518e390dd2b0ac46a826bafffd00c4d7963c1e1c -EBUILD libarchive-3.7.2-r3.ebuild 4847 BLAKE2B d37b9ebdb0d6f38b0c8e7f6d5d214821d494ea2754c47b9e6a59105c4b419c1f7e204cb33ce2fd2a4129985ae4fc1f1c7d3c87d80b4d8e3fdc39e64b152a9967 SHA512 ce7e548a142842e3dae95a9ba59bd449177e58e63dcde78b7f5f314b0d539aaa1823270ee2fa58ae31de62ef322119a8e768d2e51550f950da7b5c2ac45d9839 -EBUILD libarchive-3.7.3.ebuild 4674 BLAKE2B b7f0510df7bf8b84ed9f878b3b0ce838a4176786aac0db3c3e13949265e17634f4dca959e39760e249b0a2254b2b52967d29a0a35059e9355441784ebc09c126 SHA512 ce20a4a34d69681efb537b0e73cf01c579f734acf576aca23fea9f427ef3c23c723162c328b9ad609947c3243046538a38e8dde328aae5ea1e06c28af1d5ca41 +EBUILD libarchive-3.7.3.ebuild 4673 BLAKE2B 49df980076bd86ba4b0557898de5565129c0139f59dde1aea1aa3e2a7f812cc92bc4f3c0fe616fbf76a9554af221d4d233433b889924a209691973a5624131ff SHA512 b859d3afcdbd1549b84f13ee55967af6080a3786fcee49fd4d508c01319276d5de796eb0aaecbd60ff53d69e773d7f8f90555a925ed87146a9758862176eaa5a EBUILD libarchive-3.7.4.ebuild 4681 BLAKE2B 2f51cad43757b2d46ee696df975af96229068dba08d4dc9d3b78b32a63539c3325750e053c9e2653a3289b8d8c88d285b9e4d42e76b8cdb4f06f4d0f550e7992 SHA512 e0c4bb471487523c507c571058c46ac0cda49b3022c24b2d369d590d0d2c7c5a9726fce0d6bf45e93f76d94f32e9997faabd2fd11e8a76d0eb351ffe44148220 MISC metadata.xml 1224 BLAKE2B 538433528de5543ad8e912ce0d072340be3f6eeefe16320ef48b3c30a35ebdff4a32055edf89f36e4479ab1468c620871fcb5ba91bd66e81798093b4d0345949 SHA512 9f53d623a02334f675c06edea2829ce52e78d85e3894e684ae920a678eb47046393b7a93808c7e1761d30a69faa5986cd4922ae7ef8f1e2ef221de39869bd12b diff --git a/app-arch/libarchive/files/libarchive-3.7.2-32bit-test.patch b/app-arch/libarchive/files/libarchive-3.7.2-32bit-test.patch deleted file mode 100644 index 5f43c2626735..000000000000 --- a/app-arch/libarchive/files/libarchive-3.7.2-32bit-test.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 3bd918d92f8c34ba12de9c6604d96f9e262a59fc Mon Sep 17 00:00:00 2001 -From: Martin Matuska <martin@matuska.de> -Date: Tue, 12 Sep 2023 08:54:47 +0200 -Subject: [PATCH] tests: fix zstd long option test for 32-bit architectures - -Fixes #1968 ---- - libarchive/test/test_write_filter_zstd.c | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/libarchive/test/test_write_filter_zstd.c b/libarchive/test/test_write_filter_zstd.c -index 3cdbd812a..c9731f1b6 100644 ---- a/libarchive/test/test_write_filter_zstd.c -+++ b/libarchive/test/test_write_filter_zstd.c -@@ -161,8 +161,12 @@ DEFINE_TEST(test_write_filter_zstd) - archive_write_set_filter_option(a, NULL, "max-frame-size", "1048576")); - #endif - #if ZSTD_VERSION_NUMBER >= MINVER_LONG -- assertEqualIntA(a, ARCHIVE_OK, -- archive_write_set_filter_option(a, NULL, "long", "27")); -+ if ((int)(sizeof(size_t) == 4)) -+ assertEqualIntA(a, ARCHIVE_OK, -+ archive_write_set_filter_option(a, NULL, "long", "26")); -+ else -+ assertEqualIntA(a, ARCHIVE_OK, -+ archive_write_set_filter_option(a, NULL, "long", "27")); - assertEqualIntA(a, ARCHIVE_FAILED, - archive_write_set_filter_option(a, NULL, "long", "-1")); /* negative */ - #endif diff --git a/app-arch/libarchive/files/libarchive-3.7.2-safe-fprintf.patch b/app-arch/libarchive/files/libarchive-3.7.2-safe-fprintf.patch deleted file mode 100644 index 6a351ba37fea..000000000000 --- a/app-arch/libarchive/files/libarchive-3.7.2-safe-fprintf.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 6110e9c82d8ba830c3440f36b990483ceaaea52c Mon Sep 17 00:00:00 2001 -From: Ed Maste <emaste@freebsd.org> -Date: Fri, 29 Mar 2024 18:02:06 -0400 -Subject: [PATCH] tar: make error reporting more robust and use correct errno - (#2101) - -As discussed in #1609. ---- - tar/read.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/tar/read.c b/tar/read.c -index af3d3f423..a7f14a07b 100644 ---- a/tar/read.c -+++ b/tar/read.c -@@ -371,8 +371,9 @@ read_archive(struct bsdtar *bsdtar, char mode, struct archive *writer) - if (r != ARCHIVE_OK) { - if (!bsdtar->verbose) - safe_fprintf(stderr, "%s", archive_entry_pathname(entry)); -- fprintf(stderr, ": %s: ", archive_error_string(a)); -- fprintf(stderr, "%s", strerror(errno)); -+ safe_fprintf(stderr, ": %s: %s", -+ archive_error_string(a), -+ strerror(archive_errno(a))); - if (!bsdtar->verbose) - fprintf(stderr, "\n"); - bsdtar->return_value = 1; diff --git a/app-arch/libarchive/libarchive-3.7.2-r1.ebuild b/app-arch/libarchive/libarchive-3.7.2-r1.ebuild deleted file mode 100644 index 3ca312b679f8..000000000000 --- a/app-arch/libarchive/libarchive-3.7.2-r1.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit multilib-minimal toolchain-funcs verify-sig - -DESCRIPTION="Multi-format archive and compression library" -HOMEPAGE=" - https://www.libarchive.org/ - https://github.com/libarchive/libarchive/ -" -SRC_URI=" - https://www.libarchive.de/downloads/${P}.tar.xz - verify-sig? ( https://www.libarchive.de/downloads/${P}.tar.xz.asc ) -" - -LICENSE="BSD BSD-2 BSD-4 public-domain" -SLOT="0/13" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE=" - acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle - static-libs test xattr +zstd -" -RESTRICT="!test? ( test )" - -RDEPEND=" - sys-libs/zlib[${MULTILIB_USEDEP}] - acl? ( virtual/acl[${MULTILIB_USEDEP}] ) - blake2? ( app-crypt/libb2[${MULTILIB_USEDEP}] ) - bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) - expat? ( dev-libs/expat[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] ) - iconv? ( virtual/libiconv[${MULTILIB_USEDEP}] ) - kernel_linux? ( - xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] ) - ) - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] ) - lzma? ( >=app-arch/xz-utils-5.2.5-r1[${MULTILIB_USEDEP}] ) - lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP}] ) - nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP}] ) - zstd? ( app-arch/zstd[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} - kernel_linux? ( - virtual/os-headers - e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] ) - ) - test? ( - lzma? ( app-arch/xz-utils[extra-filters(+)] ) - ) -" -BDEPEND=" - verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 ) - elibc_musl? ( sys-libs/queue-standalone ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libarchive.org.asc - -# false positives (checks for libc-defined hash functions) -QA_CONFIG_IMPL_DECL_SKIP=( - SHA256_Init SHA256_Update SHA256_Final - SHA384_Init SHA384_Update SHA384_Final - SHA512_Init SHA512_Update SHA512_Final -) - -PATCHES=( - # https://github.com/libarchive/libarchive/issues/1968 - "${FILESDIR}/${P}-32bit-test.patch" - # https://github.com/libarchive/libarchive/issues/2069 - # (we can simply update the command since we don't support old lrzip) - "${FILESDIR}/${P}-lrzip.patch" -) - -multilib_src_configure() { - export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923 - - local myconf=( - $(use_enable acl) - $(use_enable static-libs static) - $(use_enable xattr) - $(use_with blake2 libb2) - $(use_with bzip2 bz2lib) - $(use_with expat) - $(use_with !expat xml2) - $(use_with iconv) - $(use_with lz4) - $(use_with lzma) - $(use_with lzo lzo2) - $(use_with nettle) - --with-zlib - $(use_with zstd) - - # Windows-specific - --without-cng - ) - if multilib_is_native_abi ; then - myconf+=( - --enable-bsdcat="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdtar="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdunzip="$(tc-is-static-only && echo static || echo shared)" - ) - else - myconf+=( - --disable-bsdcat - --disable-bsdcpio - --disable-bsdtar - --disable-bsdunzip - ) - fi - - ECONF_SOURCE="${S}" econf "${myconf[@]}" -} - -multilib_src_compile() { - if multilib_is_native_abi ; then - emake - else - emake libarchive.la - fi -} - -src_test() { - mkdir -p "${T}"/bin || die - # tests fail when lbzip2[symlink] is used in place of ref bunzip2 - ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die - local -x PATH=${T}/bin:${PATH} - multilib-minimal_src_test -} - -multilib_src_test() { - # sandbox is breaking long symlink behavior - local -x SANDBOX_ON=0 - local -x LD_PRELOAD= - # some locales trigger different output that breaks tests - local -x LC_ALL=C - emake check -} - -multilib_src_install() { - if multilib_is_native_abi ; then - emake DESTDIR="${D}" install - else - local install_targets=( - install-includeHEADERS - install-libLTLIBRARIES - install-pkgconfigDATA - ) - emake DESTDIR="${D}" "${install_targets[@]}" - fi - - # Libs.private: should be used from libarchive.pc instead - find "${ED}" -type f -name "*.la" -delete || die - # https://github.com/libarchive/libarchive/issues/1766 - sed -e '/Requires\.private/s:iconv::' \ - -i "${ED}/usr/$(get_libdir)/pkgconfig/libarchive.pc" || die -} diff --git a/app-arch/libarchive/libarchive-3.7.2-r3.ebuild b/app-arch/libarchive/libarchive-3.7.2-r3.ebuild deleted file mode 100644 index 476a896e4be3..000000000000 --- a/app-arch/libarchive/libarchive-3.7.2-r3.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit libtool multilib-minimal toolchain-funcs verify-sig - -DESCRIPTION="Multi-format archive and compression library" -HOMEPAGE=" - https://www.libarchive.org/ - https://github.com/libarchive/libarchive/ -" -SRC_URI=" - https://www.libarchive.de/downloads/${P}.tar.xz - verify-sig? ( https://www.libarchive.de/downloads/${P}.tar.xz.asc ) -" - -LICENSE="BSD BSD-2 BSD-4 public-domain" -SLOT="0/13" -KEYWORDS="~alpha amd64 ~arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE=" - acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle - static-libs test xattr +zstd -" -RESTRICT="!test? ( test )" - -RDEPEND=" - sys-libs/zlib[${MULTILIB_USEDEP}] - acl? ( virtual/acl[${MULTILIB_USEDEP}] ) - blake2? ( app-crypt/libb2[${MULTILIB_USEDEP}] ) - bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] ) - expat? ( dev-libs/expat[${MULTILIB_USEDEP}] ) - !expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] ) - iconv? ( virtual/libiconv[${MULTILIB_USEDEP}] ) - kernel_linux? ( - xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] ) - ) - dev-libs/openssl:0=[${MULTILIB_USEDEP}] - lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] ) - lzma? ( >=app-arch/xz-utils-5.2.5-r1[${MULTILIB_USEDEP}] ) - lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP}] ) - nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP}] ) - zstd? ( app-arch/zstd[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} - kernel_linux? ( - virtual/os-headers - e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] ) - ) - test? ( - app-arch/lrzip - app-arch/lz4 - app-arch/lzip - app-arch/lzop - app-arch/xz-utils - app-arch/zstd - lzma? ( app-arch/xz-utils[extra-filters(+)] ) - ) -" -BDEPEND=" - verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 ) - elibc_musl? ( sys-libs/queue-standalone ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libarchive.org.asc - -# false positives (checks for libc-defined hash functions) -QA_CONFIG_IMPL_DECL_SKIP=( - SHA256_Init SHA256_Update SHA256_Final - SHA384_Init SHA384_Update SHA384_Final - SHA512_Init SHA512_Update SHA512_Final -) - -PATCHES=( - # https://github.com/libarchive/libarchive/issues/1968 - "${FILESDIR}/${P}-32bit-test.patch" - # https://github.com/libarchive/libarchive/issues/2069 - # (we can simply update the command since we don't support old lrzip) - "${FILESDIR}/${P}-lrzip.patch" - # https://github.com/libarchive/libarchive/pull/2101 - "${FILESDIR}/${P}-safe-fprintf.patch" -) - -src_prepare() { - default - - # Needed for flags to be respected w/ LTO - elibtoolize -} - -multilib_src_configure() { - export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923 - - local myconf=( - $(use_enable acl) - $(use_enable static-libs static) - $(use_enable xattr) - $(use_with blake2 libb2) - $(use_with bzip2 bz2lib) - $(use_with expat) - $(use_with !expat xml2) - $(use_with iconv) - $(use_with lz4) - $(use_with lzma) - $(use_with lzo lzo2) - $(use_with nettle) - --with-zlib - $(use_with zstd) - - # Windows-specific - --without-cng - ) - if multilib_is_native_abi ; then - myconf+=( - --enable-bsdcat="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdtar="$(tc-is-static-only && echo static || echo shared)" - --enable-bsdunzip="$(tc-is-static-only && echo static || echo shared)" - ) - else - myconf+=( - --disable-bsdcat - --disable-bsdcpio - --disable-bsdtar - --disable-bsdunzip - ) - fi - - ECONF_SOURCE="${S}" econf "${myconf[@]}" -} - -multilib_src_compile() { - if multilib_is_native_abi ; then - emake - else - emake libarchive.la - fi -} - -src_test() { - mkdir -p "${T}"/bin || die - # tests fail when lbzip2[symlink] is used in place of ref bunzip2 - ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die - # workaround lrzip broken on 32-bit arches with >= 10 threads - # https://bugs.gentoo.org/927766 - cat > "${T}"/bin/lrzip <<-EOF || die - #!/bin/sh - exec "$(type -P lrzip)" -p1 "\${@}" - EOF - chmod +x "${T}/bin/lrzip" || die - local -x PATH=${T}/bin:${PATH} - multilib-minimal_src_test -} - -multilib_src_test() { - # sandbox is breaking long symlink behavior - local -x SANDBOX_ON=0 - local -x LD_PRELOAD= - # some locales trigger different output that breaks tests - local -x LC_ALL=C - emake check -} - -multilib_src_install() { - if multilib_is_native_abi ; then - emake DESTDIR="${D}" install - else - local install_targets=( - install-includeHEADERS - install-libLTLIBRARIES - install-pkgconfigDATA - ) - emake DESTDIR="${D}" "${install_targets[@]}" - fi - - # Libs.private: should be used from libarchive.pc instead - find "${ED}" -type f -name "*.la" -delete || die - # https://github.com/libarchive/libarchive/issues/1766 - sed -e '/Requires\.private/s:iconv::' \ - -i "${ED}/usr/$(get_libdir)/pkgconfig/libarchive.pc" || die -} diff --git a/app-arch/libarchive/libarchive-3.7.3.ebuild b/app-arch/libarchive/libarchive-3.7.3.ebuild index 073f78ef0d2c..7c609d3a3f58 100644 --- a/app-arch/libarchive/libarchive-3.7.3.ebuild +++ b/app-arch/libarchive/libarchive-3.7.3.ebuild @@ -16,7 +16,7 @@ SRC_URI=" LICENSE="BSD BSD-2 BSD-4 public-domain" SLOT="0/13" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE=" acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle static-libs test xattr +zstd diff --git a/app-arch/mt-st/Manifest b/app-arch/mt-st/Manifest index 292e64543c55..2d555806aead 100644 --- a/app-arch/mt-st/Manifest +++ b/app-arch/mt-st/Manifest @@ -1,4 +1,6 @@ DIST mt-st-1.4.tar.gz 37864 BLAKE2B 25ae656b6442e53570366405ba76da9150cf1d4fe33c612bf922d8be967ce6b60be191948507a62bb1881d4be63ed192f7d03f1d63c38f5772aec2f3d2fe455b SHA512 e6655a5957d3ac470c0cb0a1955a12397aa22f3ea1a427cf776f6bf2d6fd665439b2bfa54c3870b7974da537f0fe71d3be43126be1a7db903e6bc7be4cfb10ec +DIST mt-st-1.7.tar.gz 39932 BLAKE2B 4083160035972cef89ba18a990c274730241819904cd08f88cbca7fd777a43d9d5fc551fb6de2b5b935818bf32d67eb00dd0002e3a67a82b28a79c17d2c7d369 SHA512 a274d098d8d028d0b32f38104645b628fad549708cc8ff87eb4155ed6270549bdf162a9ccdad468696f35ebe3f86b8923490bb969e7c22b4f827d65b87c5c3cb EBUILD mt-st-1.4.ebuild 528 BLAKE2B 2ce8b51f400288a3a20320a9371c6e4e8cc2c860c3d762fc30fbb229b74a3985a646c6ddce726eceac4df6b5c72d23dc8d06c10640efa8cf473ebdb1403079e0 SHA512 109e20d78bc5ced7268c7fbf0c3e36d365386bf03036dbab0e6b77df22b88e6b1196a2b69131812066c5d0cd669941e28d80b2f7b5ee75e8040afcb46d080f37 -EBUILD mt-st-9999.ebuild 442 BLAKE2B eec75acf65e5cf086bad28749243bf479c4fae4f314905277f2cb878519fdbf7095ba6430e69648c1deb742fe9bd21259f965ebf7b6d6965ca0ef7f4d62e8796 SHA512 d8e72531838ac93eb103f46cfb3707f00b2aa2cf0109cc5190114f9b0d8505458d502237b2b3aa3d0c8efe64e6dd6c830ca832ad39ea2e4998428e43f57f60e7 +EBUILD mt-st-1.7.ebuild 621 BLAKE2B 0ec961b84aa13f421c20aad95011ab523266802bf9af0a7ce19f1f15b241e27d0f911dd8d9cfd92358a0e320f52cd084a1815f10ee2103ca481ff233440a0ce6 SHA512 b398fe8aeac7e69797e4ba220c7e5f31d4d9ab901013ba56bd79d366b8b200dbb61f5786a6175e451db6defeee61c1cf2d0e60311ea4803022a1e1a018866c37 +EBUILD mt-st-9999.ebuild 442 BLAKE2B a48a702dada8ed2d84d74c5c4043d27850ae7cbd509fc1f88404a8f6963098b88d36473f65b1dfcb2b26ce295c6f672326f8c6dd4fe5916783941943abf4495f SHA512 f9cb97c2c967db94d0f684e0967f0aae116afb1cb8cc44b7ee5abb99d3fbdc44b3b41a5c4f47419e7e150aed7ec467d8f8ccd54d3a6075bf563e874c4e357cb1 MISC metadata.xml 245 BLAKE2B 4acf0e81c7f55f1eaacdcef60e4e9f51ba0854cf7123851c2c62c674750cd228429a1d0e827e952b65174ce0b5edf002f7faa2a442f7fd5a79492529da4ea08a SHA512 1df2eb4d8b454828c932654cc142c647300453018b7ea24bda56872734a68d08667a9630229c4da9b78a4818c54f5f1fe90b5c9afe1c703baa262de7453ee092 diff --git a/app-arch/mt-st/mt-st-1.7.ebuild b/app-arch/mt-st/mt-st-1.7.ebuild new file mode 100644 index 000000000000..a49f93912a95 --- /dev/null +++ b/app-arch/mt-st/mt-st-1.7.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Control magnetic tape drive operation" +HOMEPAGE="https://github.com/iustin/mt-st" +SRC_URI="https://github.com/iustin/mt-st/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( dev-util/shelltestrunner ) +" + +src_configure() { + tc-export CC +} + +src_install() { + dosbin mt stinit + doman mt.1 stinit.8 + dodoc README* stinit.def.examples +} diff --git a/app-arch/mt-st/mt-st-9999.ebuild b/app-arch/mt-st/mt-st-9999.ebuild index 4588f304d124..d4c4a8443f3d 100644 --- a/app-arch/mt-st/mt-st-9999.ebuild +++ b/app-arch/mt-st/mt-st-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit git-r3 toolchain-funcs -DESCRIPTION="control magnetic tape drive operation" +DESCRIPTION="Control magnetic tape drive operation" HOMEPAGE="https://github.com/iustin/mt-st" EGIT_REPO_URI="https://github.com/iustin/mt-st" diff --git a/app-arch/patool/Manifest b/app-arch/patool/Manifest index 1c80505637e9..81b49808c92f 100644 --- a/app-arch/patool/Manifest +++ b/app-arch/patool/Manifest @@ -1,9 +1,3 @@ -DIST patool-1.15.0.tar.gz 1993753 BLAKE2B 18dbbb6d73862778af9774b64f192e20d48f1454c078a2ab0bf9ccf12f3de988b7799c5e6116b1f49fe48b2512968789d363e37aa504d622a72c22a620398f5f SHA512 c7cbcd829a803025a99df67c8d4aca1d803d3bd8e06f2897c65bc0e2475fbd42e273654f978090fe4c2bbcac02e5d1f8e322cb90220e746ac9ef9d0755e0c717 -DIST patool-2.0.0.tar.gz 1987911 BLAKE2B a9c12f8083e82835792445f50e1e72f55e98c505f0019656cd00c1f882a860ae61c7484ea16c7744101b6a983c1934fad12dbb58af2a03e82d0ec4ceb417aa92 SHA512 c81a65fa89ff77ee80ae85fbc6868e5414d5141e47433028546273b3a231ce3240d6b30baae114247bc0ab0b3e4e91c6e127b8734eff9af8721abdae7f464ef5 -DIST patool-2.1.1.tar.gz 1991183 BLAKE2B f33c92c628ffcca349ad897c29cec935730aba7f2e9a5581acedb9b3ecb0bab22046cd16af9f2d2e605bc483c2dc624db01b52dea8459388a8b140b7f357b193 SHA512 3b51fe917da9672dbeae015852680b67e81ec35d609af3e465f0d53afb12c35bee885f4f3db4a135c01521cc70db182b27fc25320d141f96eaf098ba99524f63 DIST patool-2.2.0.tar.gz 1995287 BLAKE2B ec7a188abfbfc2198e0171568324cb0e372a5629363aaeabfa404767f08062669028d6a9771e80370eb096677f3668da75923f7def7fbb4525f5ce7418cdf68a SHA512 eae774e7da2be13c7644038dc47457105caff7a51a9d3b99e38962dd26c0ace0129f1c0151c27766708ee9754049aec283873fd4a2e8647015a1a07acd48de60 -EBUILD patool-1.15.0.ebuild 2662 BLAKE2B 41ca69119d552b641f401af16dda3ff2510615114c8d613cf5e564af85a2d26fd47ccd8dadbe7a2477dca0e05ca98c00ab5c386a205cf930f482ebbdfc6671cd SHA512 ff74da9491d6fadfc2732414ade668ec8dffccfe45a1e7cd9c1db1b512fe217ff96c5fb0d9157f928f6756e92c7e6ba0f26bcdf66af09b194bcc7e4feabee233 -EBUILD patool-2.0.0.ebuild 2662 BLAKE2B 41ca69119d552b641f401af16dda3ff2510615114c8d613cf5e564af85a2d26fd47ccd8dadbe7a2477dca0e05ca98c00ab5c386a205cf930f482ebbdfc6671cd SHA512 ff74da9491d6fadfc2732414ade668ec8dffccfe45a1e7cd9c1db1b512fe217ff96c5fb0d9157f928f6756e92c7e6ba0f26bcdf66af09b194bcc7e4feabee233 -EBUILD patool-2.1.1.ebuild 2571 BLAKE2B a92987c9421a1d95034ee4f5391d766236f5c52b3e853dac4d8ebe4e3252e0d0401a6e0a5bcfbc9f9e7b7d7672d08fb811650feb75954d527b13615a43cd7a99 SHA512 cfa0ee6a5672c04056d35fbc0d03164a6af6ddd91aaecaed51506e118036c61ab29be38ba8274eb43e61b48560dd140d715e828ae3a45b0e14008cf16c3becfd -EBUILD patool-2.2.0.ebuild 2571 BLAKE2B a92987c9421a1d95034ee4f5391d766236f5c52b3e853dac4d8ebe4e3252e0d0401a6e0a5bcfbc9f9e7b7d7672d08fb811650feb75954d527b13615a43cd7a99 SHA512 cfa0ee6a5672c04056d35fbc0d03164a6af6ddd91aaecaed51506e118036c61ab29be38ba8274eb43e61b48560dd140d715e828ae3a45b0e14008cf16c3becfd +EBUILD patool-2.2.0.ebuild 2571 BLAKE2B a84d7ceaaa4ba19a51a0538ecd5faf499e5e293f26a4c0859c72bfbc7e6480849b57f65d54874845ef4ec8a43eb01f86438e9f492427202e59ae0603b1061be9 SHA512 12225db3e185ddd2dbb2927e79e2a8970c3612b31b1601f0d70d76f26e3cc3eaa896ee5248b88173183c4e5f27d760e491146f57271260248ddd68323bfd9e53 MISC metadata.xml 539 BLAKE2B b19f1ad36967b42e152a23108851ad6eabcd7f44fd1faeeb4c345ff812b97d4b4079afc83653c1fd0dd005943a152cba44210132389e1ec956a434d24e97486d SHA512 b557ec32ca1211faa72e108a7f769f4ffb3a08075a4010aee2f9ced79a9f7f8c26f60bf26e2587d4a0cbb3cf6d52ea52d9102407ed548cdd41f53c67dd10d7bb diff --git a/app-arch/patool/patool-1.15.0.ebuild b/app-arch/patool/patool-1.15.0.ebuild deleted file mode 100644 index 2aafb392ada6..000000000000 --- a/app-arch/patool/patool-1.15.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Portable archive file manager" -HOMEPAGE="https://wummel.github.io/patool/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND=" - test? ( - app-arch/arj - app-arch/bzip2 - app-arch/bzip3 - app-arch/cabextract - app-alternatives/cpio - app-arch/dpkg - app-arch/gzip - app-arch/lbzip2 - app-arch/lcab - app-arch/lha - app-arch/libarchive - app-arch/lz4 - app-arch/lzip - app-arch/lzop - app-arch/ncompress - app-arch/p7zip[rar] - app-arch/pbzip2 - app-arch/pdlzip - app-arch/pigz - app-arch/plzip - app-arch/rpm - app-arch/rzip - app-arch/sharutils - app-arch/tar - app-arch/unace - app-arch/unadf - app-arch/unzip - app-arch/xdms - app-arch/xz-utils - app-arch/zip - app-arch/zpaq - app-arch/zstd - app-cdr/cdrtools - dev-libs/chmlib - media-libs/flac - media-sound/shorten - sys-apps/diffutils - sys-apps/file - sys-apps/grep - !elibc_musl? ( app-arch/rar ) - !x86? ( - app-arch/clzip - app-arch/lrzip - app-arch/unar - ) - ) -" -# Test dependencies which are packaged but can't be tested for various reasons. -# app-arch/arc -# app-arch/zoo -# app-arch/zopfli -# media-sound/mac - -# app-arch/rar is masked on musl -# app-arch/clzip is unkeyworded on x86 -# app-arch/lrzip bug #916317 on x86 -# app-arch/unar is unkeyworded on x86 - -# Unpackaged testable dependencies -# archmage -# genisoimage -# lhasa -# nomarch -# pdzip2 -# py_{bz2,echo,gzip,tarfile,zipfile} -# rpm2cpio -# rzip -# star -# unalz -# uncompress.real - -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - - newdoc doc/README.txt README.md - doman doc/patool.1 -} - -python_test() { - local EPYTEST_IGNORE=( - # zoo emits a non-zero exit status on a possibly false consistency check - # Zoo: WARNING: Archive header failed consistency check. - "tests/archives/test_zoo.py" - # Doesn't accept long arguments, such as those that files in ${S} would have. - # Too long argument: /var/tmp/portage/app-arch/patool-1.12_p20230424/work/patool-ab64562c8cdac34dfd69fcb6e30c8c0014282d11/tests/data/p.arc.foo - "tests/archives/test_arc.py" - # Error: 1002 (invalid input file) - "tests/archives/test_mac.py" - # AttributeError: module 'patoolib.programs.zopfli' has no attribute 'extract_gzip' - "tests/archives/test_zopfli.py" - ) - - if use elibc_musl; then - EPYTEST_IGNORE+=( - "tests/archives/test_rar.py" - ) - fi - - if use x86; then - EPYTEST_IGNORE+=( - "tests/archives/test_clzip.py" - # bug #916317 - "tests/archives/test_lrzip.py::TestLrzip::test_lrzip" - ) - fi - - epytest -} diff --git a/app-arch/patool/patool-2.0.0.ebuild b/app-arch/patool/patool-2.0.0.ebuild deleted file mode 100644 index 2aafb392ada6..000000000000 --- a/app-arch/patool/patool-2.0.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Portable archive file manager" -HOMEPAGE="https://wummel.github.io/patool/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND=" - test? ( - app-arch/arj - app-arch/bzip2 - app-arch/bzip3 - app-arch/cabextract - app-alternatives/cpio - app-arch/dpkg - app-arch/gzip - app-arch/lbzip2 - app-arch/lcab - app-arch/lha - app-arch/libarchive - app-arch/lz4 - app-arch/lzip - app-arch/lzop - app-arch/ncompress - app-arch/p7zip[rar] - app-arch/pbzip2 - app-arch/pdlzip - app-arch/pigz - app-arch/plzip - app-arch/rpm - app-arch/rzip - app-arch/sharutils - app-arch/tar - app-arch/unace - app-arch/unadf - app-arch/unzip - app-arch/xdms - app-arch/xz-utils - app-arch/zip - app-arch/zpaq - app-arch/zstd - app-cdr/cdrtools - dev-libs/chmlib - media-libs/flac - media-sound/shorten - sys-apps/diffutils - sys-apps/file - sys-apps/grep - !elibc_musl? ( app-arch/rar ) - !x86? ( - app-arch/clzip - app-arch/lrzip - app-arch/unar - ) - ) -" -# Test dependencies which are packaged but can't be tested for various reasons. -# app-arch/arc -# app-arch/zoo -# app-arch/zopfli -# media-sound/mac - -# app-arch/rar is masked on musl -# app-arch/clzip is unkeyworded on x86 -# app-arch/lrzip bug #916317 on x86 -# app-arch/unar is unkeyworded on x86 - -# Unpackaged testable dependencies -# archmage -# genisoimage -# lhasa -# nomarch -# pdzip2 -# py_{bz2,echo,gzip,tarfile,zipfile} -# rpm2cpio -# rzip -# star -# unalz -# uncompress.real - -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - - newdoc doc/README.txt README.md - doman doc/patool.1 -} - -python_test() { - local EPYTEST_IGNORE=( - # zoo emits a non-zero exit status on a possibly false consistency check - # Zoo: WARNING: Archive header failed consistency check. - "tests/archives/test_zoo.py" - # Doesn't accept long arguments, such as those that files in ${S} would have. - # Too long argument: /var/tmp/portage/app-arch/patool-1.12_p20230424/work/patool-ab64562c8cdac34dfd69fcb6e30c8c0014282d11/tests/data/p.arc.foo - "tests/archives/test_arc.py" - # Error: 1002 (invalid input file) - "tests/archives/test_mac.py" - # AttributeError: module 'patoolib.programs.zopfli' has no attribute 'extract_gzip' - "tests/archives/test_zopfli.py" - ) - - if use elibc_musl; then - EPYTEST_IGNORE+=( - "tests/archives/test_rar.py" - ) - fi - - if use x86; then - EPYTEST_IGNORE+=( - "tests/archives/test_clzip.py" - # bug #916317 - "tests/archives/test_lrzip.py::TestLrzip::test_lrzip" - ) - fi - - epytest -} diff --git a/app-arch/patool/patool-2.1.1.ebuild b/app-arch/patool/patool-2.1.1.ebuild deleted file mode 100644 index 101960679d5f..000000000000 --- a/app-arch/patool/patool-2.1.1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 pypi - -DESCRIPTION="Portable archive file manager" -HOMEPAGE="https://wummel.github.io/patool/" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 x86" - -BDEPEND=" - test? ( - app-arch/arj - app-arch/bzip2 - app-arch/bzip3 - app-arch/cabextract - app-alternatives/cpio - app-arch/dpkg - app-arch/gzip - app-arch/lbzip2 - app-arch/lcab - app-arch/lha - app-arch/libarchive - app-arch/lz4 - app-arch/lzip - app-arch/lzop - app-arch/ncompress - app-arch/p7zip[rar] - app-arch/pbzip2 - app-arch/pdlzip - app-arch/pigz - app-arch/plzip - app-arch/rpm - app-arch/rzip - app-arch/sharutils - app-arch/tar - app-arch/unace - app-arch/unadf - app-arch/unzip - app-arch/xdms - app-arch/xz-utils - app-arch/zip - app-arch/zopfli - app-arch/zpaq - app-arch/zstd - app-cdr/cdrtools - dev-libs/chmlib - media-libs/flac - media-sound/shorten - sys-apps/diffutils - sys-apps/file - sys-apps/grep - !elibc_musl? ( app-arch/rar ) - !x86? ( - app-arch/clzip - app-arch/lrzip - app-arch/unar - ) - ) -" -# Test dependencies which are packaged but can't be tested for various reasons. -# app-arch/arc -# app-arch/zoo -# media-sound/mac - -# app-arch/rar is masked on musl -# app-arch/clzip is unkeyworded on x86 -# app-arch/lrzip bug #916317 on x86 -# app-arch/unar is unkeyworded on x86 - -# Unpackaged testable dependencies -# archmage -# genisoimage -# lhasa -# nomarch -# pdzip2 -# py_{bz2,echo,gzip,tarfile,zipfile} -# rpm2cpio -# rzip -# star -# unalz -# uncompress.real -# 7zz ( app-arch/7zip:guru ) - -distutils_enable_tests pytest - -src_install() { - distutils-r1_src_install - - newdoc doc/README.txt README.md - doman doc/patool.1 -} - -python_test() { - local EPYTEST_IGNORE=( - # zoo emits a non-zero exit status on a possibly false consistency check - # Zoo: WARNING: Archive header failed consistency check. - "tests/archives/test_zoo.py" - # Doesn't accept long arguments, such as those that files in ${S} would have. - # Too long argument: /var/tmp/portage/app-arch/patool-1.12_p20230424/work/patool-ab64562c8cdac34dfd69fcb6e30c8c0014282d11/tests/data/p.arc.foo - "tests/archives/test_arc.py" - # Error: 1002 (invalid input file) - "tests/archives/test_mac.py" - ) - - if use elibc_musl; then - EPYTEST_IGNORE+=( - "tests/archives/test_rar.py" - ) - fi - - if use x86; then - EPYTEST_IGNORE+=( - "tests/archives/test_clzip.py" - # bug #916317 - "tests/archives/test_lrzip.py::TestLrzip::test_lrzip" - ) - fi - - epytest -} diff --git a/app-arch/patool/patool-2.2.0.ebuild b/app-arch/patool/patool-2.2.0.ebuild index 101960679d5f..278760c4129c 100644 --- a/app-arch/patool/patool-2.2.0.ebuild +++ b/app-arch/patool/patool-2.2.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 pypi |