Initial import of openntpd-20040719p from pkgsrc-wip, contributed by
Peter Postma. OpenNTPd is a free implementation of the Network Time Protocol. It provides the ability to sync the local clock to remote NTP servers and can act as NTP server itself, redistributing the local clock. OpenNTPd is primarily developed by Henning Brauer and Alexander Guy as part of the OpenBSD Project. The portable version is made by Darren Tucker. The software and is freely useable and re-useable by everyone under a BSD license.
This commit is contained in:
parent
baaf207d2b
commit
31fc36be34
5 changed files with 69 additions and 0 deletions
8
net/openntpd/DESCR
Normal file
8
net/openntpd/DESCR
Normal file
|
@ -0,0 +1,8 @@
|
|||
OpenNTPd is a free implementation of the Network Time Protocol.
|
||||
It provides the ability to sync the local clock to remote NTP servers and
|
||||
can act as NTP server itself, redistributing the local clock.
|
||||
|
||||
OpenNTPd is primarily developed by Henning Brauer and Alexander Guy as part
|
||||
of the OpenBSD Project. The portable version is made by Darren Tucker.
|
||||
The software and is freely useable and re-useable by everyone under a BSD
|
||||
license.
|
33
net/openntpd/Makefile
Normal file
33
net/openntpd/Makefile
Normal file
|
@ -0,0 +1,33 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2004/07/19 19:17:25 xtraeme Exp $
|
||||
|
||||
DISTNAME= openntpd-20040719p
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.openntpd.org/dist/portable/
|
||||
|
||||
MAINTAINER= peter@pointless.nl
|
||||
HOMEPAGE= http://www.openntpd.org/
|
||||
COMMENT= Free implementation of the Network Time Protocol
|
||||
|
||||
USE_BUILDLINK3= yes
|
||||
USE_PKGINSTALL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
EGDIR= ${PREFIX}/share/examples/openntpd
|
||||
CONF_FILES= ${EGDIR}/ntpd.conf ${PKG_SYSCONFDIR}/ntpd.conf
|
||||
|
||||
RCD_SCRIPTS= openntpd
|
||||
PKG_USERS= _ntp:nogroup::ntpd\\ pseudo-user:${VARBASE}/chroot/ntpd:/sbin/nologin
|
||||
|
||||
OWN_DIRS= ${VARBASE}/chroot/ntpd
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ntpd ${PREFIX}/sbin/ntpd
|
||||
${INSTALL_MAN} ${WRKSRC}/ntpd.8 ${PREFIX}/man/man8/ntpd.8
|
||||
${INSTALL_MAN} ${WRKSRC}/ntpd.conf.5 ${PREFIX}/man/man5/ntpd.conf.5
|
||||
|
||||
post-install:
|
||||
@${INSTALL_DATA_DIR} ${EGDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ntpd.conf ${EGDIR}/ntpd.conf
|
||||
|
||||
.include "../../security/openssl/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
6
net/openntpd/PLIST
Normal file
6
net/openntpd/PLIST
Normal file
|
@ -0,0 +1,6 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/19 19:17:25 xtraeme Exp $
|
||||
man/man5/ntpd.conf.5
|
||||
man/man8/ntpd.8
|
||||
sbin/ntpd
|
||||
share/examples/openntpd/ntpd.conf
|
||||
@dirrm share/examples/openntpd
|
4
net/openntpd/distinfo
Normal file
4
net/openntpd/distinfo
Normal file
|
@ -0,0 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2004/07/19 19:17:25 xtraeme Exp $
|
||||
|
||||
SHA1 (openntpd-20040719p.tar.gz) = 818bb0da6de374c69ec1e909079427f12b332dba
|
||||
Size (openntpd-20040719p.tar.gz) = 105460 bytes
|
18
net/openntpd/files/openntpd.sh
Normal file
18
net/openntpd/files/openntpd.sh
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!@RCD_SCRIPTS_SHELL@
|
||||
#
|
||||
# $NetBSD: openntpd.sh,v 1.1.1.1 2004/07/19 19:17:25 xtraeme Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: openntpd
|
||||
# REQUIRE: DAEMON
|
||||
# BEFORE: LOGIN
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="ntpd"
|
||||
rcvar="openntpd"
|
||||
command="@PREFIX@/sbin/${name}"
|
||||
required_files="@PKG_SYSCONFDIR@/ntpd.conf"
|
||||
|
||||
load_rc_config $name
|
||||
run_rc_command "$1"
|
Loading…
Reference in a new issue