aboutsummaryrefslogtreecommitdiffstats
path: root/net/openntpd
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2004-07-18 23:42:15 +0800
committernaddy <naddy@FreeBSD.org>2004-07-18 23:42:15 +0800
commit0dc5ae28be9f42f73f36a560bf2ed322a0735dad (patch)
treed56a4cd3b7efb81eaaf2c5c5b093f1c23ae98d73 /net/openntpd
parent0a37f44974c0aa511aaf7a79b1912bd6ac56171c (diff)
downloadfreebsd-ports-gnome-0dc5ae28be9f42f73f36a560bf2ed322a0735dad.tar.gz
freebsd-ports-gnome-0dc5ae28be9f42f73f36a560bf2ed322a0735dad.tar.zst
freebsd-ports-gnome-0dc5ae28be9f42f73f36a560bf2ed322a0735dad.zip
(1)
Update to 20040718p. Changes in this release: - Ignore obviously malformed queries. - Respond to client queries with better server statistics. (2) Fix configuration file location in man pages. PR: 69233 Submitted by: edwin (2)
Diffstat (limited to 'net/openntpd')
-rw-r--r--net/openntpd/Makefile5
-rw-r--r--net/openntpd/distinfo4
-rw-r--r--net/openntpd/files/patch-ntpd.838
-rw-r--r--net/openntpd/files/patch-ntpd.conf.516
4 files changed, 60 insertions, 3 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index 9e2623572ba9..562e30f49e54 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= openntpd
-PORTVERSION= 20040714p
+PORTVERSION= 20040718p
CATEGORIES= net
MASTER_SITES= http://www.zip.com.au/~dtucker/openntpd/ \
http://dtucker.freeshell.org/openntpd/
@@ -15,12 +15,15 @@ MAINTAINER= naddy@FreeBSD.org
COMMENT= OpenBSD's Network Time Protocol daemon
USE_RC_SUBR= yes
+USE_REINPLACE= yes
GNU_CONFIGURE= yes
MAN5= ntpd.conf.5
MAN8= ntpd.8
pre-build:
+ ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
+ ${WRKSRC}/ntpd.conf.5 ${WRKSRC}/ntpd.8
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \
-e 's:%%RC_SUBR%%:${RC_SUBR}:g' \
${FILESDIR}/openntpd.sh >${WRKDIR}/openntpd.sh
diff --git a/net/openntpd/distinfo b/net/openntpd/distinfo
index 34f671a80196..8d284543323b 100644
--- a/net/openntpd/distinfo
+++ b/net/openntpd/distinfo
@@ -1,2 +1,2 @@
-MD5 (openntpd-20040714p.tar.gz) = 5448d10c769c52a551b3b431e2e5bade
-SIZE (openntpd-20040714p.tar.gz) = 67671
+MD5 (openntpd-20040718p.tar.gz) = 217d81ad1d4699cd2178048936c48d8d
+SIZE (openntpd-20040718p.tar.gz) = 78891
diff --git a/net/openntpd/files/patch-ntpd.8 b/net/openntpd/files/patch-ntpd.8
new file mode 100644
index 000000000000..7edfa684137f
--- /dev/null
+++ b/net/openntpd/files/patch-ntpd.8
@@ -0,0 +1,38 @@
+
+$FreeBSD$
+
+--- ntpd.8.orig Thu Jul 15 12:16:28 2004
++++ ntpd.8 Sun Jul 18 16:53:12 2004
+@@ -40,14 +40,14 @@
+ .Nm
+ is usually started at boot time, and can be enabled by
+ setting the following in
+-.Pa /etc/rc.conf.local :
++.Pa /etc/rc.conf :
+ .Pp
+-.Dl ntpd_flags=\&"\&"
++.Dl openntpd_enable=\&"YES\&"
+ .Pp
+ See
+ .Xr rc 8
+ and
+-.Xr rc.conf 8
++.Xr rc.conf 5
+ for more information on the boot process
+ and enabling daemons.
+ .Pp
+@@ -70,11 +70,11 @@
+ .Ar file
+ as the configuration file,
+ instead of the default
+-.Pa /etc/ntpd.conf .
++.Pa %%PREFIX%%/etc/ntpd.conf .
+ .El
+ .Sh FILES
+-.Bl -tag -width "/etc/ntpd.confXXX" -compact
+-.It Pa /etc/ntpd.conf
++.Bl -tag -width "%%PREFIX%%/etc/ntpd.confXXX" -compact
++.It Pa %%PREFIX%%/etc/ntpd.conf
+ default
+ .Nm
+ configuration file
diff --git a/net/openntpd/files/patch-ntpd.conf.5 b/net/openntpd/files/patch-ntpd.conf.5
new file mode 100644
index 000000000000..f3f6710203bb
--- /dev/null
+++ b/net/openntpd/files/patch-ntpd.conf.5
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- ntpd.conf.5.orig Sun Jul 18 14:25:21 2004
++++ ntpd.conf.5 Sun Jul 18 14:25:44 2004
+@@ -80,8 +80,8 @@
+ .Ed
+ .El
+ .Sh FILES
+-.Bl -tag -width "/etc/ntpd.confXXX" -compact
+-.It Pa /etc/ntpd.conf
++.Bl -tag -width "%%PREFIX%%/etc/ntpd.confXXX" -compact
++.It Pa %%PREFIX%%/etc/ntpd.conf
+ default
+ .Xr ntpd 8
+ configuration file