summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-11 17:56:56 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-11 17:56:56 +0000
commit0625aba219d6a290c2b8fa782ad7a54905581257 (patch)
treebc0fe6ca1a4a82b8e4f840326a6dfaa87b9a7ba2 /net-misc/openntpd
parentFixed typo: should be KM_MAKEFILESREV - this fixes the generated SRC_URI, and... (diff)
downloadgentoo-2-0625aba219d6a290c2b8fa782ad7a54905581257.tar.gz
gentoo-2-0625aba219d6a290c2b8fa782ad7a54905581257.tar.bz2
gentoo-2-0625aba219d6a290c2b8fa782ad7a54905581257.zip
Version bump by Christian Gut #74080.
Diffstat (limited to 'net-misc/openntpd')
-rw-r--r--net-misc/openntpd/ChangeLog8
-rw-r--r--net-misc/openntpd/files/3.6.1_p1-ntpd.8.patch33
-rw-r--r--net-misc/openntpd/files/digest-openntpd-3.6.1_p11
-rw-r--r--net-misc/openntpd/openntpd-3.6.1_p1.ebuild42
4 files changed, 83 insertions, 1 deletions
diff --git a/net-misc/openntpd/ChangeLog b/net-misc/openntpd/ChangeLog
index 32095ebdae58..c20e39531e93 100644
--- a/net-misc/openntpd/ChangeLog
+++ b/net-misc/openntpd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/openntpd
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v 1.10 2004/12/10 13:32:50 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v 1.11 2004/12/11 17:56:56 vapier Exp $
+
+*openntpd-3.6.1_p1 (11 Dec 2004)
+
+ 11 Dec 2004; Mike Frysinger <vapier@gentoo.org>
+ +files/3.6.1_p1-ntpd.8.patch, +openntpd-3.6.1_p1.ebuild:
+ Version bump by Christian Gut #74080.
12 Dec 2004; Aron Griffis <agriffis@gentoo.org> openntpd-3.6_p1.ebuild:
add ~ia64
diff --git a/net-misc/openntpd/files/3.6.1_p1-ntpd.8.patch b/net-misc/openntpd/files/3.6.1_p1-ntpd.8.patch
new file mode 100644
index 000000000000..b95570d1935c
--- /dev/null
+++ b/net-misc/openntpd/files/3.6.1_p1-ntpd.8.patch
@@ -0,0 +1,33 @@
+diff -urN openntpd-3.6.1p1/ntpd.8 openntpd-3.6.1p1-new/ntpd.8
+--- openntpd-3.6.1p1/ntpd.8 2004-12-07 03:29:39.000000000 +0100
++++ openntpd-3.6.1p1-new/ntpd.8 2004-12-11 12:39:03.972096720 +0100
+@@ -83,18 +83,6 @@
+ .Xr rdate 8
+ before starting
+ .Nm .
+-Currently, the
+-.Fl s
+-option is added unconditionally in
+-.Xr rc 8 .
+-Make sure to specify the
+-.Fl S
+-option
+-(add/edit
+-.Va ntpd_flags
+-in
+-.Xr rc.conf.local 8 )
+-if this behaviour is not desired.
+ .El
+ .Sh FILES
+ .Bl -tag -width "/etc/ntpd.confXXX" -compact
+@@ -105,10 +93,7 @@
+ .El
+ .Sh SEE ALSO
+ .Xr date 1 ,
+-.Xr adjtime 2 ,
+ .Xr ntpd.conf 5 ,
+-.Xr rc 8 ,
+-.Xr rc.conf 8 ,
+ .Xr rdate 8 ,
+ .Xr timed 8
+ .Rs
diff --git a/net-misc/openntpd/files/digest-openntpd-3.6.1_p1 b/net-misc/openntpd/files/digest-openntpd-3.6.1_p1
new file mode 100644
index 000000000000..87cf7748892a
--- /dev/null
+++ b/net-misc/openntpd/files/digest-openntpd-3.6.1_p1
@@ -0,0 +1 @@
+MD5 4584f226523776a3cdd2fb6f8212ba8d openntpd-3.6.1p1.tar.gz 123811
diff --git a/net-misc/openntpd/openntpd-3.6.1_p1.ebuild b/net-misc/openntpd/openntpd-3.6.1_p1.ebuild
new file mode 100644
index 000000000000..1fb7235ea338
--- /dev/null
+++ b/net-misc/openntpd/openntpd-3.6.1_p1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/openntpd-3.6.1_p1.ebuild,v 1.1 2004/12/11 17:56:56 vapier Exp $
+
+inherit eutils
+
+MY_P=${P/_/}
+DESCRIPTION="Lightweight NTP server ported from OpenBSD"
+HOMEPAGE="http://www.openntpd.org/"
+SRC_URI="mirror://openbsd/OpenNTPD/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~ia64"
+IUSE=""
+
+RDEPEND="virtual/libc
+ !<=net-misc/ntp-4.2.0-r2"
+DEPEND="${RDEPEND}
+ >=sys-apps/portage-2.0.51"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ enewgroup ntp 123
+ enewuser ntp 123 /bin/false /var/empty ntp
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i '/NTPD_USER/s:_ntp:ntp:' ntpd.h || die
+ epatch ${FILESDIR}/${PV}-ntpd.8.patch
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc ChangeLog CREDITS README
+
+ newinitd ${FILESDIR}/openntpd.rc ntpd
+ newconfd ${FILESDIR}/openntpd.conf.d ntpd
+}