Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583652 - openntpd_5.9p1: constraints do not work with libressl versions below 2.3.x
Summary: openntpd_5.9p1: constraints do not work with libressl versions below 2.3.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Christoph Junghans (RETIRED)
URL: http://www.openntpd.org/txt/release-5...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-21 11:13 UTC by ng0
Modified: 2016-05-23 20:57 UTC (History)
2 users (show)

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


Attachments
updated ebuild with libressl version requirement (openntpd-5.9_p1-r1.ebuild,2.90 KB, text/plain)
2016-05-23 20:20 UTC, Paul B. Henson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ng0 2016-05-21 11:13:41 UTC
OpenNTPD 5.9_p1 fails with libressl versions below 2.3.x

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-libs/libressl-2.2.7
2. emerge =net-misc/openntpd-5.9_p1 with libressl use
3. in /etc/ntpd.conf add this to the gentoo defaults:
   constraints from "https://www.gentoo.org"
   constraint from www.twitter.com
4. output:
# rc-service ntpd restart
 * Starting OpenNTPD ...
ntpd: constraint configured withozt libtls support
 * start-stop-daemon: failed to start `/usr/sbin/ntpd'
 * Failed to start ntpd
 * ERROR: ntpd failed to start

5. comment the constraint(s) lines in /etc/ntpd.conf
6. output:
 * Starting OpenNTPD ... [ok]
Comment 1 ng0 2016-05-21 11:32:31 UTC
One possible solution can be to build this specific version with a check on the libressl version, if version is not 2.3.x then either build openntpd without constraints and/or inform user in a post-install message that this version can't use constraint(s) with the current installed libressl version.
Comment 2 ng0 2016-05-21 11:33:22 UTC
The previous comment should read:
If the version is not (that mean: is below) 2.3.x
Comment 3 Paul B. Henson 2016-05-23 20:19:49 UTC
Ah, yes; the release notes indicate 2.3.2 or greater is required, sorry I missed that. Attached is an updated ebuild with a libressl version requirement to make sure an appropriate version gets pulled in, please let me know if it works correctly and I'll get it committed.

Thanks...
Comment 4 Paul B. Henson 2016-05-23 20:20:43 UTC
Created attachment 435132 [details]
updated ebuild with libressl version requirement
Comment 5 Christoph Junghans (RETIRED) gentoo-dev 2016-05-23 20:57:30 UTC
commit 49213a5fc2daf0daabbe511365a096af877a7c9a
Author: Christoph Junghans <ottxor@gentoo.org>
Date:   Mon May 23 14:53:24 2016 -0600

    net-misc/openntpd: fix deps (bug #583652)

    Package-Manager: portage-2.2.28

commit f30b3fe8519384cfaf6b04df43b153a238e39ced
Author: Christoph Junghans <ottxor@gentoo.org>
Date:   Mon May 23 14:51:50 2016 -0600

    base/package.use.mask: mask libessl for net-misc/openntpd