summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-03 02:02:22 +0100
committerSam James <sam@gentoo.org>2024-06-03 02:04:56 +0100
commit3b2498c8614935e72bf50fe8655c7a789a95aed2 (patch)
tree9928c8f93094fb91d358e7b45035422db3db3941 /dev-build/make
parentnet-misc/wget: update SRC_URI to .lz (diff)
downloadgentoo-3b2498c8614935e72bf50fe8655c7a789a95aed2.tar.gz
gentoo-3b2498c8614935e72bf50fe8655c7a789a95aed2.tar.bz2
gentoo-3b2498c8614935e72bf50fe8655c7a789a95aed2.zip
dev-build/make: update SRC_URI to .lz
Switch to .lz because xz-utils can unpack it these days. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-build/make')
-rw-r--r--dev-build/make/Manifest4
-rw-r--r--dev-build/make/make-4.4.1-r1.ebuild14
-rw-r--r--dev-build/make/make-9999.ebuild14
3 files changed, 18 insertions, 14 deletions
diff --git a/dev-build/make/Manifest b/dev-build/make/Manifest
index c639311d60ed..886bf48fa5dc 100644
--- a/dev-build/make/Manifest
+++ b/dev-build/make/Manifest
@@ -1,2 +1,2 @@
-DIST make-4.4.1.tar.gz 2348200 BLAKE2B 09a4ad8060259e36854b525ab610fd317a86f4926e44e3ab8adba75dccc8d4b445df9dd25ccfb4c25a54bc0e98238a9127e36401d74cbc3503a329eadcdf4995 SHA512 145260cbd6a8226cef3dfef0c8baba31847beaebc7e6b65d39d02715fd4f4cab9b139b6c3772e550088d4f9ae80c6d3ed20b9a7664c693644dfb96b4cb60e67c
-DIST make-4.4.1.tar.gz.sig 833 BLAKE2B d5f9a33b0262d4a9216f47718f6596884852662a692e708191a7007964007940da1c06549db28ae1d13683c4a949b9ee86da9dedd9a80da8f8b09e71e659e9a1 SHA512 d7a5531c10f216d690ec036f3875c7f314fa53006e138568c60132d506db48d1a59201623e168091dafa4465b005991019e42f81ff1a96a44610b6b18de08b09
+DIST make-4.4.1.tar.lz 1305648 BLAKE2B b0c62a85a99b15e38ee9e08c38be9b1c4c6d81a01bc8ea94f83e7f1a93968b9c8c8b69c92bb4112646a58e38bb9d2effdd461fb2a82b1360681351e07c123a26 SHA512 591e9fab2f807bfda908f3376fdbf304c3377a6b15d13f3029456722972e361d205b692855de8ddbce64ff3f404873cbfb65f4097ca4a3b81029dc83bafcc67c
+DIST make-4.4.1.tar.lz.sig 833 BLAKE2B f72d2afaec6f21f4c731a42408200c05ed56532cbee16c1f1a4db2f1d641d27fb3c41ff2becd717e94ded7d079e683ff320c795e5073a95aed731d99666173cd SHA512 a6e4d3ef63456031c357277f0867652776afd0bd801c3be67a3f81b03103dddc5c6471ce50a89a4fd379a535163f22758cadab25a5c2192a2332124bcbbe8d74
diff --git a/dev-build/make/make-4.4.1-r1.ebuild b/dev-build/make/make-4.4.1-r1.ebuild
index 2e65b08c27e4..aa47d6e80b6c 100644
--- a/dev-build/make/make-4.4.1-r1.ebuild
+++ b/dev-build/make/make-4.4.1-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/make.asc
-inherit flag-o-matic verify-sig
+inherit flag-o-matic unpacker verify-sig
DESCRIPTION="Standard tool to compile source trees"
HOMEPAGE="https://www.gnu.org/software/make/make.html"
@@ -12,11 +12,11 @@ if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/make.git"
inherit autotools git-r3
elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
- SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.gz"
- SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu/make/${P}.tar.gz.sig )"
+ SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.lz"
+ SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu/make/${P}.tar.lz.sig )"
else
- SRC_URI="mirror://gnu/make/${P}.tar.gz"
- SRC_URI+=" verify-sig? ( mirror://gnu/make/${P}.tar.gz.sig )"
+ SRC_URI="mirror://gnu/make/${P}.tar.lz"
+ SRC_URI+=" verify-sig? ( mirror://gnu/make/${P}.tar.lz.sig )"
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"
fi
@@ -31,6 +31,7 @@ RDEPEND="
nls? ( virtual/libintl )
"
BDEPEND="
+ $(unpacker_src_uri_depends)
doc? ( virtual/texi2dvi )
nls? ( sys-devel/gettext )
verify-sig? ( sec-keys/openpgp-keys-make )
@@ -50,7 +51,8 @@ src_unpack() {
cd "${S}" || die
./bootstrap || die
else
- verify-sig_src_unpack
+ use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P}.tar.lz{,.sig}
+ unpacker ${P}.tar.lz
fi
}
diff --git a/dev-build/make/make-9999.ebuild b/dev-build/make/make-9999.ebuild
index 146e017cec5b..6ed0e9b00642 100644
--- a/dev-build/make/make-9999.ebuild
+++ b/dev-build/make/make-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/make.asc
-inherit flag-o-matic verify-sig
+inherit flag-o-matic unpacker verify-sig
DESCRIPTION="Standard tool to compile source trees"
HOMEPAGE="https://www.gnu.org/software/make/make.html"
@@ -12,11 +12,11 @@ if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://git.savannah.gnu.org/git/make.git"
inherit autotools git-r3
elif [[ $(ver_cut 3) -ge 90 || $(ver_cut 4) -ge 90 ]] ; then
- SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.gz"
- SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu/make/${P}.tar.gz.sig )"
+ SRC_URI="https://alpha.gnu.org/gnu/make/${P}.tar.lz"
+ SRC_URI+=" verify-sig? ( https://alpha.gnu.org/gnu/make/${P}.tar.lz.sig )"
else
- SRC_URI="mirror://gnu/make/${P}.tar.gz"
- SRC_URI+=" verify-sig? ( mirror://gnu/make/${P}.tar.gz.sig )"
+ SRC_URI="mirror://gnu/make/${P}.tar.lz"
+ SRC_URI+=" verify-sig? ( mirror://gnu/make/${P}.tar.lz.sig )"
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"
fi
@@ -31,6 +31,7 @@ RDEPEND="
nls? ( virtual/libintl )
"
BDEPEND="
+ $(unpacker_src_uri_depends)
doc? ( virtual/texi2dvi )
nls? ( sys-devel/gettext )
verify-sig? ( sec-keys/openpgp-keys-make )
@@ -50,7 +51,8 @@ src_unpack() {
cd "${S}" || die
./bootstrap || die
else
- verify-sig_src_unpack
+ use verify-sig && verify-sig_verify_detached "${DISTDIR}"/${P}.tar.lz{,.sig}
+ unpacker ${P}.tar.lz
fi
}