diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-04-05 23:26:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-04-05 23:26:18 +0000 |
commit | 6a92184fde472644816dbdd4830967179687a762 (patch) | |
tree | b8430b17438886f68fcb9e843b777207b3227db0 /net-misc | |
parent | add checks for notrust in /etc/ntp.conf #41827 (diff) | |
download | historical-6a92184fde472644816dbdd4830967179687a762.tar.gz historical-6a92184fde472644816dbdd4830967179687a762.tar.bz2 historical-6a92184fde472644816dbdd4830967179687a762.zip |
prune the old
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/netkit-tftp/Manifest | 2 | ||||
-rw-r--r-- | net-misc/ntp/files/digest-ntp-4.1.1b-r6 | 2 | ||||
-rw-r--r-- | net-misc/ntp/files/digest-ntp-4.2.0-r1 | 1 | ||||
-rw-r--r-- | net-misc/ntp/files/ntp-bk.diff | 15 | ||||
-rw-r--r-- | net-misc/ntp/files/ntpd-4.1.1b.confd | 40 | ||||
-rw-r--r-- | net-misc/ntp/files/ntpd-4.1.1b.rc | 44 | ||||
-rw-r--r-- | net-misc/ntp/ntp-4.1.1b-r6.ebuild | 80 | ||||
-rw-r--r-- | net-misc/ntp/ntp-4.2.0-r1.ebuild | 125 |
8 files changed, 1 insertions, 308 deletions
diff --git a/net-misc/netkit-tftp/Manifest b/net-misc/netkit-tftp/Manifest index 3d964b799cba..b91a5e7ed735 100644 --- a/net-misc/netkit-tftp/Manifest +++ b/net-misc/netkit-tftp/Manifest @@ -1,3 +1,3 @@ -MD5 549d39b7d45ff808637c603db3e5d627 netkit-tftp-0.17-r2.ebuild 717 MD5 fb25fe452072a2ecde7601c36080fc39 ChangeLog 1406 +MD5 3d26fdf0a4ef90eb8650cd035f21426f netkit-tftp-0.17-r2.ebuild 724 MD5 eca25f90f0875639d8b73f7f3cb4fc57 files/digest-netkit-tftp-0.17-r2 67 diff --git a/net-misc/ntp/files/digest-ntp-4.1.1b-r6 b/net-misc/ntp/files/digest-ntp-4.1.1b-r6 deleted file mode 100644 index 0278ab14f07f..000000000000 --- a/net-misc/ntp/files/digest-ntp-4.1.1b-r6 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 27382aa9c483e395662dddb2b11439e2 ntp-4.1.1b.tar.gz 2125307 -MD5 274220dabd4d5f0d6b690e31df384f19 ntp-4.1.1b-r6-manpages.tbz2 19780 diff --git a/net-misc/ntp/files/digest-ntp-4.2.0-r1 b/net-misc/ntp/files/digest-ntp-4.2.0-r1 deleted file mode 100644 index a29b978410e4..000000000000 --- a/net-misc/ntp/files/digest-ntp-4.2.0-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 0f8fabe87cf54f409b57c6283f0c0c3d ntp-4.2.0.tar.gz 2514502 diff --git a/net-misc/ntp/files/ntp-bk.diff b/net-misc/ntp/files/ntp-bk.diff deleted file mode 100644 index 1e4fa6ede7b6..000000000000 --- a/net-misc/ntp/files/ntp-bk.diff +++ /dev/null @@ -1,15 +0,0 @@ -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/files/ntpd-4.1.1b.confd b/net-misc/ntp/files/ntpd-4.1.1b.confd deleted file mode 100644 index bb518a2a872b..000000000000 --- a/net-misc/ntp/files/ntpd-4.1.1b.confd +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd-4.1.1b.confd,v 1.1 2003/08/06 07:42:24 vapier Exp $ - -# NOTES: -# - NTPDATE variables below are used if you wish to set your -# clock when you start the ntp init.d script -# - make sure that the NTPDATE_CMD will close by itself ... -# the init.d script will not attempt to kill/stop it -# - ntpd will be used to maintain synchronization with a time -# server regardless of what NTPDATE is set to -# - read each of the comments above each of the variable - -# Comment this out if you dont want the init script to warn -# about not having ntpdate setup -NTPDATE_WARN="y" - -# Command to run to set the clock initially -# Most people should just uncomment this line ... -# however, if you know what you're doing, and you -# want to use ntpd to set the clock, change this to 'ntpd' -#NTPDATE_CMD="ntpdate" - -# Options to pass to the above command -# Most people should just uncomment this variable and -# change 'someserver' to a valid hostname which you -# can aquire from the URL's below -#NTPDATE_OPTS="-b someserver" - -## -# A list of available servers is available here: -# http://www.eecis.udel.edu/~mills/ntp/servers.html -# Please follow the rules of engagement and use a -# Stratum 2 server (unless you qualify for Stratum 1) -## - -# Options to pass to the ntpd process that will *always* be run -# Most people should not uncomment this line ... -# however, if you know what you're doing, feel free to tweak -#NTPD_OPTS="" diff --git a/net-misc/ntp/files/ntpd-4.1.1b.rc b/net-misc/ntp/files/ntpd-4.1.1b.rc deleted file mode 100644 index 455cc7b19514..000000000000 --- a/net-misc/ntp/files/ntpd-4.1.1b.rc +++ /dev/null @@ -1,44 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd-4.1.1b.rc,v 1.1 2003/08/06 07:42:24 vapier Exp $ - -depend() { - need net - use dns logger -} - -checkconfig() { - if [ ! -f /etc/ntp.conf ] ; then - eerror "Please create /etc/ntp.conf" - eerror "Sample conf: /usr/share/ntp/ntp.conf" - return 1 - fi - return 0 -} - -start() { - checkconfig || return $? - - if [ -n "${NTPDATE_CMD}" ] ; then - ebegin "Initializing clock via ${NTPDATE_CMD}" - ${NTPDATE_CMD} ${NTPDATE_OPTS} > /dev/null - eend $? "Failed to run ${NTPDATE_CMD}" - elif [ "${NTPDATE_WARN}" == "y" ] ; then - ewarn "Please setup ntpd via /etc/conf.d/ntpd" - fi - - ebegin "Starting ntpd" - start-stop-daemon --start --quiet --pidfile /var/run/ntpd.pid \ - --startas /usr/bin/ntpd -- -p /var/run/ntpd.pid ${NTPD_OPTS} - eend $? "Failed to start ntpd" -} - -stop() { - ebegin "Stopping ntpd" - start-stop-daemon --stop --quiet --pidfile /var/run/ntpd.pid - eend $? "Failed to stop ntpd" - - # clean stale pidfile - [ -f /var/run/ntpd.pid ] && rm -f /var/run/ntpd.pid -} diff --git a/net-misc/ntp/ntp-4.1.1b-r6.ebuild b/net-misc/ntp/ntp-4.1.1b-r6.ebuild deleted file mode 100644 index ead179c09372..000000000000 --- a/net-misc/ntp/ntp-4.1.1b-r6.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.1.1b-r6.ebuild,v 1.15 2004/02/24 09:59:15 mr_bones_ Exp $ - -inherit eutils - -DESCRIPTION="Network Time Protocol suite/programs" -HOMEPAGE="http://www.ntp.org/" -SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz - mirror://gentoo/${PF}-manpages.tbz2 - mirror://gentoo/${P}.tar.gz - http://wh0rd.info/gentoo/distfiles/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 ppc sparc mips alpha hppa amd64" -IUSE="parse-clocks selinux" - -RDEPEND=">=sys-libs/ncurses-5.2 - >=sys-libs/readline-4.1 - selinux? ( sec-policy/selinux-ntp )" -DEPEND="${RDEPEND} - || ( - dev-libs/libelf - dev-libs/elfutils - ) - >=sys-apps/sed-4.0.5" - -src_unpack() { - unpack ${A} ; cd ${S} - epatch ${FILESDIR}/ntp-bk.diff - epatch ${FILESDIR}/linux-config-phone.patch - use alpha && epatch ${FILESDIR}/ntp-4.1.1b-syscall-libc.patch - aclocal -I . || die - automake || die - autoconf || die -} - -src_compile() { - cp configure{,.orig} - sed -i "s:-Wpointer-arith::" configure - - # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml - has_version 'sys-devel/hardened-gcc' && CFLAGS="-yet_exec ${CFLAGS}" - - econf \ - --build=${CHOST} \ - `use_enable parse-clocks` \ - || die - - has_version 'sys-devel/hardened-gcc' && find ${W} -name "Makefile" -type f -exec sed -i "s,-yet_exec,," {} \; - - emake || die -} - -src_install() { - einstall || die - - dodoc ChangeLog INSTALL NEWS README TODO WHERE-TO-START - doman ${WORKDIR}/man/*.1 - dohtml -r html/* - - insinto /usr/share/ntp - doins ${FILESDIR}/ntp.conf - rm -rf `find scripts/ \ - -name '*.in' -o \ - -name 'Makefile*' -o \ - -name 'rc[12]' -o \ - -name support` - mv scripts/* ${D}/usr/share/ntp/ - - exeinto /etc/init.d ; newexe ${FILESDIR}/ntpd-${PV}.rc ntpd - insinto /etc/conf.d ; newins ${FILESDIR}/ntpd-${PV}.confd ntpd -} - -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." -} diff --git a/net-misc/ntp/ntp-4.2.0-r1.ebuild b/net-misc/ntp/ntp-4.2.0-r1.ebuild deleted file mode 100644 index 3a7bd9d2fd8d..000000000000 --- a/net-misc/ntp/ntp-4.2.0-r1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.2.0-r1.ebuild,v 1.1 2004/03/01 16:40:34 vapier Exp $ - -inherit eutils - -DESCRIPTION="Network Time Protocol suite/programs" -HOMEPAGE="http://www.ntp.org/" -SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz" -# mirror://gentoo/${PF}-manpages.tbz2" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~hppa ~amd64" -IUSE="parse-clocks nodroproot selinux ssl" - -RDEPEND=">=sys-libs/ncurses-5.2 - >=sys-libs/readline-4.1 - !nodroproot? ( sys-libs/libcap ) - ssl? ( dev-libs/openssl ) - selinux? ( sec-policy/selinux-ntp )" -DEPEND="${RDEPEND} - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.7.7 - >=sys-apps/sed-4.0.5" - -pkg_setup() { - enewgroup ntp 123 - enewuser ntp 123 /bin/false /dev/null ntp -} - -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}" -} - -src_unpack() { - unpack ${A} - cd ${S} - - use alpha && epatch ${FILESDIR}/ntp-4.1.1b-syscall-libc.patch - - epatch ${FILESDIR}/${PV}-ntpdate-quiet.patch - epatch ${FILESDIR}/${PV}-linux-config-phone.patch #13001 - epatch ${FILESDIR}/${PV}-droproot.patch - sed -i "s:-Wpointer-arith::" configure.in - - # needed in order to make files with right ver info #30220 - aclocal -I . || die "aclocal" - automake || die "automake" - autoconf || die "autoconf" - - sed -i 's:-lelf:-la_doe_a_deer_a_female_deer:g' configure -} - -src_compile() { - hax_bitkeeper - - has_version "sys-devel/hardened-gcc" && append-flags "-yet_exec" - - local mysslconf - use ssl \ - && mysslconf="--with-openssl-libdir=yes" \ - || mysslconf="--with-openssl-libdir=no" - econf \ - --build=${CHOST} \ - `use_enable !nodroproot linuxcaps` \ - `use_enable parse-clocks` \ - ${mysslconf} \ - || die - - has_version "sys-devel/hardened-gcc" && find ${WORKDIR} -name "Makefile" -type f -exec sed -i "s,-yet_exec,," {} \; - - emake || die -} - -src_install() { - hax_bitkeeper - - make install DESTDIR=${D} || die - - dodoc ChangeLog INSTALL NEWS README TODO WHERE-TO-START -# doman ${WORKDIR}/man/*.1 - dohtml -r html/* - - insinto /usr/share/ntp - doins ${FILESDIR}/ntp.conf - rm -rf `find scripts/ \ - -name '*.in' -o \ - -name 'Makefile*' -o \ - -name 'rc[12]' -o \ - -name support` - cp -r scripts/* ${D}/usr/share/ntp/ - chmod -R go-w ${D}/usr/share/ntp - - [ ! -e /etc/ntp.conf ] && insinto /etc && doins ${FILESDIR}/ntp.conf - exeinto /etc/init.d - newexe ${FILESDIR}/ntpd.rc ntpd - newexe ${FILESDIR}/ntp-client.rc ntp-client - insinto /etc/conf.d - newins ${FILESDIR}/ntpd.confd ntpd - newins ${FILESDIR}/ntp-client.confd ntp-client - use nodroproot && dosed "s|-u ntp:ntp||" /etc/conf.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 -} - -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" -} |