[arch-commits] Commit in net-tools/repos (6 files)
Allan McRae
allan at nymeria.archlinux.org
Fri May 31 01:44:27 UTC 2013
Date: Friday, May 31, 2013 @ 03:44:27
Author: allan
Revision: 186746
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
net-tools/repos/staging-i686/
net-tools/repos/staging-i686/Makefile.patch
(from rev 186744, net-tools/trunk/Makefile.patch)
net-tools/repos/staging-i686/PKGBUILD
(from rev 186744, net-tools/trunk/PKGBUILD)
net-tools/repos/staging-x86_64/
net-tools/repos/staging-x86_64/Makefile.patch
(from rev 186745, net-tools/trunk/Makefile.patch)
net-tools/repos/staging-x86_64/PKGBUILD
(from rev 186745, net-tools/trunk/PKGBUILD)
-------------------------------+
staging-i686/Makefile.patch | 17 +++++++++++++++++
staging-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
staging-x86_64/Makefile.patch | 17 +++++++++++++++++
staging-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 114 insertions(+)
Copied: net-tools/repos/staging-i686/Makefile.patch (from rev 186744, net-tools/trunk/Makefile.patch)
===================================================================
--- staging-i686/Makefile.patch (rev 0)
+++ staging-i686/Makefile.patch 2013-05-31 01:44:27 UTC (rev 186746)
@@ -0,0 +1,17 @@
+--- 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
Copied: net-tools/repos/staging-i686/PKGBUILD (from rev 186744, net-tools/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-05-31 01:44:27 UTC (rev 186746)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=net-tools
+pkgver=1.60.20130531git
+pkgrel=1
+pkgdesc="Configuration tools for Linux networking"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://net-tools.sourceforge.net/"
+depends=('glibc')
+makedepends=('git')
+# use git snapshot currently prefered over release
+source=("net-tools::git://git.code.sf.net/p/net-tools/code#commit=6a14c03f")
+options=(!makeflags)
+sha1sums=('SKIP')
+
+prepare() {
+ sed -i "s#/sbin#/bin#" ${srcdir}/${pkgname}/Makefile
+ sed -i "s#/usr##" ${srcdir}/${pkgname}/man/Makefile
+}
+
+build() {
+ cd ${srcdir}/${pkgname}
+ yes "" | make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}
+ make DESTDIR=${pkgdir}/usr update
+
+ # the following is provided by yp-tools
+ rm "${pkgdir}"/usr/bin/{nis,yp}domainname
+ rm "${pkgdir}"/usr/share/man/man1/{nis,yp}domainname.1
+
+ # hostname is provided by inetutils
+ rm "${pkgdir}"/usr/bin/{hostname,dnsdomainname,domainname}
+ rm -rf "${pkgdir}"/usr/share/man/man1
+}
Copied: net-tools/repos/staging-x86_64/Makefile.patch (from rev 186745, net-tools/trunk/Makefile.patch)
===================================================================
--- staging-x86_64/Makefile.patch (rev 0)
+++ staging-x86_64/Makefile.patch 2013-05-31 01:44:27 UTC (rev 186746)
@@ -0,0 +1,17 @@
+--- 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
Copied: net-tools/repos/staging-x86_64/PKGBUILD (from rev 186745, net-tools/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-05-31 01:44:27 UTC (rev 186746)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=net-tools
+pkgver=1.60.20130531git
+pkgrel=1
+pkgdesc="Configuration tools for Linux networking"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://net-tools.sourceforge.net/"
+depends=('glibc')
+makedepends=('git')
+# use git snapshot currently prefered over release
+source=("net-tools::git://git.code.sf.net/p/net-tools/code#commit=6a14c03f")
+options=(!makeflags)
+sha1sums=('SKIP')
+
+prepare() {
+ sed -i "s#/sbin#/bin#" ${srcdir}/${pkgname}/Makefile
+ sed -i "s#/usr##" ${srcdir}/${pkgname}/man/Makefile
+}
+
+build() {
+ cd ${srcdir}/${pkgname}
+ yes "" | make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}
+ make DESTDIR=${pkgdir}/usr update
+
+ # the following is provided by yp-tools
+ rm "${pkgdir}"/usr/bin/{nis,yp}domainname
+ rm "${pkgdir}"/usr/share/man/man1/{nis,yp}domainname.1
+
+ # hostname is provided by inetutils
+ rm "${pkgdir}"/usr/bin/{hostname,dnsdomainname,domainname}
+ rm -rf "${pkgdir}"/usr/share/man/man1
+}
More information about the arch-commits
mailing list