Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736922 - net-misc/chrony - add USE=samba to enable support for MS-SNTP authentication in Samba
Summary: net-misc/chrony - add USE=samba to enable support for MS-SNTP authentication ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-12 21:57 UTC by Chris Paras
Modified: 2020-08-31 21:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-misc/chrony-3.5-r2.ebuild with samba useflag (chrony-3.5-r2.ebuild,3.03 KB, text/plain)
2020-08-12 21:58 UTC, Chris Paras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Paras 2020-08-12 21:57:28 UTC
Ebuild for net-misc/chrony-3.5-r2 with new samba use flag to enable ntp_signd socket, this is needed if one wants to synchronize a samba4 domain's time to the chrony ntp server.

Reproducible: Always
Comment 1 Chris Paras 2020-08-12 21:58:41 UTC
Created attachment 654384 [details]
net-misc/chrony-3.5-r2.ebuild with samba useflag
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-31 09:45:37 UTC
Comment on attachment 654384 [details]
net-misc/chrony-3.5-r2.ebuild with samba useflag

--- chrony-3.5-r2.ebuild        2020-02-11 18:17:44.200856504 +0100
+++ -   2020-08-31 11:45:23.346226991 +0200
@@ -12,7 +12,7 @@

 KEYWORDS="~alpha amd64 arm hppa ppc ppc64 sparc x86"
 IUSE="
-       +adns caps +cmdmon html ipv6 libedit +ntp +phc pps readline +refclock +rtc
+       +adns caps +cmdmon html ipv6 libedit +ntp +phc pps readline +refclock +rtc +samba
        seccomp selinux
 "
 REQUIRED_USE="
@@ -78,6 +78,7 @@
                $(usex pps '' --disable-pps)
                $(usex refclock '' --disable-refclock)
                $(usex rtc '' --disable-rtc)
+               $(usex samba '--enable-ntp-signd' --disable-ntp-signd)
                ${CHRONY_EDITLINE}
                ${EXTRA_ECONF}
                --chronysockdir="${EPREFIX}/run/chrony"
Comment 3 Larry the Git Cow gentoo-dev 2020-08-31 09:57:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7caad7c0c626f0c9a33cb65535d85fde5535a3cd

commit 7caad7c0c626f0c9a33cb65535d85fde5535a3cd
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-08-31 09:57:01 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-08-31 09:57:22 +0000

    net-misc/chrony: Add USE=samba to support MS-SNTP authentication
    
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Closes: https://bugs.gentoo.org/736922
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-misc/chrony/chrony-3.5.1-r1.ebuild | 3 ++-
 net-misc/chrony/chrony-4.0_pre3.ebuild | 3 ++-
 net-misc/chrony/chrony-9999.ebuild     | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
Comment 4 Chris Paras 2020-08-31 21:58:00 UTC
Thank you!