[arch-commits] Commit in net-tools/repos (6 files)

Ronald van Haren ronald at archlinux.org
Thu Apr 21 09:28:26 UTC 2016


    Date: Thursday, April 21, 2016 @ 11:28:25
  Author: ronald
Revision: 265805

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  net-tools/repos/testing-i686/
  net-tools/repos/testing-i686/Makefile.patch
    (from rev 265804, net-tools/trunk/Makefile.patch)
  net-tools/repos/testing-i686/PKGBUILD
    (from rev 265804, net-tools/trunk/PKGBUILD)
  net-tools/repos/testing-x86_64/
  net-tools/repos/testing-x86_64/Makefile.patch
    (from rev 265804, net-tools/trunk/Makefile.patch)
  net-tools/repos/testing-x86_64/PKGBUILD
    (from rev 265804, net-tools/trunk/PKGBUILD)

-------------------------------+
 testing-i686/Makefile.patch   |   17 +++++++++++++++++
 testing-i686/PKGBUILD         |   40 ++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/Makefile.patch |   17 +++++++++++++++++
 testing-x86_64/PKGBUILD       |   40 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 114 insertions(+)

Copied: net-tools/repos/testing-i686/Makefile.patch (from rev 265804, net-tools/trunk/Makefile.patch)
===================================================================
--- testing-i686/Makefile.patch	                        (rev 0)
+++ testing-i686/Makefile.patch	2016-04-21 09:28:25 UTC (rev 265805)
@@ -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/testing-i686/PKGBUILD (from rev 265804, net-tools/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-04-21 09:28:25 UTC (rev 265805)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=net-tools
+pkgver=1.60.20160215git
+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=bd8bce")
+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/testing-x86_64/Makefile.patch (from rev 265804, net-tools/trunk/Makefile.patch)
===================================================================
--- testing-x86_64/Makefile.patch	                        (rev 0)
+++ testing-x86_64/Makefile.patch	2016-04-21 09:28:25 UTC (rev 265805)
@@ -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/testing-x86_64/PKGBUILD (from rev 265804, net-tools/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-04-21 09:28:25 UTC (rev 265805)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=net-tools
+pkgver=1.60.20160215git
+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=bd8bce")
+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