Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrony/
Date: Mon, 08 Feb 2021 14:54:17
Message-Id: 1612796039.0233f5c3801e2efe5a8c6162d1d00740fdf854e7.sam@gentoo
1 commit: 0233f5c3801e2efe5a8c6162d1d00740fdf854e7
2 Author: Peter Alfredsen <crabbedhaloablution <AT> icloud <DOT> com>
3 AuthorDate: Tue Dec 15 11:48:23 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 14:53:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0233f5c3
7
8 net-misc/chrony: add debug support
9
10 Added debug use-flag. Use -dd option to chronyd to get DEBUG_LOG output.
11 Added in 2013(!) commit 4bbc5520b8e340a08795e245784beb42c1254c0b.
12
13 Signed-off-by: Peter Alfredsen <crabbedhaloablution <AT> icloud.com>
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 net-misc/chrony/chrony-9999.ebuild | 3 ++-
17 net-misc/chrony/metadata.xml | 1 +
18 2 files changed, 3 insertions(+), 1 deletion(-)
19
20 diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild
21 index 650ad8c1415..b648039d357 100644
22 --- a/net-misc/chrony/chrony-9999.ebuild
23 +++ b/net-misc/chrony/chrony-9999.ebuild
24 @@ -20,7 +20,7 @@ S="${WORKDIR}/${P/_/-}"
25
26 LICENSE="GPL-2"
27 SLOT="0"
28 -IUSE="+caps +cmdmon html ipv6 libedit +nettle nss +ntp +phc +nts pps +refclock +rtc samba +seccomp +sechash selinux"
29 +IUSE="+caps +cmdmon debug html ipv6 libedit +nettle nss +ntp +phc +nts pps +refclock +rtc samba +seccomp +sechash selinux"
30 REQUIRED_USE="
31 sechash? ( || ( nettle nss ) )
32 nettle? ( !nss )
33 @@ -97,6 +97,7 @@ src_configure() {
34 $(use_enable seccomp scfilter)
35 $(usex caps '' --disable-linuxcaps)
36 $(usex cmdmon '' --disable-cmdmon)
37 + $(usex debug '--enable-debug' '')
38 $(usex ipv6 '' --disable-ipv6)
39 $(usex libedit '' --without-editline)
40 $(usex nettle '' --without-nettle)
41
42 diff --git a/net-misc/chrony/metadata.xml b/net-misc/chrony/metadata.xml
43 index 791c4d1271b..811f8ec399c 100644
44 --- a/net-misc/chrony/metadata.xml
45 +++ b/net-misc/chrony/metadata.xml
46 @@ -24,6 +24,7 @@
47 </longdescription>
48 <use>
49 <flag name="cmdmon">Support for command and monitoring</flag>
50 + <flag name="debug">Get DEBUG_LOG output from chronyd when passing -dd parameter</flag>
51 <flag name="html">Install HTML documentation</flag>
52 <flag name="nettle">Use <pkg>dev-libs/nettle</pkg> for hash functions or nts</flag>
53 <flag name="nss">Use <pkg>dev-libs/nss</pkg> for hash functions</flag>