diff options
author | Sam James <sam@gentoo.org> | 2022-04-07 00:11:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-07 00:33:37 +0100 |
commit | 7eda253785d276a8439584e4d76b93eb24876fa9 (patch) | |
tree | afe094ed82af283e7d7672b8e179b1e2f93e7d09 /app-arch/bzip2 | |
parent | sec-keys/openpgp-keys-bzip2: new package, add 20220406 (diff) | |
download | gentoo-7eda253785d276a8439584e4d76b93eb24876fa9.tar.gz gentoo-7eda253785d276a8439584e4d76b93eb24876fa9.tar.bz2 gentoo-7eda253785d276a8439584e4d76b93eb24876fa9.zip |
app-arch/bzip2: add verify-sig
Not syncing 9999 intentionally as it's a different upstream anyway
& completely different ebuild.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/bzip2')
-rw-r--r-- | app-arch/bzip2/Manifest | 1 | ||||
-rw-r--r-- | app-arch/bzip2/bzip2-1.0.8-r1.ebuild | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/app-arch/bzip2/Manifest b/app-arch/bzip2/Manifest index a4b18f5d5bf2..099151807c27 100644 --- a/app-arch/bzip2/Manifest +++ b/app-arch/bzip2/Manifest @@ -1 +1,2 @@ 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 diff --git a/app-arch/bzip2/bzip2-1.0.8-r1.ebuild b/app-arch/bzip2/bzip2-1.0.8-r1.ebuild index 20e9e8edeb87..27ae77914b3c 100644 --- a/app-arch/bzip2/bzip2-1.0.8-r1.ebuild +++ b/app-arch/bzip2/bzip2-1.0.8-r1.ebuild @@ -6,7 +6,8 @@ EAPI=7 -inherit toolchain-funcs multilib-minimal usr-ldscript +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bzip2.gpg +inherit toolchain-funcs multilib-minimal usr-ldscript verify-sig if [[ ${PVR} != 1.0.8-r1 ]]; then die "Please remove libbz2.so.1.0 logic from multilib_src_install" @@ -15,12 +16,15 @@ fi 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 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="static static-libs" +BDEPEND="verify-sig? ( sec-keys/openpgp-keys-bzip2 )" + PATCHES=( "${FILESDIR}"/${PN}-1.0.4-makefile-CFLAGS.patch "${FILESDIR}"/${PN}-1.0.8-saneso.patch |