summaryrefslogtreecommitdiff
path: root/app-arch
diff options
context:
space:
mode:
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/Manifest.gzbin16889 -> 16894 bytes
-rw-r--r--app-arch/xz-utils/Manifest7
-rw-r--r--app-arch/xz-utils/metadata.xml1
-rw-r--r--app-arch/xz-utils/xz-utils-5.4.1.ebuild122
-rw-r--r--app-arch/xz-utils/xz-utils-9999.ebuild11
5 files changed, 137 insertions, 4 deletions
diff --git a/app-arch/Manifest.gz b/app-arch/Manifest.gz
index f4bf1f13495c..e18121490205 100644
--- a/app-arch/Manifest.gz
+++ b/app-arch/Manifest.gz
Binary files differ
diff --git a/app-arch/xz-utils/Manifest b/app-arch/xz-utils/Manifest
index 3e1e084c6120..ea7c5f4ae52b 100644
--- a/app-arch/xz-utils/Manifest
+++ b/app-arch/xz-utils/Manifest
@@ -2,7 +2,10 @@ DIST xz-5.2.10.tar.gz 2123206 BLAKE2B fdd9e77e21ee65482401e0e43e0b291093a227d452
DIST xz-5.2.10.tar.gz.sig 566 BLAKE2B ce72730816d03084dc0d1559d6f2890b3ebe25a5e6b0720d4775ba2364762b5d1934a3a53f2255f6e68a1cdf42778d85d8b02ab30396b2addab619e95855f733 SHA512 48a0864abee6639116678afab6e8319eb2de903b381362c611fb77f9b6fc21df5f7d9783a250810f7ecc08380fb371a3a791ab55f5a343b68b9d4f9e414da403
DIST xz-5.4.0.tar.gz 2332619 BLAKE2B 7bcf2e48470b885ae48b1fd0d46ab504961e7c5b1358d8c57a6fe1ba32311f5ca837740cff7ba77767f0a25ef80ec68c3d43029f87af035131526cb71f961d0f SHA512 29b2cd25bb5b234b329ffe9547692d2c29be393db9d8d4ce70a66dfdaebd54433e79a89d80c57e58cd4559c3c68b9845507d5fedf3eec1c528a81e3d9ddbd811
DIST xz-5.4.0.tar.gz.sig 566 BLAKE2B 6f8a6c81c0d91cea08b218e8f8ed74cea3b471a0adb0b5aac114f85d103977052b735ce5582e4fe5354dde17a7072d776f2fd64844531c3f67e60c770ccdc10e SHA512 9bebc2ad25ff63036e6cb07e9ea6767441138fd91ef59e6f068c370296a594135479477a18f086dbf06b7dda5188fa0da09c24a6b7b3e7222e4bca70104d20d2
+DIST xz-5.4.1.tar.gz 2528617 BLAKE2B f4dc8698fb97002aa0548107b448ab0dd8659cce506a83775930f95fd775601f7de1df44866310ac617853410a1915cd4e90ad4088b2fd56418e67b6f0fc4e98 SHA512 5cff8383a68fb88ecbb3770ec48af0ad5582e08de9dccd339e0b685aaa53447e59d6425caa3f63b54a674e5d78c20520876db547d156e6658ad4841660cba85b
+DIST xz-5.4.1.tar.gz.sig 566 BLAKE2B f384bcf7ea6bd7d3af65b6b17b379b48826257f403bca0bed1b42697f88edbc38f38eaac03c5564fc466df670f40e2e7ee49974232da4eb849718e89234c224b SHA512 2e6c3bf04ceb29c1bac8fdde7aa09c4d0f96442515d797e06ea860f365fd94777630b0034b98006cf844083efea8642a0bf87b1ff56de6a58446a644b1fd3c1c
EBUILD xz-utils-5.2.10.ebuild 2894 BLAKE2B 3516bd558ae5bd8bb752854c96264c70764e47b6bcaf185826edb5c18199e67589c0ab3b8c866f5858a6aff902375a69fcfefc198305555a482730db5cacc256 SHA512 e3a8d3305f17d3a183ebf8c111b3631cbdb4fedca6e19d7a47c09371c66cf329b5d390722709d840134b2343e83b427d79baceffd8d97c6ad05a990d337165e2
EBUILD xz-utils-5.4.0.ebuild 2808 BLAKE2B 8eda4404458536807ee3f60f4c3d6147ef95ec5e8fb8ed2db89ef923df1988c1402ebb928ed2190bbf9a4622b632e46707abffb6cfcff4fff16b4e0cfc53afa4 SHA512 d95c98d55fcc06ab7f9de9dbbe6d80f7ffac41596d0820e442784ef11c964f62d8ed6feea81d3af2fd5d917605384f4a8befdeff3dfe0d249d83fad0fb1f2c10
-EBUILD xz-utils-9999.ebuild 2808 BLAKE2B 8eda4404458536807ee3f60f4c3d6147ef95ec5e8fb8ed2db89ef923df1988c1402ebb928ed2190bbf9a4622b632e46707abffb6cfcff4fff16b4e0cfc53afa4 SHA512 d95c98d55fcc06ab7f9de9dbbe6d80f7ffac41596d0820e442784ef11c964f62d8ed6feea81d3af2fd5d917605384f4a8befdeff3dfe0d249d83fad0fb1f2c10
-MISC metadata.xml 605 BLAKE2B 8e98c2e0b5fbf084de29042ebc760572443480fc259719f4f841c8138b976dfd9c7a0157d085a91868275ebcb689064ed91742dc041ef56d7122d9fdcea98329 SHA512 3a3bdc89d0228ff462312bbe9db8666c4936e64aad7f36e71daff9f24e727a3f71b9f045c7dd5a9073ac5f6fa5a21046d0f6283e24d42fee705297f7a795196e
+EBUILD xz-utils-5.4.1.ebuild 3098 BLAKE2B 81ecaf3cd48ae89cf35fc0260659b4a72409eeadb7b48823c4ae8169966e75e116125b11cd1f3a2aa766b1dfce19bc8cb616574fe28beaf3810e716dd223ab76 SHA512 75c122415323c4f61014ad428e43ada3363b9442fe7ca1085667403c01c5264b98f216a95cbcd09391e92281f1475febb82e995e2fd43ba7ea2fc776acd22b51
+EBUILD xz-utils-9999.ebuild 3098 BLAKE2B 81ecaf3cd48ae89cf35fc0260659b4a72409eeadb7b48823c4ae8169966e75e116125b11cd1f3a2aa766b1dfce19bc8cb616574fe28beaf3810e716dd223ab76 SHA512 75c122415323c4f61014ad428e43ada3363b9442fe7ca1085667403c01c5264b98f216a95cbcd09391e92281f1475febb82e995e2fd43ba7ea2fc776acd22b51
+MISC metadata.xml 663 BLAKE2B 7a6625813cb3bdbab8a37845c9c64ac53ff377db394f776357d4fff60fbfe7c7b0e954fdc15abcc8874dd6c0f9ee90bc6e179a00bc5d12cd2e7cedc6f998c019 SHA512 696e573853d5d401f22079492d8e2b5f3c27e9ec4b6095f5ff46f109366b1c65c11976123abed06f302b8f03aaa1b0c54884f0156fdfdce23f4bf28feaafd39c
diff --git a/app-arch/xz-utils/metadata.xml b/app-arch/xz-utils/metadata.xml
index 7780c7209f08..89d8ff67986f 100644
--- a/app-arch/xz-utils/metadata.xml
+++ b/app-arch/xz-utils/metadata.xml
@@ -13,5 +13,6 @@
<upstream>
<remote-id type="cpe">cpe:/a:tukaani:xz</remote-id>
<remote-id type="sourceforge">lzmautils</remote-id>
+ <remote-id type="github">tukaani-project/xz</remote-id>
</upstream>
</pkgmetadata>
diff --git a/app-arch/xz-utils/xz-utils-5.4.1.ebuild b/app-arch/xz-utils/xz-utils-5.4.1.ebuild
new file mode 100644
index 000000000000..cb694cd99a4a
--- /dev/null
+++ b/app-arch/xz-utils/xz-utils-5.4.1.ebuild
@@ -0,0 +1,122 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Remember: we cannot leverage autotools in this ebuild in order
+# to avoid circular deps with autotools
+
+EAPI=7
+
+inherit libtool multilib multilib-minimal preserve-libs usr-ldscript
+
+if [[ ${PV} == 9999 ]] ; then
+ # Per tukaani.org, git.tukaani.org is a mirror of github and
+ # may be behind.
+ EGIT_REPO_URI="
+ https://github.com/tukaani-project/xz
+ https://git.tukaani.org/xz.git
+ "
+ inherit git-r3 autotools
+
+ # bug #272880 and bug #286068
+ BDEPEND="sys-devel/gettext >=sys-devel/libtool-2"
+else
+ VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/lassecollin.asc
+ inherit verify-sig
+
+ MY_P="${PN/-utils}-${PV/_}"
+ SRC_URI="
+ https://github.com/tukaani-project/xz/releases/download/v${PV}/${MY_P}.tar.gz
+ mirror://sourceforge/lzmautils/${MY_P}.tar.gz
+ https://tukaani.org/xz/${MY_P}.tar.gz
+ verify-sig? (
+ https://github.com/tukaani-project/xz/releases/download/v${PV}/${MY_P}.tar.gz.sig
+ https://tukaani.org/xz/${MY_P}.tar.gz.sig
+ )
+ "
+
+ if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+ fi
+
+ S="${WORKDIR}/${MY_P}"
+fi
+
+DESCRIPTION="Utils for managing LZMA compressed files"
+HOMEPAGE="https://tukaani.org/xz/"
+
+# See top-level COPYING file as it outlines the various pieces and their licenses.
+LICENSE="public-domain LGPL-2.1+ GPL-2+"
+SLOT="0"
+IUSE="+extra-filters nls static-libs"
+
+if [[ ${PV} != 9999 ]] ; then
+ BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-lassecollin )"
+fi
+
+src_prepare() {
+ default
+
+ if [[ ${PV} == 9999 ]] ; then
+ eautopoint
+ eautoreconf
+ else
+ # Allow building shared libs on Solaris/x64
+ elibtoolize
+ fi
+}
+
+multilib_src_configure() {
+ local myconf=(
+ --enable-threads
+ $(use_enable nls)
+ $(use_enable static-libs static)
+ )
+
+ if ! multilib_is_native_abi ; then
+ myconf+=(
+ --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}
+ )
+ fi
+
+ if ! use extra-filters ; then
+ myconf+=(
+ # LZMA1 + LZMA2 for standard .lzma & .xz files
+ --enable-encoders=lzma1,lzma2
+ --enable-decoders=lzma1,lzma2
+
+ # those are used by default, depending on preset
+ --enable-match-finders=hc3,hc4,bt4
+
+ # CRC64 is used by default, though some (old?) files use CRC32
+ --enable-checks=crc32,crc64
+ )
+ fi
+
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ export gl_cv_posix_shell="${EPREFIX}"/bin/sh
+
+ # Undo Solaris-based defaults pointing to /usr/xpg5/bin
+ myconf+=( --disable-path-for-script )
+ fi
+
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_install() {
+ default
+
+ gen_usr_ldscript -a lzma
+}
+
+multilib_src_install_all() {
+ find "${ED}" -type f -name '*.la' -delete || die
+ rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
+}
+
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
+}
diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild
index 53811b5967ca..cb694cd99a4a 100644
--- a/app-arch/xz-utils/xz-utils-9999.ebuild
+++ b/app-arch/xz-utils/xz-utils-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Remember: we cannot leverage autotools in this ebuild in order
@@ -9,7 +9,12 @@ EAPI=7
inherit libtool multilib multilib-minimal preserve-libs usr-ldscript
if [[ ${PV} == 9999 ]] ; then
- EGIT_REPO_URI="https://git.tukaani.org/xz.git"
+ # Per tukaani.org, git.tukaani.org is a mirror of github and
+ # may be behind.
+ EGIT_REPO_URI="
+ https://github.com/tukaani-project/xz
+ https://git.tukaani.org/xz.git
+ "
inherit git-r3 autotools
# bug #272880 and bug #286068
@@ -20,9 +25,11 @@ else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="
+ https://github.com/tukaani-project/xz/releases/download/v${PV}/${MY_P}.tar.gz
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
https://tukaani.org/xz/${MY_P}.tar.gz
verify-sig? (
+ https://github.com/tukaani-project/xz/releases/download/v${PV}/${MY_P}.tar.gz.sig
https://tukaani.org/xz/${MY_P}.tar.gz.sig
)
"