summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-10 00:06:11 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-10 00:06:11 +0000
commit1236b8fb0da36bd7d54550f97121329a052f6c49 (patch)
tree5d761648e3eaba2dbf4a802b3dad37f05e687a4c /net-misc/openntpd
parentold (diff)
downloadgentoo-2-1236b8fb0da36bd7d54550f97121329a052f6c49.tar.gz
gentoo-2-1236b8fb0da36bd7d54550f97121329a052f6c49.tar.bz2
gentoo-2-1236b8fb0da36bd7d54550f97121329a052f6c49.zip
Version bump #95407 by Gabriel Devenyi.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc/openntpd')
-rw-r--r--net-misc/openntpd/ChangeLog7
-rw-r--r--net-misc/openntpd/files/digest-openntpd-3.7_p11
-rw-r--r--net-misc/openntpd/openntpd-3.7_p1.ebuild45
3 files changed, 52 insertions, 1 deletions
diff --git a/net-misc/openntpd/ChangeLog b/net-misc/openntpd/ChangeLog
index 9db823614ce0..9b8b615405d4 100644
--- a/net-misc/openntpd/ChangeLog
+++ b/net-misc/openntpd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/openntpd
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v 1.16 2005/01/22 17:37:26 kaiowas Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/ChangeLog,v 1.17 2005/06/10 00:06:11 vapier Exp $
+
+*openntpd-3.7_p1 (10 Jun 2005)
+
+ 10 Jun 2005; Mike Frysinger <vapier@gentoo.org> +openntpd-3.7_p1.ebuild:
+ Version bump #95407 by Gabriel Devenyi.
22 Jan 2005; petre rodan <kaiowas@gentoo.org> openntpd-0.20040824p.ebuild,
openntpd-3.6.1_p1-r1.ebuild, openntpd-3.6_p1.ebuild:
diff --git a/net-misc/openntpd/files/digest-openntpd-3.7_p1 b/net-misc/openntpd/files/digest-openntpd-3.7_p1
new file mode 100644
index 000000000000..4469b8f2ba53
--- /dev/null
+++ b/net-misc/openntpd/files/digest-openntpd-3.7_p1
@@ -0,0 +1 @@
+MD5 10ed8eefd760e5819efcf3277b118f47 openntpd-3.7p1.tar.gz 136251
diff --git a/net-misc/openntpd/openntpd-3.7_p1.ebuild b/net-misc/openntpd/openntpd-3.7_p1.ebuild
new file mode 100644
index 000000000000..09ae5435fcf4
--- /dev/null
+++ b/net-misc/openntpd/openntpd-3.7_p1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openntpd/openntpd-3.7_p1.ebuild,v 1.1 2005/06/10 00:06:11 vapier Exp $
+
+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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ssl selinux"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ selinux? ( sec-policy/selinux-ntp )
+ !<=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
+}
+
+src_compile() {
+ econf $(use_with !ssl builtin-arc4random) || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc ChangeLog CREDITS README
+
+ newinitd "${FILESDIR}"/openntpd.rc ntpd
+ newconfd "${FILESDIR}"/openntpd.conf.d ntpd
+}