diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2013-05-29 01:26:59 +0200 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2013-05-29 01:37:33 +0200 |
commit | 29fa204f2a03260b91bc1a95cfb2cca63979af76 (patch) | |
tree | d45a150e714ca518a2048b05fe976171ec954a1f | |
parent | sys-apps/missing-links: Fix quotes (diff) | |
download | portage-29fa204f2a03260b91bc1a95cfb2cca63979af76.tar.xz |
delete old sys-apps/net-tools
-rw-r--r-- | sys-apps/net-tools/Manifest | 9 | ||||
-rw-r--r-- | sys-apps/net-tools/net-tools-1.60-r13.ebuild | 99 |
2 files changed, 0 insertions, 108 deletions
diff --git a/sys-apps/net-tools/Manifest b/sys-apps/net-tools/Manifest deleted file mode 100644 index 4aad2bea..00000000 --- a/sys-apps/net-tools/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -DIST net-tools-1.60-patches-1.6.tar.bz2 106557 RMD160 1dce9fecbbab849bfdb8b832ee4baf5cead983d9 SHA1 709d1c8f611225f851ec6227b4928ae9f97edbb5 SHA256 61df3fca2bd30a752231285bd714edcadc0c5206a09954eb1861a68a0ef4bba9 -DIST net-tools-1.60.tar.bz2 198520 RMD160 58376371a9383842640d2c4215cf771d522ee43e SHA1 944fb70641505d5d1139dba3aeb81ba124574b83 SHA256 7ae4dd6d44d6715f18e10559ffd270511b6e55a8900ca54fbebafe0ae6cf7d7b -EBUILD net-tools-1.60-r13.ebuild 2670 RMD160 cab040546c464cbb82a371940056a39e22908df1 SHA1 a973e3328e4d014bc3a34c8a7c3c61d321f158cc SHA256 ab6796fcd84509d32a81bad1ec45a8e23ab516510f70d00ae8fe45e0d41e78b6 -MD5 2957c34a92dffc46987a3fe3e9bcbe5d net-tools-1.60-r13.ebuild 2670 -RMD160 cab040546c464cbb82a371940056a39e22908df1 net-tools-1.60-r13.ebuild 2670 -SHA256 ab6796fcd84509d32a81bad1ec45a8e23ab516510f70d00ae8fe45e0d41e78b6 net-tools-1.60-r13.ebuild 2670 -MD5 a9f54037512f4a4903a338081b3cfe23 files/digest-net-tools-1.60-r13 530 -RMD160 f142abc362ec3dc4b90e03db62591281be7d9a74 files/digest-net-tools-1.60-r13 530 -SHA256 e822364b727e44ce5037dfdca04bfc303c0bfafa3a819480c81ca69cfbbe9c86 files/digest-net-tools-1.60-r13 530 diff --git a/sys-apps/net-tools/net-tools-1.60-r13.ebuild b/sys-apps/net-tools/net-tools-1.60-r13.ebuild deleted file mode 100644 index bf522ba7..00000000 --- a/sys-apps/net-tools/net-tools-1.60-r13.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2007 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-r13.ebuild,v 1.11 2007/11/01 15:43:39 solar Exp $ - -inherit flag-o-matic toolchain-funcs eutils - -PVER="1.6" -DESCRIPTION="Standard Linux networking tools" -HOMEPAGE="http://sites.inka.de/lina/linux/NetTools/" -SRC_URI="http://www.tazenda.demon.co.uk/phil/net-tools/${P}.tar.bz2 - mirror://gentoo/${P}-patches-${PVER}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86" -IUSE="nls static minimal" - -RDEPEND="!sys-apps/mii-diag - !net-misc/etherwake - !sys-apps/nictools" -DEPEND="nls? ( sys-devel/gettext )" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${WORKDIR}"/patch/*.patch - cp "${WORKDIR}"/extra/config.{h,make} . || die - mkdir include/linux - cp "${WORKDIR}"/extra/*.h include/linux/ - mv "${WORKDIR}"/extra/ethercard-diag/ "${S}"/ || die - - if use static ; then - append-flags -static - append-ldflags -static - fi - - sed -i \ - -e "/^COPTS =/s:=:=${CFLAGS}:" \ - -e "/^LOPTS =/s:=:=${LDFLAGS}:" \ - Makefile || die "sed FLAGS Makefile failed" - - sed -i \ - -e s/CFLAGS=/CFLAGS?=/ ethercard-diag/pub/diag/Makefile \ - || die "I like turtles" - - if ! use nls ; then - sed -i \ - -e '/define I18N/s:1$:0:' config.h \ - || die "sed config.h failed" - sed -i \ - -e '/^I18N=/s:1$:0:' config.make \ - || die "sed config.make failed" - fi -} - -src_compile() { - tc-export CC - emake libdir || die "emake libdir failed" - emake || die "emake failed" - emake -C ethercard-diag || die "emake ethercard-diag failed" - - if use nls ; then - emake i18ndir || die "emake i18ndir failed" - fi -} - -src_install() { - make BASEDIR="${D}" install || die "make install failed" - make -C ethercard-diag DESTDIR="${D}" install || die "make install ethercard-diag failed" - mv "${D}"/usr/share/man/man8/ether{,-}wake.8 - mv "${D}"/usr/sbin/mii-diag "${D}"/sbin/ || die "mv mii-diag failed" - mv "${D}"/bin/* "${D}"/sbin/ || die "mv bin to sbin failed" - mv "${D}"/sbin/{hostname,domainname,netstat,dnsdomainname,ypdomainname,nisdomainname} "${D}"/bin/ \ - || die "mv sbin to bin failed" - dodir /usr/bin - dosym /bin/hostname /usr/bin/hostname - - if use minimal ; then - rm ${D}/sbin/arp - rm ${D}/usr/share/man/man8/arp.8* - - rm ${D}/sbin/ifconfig - rm ${D}/usr/share/man/man8/ifconfig.8* - - rm ${D}/sbin/route - rm ${D}/usr/share/man/man8/route.8* - - rm ${D}/sbin/nameif - rm ${D}/usr/share/man/man8/nameif.8* - - rm ${D}/sbin/iptunnel - rm ${D}/usr/share/man/man8/iptunnel.8* - - rm ${D}/sbin/ipmaddr - rm ${D}/usr/share/man/man8/ipmaddr.8* - fi - - dodoc README README.ipv6 TODO -} |