summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-07 04:41:37 +0100
committerSam James <sam@gentoo.org>2022-04-07 04:57:12 +0100
commitdfb053477f7cd2065b75970e6ea5dfb79f435a4e (patch)
treea7f669bb411b1fa6fcacad9db6726479f602eeed /sys-apps/diffutils
parentsec-keys/openpgp-keys-diffutils: new package, add 20220407 (diff)
downloadgentoo-dfb053477f7cd2065b75970e6ea5dfb79f435a4e.tar.gz
gentoo-dfb053477f7cd2065b75970e6ea5dfb79f435a4e.tar.bz2
gentoo-dfb053477f7cd2065b75970e6ea5dfb79f435a4e.zip
sys-apps/diffutils: add verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/diffutils')
-rw-r--r--sys-apps/diffutils/Manifest1
-rw-r--r--sys-apps/diffutils/diffutils-3.8.ebuild14
2 files changed, 11 insertions, 4 deletions
diff --git a/sys-apps/diffutils/Manifest b/sys-apps/diffutils/Manifest
index 60bb7af2dc63..acf8f16cb654 100644
--- a/sys-apps/diffutils/Manifest
+++ b/sys-apps/diffutils/Manifest
@@ -1 +1,2 @@
DIST diffutils-3.8.tar.xz 1585120 BLAKE2B 573abbfba55c62ba30d2084ca68860e9681cfe92648407f7fb04e1aaed2e4719e2fb5a29cf25bd125d762f4dfd52f85ee91f2ec19b099365bada7fe27a0394af SHA512 279441270987e70d5ecfaf84b6285a4866929c43ec877e50f154a788858d548a8a316f2fc26ad62f7348c8d289cb29a09d06dfadce1806e3d8b4ea88c8b1aa7c
+DIST diffutils-3.8.tar.xz.sig 833 BLAKE2B 439d331d9839d8b434b7192c52628bc9e8e1c11cada28170f85c9390abc3e5e9ea86aee696a4f9260552133053194680ff54b960ed539fabec85fdff54dee3a2 SHA512 0464ac89209411993800666b45ff90243d22fbda53bf1d71c6870d565b39cc8d9c54c141b9d297a181ce74ad8fb5313953f416bced179ff7728a52a3e9a4f5a5
diff --git a/sys-apps/diffutils/diffutils-3.8.ebuild b/sys-apps/diffutils/diffutils-3.8.ebuild
index 4cae3d13edc4..df2a985392fb 100644
--- a/sys-apps/diffutils/diffutils-3.8.ebuild
+++ b/sys-apps/diffutils/diffutils-3.8.ebuild
@@ -1,21 +1,27 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit flag-o-matic
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/diffutils.asc
+inherit flag-o-matic verify-sig
DESCRIPTION="Tools to make diffs and compare files"
HOMEPAGE="https://www.gnu.org/software/diffutils/"
SRC_URI="mirror://gnu/diffutils/${P}.tar.xz
- https://alpha.gnu.org/gnu/diffutils/${P}.tar.xz"
+ https://alpha.gnu.org/gnu/diffutils/${P}.tar.xz
+ verify-sig? (
+ mirror://gnu/diffutils/${P}.tar.xz.sig
+ https://alpha.gnu.org/gnu/diffutils/${P}.tar.xz.sig
+ )"
LICENSE="GPL-2"
SLOT="0"
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"
IUSE="nls static"
-BDEPEND="nls? ( sys-devel/gettext )"
+BDEPEND="nls? ( sys-devel/gettext )
+ verify-sig? ( sec-keys/openpgp-keys-diffutils )"
PATCHES=( "${FILESDIR}/ppc-musl.patch" )