diff options
author | Sam James <sam@gentoo.org> | 2022-04-07 00:42:18 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-07 00:58:17 +0100 |
commit | 9846a3ce298a91d9604a79fdf83d9715d51738cf (patch) | |
tree | 1b1f39159550016bdf2eb2ad2ff6f60a885b8785 /app-arch/tar | |
parent | sec-keys/openpgp-keys-tar: new package, add 20220406 (diff) | |
download | gentoo-9846a3ce298a91d9604a79fdf83d9715d51738cf.tar.gz gentoo-9846a3ce298a91d9604a79fdf83d9715d51738cf.tar.bz2 gentoo-9846a3ce298a91d9604a79fdf83d9715d51738cf.zip |
app-arch/tar: add verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch/tar')
-rw-r--r-- | app-arch/tar/Manifest | 1 | ||||
-rw-r--r-- | app-arch/tar/tar-1.34.ebuild | 14 |
2 files changed, 13 insertions, 2 deletions
diff --git a/app-arch/tar/Manifest b/app-arch/tar/Manifest index 0ee31a390c04..1a295ed77eed 100644 --- a/app-arch/tar/Manifest +++ b/app-arch/tar/Manifest @@ -1 +1,2 @@ DIST tar-1.34.tar.xz 2226068 BLAKE2B 741a662457509a6775338ffe5d2d84872fcf38b93ace70c8b748a81055b9b62f65a48c4e541955d08ae99e6f528509e89eacd7c799a65bcc3d017a259110c115 SHA512 5e77c4a7b49983ad7d15238c2bce28be7a8aa437b4b1815fc00abd13096da308b6bba196cc6e3ed79d85e62823d520ae0d8fcda2d93873842cf84dc3369fc902 +DIST tar-1.34.tar.xz.sig 181 BLAKE2B 2fae91293a9dacda0374706e1f83498042a9d5224f80f6f0e14abdb914cb5a8e980f720eb4a453485844c7fe26e0525f230c0eab11c7fa89159a1a929370795c SHA512 55297f41549deee511f5b14c6b5dc7bb3d9282dad52bcc85f9dddfad24b677f989ba86387ad9b133c3698feedbd6b6cd7e9f005e8e4c89f72c80543eeceb78f7 diff --git a/app-arch/tar/tar-1.34.ebuild b/app-arch/tar/tar-1.34.ebuild index b92c607064a9..40fdc747ffb7 100644 --- a/app-arch/tar/tar-1.34.ebuild +++ b/app-arch/tar/tar-1.34.ebuild @@ -3,15 +3,23 @@ EAPI=7 +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/tar.asc +inherit verify-sig + DESCRIPTION="Use this to make tarballs :)" HOMEPAGE="https://www.gnu.org/software/tar/" SRC_URI="mirror://gnu/tar/${P}.tar.xz https://alpha.gnu.org/gnu/tar/${P}.tar.xz" +SRC_URI+=" verify-sig? ( + mirror://gnu/tar/${P}.tar.xz.sig + https://alpha.gnu.org/gnu/tar/${P}.tar.xz.sig + )" LICENSE="GPL-3+" SLOT="0" -[[ -n "$(ver_cut 3)" ]] && [[ "$(ver_cut 3)" -ge 90 ]] || \ -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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" +if [[ -z "$(ver_cut 3)" ]] || [[ "$(ver_cut 3)" -lt 90 ]] ; then + KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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 IUSE="acl minimal nls selinux xattr" RDEPEND=" @@ -23,6 +31,7 @@ DEPEND="${RDEPEND} " BDEPEND=" nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-tar ) " src_configure() { @@ -35,6 +44,7 @@ src_configure() { $(use_with selinux) $(use_with xattr xattrs) ) + FORCE_UNSAFE_CONFIGURE=1 econf "${myeconfargs[@]}" } |