diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-26 00:07:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-26 00:07:28 +0100 |
commit | 994fe442814c4d169bb0f1ee9745604928006b39 (patch) | |
tree | 630f10f7414f44018095dd9d3cf9df55852a9d41 /app-arch | |
parent | f8999218b5a6eafa151e7367030cbfdb69e045ed (diff) |
gentoo auto-resync : 26:05:2024 - 00:07:27
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/Manifest.gz | bin | 18265 -> 18257 bytes | |||
-rw-r--r-- | app-arch/cfv/Manifest | 2 | ||||
-rw-r--r-- | app-arch/cfv/cfv-3.1.0.ebuild | 48 | ||||
-rw-r--r-- | app-arch/dpkg/Manifest | 2 | ||||
-rw-r--r-- | app-arch/dpkg/dpkg-1.21.15-r3.ebuild | 2 | ||||
-rw-r--r-- | app-arch/libarchive/Manifest | 2 | ||||
-rw-r--r-- | app-arch/libarchive/libarchive-3.7.4.ebuild | 2 | ||||
-rw-r--r-- | app-arch/rar/Manifest | 4 | ||||
-rw-r--r-- | app-arch/rar/rar-7.01.ebuild | 123 | ||||
-rw-r--r-- | app-arch/unrar/Manifest | 2 | ||||
-rw-r--r-- | app-arch/unrar/unrar-7.0.9.ebuild | 79 |
11 files changed, 262 insertions, 4 deletions
diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz Binary files differindex a339febbf671..8fa1cb455958 100644 --- a/app-arch/Manifest.gz +++ b/app-arch/Manifest.gz diff --git a/app-arch/cfv/Manifest b/app-arch/cfv/Manifest index 9c504c26a9ce..b53eefda099f 100644 --- a/app-arch/cfv/Manifest +++ b/app-arch/cfv/Manifest @@ -1,5 +1,7 @@ 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 +DIST cfv-3.1.0.gh.tar.gz 93155 BLAKE2B 45dd2cfa121052a96de4b8d8b9d1b25e4639c3956c8e0878981381dce89560abd3d1c56a7c1d7c3c86f97e767ea43f1d4df08a4be725d392a2a25bb2576f4ee6 SHA512 71c02cc0e5cb1dcf32aa180075744ccde27cf08765a6cf50b24bbdf68d61ba46d9e2e98cc9d414bddf1538ead1426f8eff56cfa788ad283981922c96519b10c4 EBUILD cfv-3.0.0.ebuild 1463 BLAKE2B a27a1762e136a740a9aeda75b69ee3d009daacd5391d4d54642c16c15cb9776d5c4cbfe104242b0e9bb956c5ce4436cca1b7c87ec36ee110dca308d45e447fcb SHA512 4b18f197ca3e7039daf8befd4c3af1887c18d52de5f9ef2dc2dde7cb521517a5cb06847e5cb14207160069f11d84b615787fa60895a963a3a257051526fe6853 +EBUILD cfv-3.1.0.ebuild 1208 BLAKE2B fee3ae618870cab2e6d68a49afcc283484e9591f53971a4527c12134f8c1c86e3bbe707d91980ddc9227151a3dba37fd122f41ee29433eedad7025c038960ba1 SHA512 9da5bd4abb614f04fb8f7d9c416799dea2db2744667eeb8e1fce68782c4d46e4310859f5c868b9e64b91eef3be77595afc0311d23d48953b3412e182ec5f54f5 MISC metadata.xml 752 BLAKE2B ad109bc840ed5d4b581fa93ed023eb489b2e410d6cfef41756680ae64c6ffb2a1ee4e8a979909d7584844bb8639d26374c00840864ffe380f0446226ab45f63f SHA512 6803dc7d2b3d65cf1586d6d4153280f2f672aa4be914ab80bd693a64282102a3bc59ad213b39830b7421f1764f912920e96cd975cc1929d1878452c87f12ba88 diff --git a/app-arch/cfv/cfv-3.1.0.ebuild b/app-arch/cfv/cfv-3.1.0.ebuild new file mode 100644 index 000000000000..90b1af6f41c1 --- /dev/null +++ b/app-arch/cfv/cfv-3.1.0.ebuild @@ -0,0 +1,48 @@ +# 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.16 / Python 3.10.14 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Command-line File Verify - versatile file checksum creator and verifier" +HOMEPAGE="https://github.com/cfv-project/cfv/" +# Tests aren't included in PyPI tarballs +SRC_URI="https://github.com/cfv-project/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + app-arch/cksfv + ) +" + +python_prepare_all() { + # Remove upstream's attempt to install the man page + sed -i '/\sdata_files=/d' setup.py || die + distutils-r1_python_prepare_all +} + +python_test() { + # In order to run integration tests in addition to unit tests, we can't + # just rely on pytest here, we need to use upstream's runner. + "${EPYTHON}" "test/test.py" || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + doman cfv.1 +} + +pkg_postinst() { + optfeature "the dimension column of JPEG Sheriff crc files" dev-python/pillow +} diff --git a/app-arch/dpkg/Manifest b/app-arch/dpkg/Manifest index 3efbe3e4fc88..475856d22596 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 2447 BLAKE2B e1efe9f0834ebe02a67b9adc24700d3e7327aaa332e85ffeeac0d56b46cc874927605d83b24c827201b6cb0a2b962c166d668185fef8b5dfca72b2bd58c82d5c SHA512 edd4d491f70b4f15c6a4b89a25749320c95f48f2d6a064cdd7d7a3c6f86edbc46cd6585e336f5bd2c8f4f5b7e890a400dd64a7121c595f9a42d29bce5355cc73 +EBUILD dpkg-1.21.15-r3.ebuild 2446 BLAKE2B cb4003d7aacea358adc64b77f04cb2864ff35bc85b8ccad59f2486a64755614f0b530e8649d7285fcc2a9b6e36284a7091bffa9003374df30a7ac4ff81cf6bac SHA512 e34c7e3eaca9dd6873f68954062c4f4229dc9c7e5f3f2ef3e654fbe72fd15a9c19123ce45422499145538d2f16f65ebf8ecfc332c7d5825ba1c09ed22812a4e4 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 f0ece9c5ab6a..7332eca45431 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/libarchive/Manifest b/app-arch/libarchive/Manifest index 32c12223210a..94aba0687e1a 100644 --- a/app-arch/libarchive/Manifest +++ b/app-arch/libarchive/Manifest @@ -4,5 +4,5 @@ DIST libarchive-3.7.3.tar.xz.asc 659 BLAKE2B bfe18e36ef2e96ad46ab2cd1236701b4b80 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.3.ebuild 4673 BLAKE2B 49df980076bd86ba4b0557898de5565129c0139f59dde1aea1aa3e2a7f812cc92bc4f3c0fe616fbf76a9554af221d4d233433b889924a209691973a5624131ff SHA512 b859d3afcdbd1549b84f13ee55967af6080a3786fcee49fd4d508c01319276d5de796eb0aaecbd60ff53d69e773d7f8f90555a925ed87146a9758862176eaa5a -EBUILD libarchive-3.7.4.ebuild 4675 BLAKE2B ed7c97b9f09c2c3c5066a37d696018b640e482da6b68aeb3e66b3deae8e56e29d40fc50c4493ca6faabc393157ee9e49e9645505789c4e912765dede106b5607 SHA512 dd50d0b72176d24d22ab9847a07a7f9eaeec1d3a6306ccb74f3d51d43b11f31992ad5fe6aed6ae1a79ec972215c1ea06699d568257602c41a266dc49bfd81139 +EBUILD libarchive-3.7.4.ebuild 4674 BLAKE2B b7f0510df7bf8b84ed9f878b3b0ce838a4176786aac0db3c3e13949265e17634f4dca959e39760e249b0a2254b2b52967d29a0a35059e9355441784ebc09c126 SHA512 ce20a4a34d69681efb537b0e73cf01c579f734acf576aca23fea9f427ef3c23c723162c328b9ad609947c3243046538a38e8dde328aae5ea1e06c28af1d5ca41 MISC metadata.xml 1224 BLAKE2B 538433528de5543ad8e912ce0d072340be3f6eeefe16320ef48b3c30a35ebdff4a32055edf89f36e4479ab1468c620871fcb5ba91bd66e81798093b4d0345949 SHA512 9f53d623a02334f675c06edea2829ce52e78d85e3894e684ae920a678eb47046393b7a93808c7e1761d30a69faa5986cd4922ae7ef8f1e2ef221de39869bd12b diff --git a/app-arch/libarchive/libarchive-3.7.4.ebuild b/app-arch/libarchive/libarchive-3.7.4.ebuild index b88a02ec29a6..073f78ef0d2c 100644 --- a/app-arch/libarchive/libarchive-3.7.4.ebuild +++ b/app-arch/libarchive/libarchive-3.7.4.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/rar/Manifest b/app-arch/rar/Manifest index 44225f483cde..ae63e6487369 100644 --- a/app-arch/rar/Manifest +++ b/app-arch/rar/Manifest @@ -1,5 +1,9 @@ DIST rarlinux-x32-700.tar.gz 739081 BLAKE2B 3f0d18ba3c9ff6b606bbddd3aafcc70209d87a1aa08877fa8ee62e4c28a56b0dd0d38304d273abb708fa1a9fb1d2264df0dc7eb2ac6dbd1264b250df40f141c5 SHA512 a1f1d1f203ae2f98949346ad331a27ce2d120bf28f289fc42d286fae5c9392af033a4ff72fbe078a130b9267eb42e9739db35aa98ce07f4d97566299aa233934 +DIST rarlinux-x32-701.tar.gz 739420 BLAKE2B 9550c74d2f9a5bbd821fc2d313a1aa3fdca1f88675056e42507e9b40f7c456e20e0834149e6a925abc88d04aa23d5ccecb0f6efa7ba2d21629f030531b9e84d2 SHA512 2d8488106ed8ed5a67a1de114414a7fe58ab8a139b4f5fd78d5f334e59339e192d51574e3d36fdc7e5d4068cc9e33ec03e4ef6c0907193b407167c616f1ab357 DIST rarlinux-x64-700.tar.gz 730268 BLAKE2B 6a3c4890232b6bdc24a6e321bff66c8a41c3c64b7da8dbcd40714de647edabb32f8719be882335895a09453f36e247b7ce96edf8089f8fa6ea08489d69eb7813 SHA512 988b755d1b52051f5d4115a64f598e5d6a6a9d1756e8136a00a159001199bf684c4961245c1010f0414e174f61964e1e3f32f437810708cd77742b9b89946166 +DIST rarlinux-x64-701.tar.gz 730436 BLAKE2B 271b18f636250876adf924752298e283922c87d1ea71084ebd4263f5c8db189b093faf0b66362db781ad0fd9c6154a9a3a1e7d013c7c6cee56ad8fd7fb772fa7 SHA512 3effdc32f5dbad414d4a434b4ec430c0dc29fd6a758036395712f61c588067547c3919025545d27e9a7fef6ba8de1773f2dd9a7e20dfa2178b2b9f9bd2440ff9 DIST winrar-x64-700.exe 3911632 BLAKE2B f2191937e1e3d0938f0ca2c56467c838415401a20a0966efad050e9fde5fe7fc6e05694c98fd06daa6fe4d7c03f588e60d456d8d510c849929a52dab36d6a10a SHA512 bc94f526d4dd751a44071dd6f540f2957d96f5c6500d7e5bb41ec6581bb0a584a6bb91fe13f7a1d9c7749c4601b1fe95f2a12a204b73bdc9a37c83cff7ac35c3 +DIST winrar-x64-701.exe 3912088 BLAKE2B 46d379c51d6c2eba1b632c3f4e6f56529a0218db3cf4d4a4e52de08103d1de15dd6974c5375885dd19d1a29279f664d6df49056f57c71d8d3858bb0266d4eb99 SHA512 61daee2ce82c3b8e79f7598a79d72e337220ced7607e3ed878a3059ac03257542147dbd377e902cc95f04324e2fb7c5e07d1410f0a1815d5a05c5320e5715ef6 EBUILD rar-7.00.ebuild 2289 BLAKE2B 82df73549d6f74c2c33be6ee5bab8049a17eb8760dd09c27233cc72186b6dc011e6d2cf1b95d8e74bed5a3dec61a2cbc7dd4066167d0448eff889c16ea4a59a0 SHA512 cd0939e7f06dcb0a621cfc1abb01c0db7359370006f8a43768a45556f06991fce12206cbee9932d5d138a98f8ea48b9738cac7f1928d16f9e3f763b879a218f4 +EBUILD rar-7.01.ebuild 2409 BLAKE2B 83e02a252c6c792821e1f3980cdfd247ea9561668935ce147c18915cac9c28479fbc15a788872bf4a25d9d5fa7b9de2e97f5badfc0204329dc56ce9de63bf9b1 SHA512 bb17f89dc9a12422f066600c83bc7a4c54181bf262fc8931db0e0d667c747e63f1491298b522b395fc51fc9d531fcc252e9d97555d725525b60767168d318bdf MISC metadata.xml 436 BLAKE2B 89434fe285ad2b7be02c6e0014bb0a8fd54772e899345cb1c6de1da1e7cf5396d490af746bad1af6449183a4970c70415178765d918488f047174e64c289ceee SHA512 c9d65d30420f8febc660ad83169a8ae95c11ffcc673ca0cbc16530367e441ff72636fdbe3948065270547cb043ab0e1114dd573e4bd8716089bd01f056a63ff6 diff --git a/app-arch/rar/rar-7.01.ebuild b/app-arch/rar/rar-7.01.ebuild new file mode 100644 index 000000000000..3b246fc046e2 --- /dev/null +++ b/app-arch/rar/rar-7.01.ebuild @@ -0,0 +1,123 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV/./}" +URI_AMD64="https://www.rarlab.com/rar/rarlinux-x64-${MY_PV}.tar.gz" +URI_X86="https://www.rarlab.com/rar/rarlinux-x32-${MY_PV}.tar.gz" +URI_WIN64="https://www.rarlab.com/rar/winrar-x64-${MY_PV}.exe" + +inherit unpacker + +DESCRIPTION="RAR compressor/uncompressor" +HOMEPAGE="https://www.rarlab.com/" +SRC_URI=" + all-sfx? ( + ${URI_AMD64} + ${URI_X86} + ${URI_WIN64} + ) + amd64? ( ${URI_AMD64} ) + x86? ( ${URI_X86} ) +" +S="${WORKDIR}/${PN}" + +LICENSE="BSD BSD-2 RAR" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="all-sfx" +RESTRICT="bindist mirror" + +RDEPEND="sys-libs/glibc" +BDEPEND="all-sfx? ( app-arch/unrar )" + +DOCS=( "acknow.txt" "rar.txt" "readme.txt" "whatsnew.txt" ) + +QA_PREBUILT=" + opt/rar/default.sfx + opt/rar/default-elf32.sfx + opt/rar/default-elf64.sfx + opt/rar/default-win32.sfx + opt/rar/default-win64.sfx + opt/rar/unrar + opt/rar/rar + opt/rar/WinCon.SFX + opt/rar/WinCon64.SFX + opt/rar/Zip.SFX + opt/rar/Zip64.SFX +" + +src_unpack() { + local _file + + for _file in ${A}; do + if [[ "${_file}" == rarli* ]]; then + if [[ "${_file}" =~ x64 ]]; then + if ! use amd64; then + continue + fi + + unpack "${_file}" + elif [[ ! "${_file}" =~ x64 ]]; then + if ! use x86; then + continue + fi + + unpack "${_file}" + else + die "Unknown SRC file '${_file}'!" + fi + fi + done + + if use all-sfx ; then + mkdir sfx + cd sfx + for _file in ${A}; do + if [[ "${_file}" == rarli* ]]; then + unpack "${_file}" + if [[ "${_file}" =~ x64 ]]; then + mv rar/default.sfx default-elf64.sfx || die + else + mv rar/default.sfx default-elf32.sfx || die + fi + elif [[ "${_file}" == winrar* ]]; then + ln -s "${DISTDIR}"/${_file} w64.rar || die + # Use shipped unrar, as current version in tree segfaults + # Bug #932666 + # unpack_rar ./w64.rar + "${S}"/unrar x ./w64.rar || die + mv Default.SFX default-win64.sfx || die + mv Default32.SFX default-win32.sfx || die + else + die "Unknown SFX file '${_file}'!" + fi + done + fi +} + +src_compile() { :; } + +src_install() { + exeinto /opt/rar + doexe rar unrar + + insinto /opt/rar + doins rarfiles.lst + + if use all-sfx; then + doins "${WORKDIR}"/sfx/*.{sfx,SFX} + else + doins default.sfx + fi + + dodir /opt/bin + dosym ../rar/rar /opt/bin/rar + dosym ../rar/unrar /opt/bin/unrar + + docinto html + dodoc order.htm + + einstalldocs +} diff --git a/app-arch/unrar/Manifest b/app-arch/unrar/Manifest index 265be34e8102..349cea7be9b5 100644 --- a/app-arch/unrar/Manifest +++ b/app-arch/unrar/Manifest @@ -4,10 +4,12 @@ DIST unrar-6.2.12.tar.gz 246918 BLAKE2B 3c7744ee5839b4d87362625a03f30e3cac3d74df DIST unrar-6.2.8.tar.gz 246249 BLAKE2B 3766f7ebd0379835cff7cce8bb2deaf86d3de7c4a37d211d8a41effeb13a5a9efc53deabb5f10cd7f49d8e144cd9c1a93cce2ca3ae74e8a2142ab3ae97ab4759 SHA512 9b956d0c4b6a13f9ff4d9e57de7284dc879070746e3792e7640481a5b5b8336142b21c4d0c66c64627630cafbed0ff019a41b8f8536299ac7cbfdb933f92f75a DIST unrar-6.2.9.tar.gz 246388 BLAKE2B 495af1b78d2213c6bac0e75462b3d5e9fc3bfea809bcbb672216da47cd483bcc5867b504358125c51147a0e1869568c8a822946ca8148f204eeb087671029d9d SHA512 80424348946a56b47c107b2cd78c8bc7ce7f223a4d923b137860ec50678c4f279114dd7cdc9eb6a2fa6ff8c8a059ab8d35e16e3feae9dd1433fe51479501b61c DIST unrar-7.0.7.tar.gz 258219 BLAKE2B 06897428ef6ae9b2e6ef3183f25c06447386c7b5ce1c1438ad0119507ccbd2f2b62ce9d45c4dc73241db4440a1f96c7d9a9f3f542c0a7967df9c08b8cd3141cb SHA512 7151a42742d4c34a8f03c58dae471f80788b76adbb52188759b7fc7357757f88fa9d980de006ce48732c40f326b92b79fb069e807c2b66d4387ee60433a8accb +DIST unrar-7.0.9.tar.gz 258287 BLAKE2B 4933d62c8b7ea227b5eee8ce078a08cbe7534f35641ee0ce33bdd246f1045c65f773894d5868738b2174ea2bb2858745b5bd31dc5f958ef70188bcb805165300 SHA512 4dff760bd69275dcd9bacac7a8fa9a6e68e2d047ea3775abc16a80d9a6e277b686153faafb1b711582d86eabfdf3254c601d9f585b28104dbd85ece4868876ed EBUILD unrar-6.2.10.ebuild 1757 BLAKE2B c32e0b9eeeb17edd6da47b44c48bda3c80e4336b90bf72bdbb14ad832f0c606a9a9ed4db73fd9cb13754ee0642648463369c2b2bbcdac19e026449793f2894d4 SHA512 dd6d4fd175014f57cde71ee88e877f27a3aaabb8987a0e22f9c9ca1eb9a4de8103fb2bbcf3cee74c8cc59e8ac3b53f2dd87592d6ff4b0dfbb27a0f198932fa84 EBUILD unrar-6.2.12-r1.ebuild 2691 BLAKE2B ef37f5df5841ab3234966ef1e9101b451bc6004f6bb9a8f6838c7e1fd3a9ffaecac58d650e3eabb6f833b23ff1fc3ac698566ebf5074ebca3f161c98a8510a13 SHA512 3dee6dc18d9da3afd07bbc7a9f70f317d594f127daf61fe214275ef8c01b362ace4b35c8f12e2f3b2dd3ab4287e7a977f17b8d6dd1d2b4d3547e5e3bbe5ec7f5 EBUILD unrar-6.2.12.ebuild 1764 BLAKE2B 6c5a664b281463eeda4fac4820e949918a9246d09bea462457634ffbbfcea66ef0f816fb60d98bee3b2888044728affd3d8063214bc91be5a4cf5ca94fb55185 SHA512 edbd86ac83a32d95a49d5e74664fee4e15dd61a38abbc4bda1c8f8773b868c7f9ec463613e6eb327bcf255d16f166699f03a8d4049ac840d152e373ef568f8c6 EBUILD unrar-6.2.8.ebuild 1757 BLAKE2B c32e0b9eeeb17edd6da47b44c48bda3c80e4336b90bf72bdbb14ad832f0c606a9a9ed4db73fd9cb13754ee0642648463369c2b2bbcdac19e026449793f2894d4 SHA512 dd6d4fd175014f57cde71ee88e877f27a3aaabb8987a0e22f9c9ca1eb9a4de8103fb2bbcf3cee74c8cc59e8ac3b53f2dd87592d6ff4b0dfbb27a0f198932fa84 EBUILD unrar-6.2.9.ebuild 1764 BLAKE2B 6c5a664b281463eeda4fac4820e949918a9246d09bea462457634ffbbfcea66ef0f816fb60d98bee3b2888044728affd3d8063214bc91be5a4cf5ca94fb55185 SHA512 edbd86ac83a32d95a49d5e74664fee4e15dd61a38abbc4bda1c8f8773b868c7f9ec463613e6eb327bcf255d16f166699f03a8d4049ac840d152e373ef568f8c6 EBUILD unrar-7.0.7.ebuild 2698 BLAKE2B c004f0e12585670892401699c56ff9a1ed488980082b61bb98fa8279d1720b54c979b95d7745e78483d62d03d2f6588cf3b8a946fe9d5eee4788cbcbb29fae83 SHA512 16c9bf306cb1639e9da5342fb9b7ab76f8c83b294ca6fcd902f8001558b7db35d67cb33f3ea2f1d429fa18d523612d5a5254ba2cc85b698ed616788d544d7c5b +EBUILD unrar-7.0.9.ebuild 2698 BLAKE2B c004f0e12585670892401699c56ff9a1ed488980082b61bb98fa8279d1720b54c979b95d7745e78483d62d03d2f6588cf3b8a946fe9d5eee4788cbcbb29fae83 SHA512 16c9bf306cb1639e9da5342fb9b7ab76f8c83b294ca6fcd902f8001558b7db35d67cb33f3ea2f1d429fa18d523612d5a5254ba2cc85b698ed616788d544d7c5b MISC metadata.xml 409 BLAKE2B a84cfacf4a852caa6f6389b380eeb700e1c44c4af68cb2568a27db21c2b577838d9c57269dcdb5f08dfa989617eca978520082d36153ea503a5033c4cc9446af SHA512 fcdf5a345b3eb2b5093b60def127dd48fed068bf5caa92dc52524b4e398d49c39d8ee686b3f0695c781ab2d0d3ba486baec23f74f80e581b7a2f77e0c5709eaa diff --git a/app-arch/unrar/unrar-7.0.9.ebuild b/app-arch/unrar/unrar-7.0.9.ebuild new file mode 100644 index 000000000000..dcc656ed9f4f --- /dev/null +++ b/app-arch/unrar/unrar-7.0.9.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 ~ia64 ~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 +} |