summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Nelson <jnelson@gentoo.org>2002-05-02 01:20:18 +0000
committerJon Nelson <jnelson@gentoo.org>2002-05-02 01:20:18 +0000
commit01ca937f7d8bd0920dc0e95d444da464a466bd05 (patch)
tree01f3849aa079637da6eda6fa1917f1534139b40e /net-misc/ntp
parentnew package (diff)
downloadhistorical-01ca937f7d8bd0920dc0e95d444da464a466bd05.tar.gz
historical-01ca937f7d8bd0920dc0e95d444da464a466bd05.tar.bz2
historical-01ca937f7d8bd0920dc0e95d444da464a466bd05.zip
add ebuild for 4.1.1a
Diffstat (limited to 'net-misc/ntp')
-rw-r--r--net-misc/ntp/ChangeLog10
-rw-r--r--net-misc/ntp/files/digest-ntp-4.1.1a1
-rw-r--r--net-misc/ntp/files/ntp-bk.diff15
-rw-r--r--net-misc/ntp/ntp-4.1.1a.ebuild51
4 files changed, 76 insertions, 1 deletions
diff --git a/net-misc/ntp/ChangeLog b/net-misc/ntp/ChangeLog
index 302ab2b04090..8a003dc30358 100644
--- a/net-misc/ntp/ChangeLog
+++ b/net-misc/ntp/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-misc/ntp
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.3 2002/04/28 13:41:31 jnelson Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ChangeLog,v 1.4 2002/05/02 01:20:18 jnelson Exp $
+
+*ntp-4.1.1a (1 May 2002)
+ 1 May 2002; Jon Nelson <jnelson@gentoo.org> ntp-4.1.72-r2.ebuild :
+ Create 4.1.1a ebuild and mask 4.1.72* versions, the 4.1.72* versions
+ are *alpha* releases for 4.2.0, and have trouble building on some
+ hosts.
+
+ This should finally close 1882
*ntp-4.1.72-r2 (28 Apr 2002)
28 Apr 2002; Jon Nelson <jnelson@gentoo.org> ntp-4.1.72-r2.ebuild :
diff --git a/net-misc/ntp/files/digest-ntp-4.1.1a b/net-misc/ntp/files/digest-ntp-4.1.1a
new file mode 100644
index 000000000000..652839b3c1d7
--- /dev/null
+++ b/net-misc/ntp/files/digest-ntp-4.1.1a
@@ -0,0 +1 @@
+MD5 884c8d90f62bf3de0a464f755a8409a4 ntp-4.1.1a.tar.gz 2023986
diff --git a/net-misc/ntp/files/ntp-bk.diff b/net-misc/ntp/files/ntp-bk.diff
new file mode 100644
index 000000000000..1e4fa6ede7b6
--- /dev/null
+++ b/net-misc/ntp/files/ntp-bk.diff
@@ -0,0 +1,15 @@
+diff -urN ntp-4.1.72.orig/Makefile.am ntp-4.1.72/Makefile.am
+--- ntp-4.1.72.orig/Makefile.am Wed May 1 18:53:03 2002
++++ ntp-4.1.72/Makefile.am Wed May 1 18:54:10 2002
+@@ -64,10 +64,7 @@
+ # output to /dev/null under ancient/unique shells like the one Ultrix uses.
+ # We'll also get an error of srcdir or version is unwritable.
+ $(srcdir)/version: FRC.version
+- -(bk version) >/dev/null 2>&1 && \
+- cd $(srcdir) && \
+- x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
+- case "$$x" in '') ;; *) echo $$x > version ;; esac
++ /bin/true
+
+ dist-hook:
+ @find $(distdir) -type d -name CVS -print | xargs rm -rf
diff --git a/net-misc/ntp/ntp-4.1.1a.ebuild b/net-misc/ntp/ntp-4.1.1a.ebuild
new file mode 100644
index 000000000000..eb92416f5ad2
--- /dev/null
+++ b/net-misc/ntp/ntp-4.1.1a.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Terry Chan <tchan@enteract.com>
+# Maintainer: Jon Nelson <jnelson@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.1.1a.ebuild,v 1.1 2002/05/02 01:20:18 jnelson Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Network Time Protocol suite/programs"
+SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz"
+HOMEPAGE="http://www.ntp.org/"
+LICENSE="as-is"
+
+DEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.2
+ >=sys-libs/readline-4.1"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A} && cd ${S}
+ patch -p1 < ${FILESDIR}/ntp-bk.diff
+ aclocal -I . || die
+ automake || die
+ autoconf || die
+}
+
+src_compile() {
+ cp configure configure.orig
+ sed -e "s:-Wpointer-arith::" configure.orig > configure
+# If there is a reason why we need -lncurses in LDFLAGS, please
+# read the ChangeLog and contact me, jnelson@gentoo.org
+# LDFLAGS="$LDFLAGS -L/lib -lncurses"
+
+ ./configure --prefix=/usr --mandir=/usr/share/man \
+ --host=${CHOST} --build=${CHOST} || die
+
+ emake || die
+}
+
+src_install () {
+ make prefix=${D}/usr mandir=${D}/usr/share/man install || die
+
+ dodoc ChangeLog INSTALL NEWS README TODO WHERE-TO-START
+ insinto /usr/share/doc/${PF}/html ; doins html/*.htm
+ insinto /usr/share/doc/${PF}/html/hints ; doins html/hints/*
+ insinto /usr/share/doc/${PF}/html/pic ; doins html/pic/*
+
+ insinto /usr/share/ntp ; doins scripts/*
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/ntpd.rc6 ntpd
+ insinto /etc/conf.d ; newins ${FILESDIR}/ntpd.confd ntpd
+}