ports/50631: New port: net/msntp - an SNTP server/client

Kimura Fuyuki fuyuki at hadaly.org
Sun Apr 6 01:20:11 UTC 2003


>Number:         50631
>Category:       ports
>Synopsis:       New port: net/msntp - an SNTP server/client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 05 17:20:09 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kimura Fuyuki <fuyuki at hadaly.org>
>Release:        FreeBSD 5.0-RELEASE-p5 i386
>Organization:
>Environment:

  FreeBSD hadaly.dyndns.org 5.0-RELEASE-p5 FreeBSD 5.0-RELEASE-p5 #1: Fri Mar 21 10:29:48 JST 2003     root at hadaly.dyndns.org:/.2/obj/usr/src/sys/NS  i386

>Description:
MSNTP can be used as a SNTP client to query a NTP or SNTP server and
either display the time or set the local system's time (given suitable
privilege).  It can be run as an interactive command, in a cron job or
as a daemon.  It can be run as a daemon to provide a SNTP server for
other clients.

Author:	N.M. Maclaren at the University of Cambridge

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	msntp
#	msntp/Makefile
#	msntp/distinfo
#	msntp/pkg-descr
#	msntp/pkg-plist
#
echo c - msntp
mkdir -p msntp > /dev/null 2>&1
echo x - msntp/Makefile
sed 's/^X//' >msntp/Makefile << 'END-of-msntp/Makefile'
X# New ports collection makefile for:   msntp
X# Date created:                4 April 2003
X# Whom:                        Kimura Fuyuki <fuyuki at hadaly.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	msntp
XPORTVERSION=	1.6
XCATEGORIES=	net
XMASTER_SITES=	ftp://ftp.openpkg.org/sources/DST/${PORTNAME}/
X
XMAINTAINER=	ports at FreeBSD.org
XCOMMENT=	A straightforward SNTP daemon/utility
X
XMAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" LIBS="-lm"
XCFLAGS+=	-DLOCKNAME='\"/var/run/msntp.pid\"'
XCFLAGS+=	-DSAVENAME='\"/var/db/msntp.state\"'
XMAN1=		msntp.1
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/msntp ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/msntp.1 ${PREFIX}/man/man1
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/Copyright ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X
X.include <bsd.port.mk>
END-of-msntp/Makefile
echo x - msntp/distinfo
sed 's/^X//' >msntp/distinfo << 'END-of-msntp/distinfo'
XMD5 (msntp-1.6.tar.gz) = 3eefa15ace8567b46dfa67259407c333
END-of-msntp/distinfo
echo x - msntp/pkg-descr
sed 's/^X//' >msntp/pkg-descr << 'END-of-msntp/pkg-descr'
XMSNTP can be used as a SNTP client to query a NTP or SNTP server and
Xeither display the time or set the local system's time (given suitable
Xprivilege).  It can be run as an interactive command, in a cron job or
Xas a daemon.  It can be run as a daemon to provide a SNTP server for
Xother clients.
X
XAuthor:	N.M. Maclaren at the University of Cambridge
END-of-msntp/pkg-descr
echo x - msntp/pkg-plist
sed 's/^X//' >msntp/pkg-plist << 'END-of-msntp/pkg-plist'
Xbin/msntp
X%%DOCSDIR%%/Copyright
X%%DOCSDIR%%/README
END-of-msntp/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list