summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-17 22:21:24 +0000
committerSam James <sam@gentoo.org>2021-05-17 22:24:32 +0000
commitbcc3c9ad3768167d681e71b0d78a9678308baa11 (patch)
treea07f2646387d861a81e57b66569f9995cff5b7b4 /net-dns
parentnet-dns/libidn2: join as co-maintainer (diff)
downloadgentoo-bcc3c9ad3768167d681e71b0d78a9678308baa11.tar.gz
gentoo-bcc3c9ad3768167d681e71b0d78a9678308baa11.tar.bz2
gentoo-bcc3c9ad3768167d681e71b0d78a9678308baa11.zip
net-dns/libidn2: add verify-sig support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/libidn2/Manifest1
-rw-r--r--net-dns/libidn2/libidn2-2.3.1.ebuild10
2 files changed, 8 insertions, 3 deletions
diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest
index 7319c60bf8b5..46939a1db367 100644
--- a/net-dns/libidn2/Manifest
+++ b/net-dns/libidn2/Manifest
@@ -1,2 +1,3 @@
DIST libidn2-2.3.0.tar.gz 2164993 BLAKE2B 3c103831c39fa3fd0340c9c45f3f683483207ade9cadc8d85b046a698f75bbe5ce6829de69a5cb238404d243b7a39ef44d69ea4ea80c22b813eafbacae615a8b SHA512 a2bf6d2249948bce14fbbc802f8af1c9b427fc9bf64203a2f3d7239d8e6061d0a8e7970a23e8e5889110a654a321e0504c7a6d049bb501e7f6a23d42b50b6187
DIST libidn2-2.3.1.tar.gz 2188338 BLAKE2B 323840b0d84f41cc746ca9b5a24169a374e95bd4669b96d7b62ac3304f6d78195acef7739628cf7e31cf7b230ffb60f74961c3e22693571fd2fc7cbb35f1ac23 SHA512 4d77a4a79e08a05e46fc14827f987b9e7645ebf5d0c0869eb96f9902c2f6b73ea69fd6f9f97b80a9f07cce84f7aa299834df91485d4e7c16500d31a4b9865fe4
+DIST libidn2-2.3.1.tar.gz.sig 488 BLAKE2B 2e1428ec240964fcdc1dbe96afa69920e5f5439ebf9c58e134832ceab932aef57176744a8fdf76ca29e73650c18406ec894b8e92dd95d52cb712bf7f823ca820 SHA512 2db4bb3a11562634276664fb857306271c6ebc96cf5e90b39b404c3fe47190ec65ce3866cebcfa0c1216d29d7aed8c7907b869e602a722db1cf8f6ab94da9c78
diff --git a/net-dns/libidn2/libidn2-2.3.1.ebuild b/net-dns/libidn2/libidn2-2.3.1.ebuild
index 85c2e06f7552..ca045ed9ec8c 100644
--- a/net-dns/libidn2/libidn2-2.3.1.ebuild
+++ b/net-dns/libidn2/libidn2-2.3.1.ebuild
@@ -2,13 +2,17 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit multilib-minimal toolchain-funcs
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libidn.asc
+inherit multilib-minimal toolchain-funcs verify-sig
DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/libidn/libidn2"
SRC_URI="
mirror://gnu/libidn/${P}.tar.gz
+ verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig )
"
+S="${WORKDIR}"/${P/a/}
LICENSE="GPL-2+ LGPL-3+"
SLOT="0/2"
@@ -22,8 +26,8 @@ DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/perl
sys-apps/help2man
+ verify-sig? ( app-crypt/openpgp-keys-libidn )
"
-S=${WORKDIR}/${P/a/}
src_prepare() {
default
@@ -50,5 +54,5 @@ multilib_src_configure() {
multilib_src_install() {
default
- find "${D}" -name '*.la' -delete || die
+ find "${ED}" -name '*.la' -delete || die
}