Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 644892

Summary: net-misc/openntpd default conf file has a constraints line, but default use flags disable constraints
Product: Gentoo Linux Reporter: faminebadger
Component: Current packagesAssignee: Paul B. Henson <henson>
Status: RESOLVED FIXED    
Severity: normal CC: junghans, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description faminebadger 2018-01-17 23:49:08 UTC
The default use flags are incongruent with the default ntpd.conf file supplied with the package.

/etc/ntpd.conf:
> #servers pool.ntp.org
> sensor *
> constraints from "https://www.google.com"

Use flags:
> [ Legend : U - final flag setting for installation]
> [        : I - package is installed with flag     ]
> [ Colors : set, unset                             ]
>  * Found these USE flags for net-misc/openntpd-6.2_p1:
>  U I
>  - - libressl : Enable HTTPS TLS time constraint support using dev-libs/libressl

Man page:
> Support for constraints is only available if ntpd(8) has been linked with 
> libtls from LibreSSL. Configuring a constraint without libtls causes ntpd(8) to 
> log a warning message on startup.

The ebuild should check the use flag, and comment out the constraint configuration line if it isn't set.
Comment 1 faminebadger 2018-02-17 06:24:08 UTC
As usual with gentoo, raise a bug, that's absolutely trivial to fix, and it's completely ignored.

I think it may be time to try a distro with some sort of active development.
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2018-02-17 14:17:21 UTC
Can you propose a patch?
Comment 3 Paul B. Henson 2018-02-18 03:56:08 UTC
Sorry for the delay, for some reason I don't reliably get email from Bugzilla :(. I try to remember to log in every few weeks to check if I missed anything but it's been pretty busy at the day job since the beginning of the year.

I'll take a look at this shortly, as you say it should be trivial to fix.
Comment 4 Paul B. Henson 2018-02-22 01:37:53 UTC
Please see:

https://github.com/gentoo/gentoo/pull/7251
Comment 5 Larry the Git Cow gentoo-dev 2018-02-22 04:45:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fc86d04cbc2ed118323f0de9456e0bcba122b5a

commit 9fc86d04cbc2ed118323f0de9456e0bcba122b5a
Author:     Paul B. Henson <henson@acm.org>
AuthorDate: 2018-02-22 04:43:32 +0000
Commit:     Christoph Junghans <junghans@gentoo.org>
CommitDate: 2018-02-22 04:44:21 +0000

    net-misc/openntpd: version bump
    
    Closes: https://github.com/gentoo/gentoo/pull/7251
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=644892
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/openntpd/Manifest                                           | 2 +-
 net-misc/openntpd/{openntpd-6.2_p1.ebuild => openntpd-6.2_p3.ebuild} | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)