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]
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.
The previous comment should read: If the version is not (that mean: is below) 2.3.x
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...
Created attachment 435132 [details] updated ebuild with libressl version requirement
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