summaryrefslogtreecommitdiff
path: root/app-arch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
commit2198f8593ae0312add1bdccb49edfcb935e5f8a6 (patch)
tree67d79ffd7e91cc3858d188c49a65f46860a9bac7 /app-arch
parentd285f0ab4ab38d4ea1cd0757a465db5f06764e06 (diff)
gentoo auto-resync : 07:12:2024 - 02:07:26
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/7zip/7zip-24.09.ebuild (renamed from app-arch/7zip/7zip-24.07.ebuild)2
-rw-r--r--app-arch/7zip/Manifest6
-rw-r--r--app-arch/Manifest.gzbin18272 -> 18269 bytes
-rw-r--r--app-arch/libarchive/Manifest5
-rw-r--r--app-arch/libarchive/libarchive-3.7.6.ebuild173
-rw-r--r--app-arch/libarchive/libarchive-3.7.7.ebuild2
-rw-r--r--app-arch/par2cmdline/Manifest2
-rw-r--r--app-arch/par2cmdline/par2cmdline-0.8.1-r2.ebuild2
-rw-r--r--app-arch/unrar/Manifest2
-rw-r--r--app-arch/unrar/unrar-7.1.2.ebuild79
10 files changed, 89 insertions, 184 deletions
diff --git a/app-arch/7zip/7zip-24.07.ebuild b/app-arch/7zip/7zip-24.09.ebuild
index 863cdc56fe57..65deea631e60 100644
--- a/app-arch/7zip/7zip-24.07.ebuild
+++ b/app-arch/7zip/7zip-24.09.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}"
LICENSE="LGPL-2 BSD rar? ( unRAR )"
SLOT="0"
-KEYWORDS="amd64 arm64"
+KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv"
IUSE="uasm jwasm rar"
REQUIRED_USE="?? ( uasm jwasm )"
diff --git a/app-arch/7zip/Manifest b/app-arch/7zip/Manifest
index ac7018d893f8..895393be62fc 100644
--- a/app-arch/7zip/Manifest
+++ b/app-arch/7zip/Manifest
@@ -1,8 +1,8 @@
AUX 7zip-24.05-respect-build-env.patch 1428 BLAKE2B 00a6da925ca0236a423e1f82426ae81976358c30ba8b6d30b8af368aeb8e4271c443d3e401f7ea32ef6743b21c730f2ecaf78319e0bdf8c76d6a45baa8f9c1e3 SHA512 0aabff2930325553de08314bd161d2132f5c6fd3ed0363c37c961b04e16ae8b906053c0f8f9132c55760acf3ec1dbdb47f0677d618cf82d8ce8cfe6d52cb6e8d
-DIST 7z2407-linux-x64.tar.xz 1554932 BLAKE2B 9229fdac09148c50032656743aba0f8ce1ec06b7fd2dad2c693dc299c5f83fc093ba047e9c3c3971bf4cc9387b0db52c84167202ed7fcecfcc6f5bc508d04ada SHA512 31b5bb832e73f3c2fd0437873fe6130b8d1bd1bea8320d1b27d06bf40dd737758732eb3664fab2c36417b96ffc5daca6607b6f1aefdaa9e697122da60e37a728
-DIST 7z2407-src.tar.xz 1488556 BLAKE2B 42b4f9553aaa4797e80a2d50073ff0e77b5261e50766f8c596a632fb013ac1514a2963f27b924485f07728d13a4536c69911867e3728e8f8604ec25fc4c6824e SHA512 0299e5c1e1dfd33ecf22077f812da1f25bf2146a713c7a7e2498d639520f21f029e853914e66a84d1edfc5d721e1f3d914a3171ab336a406a94bc82d5b2d8e5d
DIST 7z2408-linux-x64.tar.xz 1556956 BLAKE2B 177b355830201e48d314667c1936e3ca0b624b3fd47b8696df78cc27bb559fd239c1ab2146a88111c3bd1ef1396e694d235babb9b8391fc55cac89c97d7990bd SHA512 00b8d2b89e1410e360cf034c44a43cb88927d76317ee291519ef1f39e3cab68b5549de66f0f6b867f0367d50e7661f484e0a0f7afdd2ecb963804e44c789d7ce
DIST 7z2408-src.tar.xz 1493700 BLAKE2B fd22a302044ca8655187573173fdc13ae93efaf907cb60076600013e3f463912b876cc3764853ce9d1850fc10dc264cd96917ef6dca9332541db292aee3f1ab4 SHA512 889e9aeaa629d6474a609a15066b2fa7b1353fa5e7255e044297591f565b08b16b885d44f4c4a046f2f9da189599ace300cf61fd9ac0e7bc316fb9d96a18a039
-EBUILD 7zip-24.07.ebuild 3002 BLAKE2B 8740aab4a7893ecc23a695e52fcd7838224306b73ab589ced26ca924825b20b13cd3e8c0f2779f2145b4015dc01293b023a1c78b30d8ed05e62d16d982e0bede SHA512 7b3b5a93e5e38787c292bb771dd9f429abf76451b6d2a5f9ad328a4fba99ab8a858bb5f0af634df8630bbdc0fcb6658deb4771af304374812f9df6c209fd509e
+DIST 7z2409-linux-x64.tar.xz 1565344 BLAKE2B 4ded059fe85073405b4a1510378ed473bca6de2792d313fc3dcb77850dc2531b06866bb4d9de4d4dbc848be5a98b2e4cf5bbe191248f0ae53a279b48b586c169 SHA512 aebf18d861944e2b52d91434b1d59d80a5aadf3b2e80ab3d248357bcaf3c429442caf4ad3297057a559f2719cae9ce5b0aa391963570ffa75b6dcdf1f3c25603
+DIST 7z2409-src.tar.xz 1511288 BLAKE2B 5fcb39acc282b7dafbd1900eaf77e15e634adda5eff5d630b9d0821aa0d1e8569856cf99503ab7ffe69a82cec82a1a890772d6cff86cdb0af01dd462a94c0908 SHA512 461b702eb275655ebda70e128a5e184d15d2b0556f11ab1b409c0ff8a1e9c5d64761bdfb1685c5a0278534024a1e4ce46e4443d55cae373e487dc9ae180ef310
EBUILD 7zip-24.08.ebuild 3021 BLAKE2B cb25e4abb650c622528ea0eed277f1f5b1419e46b5234a53b83120d6247842158c556190442f9ee792129e17b4915bd8b90daf32bcb07f3114687c28fae9d345 SHA512 dade7aa8de294f3c8a3ec209bdbb66b87e5f0a824166e2b5013d1d8bda0f14ecee7425db15874b67c274361b0fc047cfc90b0c9e122aa1183794286dec103c01
+EBUILD 7zip-24.09.ebuild 3023 BLAKE2B b06db4baa851dbabc67dd07be83b1c4ca860e4c768a8f10083bae3475c64c5d1bb246044f72cc399dc27d2ce346e69c717eff164fd13a5d09fa1a67757db2bb3 SHA512 7e08192eec8e2a2dd06fedd6b260bf55b869e0cdb5c1639c0bd86302cb2899472bc9de27cc3645c088c6fab6846c9cb73fdcf84a467ffe0f70b90208d03e1328
MISC metadata.xml 968 BLAKE2B cc816cf086d296a591c2ae494022f35102570c8823ccdc5ada3dde2a83d515060b703d283d74ebd00738f28a0fb4dd8fdeaea10ae9168423dcf146034561f213 SHA512 e4d71bc79b0e6d4435442e74256550f93815b68142cdac763fed9a22bd5e92c25ba288d94738316d726c2073f4f86dcf00f3d77c65a02b0e06ea3c1dc7699cbb
diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz
index 25f9ca2b5b68..da74b8d62f60 100644
--- a/app-arch/Manifest.gz
+++ b/app-arch/Manifest.gz
Binary files differ
diff --git a/app-arch/libarchive/Manifest b/app-arch/libarchive/Manifest
index 1ae598c1a883..1a64a8d453b7 100644
--- a/app-arch/libarchive/Manifest
+++ b/app-arch/libarchive/Manifest
@@ -1,8 +1,5 @@
AUX libarchive-3.7.2-lrzip.patch 1095 BLAKE2B 011c61282f5ad91436e8155458695c5f0b9144e21ae856ba319927e6431d9730257d6e7f7ebcc916ad784e24b2f4ff2af75955aa0493ea3705fa8826f632f163 SHA512 71e3aefe7d3e5faa6cd47e350e52135d594184d957cf3e2d592e3770971ff3fed8886b7fe6c897c94efa15b3b9e9d15be05686178d201b422d4503e3878b704d
-DIST libarchive-3.7.6.tar.xz 5458552 BLAKE2B 3251dc4d59867d1c9b43e78ac7735c27670e819a1aba4f4a76372b8509e2427ff24e379f6102a4cc3c92b965d182c8939bb6df4c82d4d1141cdd1db13bf039a2 SHA512 3ca90d665772418b9ac444044511989e81e785a13db3c101851390ba7c2ba0793c799cedb9df990e900ab78c98207f70ecee7e21829578555dde99424950ae2a
-DIST libarchive-3.7.6.tar.xz.asc 659 BLAKE2B 9f6a621dd4aa20f06dff71225723e60a6cee1f2a54ff07d2d19670153105f2f75d6439320f49eb46c28a4416828af7dc4f0d827e46ec9aeb5b703f06eb329d77 SHA512 2840b13f910f47d34daeed9680beb4b3cdde2d7de26ab8453756261c51fb7a39b727454f370b0ee60f8e1646c65544331a22558cbe8faf79a201b1d1346b37c1
DIST libarchive-3.7.7.tar.xz 5480580 BLAKE2B e118c693f7a78e86ab868fc6c2c77beba539cf5c7d5999e270cdceb225e9f85c68c938ec6ce3a33f75b2a44a6f7debe2c280d2573c1bcf05806300e8dce1a4f0 SHA512 2524f71f4c2ebc254a1927279be3394e820d0a0c6dec7ef835a862aa08c35756edaa4208bcdc710dd092872b59c200b555b78670372e2830822e278ff1ec4e4a
DIST libarchive-3.7.7.tar.xz.asc 659 BLAKE2B 066d97312ded566e2c96ffc4603477fc829bcf17dcc057249dad51a0abea7aa5559691c0c25b581212168f8442db028a2dcc34148c648e973450fcb9dd5e35af SHA512 9f532df76bc381b40d7454a7bbbab85e34a646167ee7ca197fae45c713002e32f40e2b2871bc4a0d7149df19e69e2079efd9ab2f22eccf959b203604293d6094
-EBUILD libarchive-3.7.6.ebuild 4617 BLAKE2B b50a720bd43687ccc3a4d78284ffc7848c149e20fdc65ca3102e26e7234ae3c3739c5f3d36f8027fc4ff6bd0e7c0bbdd0d0e41848a229f9d5814cf73c7ead846 SHA512 bc274e264d64f612ab46187aa236ef9a876f4c9a4b897a64667fc378c17e5445827136ef8a17aee47e08a8ede2736617fa1ec33adc2b9e6e812bf95a6be5e090
-EBUILD libarchive-3.7.7.ebuild 4618 BLAKE2B d6b2f05c42fbdc044ad5521335524f17fb085e173ea2cdf5afcd0c4951da886bc40c731779a927594f3ffa062ca560ef204085d9859faa7ce807196ab76ff456 SHA512 20b69f3a59f0732addf7277de5d9031205ed83df86fdaf022103cee8f5ef7fba30d92b2d7398b58916fe2e4fe125fd899092014b1eed67fb34682f5182b61704
+EBUILD libarchive-3.7.7.ebuild 4617 BLAKE2B b50a720bd43687ccc3a4d78284ffc7848c149e20fdc65ca3102e26e7234ae3c3739c5f3d36f8027fc4ff6bd0e7c0bbdd0d0e41848a229f9d5814cf73c7ead846 SHA512 bc274e264d64f612ab46187aa236ef9a876f4c9a4b897a64667fc378c17e5445827136ef8a17aee47e08a8ede2736617fa1ec33adc2b9e6e812bf95a6be5e090
MISC metadata.xml 1224 BLAKE2B 538433528de5543ad8e912ce0d072340be3f6eeefe16320ef48b3c30a35ebdff4a32055edf89f36e4479ab1468c620871fcb5ba91bd66e81798093b4d0345949 SHA512 9f53d623a02334f675c06edea2829ce52e78d85e3894e684ae920a678eb47046393b7a93808c7e1761d30a69faa5986cd4922ae7ef8f1e2ef221de39869bd12b
diff --git a/app-arch/libarchive/libarchive-3.7.6.ebuild b/app-arch/libarchive/libarchive-3.7.6.ebuild
deleted file mode 100644
index c132f0d94f8e..000000000000
--- a/app-arch/libarchive/libarchive-3.7.6.ebuild
+++ /dev/null
@@ -1,173 +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 ~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}] )
- dev-libs/openssl:=[${MULTILIB_USEDEP}]
- lz4? ( >=app-arch/lz4-0_p131:=[${MULTILIB_USEDEP}] )
- lzma? ( >=app-arch/xz-utils-5.2.5-r1:=[${MULTILIB_USEDEP}] )
- lzo? ( >=dev-libs/lzo-2:=[${MULTILIB_USEDEP}] )
- nettle? ( dev-libs/nettle:=[${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/2069
- # (we can simply update the command since we don't support old lrzip)
- "${FILESDIR}/${PN}-3.7.2-lrzip.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.UTF-8
- 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.7.ebuild b/app-arch/libarchive/libarchive-3.7.7.ebuild
index 8ba743b21dc8..c132f0d94f8e 100644
--- a/app-arch/libarchive/libarchive-3.7.7.ebuild
+++ b/app-arch/libarchive/libarchive-3.7.7.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
LICENSE="BSD BSD-2 BSD-4 public-domain"
SLOT="0/13"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~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 ~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/par2cmdline/Manifest b/app-arch/par2cmdline/Manifest
index c5195e1d48dd..799641623d39 100644
--- a/app-arch/par2cmdline/Manifest
+++ b/app-arch/par2cmdline/Manifest
@@ -1,5 +1,5 @@
AUX par2cmdline-0.8.1-big-endian.patch 2911 BLAKE2B 749e0f955997d52da1b676d750057724e78302cdf70bff777b1bbf68945faedabbd050339950a96121a4aa197af0b0520a4e9665f3d3767fbacdf60a6baa2f55 SHA512 4186f8b3506dab8128abae28549fd2af4200aa656c65682fe68f02c04c1b0bc45144d24851ff54ef82ac4d40d7f1eb3ae9fae31d426a1092447cee339e3c0016
DIST par2cmdline-0.8.1.tar.bz2 3213343 BLAKE2B 4778fd32012c61739e04a4e564eaedf48527c04b0d83c5467c34808913e81cd5459a6a5bfabe79ca74f520761ebd3592e80b714f3ef45cc98866da919757a176 SHA512 b33ee654bd14269afb02d48175abf183281270c3e0dad9ffcaa0aa69c4271715a85e550d6d56fe5460ebfe9a37dc53b7d2210cd79a6f55d3921dc5dd5972c846
EBUILD par2cmdline-0.8.1-r1.ebuild 730 BLAKE2B 5f65c18c03a8a1328b09a302dd176d9ca01b03e78d0b1722b03b8559aa78ba6559fab139afafdf2f6ea0a4daf496d9099a80a371a96e8488e123f620b41258bb SHA512 cefef3a28ee98a32c0370a5931d63bcf8cea3412ab612d5a4742e8679805c6fde9722e51040e46764ed5c2db61c0a4463123ee5e9a8dec9e5fd9c4c538dc6b03
-EBUILD par2cmdline-0.8.1-r2.ebuild 710 BLAKE2B a2c6c3474b0ba69e135244d0c789cb93e35839ec7e8fe9ab86e21be206d39e04d6d58b9f1971e4e82e382f86cdf5b2086fc134893c0e4b16bd12fabc9b7093da SHA512 3641fd73aa50aa76cab580ead490f8e324488deb009379ca0738a1c6b9eada7c4ad3c0ad9a125278028b3d8a7633d5c0d75ed4d3c12dcdbabce7073bf4b63796
+EBUILD par2cmdline-0.8.1-r2.ebuild 709 BLAKE2B f8b4d6868d925d7131f59c8fe6761d9e13fbfdd376b82d1dc49a620d112cb8997d635bc03b991d49fe41e0372c7e28c11a14aad039536ccfdce46b4a1f799ce9 SHA512 7369609ef362a18a83ad21296b4d7b62f440497d0a6750ab38647eb0bc3ce95f84983b7663d292ebaccd517517d9411df9c140c2d4cf14c6aed00e35297f3a0a
MISC metadata.xml 313 BLAKE2B 13e31cd90dad938be801aba6086fa8234878f9b691decd84e1fb56108a10e368c6442098b8574874f5c405f33d85c6236eb30e21e8f57e7e7c09deefe541a1d8 SHA512 88cd31f008359d686c66f9813f498c5c4c3f7662a5acfe5c7eac7c244bc0688fc544b36dd711c1949624c186e143f0d46e9c636b7ff54f401f67d95f3d33d69d
diff --git a/app-arch/par2cmdline/par2cmdline-0.8.1-r2.ebuild b/app-arch/par2cmdline/par2cmdline-0.8.1-r2.ebuild
index 298d780ee852..c9ccdad210d7 100644
--- a/app-arch/par2cmdline/par2cmdline-0.8.1-r2.ebuild
+++ b/app-arch/par2cmdline/par2cmdline-0.8.1-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/Parchive/${PN}/releases/download/v${PV}/${P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~hppa ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="openmp"
PATCHES=( "${FILESDIR}"/${P}-big-endian.patch )
diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest
index 4a2e0f23d12b..57ed929e21b3 100644
--- a/app-arch/unrar/Manifest
+++ b/app-arch/unrar/Manifest
@@ -1,4 +1,6 @@
AUX unrar-6.2.6-honor-flags.patch 1238 BLAKE2B 3006316800d6933f85935b0d1d4a224ae63d76d826c2a71f21ba148466d17e76e0a93f24d9c88015a8c58c4ca8f602ad25da48d097b80a078dbcc38a1a47715d SHA512 11cb495b661272b44078368318d2ec9f91e5d70bc79e5504c41a7d8e5207dc6b9afbad7cb36ac3188268f3797fa236bee55fcad8c95daeda2191a9e2a26dfd60
DIST unrar-7.0.9.tar.gz 258287 BLAKE2B 4933d62c8b7ea227b5eee8ce078a08cbe7534f35641ee0ce33bdd246f1045c65f773894d5868738b2174ea2bb2858745b5bd31dc5f958ef70188bcb805165300 SHA512 4dff760bd69275dcd9bacac7a8fa9a6e68e2d047ea3775abc16a80d9a6e277b686153faafb1b711582d86eabfdf3254c601d9f585b28104dbd85ece4868876ed
+DIST unrar-7.1.2.tar.gz 264081 BLAKE2B e5cd9c577ae4c8b8025970e597b7b270fe74beb47974ce038ce334c6cd49eb3bbbd1126eecf7093703f998f5a55a3be3ea911d950dd25040ef0f98272d5d84dd SHA512 3492334ef95916728af573f8f5bcb8d5a8c4a014b5daa0ffeaa67c9c56a5603a2389b030c6e0126064b1f281db5143907fa83f8c4249d23abc3273a5387d90d6
EBUILD unrar-7.0.9.ebuild 2685 BLAKE2B 332085c550f25cb82bee91c44b781d92a759d5f703dbca420572ccd56835bd1860b49f4f53a85e1eed2813df7928b70576a937c3c2e012e57293550f64574836 SHA512 4303ffb94537dfd8c243787933d60ecb25853ba79edf8ac5bf312c816be886128e75ae455431650b6085d5149994882aae1854e5df2345c2d5d06385fb0881af
+EBUILD unrar-7.1.2.ebuild 2692 BLAKE2B bba031bf53b4af6754f50ae2ad40f17af1037d5395702c7810dd1e7065833a8cac34b3e1d3bccc9f86535ecc32c7cb801d3df2c668b7cfa0bfd2ebc7c3b9d14b SHA512 5395896675abed2dcb4c5ebd2a9f5d1766e4824fcdb773cb83a3134e0d1469daa514e404313eb5c75ab434a422903743044b77f171ac210440191bd38374d15d
MISC metadata.xml 520 BLAKE2B d8b7da005139f02d8fdb948cb6e2c6af4073fab248ee05e80aaf4c706d9213a7600010b89b3ad99e89cbb651caf647dc898373225315ec1dc2c6f5a51424fa8a SHA512 65e6387fe9ecb267f630480287bfb4376c16b1d8088fa4f2078a747d53210ea92ef3ff03f05fdbcadf97af71e47a691f19425573b0b630b5c7640caab2ca890a
diff --git a/app-arch/unrar/unrar-7.1.2.ebuild b/app-arch/unrar/unrar-7.1.2.ebuild
new file mode 100644
index 000000000000..126f730b8cc9
--- /dev/null
+++ b/app-arch/unrar/unrar-7.1.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib toolchain-funcs
+
+MY_PN="${PN}src"
+
+DESCRIPTION="Uncompress rar files"
+HOMEPAGE="https://www.rarlab.com/rar_add.htm"
+SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/unrar"
+
+LICENSE="unRAR"
+SLOT="0/7" # subslot = soname version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+PATCHES=( "${FILESDIR}/${PN}-6.2.6-honor-flags.patch" )
+
+src_prepare() {
+ default
+
+ local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
+ else
+ sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
+ fi
+ sed -i "${sed_args[@]}" makefile || die
+}
+
+src_configure() {
+ mkdir -p build-{lib,bin} || die
+ printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
+ cp build-{lib,bin}/Makefile || die
+}
+
+src_compile() {
+ unrar_make() {
+ emake AR="$(tc-getAR)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
+ }
+
+ unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
+ ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
+ ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
+
+ unrar_make -C build-bin
+}
+
+src_install() {
+ dobin build-bin/unrar
+ dodoc readme.txt
+
+ dolib.so build-lib/libunrar*
+
+ # unrar doesn't officially install headers, but unofficially, software
+ # depends on it anyway. There is no standard for where to install them,
+ # but the most common location (shared by nearly all vendors) is "unrar".
+ # FreeBSD alone uses "libunrar". Gentoo formerly used "libunrar6" and
+ # had a compat symlink for FreeBSD, then passed the compat location in
+ # ./configure scripts e.g. for sys-fs/rar2fs. Software in the wild
+ # seems to expect either "unrar" or "libunrar".
+ # See: https://bugs.gentoo.org/916036
+ #
+ # We now use the "standard" (hah) location, and keep the compat symlink but
+ # change the destination. The version-suffixed location lacks utility, but
+ # we would keep it if we could, just in case -- unfortunately portage is
+ # buggy: https://bugs.gentoo.org/834600
+ #
+ # Hopefully, no one has ever actually used it and therefore this does not
+ # matter. The odds are on our side, since it periodically changed location
+ # arbitrarily.
+ insinto /usr/include/unrar
+ doins *.hpp
+ dosym unrar /usr/include/libunrar
+
+ find "${ED}" -type f -name "*.a" -delete || die
+}