summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-14 00:35:26 +0100
committerSam James <sam@gentoo.org>2022-10-14 00:35:26 +0100
commit288d6d7940c12521c69c1d1d00a9779f234fea42 (patch)
treedfae467aa9adde1aacfde6739ac0d11f68392d71 /dev-util/cproto
parentdev-util/dialog: add verify-sig (diff)
downloadgentoo-288d6d7940c12521c69c1d1d00a9779f234fea42.tar.gz
gentoo-288d6d7940c12521c69c1d1d00a9779f234fea42.tar.bz2
gentoo-288d6d7940c12521c69c1d1d00a9779f234fea42.zip
dev-util/cproto: EAPI 8, verify-sig
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/cproto')
-rw-r--r--dev-util/cproto/Manifest1
-rw-r--r--dev-util/cproto/cproto-4.7t-r1.ebuild22
-rw-r--r--dev-util/cproto/cproto-4.7t.ebuild15
3 files changed, 23 insertions, 15 deletions
diff --git a/dev-util/cproto/Manifest b/dev-util/cproto/Manifest
index f855035845f6..04a1511c90ab 100644
--- a/dev-util/cproto/Manifest
+++ b/dev-util/cproto/Manifest
@@ -1 +1,2 @@
DIST cproto-4.7t.tgz 181095 BLAKE2B 60e8fc26acab8a7475d08c413b85bfc68b1fec877845f6302f741665eb3f779faf313d5463ec08f6a41a04737a9c280d3f8d5247bed819a21ea30a3c2d11f197 SHA512 ad5abddeec7e92ec85ac5d19f025a1d3362ed0a082e3a00fbc64545e3ef6e34fbd9cfff36be01276836d1d834c481927d12f747b0904dbc644d43f2e879bd82f
+DIST cproto-4.7t.tgz.asc 729 BLAKE2B 9b668a41374d273263d535fb4dba5038a72f3ee3d0f44a2bc5f6fa85a426f1c2209dea4655639b772f6d5d036af1131dec476c1e2e9dbb808a18a734ff538ede SHA512 d3874a04159a092322097c254a2a855db55409eaa7d529eaee973a4763bf71c525f8b40e9d5fbdf5028108713a8e891f45b26e31bd5c879d3d4e5249c8dcae3f
diff --git a/dev-util/cproto/cproto-4.7t-r1.ebuild b/dev-util/cproto/cproto-4.7t-r1.ebuild
new file mode 100644
index 000000000000..770330e2dde8
--- /dev/null
+++ b/dev-util/cproto/cproto-4.7t-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/thomasdickey.asc
+inherit verify-sig
+
+DESCRIPTION="Generate C function prototypes from C source code"
+HOMEPAGE="https://invisible-island.net/cproto/"
+SRC_URI="https://invisible-island.net/archives/${PN}/${P}.tgz"
+SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${P}.tgz.asc )"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+DEPEND="
+ sys-devel/flex
+ virtual/yacc
+"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-thomasdickey )"
diff --git a/dev-util/cproto/cproto-4.7t.ebuild b/dev-util/cproto/cproto-4.7t.ebuild
deleted file mode 100644
index b2f55586ea3e..000000000000
--- a/dev-util/cproto/cproto-4.7t.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Generate C function prototypes from C source code"
-HOMEPAGE="https://invisible-island.net/cproto/"
-SRC_URI="ftp://ftp.invisible-island.net/cproto/${P}.tgz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
-
-DEPEND="sys-devel/flex
- virtual/yacc"