diff options
Diffstat (limited to 'net/openntpd')
-rw-r--r-- | net/openntpd/Makefile | 5 | ||||
-rw-r--r-- | net/openntpd/distinfo | 4 | ||||
-rw-r--r-- | net/openntpd/files/patch-ntpd.8 | 38 | ||||
-rw-r--r-- | net/openntpd/files/patch-ntpd.conf.5 | 16 |
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 |