aboutsummaryrefslogtreecommitdiff
path: root/net/openntpd
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2015-04-27 13:58:14 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2015-04-27 13:58:14 +0000
commit4caf9ea5ac13118e667bdc173b79a158bb8168ce (patch)
tree771e1a07fe1555fad48fc14c9603b3b991d4b70d /net/openntpd
parentf405158b24a3a467f200b0e83c944ea844d05290 (diff)
downloadports-4caf9ea5ac13118e667bdc173b79a158bb8168ce.tar.gz
ports-4caf9ea5ac13118e667bdc173b79a158bb8168ce.zip
Notes
Diffstat (limited to 'net/openntpd')
-rw-r--r--net/openntpd/Makefile21
-rw-r--r--net/openntpd/distinfo4
-rw-r--r--net/openntpd/files/openntpd.in2
-rw-r--r--net/openntpd/files/patch-src_ntpd.8 (renamed from net/openntpd/files/patch-ntpd.8)14
-rw-r--r--net/openntpd/files/patch-src_ntpd.conf.5 (renamed from net/openntpd/files/patch-ntpd.conf.5)6
5 files changed, 30 insertions, 17 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index f5b8f459b33d..45a058572ca6 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= openntpd
-PORTVERSION= 5.7p3
+PORTVERSION= 5.7p4
PORTEPOCH= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_OPENBSD}
@@ -18,12 +18,25 @@ GROUPS= _ntp
USE_RC_SUBR= openntpd
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=/var \
- --disable-silent-rules
+CONFIGURE_ARGS= --disable-silent-rules
+
+# XXX:
+# * LibreSSL fails with the certificiate bundle from ca_root_nss.
+# * 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
pre-build:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
- ${WRKSRC}/ntpd.conf.5 ${WRKSRC}/ntpd.8
+ ${WRKSRC}/src/ntpd.conf.5 ${WRKSRC}/src/ntpd.8
post-install:
cd ${STAGEDIR}${PREFIX}/etc; ${MV} ntpd.conf ntpd.conf.sample
diff --git a/net/openntpd/distinfo b/net/openntpd/distinfo
index f3f6b524fc17..fe0a66d029da 100644
--- a/net/openntpd/distinfo
+++ b/net/openntpd/distinfo
@@ -1,2 +1,2 @@
-SHA256 (openntpd-5.7p3.tar.gz) = 4f417c8a4c21ed7ec3811107829f931404f9bf121855b8571a2ca3355695343a
-SIZE (openntpd-5.7p3.tar.gz) = 409734
+SHA256 (openntpd-5.7p4.tar.gz) = a993d95976e375acc0ab1a677fd268f55024477835633c8ae404895046bccb23
+SIZE (openntpd-5.7p4.tar.gz) = 427900
diff --git a/net/openntpd/files/openntpd.in b/net/openntpd/files/openntpd.in
index c6dfb9074c0e..0f1def797344 100644
--- a/net/openntpd/files/openntpd.in
+++ b/net/openntpd/files/openntpd.in
@@ -17,7 +17,7 @@
check_process()
{
- /bin/pgrep -f 'ntpd: \[priv\]'
+ pgrep -f 'ntpd: \[priv\]'
}
name=openntpd
diff --git a/net/openntpd/files/patch-ntpd.8 b/net/openntpd/files/patch-src_ntpd.8
index c42374f0feee..f1790d9b2278 100644
--- a/net/openntpd/files/patch-ntpd.8
+++ b/net/openntpd/files/patch-src_ntpd.8
@@ -1,6 +1,6 @@
---- ntpd.8.orig 2015-01-08 06:57:55 UTC
-+++ ntpd.8
-@@ -53,7 +53,7 @@ Use
+--- src/ntpd.8.orig 2015-03-18 16:25:53 UTC
++++ src/ntpd.8
+@@ -57,7 +57,7 @@ Use
.Ar file
as the configuration file,
instead of the default
@@ -9,7 +9,7 @@
.It Fl n
Configtest mode.
Only check the configuration file for validity.
-@@ -96,19 +96,19 @@ will be logged.
+@@ -100,19 +100,19 @@ will be logged.
After the local clock is synchronized,
.Nm
adjusts the clock frequency using the
@@ -33,8 +33,8 @@
for more information on the boot process
and enabling daemons.
.Pp
-@@ -129,8 +129,8 @@ receives a
- signal, it writes its peer and sensor status to
+@@ -137,8 +137,8 @@ signal on systems without
+ it writes its peer and sensor status to
.Xr syslog 3 .
.Sh FILES
-.Bl -tag -width "/var/db/ntpd.driftXXX" -compact
@@ -44,7 +44,7 @@
Default configuration file.
.It Pa /var/db/ntpd.drift
Drift file.
-@@ -140,12 +140,12 @@ Socket file for communication with
+@@ -148,12 +148,12 @@ Socket file for communication with
.El
.Sh SEE ALSO
.Xr date 1 ,
diff --git a/net/openntpd/files/patch-ntpd.conf.5 b/net/openntpd/files/patch-src_ntpd.conf.5
index 8f75778c2ed0..063446be9971 100644
--- a/net/openntpd/files/patch-ntpd.conf.5
+++ b/net/openntpd/files/patch-src_ntpd.conf.5
@@ -1,6 +1,6 @@
---- ntpd.conf.5.orig 2015-01-08 06:57:55 UTC
-+++ ntpd.conf.5
-@@ -182,8 +182,8 @@ servers pool.ntp.org rtable 5
+--- src/ntpd.conf.5.orig 2015-03-18 16:25:53 UTC
++++ src/ntpd.conf.5
+@@ -222,8 +222,8 @@ constraints from "https://www.google.com
.Ed
.El
.Sh FILES