Bug 50631 - New port: net/msntp - an SNTP server/client
Summary: New port: net/msntp - an SNTP server/client
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-06 02:20 UTC by Kimura Fuyuki
Modified: 2003-04-06 14:07 UTC (History)
0 users

See Also:


Attachments
file.shar (2.03 KB, text/plain)
2003-04-06 02:20 UTC, Kimura Fuyuki
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kimura Fuyuki 2003-04-06 02:20:09 UTC
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
Comment 1 Kimura Fuyuki 2003-04-06 02:26:04 UTC
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
Comment 2 Norikatsu Shigemura freebsd_committer freebsd_triage 2003-04-06 14:07:44 UTC
State Changed
From-To: open->closed

Committed, thanks!