From owner-svn-ports-all@FreeBSD.ORG Sun Jun 1 11:23:37 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAFF7ACE; Sun, 1 Jun 2014 11:23:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F6ED2252; Sun, 1 Jun 2014 11:23:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s51BNb9F010851; Sun, 1 Jun 2014 11:23:37 GMT (envelope-from johans@svn.freebsd.org) Received: (from johans@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s51BNb2N010847; Sun, 1 Jun 2014 11:23:37 GMT (envelope-from johans@svn.freebsd.org) Message-Id: <201406011123.s51BNb2N010847@svn.freebsd.org> From: Johan van Selst Date: Sun, 1 Jun 2014 11:23:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r356097 - head/sysutils/rdate X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 11:23:37 -0000 Author: johans Date: Sun Jun 1 11:23:36 2014 New Revision: 356097 URL: http://svnweb.freebsd.org/changeset/ports/356097 QAT: https://qat.redports.org/buildarchive/r356097/ Log: - Update rdate to the version used in OpenBSD this contains several improvements, including IPv6 and NTP support - Adopt port Modified: head/sysutils/rdate/Makefile head/sysutils/rdate/distinfo head/sysutils/rdate/pkg-descr Modified: head/sysutils/rdate/Makefile ============================================================================== --- head/sysutils/rdate/Makefile Sun Jun 1 11:14:59 2014 (r356096) +++ head/sysutils/rdate/Makefile Sun Jun 1 11:23:36 2014 (r356097) @@ -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 Modified: head/sysutils/rdate/distinfo ============================================================================== --- head/sysutils/rdate/distinfo Sun Jun 1 11:14:59 2014 (r356096) +++ head/sysutils/rdate/distinfo Sun Jun 1 11:23:36 2014 (r356097) @@ -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 Modified: head/sysutils/rdate/pkg-descr ============================================================================== --- head/sysutils/rdate/pkg-descr Sun Jun 1 11:14:59 2014 (r356096) +++ head/sysutils/rdate/pkg-descr Sun Jun 1 11:23:36 2014 (r356097) @@ -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.