summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-29 00:57:45 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-29 00:57:45 +0000
commit38d223c319cfa7e1f28026d00c54772c1345629b (patch)
tree500e070e206e643ad2ed28d7c86000a35e6a5b8c /net-misc
parentStable on x86; bug #109348 (diff)
downloadhistorical-38d223c319cfa7e1f28026d00c54772c1345629b.tar.gz
historical-38d223c319cfa7e1f28026d00c54772c1345629b.tar.bz2
historical-38d223c319cfa7e1f28026d00c54772c1345629b.zip
old
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/ntp/Manifest62
-rw-r--r--net-misc/ntp/files/digest-ntp-4.2.0.20040617-r22
-rw-r--r--net-misc/ntp/files/digest-ntp-4.2.0.200503032
-rw-r--r--net-misc/ntp/ntp-4.2.0.20040617-r2.ebuild147
-rw-r--r--net-misc/ntp/ntp-4.2.0.20050303.ebuild146
5 files changed, 29 insertions, 330 deletions
diff --git a/net-misc/ntp/Manifest b/net-misc/ntp/Manifest
index b93decc2ad98..f0897cf73235 100644
--- a/net-misc/ntp/Manifest
+++ b/net-misc/ntp/Manifest
@@ -1,47 +1,43 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 aa73d5edf312beeab44fa9d58a603ad4 metadata.xml 636
-MD5 7e567989a1392464a324fd0cd64e54a3 ntp-4.2.0-r2.ebuild 3815
-MD5 4874c08acda470ce7373d36b64c39c09 ntp-4.1.2.ebuild 3162
-MD5 0889dba2586d7f77d447b5235923544c ntp-4.2.0.20050303-r1.ebuild 4354
-MD5 21e636680cfe8de4ce739e83a0154d69 ntp-4.2.0.20050303.ebuild 4282
-MD5 45f151b05f4b7703610e2b908694ee3d ntp-4.2.0.20040617-r3.ebuild 4319
-MD5 5630d9dddf4eda3f1e45a888b9718915 ntp-4.2.0.20040617-r2.ebuild 4254
MD5 fa39d0f69bf2ba5c5aaa98c5bc1002b5 ChangeLog 10376
-MD5 dded11ceec4b8f2c1b140341a357f507 files/linux-config-phone.patch 747
-MD5 4d502821fd36c5a63b14ae4b54cb3526 files/ntpd-4.1.2.confd 185
-MD5 20c344cec35350fe17773665094b2e57 files/ntp-4.2.0-gcc4.patch 1607
-MD5 59c70b7499e588d6a24901a951c1bcd8 files/digest-ntp-4.2.0.20040617-r2 166
-MD5 299ea30653b1e0b93d51f19e07176bc4 files/ntpd.rc 805
-MD5 5bd3924f5720b97837969ec4ec4d5e09 files/ntp.conf 1451
-MD5 0c3a6df816f448a870e070797c22f72e files/4.2.0.20040617-hostname.patch 8476
-MD5 2bc77f5ebab9804cdc2dff52ab4c267a files/4.2.0.20040617-freebsd.patch 803
-MD5 df7cdf79440109a1535f013c796aabce files/digest-ntp-4.2.0.20050303 166
-MD5 5fc28af5c2a508eeb67a4d5d0ffab341 files/digest-ntp-4.2.0-r2 135
-MD5 5fecd7747324b76551f514df62a4d78d files/4.2.0.20040617-debug-fix.patch 232
MD5 047fe77e01bc9335b07bcc5d963d8683 files/4.1.2-droproot.patch 12672
-MD5 df7cdf79440109a1535f013c796aabce files/digest-ntp-4.2.0.20050303-r1 166
-MD5 b8fc232f85be1313aee4c5a6f0048ca7 files/ntp-client-4.1.2.rc 840
-MD5 5e1591f145a63cf66ee20ab65495781a files/ntpd.confd 189
-MD5 5eecb47ab966b2003b73b8cbd371de40 files/ntp-client.rc 933
-MD5 af48491e8d6820a3d8eba16a771e5c26 files/digest-ntp-4.1.2 129
-MD5 339d87d68d483b28f5b70dd76cbc20c4 files/ntp-4.2.0.20050303-rlimit-memlock.patch 839
-MD5 87951141777f50b2e4a2347a96f987b8 files/ntpd-4.1.2.rc 806
+MD5 0ac690ae52fe02f336ae73f9857461ec files/4.2.0-droproot.patch 13908
+MD5 24574e6ad1b468152839c10361b51a0f files/4.2.0-linux-config-phone.patch 711
MD5 d07dbc58315f577cc6d1dd8614f95cb1 files/4.2.0-ntpdate-quiet.patch 1117
+MD5 5fecd7747324b76551f514df62a4d78d files/4.2.0.20040617-debug-fix.patch 232
+MD5 759c1adb57e9c61f519fe938902f1df7 files/4.2.0.20040617-errno-fix.patch 493
+MD5 2bc77f5ebab9804cdc2dff52ab4c267a files/4.2.0.20040617-freebsd.patch 803
+MD5 0c3a6df816f448a870e070797c22f72e files/4.2.0.20040617-hostname.patch 8476
MD5 c51a9f2f2c85ab3bcdc54a1a9e3bedb6 files/4.2.0.20040617-ipv6-fixes.patch 2541
-MD5 47d7106c23cb6ac99c5bbfdcd2f3a7fa files/ntp-client.confd 747
MD5 4e13c1a5fa0fa54e3b65ec311dd7270a files/broadcastclient.patch 451
+MD5 af48491e8d6820a3d8eba16a771e5c26 files/digest-ntp-4.1.2 129
+MD5 5fc28af5c2a508eeb67a4d5d0ffab341 files/digest-ntp-4.2.0-r2 135
MD5 59c70b7499e588d6a24901a951c1bcd8 files/digest-ntp-4.2.0.20040617-r3 166
-MD5 0ac690ae52fe02f336ae73f9857461ec files/4.2.0-droproot.patch 13908
-MD5 621c8a8e9589eb73a7f51095d8fca090 files/ntp-4.2.0-ntpd-using-wrong-group.patch 338
+MD5 df7cdf79440109a1535f013c796aabce files/digest-ntp-4.2.0.20050303-r1 166
+MD5 dded11ceec4b8f2c1b140341a357f507 files/linux-config-phone.patch 747
MD5 e327d521e4dfb0c967941eeb84ad9207 files/ntp-4.1.1b-syscall-libc.patch 424
-MD5 24574e6ad1b468152839c10361b51a0f files/4.2.0-linux-config-phone.patch 711
-MD5 759c1adb57e9c61f519fe938902f1df7 files/4.2.0.20040617-errno-fix.patch 493
+MD5 20c344cec35350fe17773665094b2e57 files/ntp-4.2.0-gcc4.patch 1607
+MD5 621c8a8e9589eb73a7f51095d8fca090 files/ntp-4.2.0-ntpd-using-wrong-group.patch 338
+MD5 339d87d68d483b28f5b70dd76cbc20c4 files/ntp-4.2.0.20050303-rlimit-memlock.patch 839
+MD5 b8fc232f85be1313aee4c5a6f0048ca7 files/ntp-client-4.1.2.rc 840
+MD5 47d7106c23cb6ac99c5bbfdcd2f3a7fa files/ntp-client.confd 747
+MD5 5eecb47ab966b2003b73b8cbd371de40 files/ntp-client.rc 933
+MD5 5bd3924f5720b97837969ec4ec4d5e09 files/ntp.conf 1451
+MD5 4d502821fd36c5a63b14ae4b54cb3526 files/ntpd-4.1.2.confd 185
+MD5 87951141777f50b2e4a2347a96f987b8 files/ntpd-4.1.2.rc 806
+MD5 5e1591f145a63cf66ee20ab65495781a files/ntpd.confd 189
+MD5 299ea30653b1e0b93d51f19e07176bc4 files/ntpd.rc 805
+MD5 aa73d5edf312beeab44fa9d58a603ad4 metadata.xml 636
+MD5 4874c08acda470ce7373d36b64c39c09 ntp-4.1.2.ebuild 3162
+MD5 7e567989a1392464a324fd0cd64e54a3 ntp-4.2.0-r2.ebuild 3815
+MD5 45f151b05f4b7703610e2b908694ee3d ntp-4.2.0.20040617-r3.ebuild 4319
+MD5 0889dba2586d7f77d447b5235923544c ntp-4.2.0.20050303-r1.ebuild 4354
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDDkIbgIKl8Uu19MoRAkGbAJ93L0sGaFVial745bEjSP530JXc1gCfQovv
-E4zXWfGAegRASsEtJKopa6g=
-=Pzu9
+iD8DBQFDYskcgIKl8Uu19MoRArY7AJsHFNMBUtIE8HyvK1uM0HrXeOBb6ACfSpjj
+ZrWQNSVMeyXF8SM3C+pFu9I=
+=tVB0
-----END PGP SIGNATURE-----
diff --git a/net-misc/ntp/files/digest-ntp-4.2.0.20040617-r2 b/net-misc/ntp/files/digest-ntp-4.2.0.20040617-r2
deleted file mode 100644
index 1fec3109247e..000000000000
--- a/net-misc/ntp/files/digest-ntp-4.2.0.20040617-r2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 d0554ae42164bcda990e6318648a7c58 ntp-stable-4.2.0a-20040617.tar.gz 2435648
-MD5 0f2d809eb4a360dd4479b00cfd95bc4e ntp-stable-4.2.0a-20040617-manpages.tar.bz2 25346
diff --git a/net-misc/ntp/files/digest-ntp-4.2.0.20050303 b/net-misc/ntp/files/digest-ntp-4.2.0.20050303
deleted file mode 100644
index 60bb48950e2c..000000000000
--- a/net-misc/ntp/files/digest-ntp-4.2.0.20050303
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 20b8d0616b637b8584147db39a754326 ntp-stable-4.2.0a-20050303.tar.gz 2446073
-MD5 d3a5a6185ef5ed71d2fa8e06598fc28f ntp-stable-4.2.0a-20050303-manpages.tar.bz2 25360
diff --git a/net-misc/ntp/ntp-4.2.0.20040617-r2.ebuild b/net-misc/ntp/ntp-4.2.0.20040617-r2.ebuild
deleted file mode 100644
index 0e1d42e7ed33..000000000000
--- a/net-misc/ntp/ntp-4.2.0.20040617-r2.ebuild
+++ /dev/null
@@ -1,147 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0.20040617-r2.ebuild,v 1.11 2005/07/20 22:38:40 flameeyes Exp $
-
-inherit eutils
-
-MY_P=${PN}-stable-${PV:0:5}a-${PV:6}
-DESCRIPTION="Network Time Protocol suite/programs"
-HOMEPAGE="http://www.ntp.org/"
-SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/snapshots/ntp-stable/${PV:6:4}/${PV:10:2}/${MY_P}.tar.gz
- mirror://gentoo/${MY_P}-manpages.tar.bz2"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86"
-IUSE="parse-clocks nodroproot selinux ssl ipv6 openntpd debug"
-
-RDEPEND=">=sys-libs/ncurses-5.2
- >=sys-libs/readline-4.1
- kernel_linux? ( !nodroproot? ( sys-libs/libcap ) )
- !openntpd? ( !net-misc/openntpd )
- ssl? ( dev-libs/openssl )
- selinux? ( sec-policy/selinux-ntp )"
-DEPEND="${RDEPEND}
- >=sys-apps/portage-2.0.51"
-PDEPEND="openntpd? ( net-misc/openntpd )"
-
-S=${WORKDIR}/${MY_P}
-
-hax_bitkeeper() {
- # the makefiles have support for bk ...
- # basically we have to do this or bk will try to write
- # to files in /opt/bitkeeper causing sandbox violations ;(
- mkdir "${T}"/fakebin
- echo "#!/bin/sh"$'\n'"exit 1" > "${T}"/fakebin/bk
- chmod a+x "${T}"/fakebin/bk
- export PATH="${T}/fakebin:${PATH}"
-}
-
-pkg_setup() {
- enewgroup ntp 123
- enewuser ntp 123 -1 /dev/null ntp
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/ntp-4.1.1b-syscall-libc.patch
- epatch "${FILESDIR}"/4.2.0-linux-config-phone.patch #13001
- epatch "${FILESDIR}"/${PV}-hostname.patch
- epatch "${FILESDIR}"/${PV}-errno-fix.patch
- epatch "${FILESDIR}"/${PV}-ipv6-fixes.patch
- epatch "${FILESDIR}"/${PV}-debug-fix.patch
- epatch "${FILESDIR}"/${PV}-freebsd.patch
- epatch "${FILESDIR}"/ntp-4.2.0-gcc4.patch
-
- sed -i \
- -e 's:md5\.h:touch_not_my_md5:g' \
- -e 's:-Wpointer-arith::' \
- -e 's:-lelf:-la_doe_a_deer_a_female_deer:g' \
- -e 's:-lmd5:-li_dont_want_no_stinkin_md5:g' \
- configure || die "sed failed"
-}
-
-src_compile() {
- hax_bitkeeper
- econf \
- $(use_enable !nodroproot linuxcaps) \
- $(use_enable parse-clocks) \
- $(use_enable ipv6) \
- $(use_enable debug debugging) \
- $(use_with ssl crypto) \
- || die
- emake || die
-}
-
-src_install() {
- hax_bitkeeper
- make install DESTDIR="${D}" || die
- # move ntpd/ntpdate to sbin #66671
- dodir /usr/sbin
- mv "${D}"/usr/bin/{ntpd,ntpdate} "${D}"/usr/sbin/ || die "move to sbin"
-
- dodoc ChangeLog INSTALL NEWS README TODO WHERE-TO-START
- doman "${WORKDIR}"/man/*.1
- dohtml -r html/*
-
- insinto /usr/share/ntp
- doins "${FILESDIR}"/ntp.conf
- cp -r scripts/* "${D}"/usr/share/ntp/
- chmod -R go-w "${D}"/usr/share/ntp
- find "${D}"/usr/share/ntp \
- '(' \
- -name '*.in' -o \
- -name 'Makefile*' -o \
- -name 'rc[12]' -o \
- -name support \
- ')' \
- -exec rm -r {} \;
-
- insinto /etc
- doins "${FILESDIR}"/ntp.conf
- newinitd "${FILESDIR}"/ntpd.rc ntpd
- newconfd "${FILESDIR}"/ntpd.confd ntpd
- newinitd "${FILESDIR}"/ntp-client.rc ntp-client
- newconfd "${FILESDIR}"/ntp-client.confd ntp-client
- use nodroproot && dosed "s|-u ntp:ntp||" /etc/conf.d/ntpd
- dosed "s:-Q::" /etc/conf.d/ntp-client # no longer needed
- dosed "s:/usr/bin:/usr/sbin:" /etc/init.d/ntpd
-
- dodir /var/lib/ntp
- fowners ntp:ntp /var/lib/ntp
- touch "${D}"/var/lib/ntp/ntp.drift
- fowners ntp:ntp /var/lib/ntp/ntp.drift
-
- if use openntpd ; then
- cd "${D}"
- rm usr/sbin/ntpd
- rm -r var/lib
- rm etc/{conf,init}.d/ntpd
- fi
-}
-
-pkg_preinst() {
- if [[ -e ${ROOT}/etc/ntp.conf ]] ; then
- rm -f "${D}"/etc/ntp.conf
- fi
-}
-
-pkg_postinst() {
- ewarn "You can find an example /etc/ntp.conf in /usr/share/ntp/"
- ewarn "Review /etc/ntp.conf to setup server info."
- ewarn "Review /etc/conf.d/ntpd to setup init.d info."
- echo
- einfo "The way ntp sets and maintains your system time has changed."
- einfo "Now you can use /etc/init.d/ntp-client to set your time at"
- einfo "boot while you can use /etc/init.d/ntpd to maintain your time"
- einfo "while your machine runs"
- if [[ -n $(egrep '^[^#].*notrust' "${ROOT}"/etc/ntp.conf) ]] ; then
- echo
- eerror "The notrust option was found in your /etc/ntp.conf!"
- ewarn "If your ntpd starts sending out weird responses,"
- ewarn "then make sure you have keys properly setup and see"
- ewarn "http://bugs.gentoo.org/41827"
- fi
-}
diff --git a/net-misc/ntp/ntp-4.2.0.20050303.ebuild b/net-misc/ntp/ntp-4.2.0.20050303.ebuild
deleted file mode 100644
index be634f917ad4..000000000000
--- a/net-misc/ntp/ntp-4.2.0.20050303.ebuild
+++ /dev/null
@@ -1,146 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0.20050303.ebuild,v 1.4 2005/08/16 03:24:36 vapier Exp $
-
-inherit eutils
-
-MY_P=${PN}-stable-${PV:0:5}a-${PV:6}
-DESCRIPTION="Network Time Protocol suite/programs"
-HOMEPAGE="http://www.ntp.org/"
-SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/snapshots/ntp-stable/${PV:6:4}/${PV:10:2}/${MY_P}.tar.gz
- mirror://gentoo/${MY_P}-manpages.tar.bz2"
-
-LICENSE="as-is"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="parse-clocks nodroproot selinux ssl ipv6 openntpd debug"
-
-RDEPEND=">=sys-libs/ncurses-5.2
- >=sys-libs/readline-4.1
- kernel_linux? ( !nodroproot? ( sys-libs/libcap ) )
- !openntpd? ( !net-misc/openntpd )
- ssl? ( dev-libs/openssl )
- selinux? ( sec-policy/selinux-ntp )"
-DEPEND="${RDEPEND}
- >=sys-apps/portage-2.0.51"
-PDEPEND="openntpd? ( net-misc/openntpd )"
-
-S=${WORKDIR}/${MY_P}
-
-hax_bitkeeper() {
- # the makefiles have support for bk ...
- # basically we have to do this or bk will try to write
- # to files in /opt/bitkeeper causing sandbox violations ;(
- mkdir "${T}"/fakebin
- echo "#!/bin/sh"$'\n'"exit 1" > "${T}"/fakebin/bk
- chmod a+x "${T}"/fakebin/bk
- export PATH="${T}/fakebin:${PATH}"
-}
-
-pkg_setup() {
- enewgroup ntp 123
- enewuser ntp 123 -1 /dev/null ntp
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/4.2.0-linux-config-phone.patch #13001
- epatch "${FILESDIR}"/4.2.0.20040617-hostname.patch
- epatch "${FILESDIR}"/4.2.0.20040617-errno-fix.patch
- epatch "${FILESDIR}"/4.2.0.20040617-debug-fix.patch
- epatch "${FILESDIR}"/4.2.0.20040617-freebsd.patch
- epatch "${FILESDIR}"/ntp-4.2.0-gcc4.patch
- epatch "${FILESDIR}"/ntp-4.2.0.20050303-rlimit-memlock.patch #99713
-
- sed -i \
- -e 's:md5\.h:touch_not_my_md5:g' \
- -e 's:-Wpointer-arith::' \
- -e 's:-lelf:-la_doe_a_deer_a_female_deer:g' \
- -e 's:-lmd5:-li_dont_want_no_stinkin_md5:g' \
- configure || die "sed failed"
-}
-
-src_compile() {
- hax_bitkeeper
- econf \
- $(use_enable !nodroproot linuxcaps) \
- $(use_enable parse-clocks) \
- $(use_enable ipv6) \
- $(use_enable debug debugging) \
- $(use_with ssl crypto) \
- || die
- emake || die
-}
-
-src_install() {
- hax_bitkeeper
- make install DESTDIR="${D}" || die "install failed"
- # move ntpd/ntpdate to sbin #66671
- dodir /usr/sbin
- mv "${D}"/usr/bin/{ntpd,ntpdate} "${D}"/usr/sbin/ || die "move to sbin"
-
- dodoc ChangeLog INSTALL NEWS README TODO WHERE-TO-START
- doman "${WORKDIR}"/man/*.1
- dohtml -r html/*
-
- insinto /usr/share/ntp
- doins "${FILESDIR}"/ntp.conf
- cp -r scripts/* "${D}"/usr/share/ntp/
- chmod -R go-w "${D}"/usr/share/ntp
- find "${D}"/usr/share/ntp \
- '(' \
- -name '*.in' -o \
- -name 'Makefile*' -o \
- -name 'rc[12]' -o \
- -name support \
- ')' \
- -exec rm -r {} \;
-
- insinto /etc
- doins "${FILESDIR}"/ntp.conf
- newinitd "${FILESDIR}"/ntpd.rc ntpd
- newconfd "${FILESDIR}"/ntpd.confd ntpd
- newinitd "${FILESDIR}"/ntp-client.rc ntp-client
- newconfd "${FILESDIR}"/ntp-client.confd ntp-client
- use nodroproot && dosed "s|-u ntp:ntp||" /etc/conf.d/ntpd
- dosed "s:-Q::" /etc/conf.d/ntp-client # no longer needed
- dosed "s:/usr/bin:/usr/sbin:" /etc/init.d/ntpd
-
- dodir /var/lib/ntp
- fowners ntp:ntp /var/lib/ntp
- touch "${D}"/var/lib/ntp/ntp.drift
- fowners ntp:ntp /var/lib/ntp/ntp.drift
-
- if use openntpd ; then
- cd "${D}"
- rm usr/sbin/ntpd
- rm -r var/lib
- rm etc/{conf,init}.d/ntpd
- fi
-}
-
-pkg_preinst() {
- if [[ -e ${ROOT}/etc/ntp.conf ]] ; then
- rm -f "${D}"/etc/ntp.conf
- fi
-}
-
-pkg_postinst() {
- ewarn "You can find an example /etc/ntp.conf in /usr/share/ntp/"
- ewarn "Review /etc/ntp.conf to setup server info."
- ewarn "Review /etc/conf.d/ntpd to setup init.d info."
- echo
- einfo "The way ntp sets and maintains your system time has changed."
- einfo "Now you can use /etc/init.d/ntp-client to set your time at"
- einfo "boot while you can use /etc/init.d/ntpd to maintain your time"
- einfo "while your machine runs"
- if [[ -n $(egrep '^[^#].*notrust' "${ROOT}"/etc/ntp.conf) ]] ; then
- echo
- eerror "The notrust option was found in your /etc/ntp.conf!"
- ewarn "If your ntpd starts sending out weird responses,"
- ewarn "then make sure you have keys properly setup and see"
- ewarn "http://bugs.gentoo.org/41827"
- fi
-}