diff options
author | Johan van Selst <johans@FreeBSD.org> | 2014-06-01 11:23:36 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2014-06-01 11:23:36 +0000 |
commit | c40dd9670167f3e720c0c5c9ee1f00ddf1e94f5f (patch) | |
tree | e36cac97577cfab4514ecd4f7add5eaa7c466b63 /sysutils/rdate | |
parent | c7984d1e891a19ffa4fdb85d44716cb62848fbf6 (diff) | |
download | ports-c40dd9670167f3e720c0c5c9ee1f00ddf1e94f5f.tar.gz ports-c40dd9670167f3e720c0c5c9ee1f00ddf1e94f5f.zip |
Notes
Diffstat (limited to 'sysutils/rdate')
-rw-r--r-- | sysutils/rdate/Makefile | 19 | ||||
-rw-r--r-- | sysutils/rdate/distinfo | 4 | ||||
-rw-r--r-- | sysutils/rdate/pkg-descr | 5 |
3 files changed, 17 insertions, 11 deletions
diff --git a/sysutils/rdate/Makefile b/sysutils/rdate/Makefile index c1f287a5bdc4..20b098d3181b 100644 --- a/sysutils/rdate/Makefile +++ b/sysutils/rdate/Makefile @@ -2,20 +2,23 @@ # $FreeBSD$ PORTNAME= rdate -PORTVERSION= 1.3 +PORTVERSION= 20140220 CATEGORIES= sysutils -MASTER_SITES= http://www.cons.org/freebsd-distfiles/ +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= johans -MAINTAINER= ports@FreeBSD.org +MAINTAINER= johans@FreeBSD.org COMMENT= Sets the clock of the local host to the time of another host -PLIST_FILES= man/man8/${PORTNAME}.8.gz sbin/rdate +CFLAGS+= -DNO_UTIL -D__dead= -D'SA_LEN(x)=(x)->sa_len' +WRKSRC= ${WRKDIR}/${PORTNAME} +PLIST_FILES= sbin/rdate man/man8/${PORTNAME}.8.gz post-patch: - @${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's,/right,,' ${WRKSRC}/rdate.8 -post-install: - ${INSTALL_PROGRAM} ${WRKSRC}/rdate ${STAGEDIR}${PREFIX}/sbin/ - ${INSTALL_MAN} ${WRKSRC}/rdate.8 ${STAGEDIR}${PREFIX}/man/man8/ +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/rdate ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/rdate.8 ${STAGEDIR}${PREFIX}/man/man8 .include <bsd.port.mk> diff --git a/sysutils/rdate/distinfo b/sysutils/rdate/distinfo index c3d3cf073e18..ea005c072cf2 100644 --- a/sysutils/rdate/distinfo +++ b/sysutils/rdate/distinfo @@ -1,2 +1,2 @@ -SHA256 (rdate-1.3.tar.gz) = a5990604b891bdf9dcfde866add3755546f9cc5204297907965929bb52086e94 -SIZE (rdate-1.3.tar.gz) = 2996 +SHA256 (rdate-20140220.tar.gz) = f019043fe12e6e731981e410c16d4dc916eebf570881ce74030c67c5a9b54883 +SIZE (rdate-20140220.tar.gz) = 9974 diff --git a/sysutils/rdate/pkg-descr b/sysutils/rdate/pkg-descr index a5fa8b5b906a..5f4061ba3774 100644 --- a/sysutils/rdate/pkg-descr +++ b/sysutils/rdate/pkg-descr @@ -1,3 +1,6 @@ rdate(8) sets the clock of the local host to the time of another host. -It is simpler than xntp and friends. +OpenBSD's rdate is a much improved version of the original rdate(8) +by Christos Zoulas. This version not only supports RFC 868, +but also RFC 5905 (NTP, SNTP), which is now used by default. +Both IPv4 and IPv6 are supported. |