commit:     110c71a2a0fcd14391aab4ae235a474cdfe5c585
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 00:44:55 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 00:45:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=110c71a2

sys-devel/bison: add verify-sig

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/bison/Manifest           | 1 +
 sys-devel/bison/bison-3.8.2.ebuild | 7 +++++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-devel/bison/Manifest b/sys-devel/bison/Manifest
index 60fc54129fef..6608f2bfcaec 100644
--- a/sys-devel/bison/Manifest
+++ b/sys-devel/bison/Manifest
@@ -2,3 +2,4 @@ DIST bison-3.7.6-patches-01.tar.xz 10600 BLAKE2B 
c7907a327c2bbb82a2e575a864e7140
 DIST bison-3.7.6.tar.xz 2627180 BLAKE2B 
2f1015b517e46ff0870378b4d0dd489c8c737f31b2b69146bd7fbbae1e3adcdff0e4837cfdf1d238e8660ecc2b310ce87ec8940ed4989278b3df6cbb2d464e54
 SHA512 
6c1c9b825fbd2c94b8903f03a7e68e6832599f7bbd8d3c49864537c11b038c45a15de02fd36128d662af314334c83515bbc132df84e9acc6c651e98649c65bad
 DIST bison-3.8.1.tar.xz 2800372 BLAKE2B 
0b70ee1b3ab8075540d9254cffdc1dfc9a9fb354d8b9b79dd3b097bf9a2235f892e120736e4195ad21ce8fbf3831c63b2d1a267a20a7abf85f0d72cdcdac1820
 SHA512 
f87978c41eca4db22de4f64feb3be92e44862d412f75dd84980045faf0f9e7f5a41b25bef8d4acd90743638eab61a7ac111444969d958fef5fe3535bac416921
 DIST bison-3.8.2.tar.xz 2817324 BLAKE2B 
e211b61494c911f55b72a8b70b5a48cdf4000ce9e675a1f1f52735bb8f57d93a3f8075341451263af9c9c531004907ae2b62b1873e7e4664c2cd26fa3b12271c
 SHA512 
d4d23af6671406e97257892f90651b67f2ab95219831372be032190b7156c10a3435d457857e677445df8b2327aacccc15344acbbc3808a6f332a93cce23b444
+DIST bison-3.8.2.tar.xz.sig 195 BLAKE2B 
b9bd21adb5115d3d3174c94223fbc9cd33afa0e9c1805008e49f77ff154fc2b656d8a9e9503dc5290658ae2948a2ca7c0dbc812f62aec268d8f8bfafb6349096
 SHA512 
8bb7743ca326e81a6c091b1413e3c09bd43c7eabbb80bac0638ccd52bdf7e3395cce300a86acd95f4637a9ec8a1b0e9a4d3d25d95ab0a8f03e57fd82eb87a7ac

diff --git a/sys-devel/bison/bison-3.8.2.ebuild 
b/sys-devel/bison/bison-3.8.2.ebuild
index 0815391c170c..f05a0121018d 100644
--- a/sys-devel/bison/bison-3.8.2.ebuild
+++ b/sys-devel/bison/bison-3.8.2.ebuild
@@ -1,13 +1,15 @@
-# 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/bison.asc
+inherit flag-o-matic verify-sig
 
 DESCRIPTION="A general-purpose (yacc-compatible) parser generator"
 HOMEPAGE="https://www.gnu.org/software/bison/";
 SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
+SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${P}.tar.xz.sig )"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -25,6 +27,7 @@ RDEPEND="${DEPEND}"
 BDEPEND="
        sys-devel/flex
        test? ( dev-lang/perl )
+       verify-sig? ( sec-keys/openpgp-keys-bison )
 "
 
 DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) # ChangeLog-2012 
ChangeLog-1998 PACKAGING README-alpha README-release

Reply via email to