pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/openntpd Initial import of openntpd-20040719p from...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d82e6fa6f01a
branches:  trunk
changeset: 478213:d82e6fa6f01a
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Jul 19 19:17:25 2004 +0000

description:
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.

diffstat:

 net/openntpd/DESCR             |   8 ++++++++
 net/openntpd/Makefile          |  33 +++++++++++++++++++++++++++++++++
 net/openntpd/PLIST             |   6 ++++++
 net/openntpd/distinfo          |   4 ++++
 net/openntpd/files/openntpd.sh |  18 ++++++++++++++++++
 5 files changed, 69 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r 10cd98476142 -r d82e6fa6f01a net/openntpd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openntpd/DESCR        Mon Jul 19 19:17:25 2004 +0000
@@ -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.
diff -r 10cd98476142 -r d82e6fa6f01a net/openntpd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openntpd/Makefile     Mon Jul 19 19:17:25 2004 +0000
@@ -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@localhost
+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"
diff -r 10cd98476142 -r d82e6fa6f01a net/openntpd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openntpd/PLIST        Mon Jul 19 19:17:25 2004 +0000
@@ -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
diff -r 10cd98476142 -r d82e6fa6f01a net/openntpd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openntpd/distinfo     Mon Jul 19 19:17:25 2004 +0000
@@ -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
diff -r 10cd98476142 -r d82e6fa6f01a net/openntpd/files/openntpd.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/openntpd/files/openntpd.sh    Mon Jul 19 19:17:25 2004 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index