Add msntp 1.6, a straightforward SNTP (Simple Network Time Protocol)

daemon/utility.

PR:		ports/50631
Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
Norikatsu Shigemura 2003-04-06 13:07:51 +00:00
parent 055974696c
commit 7d2e160d94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78414
5 changed files with 41 additions and 0 deletions

View file

@ -310,6 +310,7 @@
SUBDIR += mrt
SUBDIR += mrtg
SUBDIR += msend
SUBDIR += msntp
SUBDIR += mtr
SUBDIR += mudix
SUBDIR += mutella

28
net/msntp/Makefile Normal file
View file

@ -0,0 +1,28 @@
# New ports collection makefile for: msntp
# Date created: 4 April 2003
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#
PORTNAME= msntp
PORTVERSION= 1.6
CATEGORIES= net
MASTER_SITES= ftp://ftp.openpkg.org/sources/DST/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= A straightforward SNTP daemon/utility
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="-lm"
CFLAGS+= -DLOCKNAME='\"/var/run/msntp.pid\"'
CFLAGS+= -DSAVENAME='\"/var/db/msntp.state\"'
MAN1= msntp.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/msntp ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/msntp.1 ${PREFIX}/man/man1
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Copyright ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.include <bsd.port.mk>

1
net/msntp/distinfo Normal file
View file

@ -0,0 +1 @@
MD5 (msntp-1.6.tar.gz) = 3eefa15ace8567b46dfa67259407c333

7
net/msntp/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
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

4
net/msntp/pkg-plist Normal file
View file

@ -0,0 +1,4 @@
bin/msntp
%%DOCSDIR%%/Copyright
%%DOCSDIR%%/README
@dirrm %%DOCSDIR%%