diff options
author | nork <nork@FreeBSD.org> | 2003-04-06 21:07:51 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2003-04-06 21:07:51 +0800 |
commit | 8d021298627d6123fa6deaa551587d2a4c5e6785 (patch) | |
tree | 2203f6ba2ed2b4ac1a8b5027a85256c0a2e20510 /net | |
parent | c161a0dffb11ba8ee76eb6aecf60c0116ba63790 (diff) | |
download | freebsd-ports-graphics-8d021298627d6123fa6deaa551587d2a4c5e6785.tar.gz freebsd-ports-graphics-8d021298627d6123fa6deaa551587d2a4c5e6785.tar.zst freebsd-ports-graphics-8d021298627d6123fa6deaa551587d2a4c5e6785.zip |
Add msntp 1.6, a straightforward SNTP (Simple Network Time Protocol)
daemon/utility.
PR: ports/50631
Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/msntp/Makefile | 28 | ||||
-rw-r--r-- | net/msntp/distinfo | 1 | ||||
-rw-r--r-- | net/msntp/pkg-descr | 7 | ||||
-rw-r--r-- | net/msntp/pkg-plist | 4 |
5 files changed, 41 insertions, 0 deletions
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 <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> 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%% |