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
Uh, pkg-plist was incomplete. # 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@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@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 X@dirrm %%DOCSDIR%% END-of-msntp/pkg-plist exit
State Changed From-To: open->closed Committed, thanks!