Index: head/net/openntpd/Makefile =================================================================== --- head/net/openntpd/Makefile (revision 410653) +++ head/net/openntpd/Makefile (revision 410654) @@ -1,44 +1,45 @@ # $FreeBSD$ PORTNAME= openntpd PORTVERSION= 5.7p4 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= net MASTER_SITES= OPENBSD/OpenNTPD MAINTAINER= naddy@FreeBSD.org COMMENT= Network Time Protocol (NTP) daemon LICENSE= ISCL USERS= _ntp GROUPS= _ntp USE_RC_SUBR= openntpd GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules -# XXX: -# * LibreSSL fails with the certificiate bundle from ca_root_nss. +# * LibreSSL fails with the certificiate bundle from ca_root_nss; +# 3.22.2 appears to work just fine (unlike 3.22). # * USE_OPENSSL does not handle LibreSSL yet. -# -#OPTIONS_DEFINE= RESSL -#RESSL_DESC= SSL/TLS support via LibreSSL -# -#OPTIONS_DEFAULT= RESSL -# -#RESSL_LIB_DEPENDS= libtls.so:${PORTSDIR}/security/libressl -#RESSL_CONFIGURE_WITH= cacert=${LOCALBASE}/etc/ssl/cert.pem -#RESSL_CPPFLAGS= -I${LOCALBASE}/include -#RESSL_LDFLAGS= -L${LOCALBASE}/lib +OPTIONS_DEFINE= RESSL +RESSL_DESC= SSL/TLS support via LibreSSL + +OPTIONS_DEFAULT= RESSL + +RESSL_LIB_DEPENDS= libtls.so:${PORTSDIR}/security/libressl +RESSL_CONFIGURE_WITH= cacert=${LOCALBASE}/etc/ssl/cert.pem +RESSL_CPPFLAGS= -I${LOCALBASE}/include +RESSL_LDFLAGS= -L${LOCALBASE}/lib +RESSL_RUN_DEPENDS= ca_root_nss>=3.22.2:${PORTSDIR}/security/ca_root_nss + pre-build: ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ ${WRKSRC}/src/ntpd.conf.5 ${WRKSRC}/src/ntpd.8 post-install: - cd ${STAGEDIR}${PREFIX}/etc; ${MV} ntpd.conf ntpd.conf.sample + cd ${STAGEDIR}${PREFIX}/etc && ${MV} ntpd.conf ntpd.conf.sample .include Index: head/net/openntpd/files/patch-src_constraint.c =================================================================== --- head/net/openntpd/files/patch-src_constraint.c (nonexistent) +++ head/net/openntpd/files/patch-src_constraint.c (revision 410654) @@ -0,0 +1,11 @@ +--- src/constraint.c.orig 2015-03-14 21:24:11 UTC ++++ src/constraint.c +@@ -665,7 +665,7 @@ httpsdate_request(struct httpsdate *http + * or ANSI C's asctime() - the latter doesn't include + * the timezone which is required here. + */ +- if (strptime(p, "%a, %d %h %Y %T %Z", ++ if (strptime(p, "%a, %d %h %Y %T GMT", + &httpsdate->tls_tm) == NULL) { + log_warnx("unsupported date format"); + free(line); Property changes on: head/net/openntpd/files/patch-src_constraint.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property