diff options
author | 2021-04-16 04:19:58 +0000 | |
---|---|---|
committer | 2021-04-16 04:35:54 +0000 | |
commit | ac62b1c71d20d87fcaa1649f3cd4019c5843096c (patch) | |
tree | bdf7a6c178d50d98f25330ca28d72a638d7d49cc /net-misc/chrony/chrony-9999.ebuild | |
parent | app-crypt/openpgp-keys-mlichvar: initial import (diff) | |
download | gentoo-ac62b1c71d20d87fcaa1649f3cd4019c5843096c.tar.gz gentoo-ac62b1c71d20d87fcaa1649f3cd4019c5843096c.tar.bz2 gentoo-ac62b1c71d20d87fcaa1649f3cd4019c5843096c.zip |
net-misc/chrony: add verify-sig support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/chrony/chrony-9999.ebuild')
-rw-r--r-- | net-misc/chrony/chrony-9999.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild index 7e6fadddffaa..0b13721b5373 100644 --- a/net-misc/chrony/chrony-9999.ebuild +++ b/net-misc/chrony/chrony-9999.ebuild @@ -3,7 +3,8 @@ EAPI=7 -inherit systemd tmpfiles toolchain-funcs +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mlichvar.asc +inherit systemd tmpfiles toolchain-funcs verify-sig DESCRIPTION="NTP client and server programs" HOMEPAGE="https://chrony.tuxfamily.org/ https://git.tuxfamily.org/chrony/chrony.git" @@ -13,7 +14,8 @@ if [[ ${PV} == "9999" ]]; then EGIT_REPO_URI="https://git.tuxfamily.org/chrony/chrony.git" else SRC_URI="https://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + SRC_URI+=" verify-sig? ( https://download.tuxfamily.org/chrony/${P}-tar-gz-asc.txt -> ${P}.tar.gz.asc )" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" fi S="${WORKDIR}/${P/_/-}" @@ -33,7 +35,10 @@ REQUIRED_USE=" " RESTRICT="test" -BDEPEND="nettle? ( virtual/pkgconfig )" +BDEPEND=" + nettle? ( virtual/pkgconfig ) + verify-sig? ( app-crypt/openpgp-keys-mlichvar ) +" if [[ ${PV} == "9999" ]]; then # Needed for doc generation in 9999 |