summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <crabbedhaloablution@icloud.com>2020-12-15 12:48:23 +0100
committerSam James <sam@gentoo.org>2021-02-08 14:53:59 +0000
commit0233f5c3801e2efe5a8c6162d1d00740fdf854e7 (patch)
treef95f271d0294ead260c80f204ab4e78d090fd8c9 /net-misc
parentnet-misc/chrony: enable NTS support (diff)
downloadgentoo-0233f5c3801e2efe5a8c6162d1d00740fdf854e7.tar.gz
gentoo-0233f5c3801e2efe5a8c6162d1d00740fdf854e7.tar.bz2
gentoo-0233f5c3801e2efe5a8c6162d1d00740fdf854e7.zip
net-misc/chrony: add debug support
Added debug use-flag. Use -dd option to chronyd to get DEBUG_LOG output. Added in 2013(!) commit 4bbc5520b8e340a08795e245784beb42c1254c0b. Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/chrony/chrony-9999.ebuild3
-rw-r--r--net-misc/chrony/metadata.xml1
2 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
index 650ad8c14157..b648039d357e 100644
--- a/net-misc/chrony/chrony-9999.ebuild
+++ b/net-misc/chrony/chrony-9999.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}/${P/_/-}"
LICENSE="GPL-2"
SLOT="0"
-IUSE="+caps +cmdmon html ipv6 libedit +nettle nss +ntp +phc +nts pps +refclock +rtc samba +seccomp +sechash selinux"
+IUSE="+caps +cmdmon debug html ipv6 libedit +nettle nss +ntp +phc +nts pps +refclock +rtc samba +seccomp +sechash selinux"
REQUIRED_USE="
sechash? ( || ( nettle nss ) )
nettle? ( !nss )
@@ -97,6 +97,7 @@ src_configure() {
$(use_enable seccomp scfilter)
$(usex caps '' --disable-linuxcaps)
$(usex cmdmon '' --disable-cmdmon)
+ $(usex debug '--enable-debug' '')
$(usex ipv6 '' --disable-ipv6)
$(usex libedit '' --without-editline)
$(usex nettle '' --without-nettle)
diff --git a/net-misc/chrony/metadata.xml b/net-misc/chrony/metadata.xml
index 791c4d1271b8..811f8ec399ce 100644
--- a/net-misc/chrony/metadata.xml
+++ b/net-misc/chrony/metadata.xml
@@ -24,6 +24,7 @@
</longdescription>
<use>
<flag name="cmdmon">Support for command and monitoring</flag>
+ <flag name="debug">Get DEBUG_LOG output from chronyd when passing -dd parameter</flag>
<flag name="html">Install HTML documentation</flag>
<flag name="nettle">Use <pkg>dev-libs/nettle</pkg> for hash functions or nts</flag>
<flag name="nss">Use <pkg>dev-libs/nss</pkg> for hash functions</flag>