summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-07-17 05:28:10 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-07-17 05:28:10 +0000
commit4f7c3b844d71b3fc8ac6bf18e80ff192f887fa45 (patch)
treeb97010f588844db77155a9056221a79440237cd6 /sys-apps/net-tools
parentuse emake (diff)
downloadhistorical-4f7c3b844d71b3fc8ac6bf18e80ff192f887fa45.tar.gz
historical-4f7c3b844d71b3fc8ac6bf18e80ff192f887fa45.tar.bz2
historical-4f7c3b844d71b3fc8ac6bf18e80ff192f887fa45.zip
clean older ebuild
Diffstat (limited to 'sys-apps/net-tools')
-rw-r--r--sys-apps/net-tools/ChangeLog6
-rw-r--r--sys-apps/net-tools/files/digest-net-tools-1.60-r72
-rw-r--r--sys-apps/net-tools/net-tools-1.60-r7.ebuild111
3 files changed, 5 insertions, 114 deletions
diff --git a/sys-apps/net-tools/ChangeLog b/sys-apps/net-tools/ChangeLog
index 01c4879c60f9..64f6e88c4bea 100644
--- a/sys-apps/net-tools/ChangeLog
+++ b/sys-apps/net-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/net-tools
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/ChangeLog,v 1.32 2004/06/27 17:35:47 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/ChangeLog,v 1.33 2004/07/17 05:28:10 mr_bones_ Exp $
+
+ 16 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ -net-tools-1.60-r7.ebuild:
+ clean older ebuild
27 Jun 2004; Aron Griffis <agriffis@gentoo.org> net-tools-1.60-r7.ebuild:
QA - fix use invocation
diff --git a/sys-apps/net-tools/files/digest-net-tools-1.60-r7 b/sys-apps/net-tools/files/digest-net-tools-1.60-r7
deleted file mode 100644
index 0a4ac9ee6c4e..000000000000
--- a/sys-apps/net-tools/files/digest-net-tools-1.60-r7
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 888774accab40217dde927e21979c165 net-tools-1.60.tar.bz2 198520
-MD5 d733ef8b0bad3dbd0cf98e14b45fe1a6 net-tools-1.60-gentoo-extra-1.tar.bz2 10370
diff --git a/sys-apps/net-tools/net-tools-1.60-r7.ebuild b/sys-apps/net-tools/net-tools-1.60-r7.ebuild
deleted file mode 100644
index 98875682236a..000000000000
--- a/sys-apps/net-tools/net-tools-1.60-r7.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-1.60-r7.ebuild,v 1.15 2004/06/27 17:35:47 agriffis Exp $
-
-inherit eutils
-
-DESCRIPTION="Standard Linux networking tools"
-SRC_URI="http://www.tazenda.demon.co.uk/phil/net-tools/${P}.tar.bz2
- mirror://gentoo/${P}-gentoo-extra-1.tar.bz2"
-HOMEPAGE="http://sites.inka.de/lina/linux/NetTools/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 amd64 ppc sparc alpha hppa mips ia64 ppc64 s390"
-IUSE="nls build static"
-
-DEPEND="nls? ( sys-devel/gettext )
- >=sys-apps/sed-4"
-
-src_unpack() {
-
- if use static ; then
- CFLAGS="${CFLAGS} -static"
- LDFLAGS="${LDFLAGS} -static"
- fi
-
- PATCHDIR=${WORKDIR}/${P}-gentoo
-
- unpack ${A}
- cd ${S}
-
- # Compile fix for 2.6 kernels
- epatch ${FILESDIR}/net-tools-1.60-2.6-compilefix.patch
-
- # some redhat patches
- epatch ${PATCHDIR}/net-tools-1.54-ipvs.patch
- epatch ${PATCHDIR}/net-tools-1.57-bug22040.patch
- epatch ${PATCHDIR}/net-tools-1.60-manydevs.patch
- epatch ${PATCHDIR}/net-tools-1.60-miiioctl.patch
- epatch ${PATCHDIR}/net-tools-1.60-virtualname.patch
- epatch ${PATCHDIR}/net-tools-1.60-cycle.patch
-
- # GCC-3.3 Compile Fix
- epatch ${PATCHDIR}/${P}-multiline-string.patch
-
- # manpage fix #29677
- epatch ${FILESDIR}/${PV}-man.patch
-
- cp ${PATCHDIR}/net-tools-1.60-config.h config.h
- cp ${PATCHDIR}/net-tools-1.60-config.make config.make
-
- sed -i \
- -e "s:-O2 -Wall -g:${CFLAGS}:" \
- -e "/^LOPTS =/ s/\$/${CFLAGS}/" Makefile ||
- die "sed Makefile failed"
-
- sed -i -e "s:/usr/man:/usr/share/man:" man/Makefile || \
- die "sed man/Makefile failed"
-
- cp -f ${PATCHDIR}/ether-wake.c ${S}
- cp -f ${PATCHDIR}/ether-wake.8 ${S}/man/en_US
-
- if ! use nls ; then
- sed -i -e 's:\(#define I18N\) 1:\1 0:' config.h || \
- die "sed config.h failed"
-
- sed -i -e 's:I18N=1:I18N=0:' config.make ||
- die "sed config.make failed"
- fi
-
- touch config.{h,make} # sync timestamps
-}
-
-src_compile() {
- # Changing "emake" to "make" closes half of bug #820;
- # configure is run from *inside* the Makefile, sometimes
- # breaking parallel makes (if ./configure doesn't finish first)
- make || die
-
- if use nls ; then
- cd po
- make || die
- fi
-
- cd ${S}
- gcc ${CFLAGS} -o ether-wake ether-wake.c || die
-}
-
-src_install() {
- make BASEDIR=${D} install || die
-
- dosbin ether-wake
- mv ${D}/bin/* ${D}/sbin
- for i in hostname domainname netstat dnsdomainname ypdomainname nisdomainname
- do
- mv ${D}/sbin/${i} ${D}/bin
- done
- dodir /usr/bin
- dosym /bin/hostname /usr/bin/hostname
-
- if ! use build
- then
- dodoc COPYING README README.ipv6 TODO
- else
- #only install /bin/hostname
- rm -rf ${D}/usr
- rm -rf ${D}/sbin
- rm -f ${D}/bin/{domainname,netstat,dnsdomainname}
- rm -f ${D}/bin/{ypdomainname,nisdomainname}
- fi
-}