summaryrefslogtreecommitdiff
path: root/testing/net-tools
diff options
context:
space:
mode:
Diffstat (limited to 'testing/net-tools')
-rw-r--r--testing/net-tools/Makefile.patch17
-rw-r--r--testing/net-tools/PKGBUILD39
-rw-r--r--testing/net-tools/net-tools.install12
3 files changed, 0 insertions, 68 deletions
diff --git a/testing/net-tools/Makefile.patch b/testing/net-tools/Makefile.patch
deleted file mode 100644
index aaacd6b78..000000000
--- a/testing/net-tools/Makefile.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.old 2012-08-07 22:07:58.235437087 +0200
-+++ Makefile 2012-08-07 22:10:21.192104345 +0200
-@@ -239,12 +239,12 @@
- install -m 0755 -d ${BASEDIR}/bin
- install -m 0755 arp ${BASEDIR}/sbin
- install -m 0755 hostname ${BASEDIR}/bin
-- install -m 0755 ifconfig ${BASEDIR}/bin
-+ install -m 0755 ifconfig ${BASEDIR}/sbin
- install -m 0755 nameif ${BASEDIR}/sbin
- install -m 0755 netstat ${BASEDIR}/bin
- install -m 0755 plipconfig $(BASEDIR)/sbin
- install -m 0755 rarp ${BASEDIR}/sbin
-- install -m 0755 route ${BASEDIR}/bin
-+ install -m 0755 route ${BASEDIR}/sbin
- install -m 0755 slattach $(BASEDIR)/sbin
- ifeq ($(HAVE_IP_TOOLS),1)
- install -m 0755 ipmaddr $(BASEDIR)/sbin
diff --git a/testing/net-tools/PKGBUILD b/testing/net-tools/PKGBUILD
deleted file mode 100644
index fec4a9806..000000000
--- a/testing/net-tools/PKGBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# $Id: PKGBUILD 164985 2012-08-07 20:09:18Z ronald $
-# Maintainer: Ronald van Haren <ronald.archlinux.org>
-# Contributor: judd <jvinet@zeroflux.org>
-
-pkgname=net-tools
-pkgver=1.60.20120804git
-pkgrel=2
-pkgdesc="Configuration tools for Linux networking"
-arch=(i686 x86_64)
-license=('GPL2')
-url="http://net-tools.sourceforge.net/"
-depends=('glibc')
-
-# http://www.tazenda.demon.co.uk/phil/$pkgname/$pkgname-$pkgver.tar.bz2
-# use git checkout instead
-source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz
- Makefile.patch)
-options=(!makeflags)
-install=net-tools.install
-sha1sums=('a3341086cb403a8d747b783693f72ee2dfd72d82'
- '4191ca56dc01d6aebe26c36c7cc060c638d5ebca')
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np0 -i ${srcdir}/Makefile.patch
- yes "" | make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make BASEDIR=${pkgdir} update
-
- # the following is provided by yp-tools
- rm "${pkgdir}"/bin/{nis,yp}domainname
- rm "${pkgdir}"/usr/share/man/man1/{nis,yp}domainname.1
-
- # hostname is provided by inetutils
- rm "${pkgdir}"/bin/{hostname,dnsdomainname,domainname}
- rm -rf "${pkgdir}"/usr/share/man/man1
-}
diff --git a/testing/net-tools/net-tools.install b/testing/net-tools/net-tools.install
deleted file mode 100644
index 9eee9e51b..000000000
--- a/testing/net-tools/net-tools.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_upgrade() {
- if [ "$(vercmp $2 1.60-16)" -lt 0 ]; then
- echo "hostname and {,yp,nis}domainname has moved:"
- echo "----------"
- echo "hostname is now in coreutils"
- echo "domainname is now in yp-tools"
- echo "their functionality might have changed slightly"
- echo ""
- echo "dnsdomainname remains in net-tools"
- echo "----------"
- fi
-}