summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-16 04:33:21 +0000
committerSam James <sam@gentoo.org>2021-04-16 04:40:20 +0000
commit40383a04ef95327b961084eecd00076f2e47233b (patch)
treec1d2e6552f6ede74537037c8403870265e02436a /net-misc/chrony
parentnet-analyzer/nmap: add verify-sig support (diff)
downloadgentoo-40383a04ef95327b961084eecd00076f2e47233b.tar.gz
gentoo-40383a04ef95327b961084eecd00076f2e47233b.tar.bz2
gentoo-40383a04ef95327b961084eecd00076f2e47233b.zip
net-analyzer/nmap: use live template
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/chrony')
-rw-r--r--net-misc/chrony/chrony-9999.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
index 0b13721b5373..5287ba540c71 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -3,8 +3,7 @@
EAPI=7
-VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mlichvar.asc
-inherit systemd tmpfiles toolchain-funcs verify-sig
+inherit systemd tmpfiles toolchain-funcs
DESCRIPTION="NTP client and server programs"
HOMEPAGE="https://chrony.tuxfamily.org/ https://git.tuxfamily.org/chrony/chrony.git"
@@ -13,6 +12,9 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.tuxfamily.org/chrony/chrony.git"
else
+ VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/mlichvar.asc
+ inherit verify-sig
+
SRC_URI="https://download.tuxfamily.org/${PN}/${P/_/-}.tar.gz"
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"
@@ -37,13 +39,14 @@ RESTRICT="test"
BDEPEND="
nettle? ( virtual/pkgconfig )
- verify-sig? ( app-crypt/openpgp-keys-mlichvar )
"
if [[ ${PV} == "9999" ]]; then
# Needed for doc generation in 9999
- BDEPEND+=" virtual/w3m"
REQUIRED_USE+=" html"
+ BDEPEND+=" virtual/w3m"
+else
+ BDEPEND+=" verify-sig? ( app-crypt/openpgp-keys-mlichvar )"
fi
DEPEND="