From 8d021298627d6123fa6deaa551587d2a4c5e6785 Mon Sep 17 00:00:00 2001 From: nork Date: Sun, 6 Apr 2003 13:07:51 +0000 Subject: Add msntp 1.6, a straightforward SNTP (Simple Network Time Protocol) daemon/utility. PR: ports/50631 Submitted by: Kimura Fuyuki --- net/Makefile | 1 + net/msntp/Makefile | 28 ++++++++++++++++++++++++++++ net/msntp/distinfo | 1 + net/msntp/pkg-descr | 7 +++++++ net/msntp/pkg-plist | 4 ++++ 5 files changed, 41 insertions(+) create mode 100644 net/msntp/Makefile create mode 100644 net/msntp/distinfo create mode 100644 net/msntp/pkg-descr create mode 100644 net/msntp/pkg-plist diff --git a/net/Makefile b/net/Makefile index 320f7d22209..1420c07988a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -310,6 +310,7 @@ SUBDIR += mrt SUBDIR += mrtg SUBDIR += msend + SUBDIR += msntp SUBDIR += mtr SUBDIR += mudix SUBDIR += mutella diff --git a/net/msntp/Makefile b/net/msntp/Makefile new file mode 100644 index 00000000000..b87b51e40b1 --- /dev/null +++ b/net/msntp/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: msntp +# Date created: 4 April 2003 +# Whom: Kimura Fuyuki +# +# $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 diff --git a/net/msntp/distinfo b/net/msntp/distinfo new file mode 100644 index 00000000000..4a6e1a086e6 --- /dev/null +++ b/net/msntp/distinfo @@ -0,0 +1 @@ +MD5 (msntp-1.6.tar.gz) = 3eefa15ace8567b46dfa67259407c333 diff --git a/net/msntp/pkg-descr b/net/msntp/pkg-descr new file mode 100644 index 00000000000..8ab379096b4 --- /dev/null +++ b/net/msntp/pkg-descr @@ -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 diff --git a/net/msntp/pkg-plist b/net/msntp/pkg-plist new file mode 100644 index 00000000000..632cd5ec0bb --- /dev/null +++ b/net/msntp/pkg-plist @@ -0,0 +1,4 @@ +bin/msntp +%%DOCSDIR%%/Copyright +%%DOCSDIR%%/README +@dirrm %%DOCSDIR%% -- cgit