[arch-commits] Commit in iproute2/repos (8 files)

2016-04-20 Thread Ronald van Haren
Date: Wednesday, April 20, 2016 @ 16:06:20
  Author: ronald
Revision: 265538

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

Added:
  iproute2/repos/testing-i686/PKGBUILD
(from rev 265537, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 265537, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 265537, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 265537, iproute2/trunk/iproute2-fhs.patch)
Deleted:
  iproute2/repos/testing-i686/PKGBUILD
  iproute2/repos/testing-i686/iproute2-fhs.patch
  iproute2/repos/testing-x86_64/PKGBUILD
  iproute2/repos/testing-x86_64/iproute2-fhs.patch

---+
 /PKGBUILD |  120 
 /iproute2-fhs.patch   |  174 
 testing-i686/PKGBUILD |   60 
 testing-i686/iproute2-fhs.patch   |   87 --
 testing-x86_64/PKGBUILD   |   60 
 testing-x86_64/iproute2-fhs.patch |   87 --
 6 files changed, 294 insertions(+), 294 deletions(-)

Deleted: testing-i686/PKGBUILD
===
--- testing-i686/PKGBUILD   2016-04-20 14:06:08 UTC (rev 265537)
+++ testing-i686/PKGBUILD   2016-04-20 14:06:20 UTC (rev 265538)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren 
-# Contributor: Judd Vinet 
-
-pkgname=iproute2
-pkgver=4.5.0
-pkgrel=1
-pkgdesc="IP Routing Utilities"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
-depends=('glibc' 'iptables')
-makedepends=('linux-atm')
-optdepends=('linux-atm: ATM support')
-groups=('base')
-provides=('iproute')
-conflicts=('iproute')
-replaces=('iproute')
-options=('staticlibs' '!makeflags')
-backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
-   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
-validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
-source=("http://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar."{xz,sign}
-iproute2-fhs.patch)
-sha1sums=('f6271aaf9b24b9c465622bea8a29a883034d8d49'
-  'SKIP'
-  '2dc6d8f1a2495a0d51eaa303dcc78ecc0c477935')
-
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # set correct fhs structure
-  patch -Np1 -i "${srcdir}/iproute2-fhs.patch"
-
-  # do not treat warnings as errors
-  sed -i 's/-Werror//' Makefile
-
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}" install
-
-  # libnetlink isn't installed, install it FS#19385
-  install -Dm644 include/libnetlink.h "${pkgdir}/usr/include/libnetlink.h"
-  install -Dm644 lib/libnetlink.a "${pkgdir}/usr/lib/libnetlink.a"
-
-  # move binaries
-  cd "${pkgdir}"
-  mv sbin usr/bin
-
-}

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 265537, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-04-20 14:06:20 UTC (rev 265538)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Ronald van Haren 
+# Contributor: Judd Vinet 
+
+pkgname=iproute2
+pkgver=4.5.0
+pkgrel=2
+pkgdesc="IP Routing Utilities"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
+source=("http://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar."{xz,sign}
+iproute2-fhs.patch)
+sha1sums=('f6271aaf9b24b9c465622bea8a29a883034d8d49'
+  'SKIP'
+  '2dc6d8f1a2495a0d51eaa303dcc78ecc0c477935')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # set correct fhs structure
+  patch -Np1 -i "${srcdir}/iproute2-fhs.patch"
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h "${pkgdir}/usr/include/libnetlink.h"
+  install -Dm644 lib/libnetlink.a 

[arch-commits] Commit in iproute2/repos (8 files)

2016-04-20 Thread Ronald van Haren
Date: Wednesday, April 20, 2016 @ 15:14:30
  Author: ronald
Revision: 265531

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

Added:
  iproute2/repos/testing-i686/PKGBUILD
(from rev 265530, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 265530, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 265530, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 265530, iproute2/trunk/iproute2-fhs.patch)
Deleted:
  iproute2/repos/testing-i686/PKGBUILD
  iproute2/repos/testing-i686/iproute2-fhs.patch
  iproute2/repos/testing-x86_64/PKGBUILD
  iproute2/repos/testing-x86_64/iproute2-fhs.patch

---+
 /PKGBUILD |  120 
 /iproute2-fhs.patch   |  174 
 testing-i686/PKGBUILD |   60 
 testing-i686/iproute2-fhs.patch   |   87 --
 testing-x86_64/PKGBUILD   |   60 
 testing-x86_64/iproute2-fhs.patch |   87 --
 6 files changed, 294 insertions(+), 294 deletions(-)

Deleted: testing-i686/PKGBUILD
===
--- testing-i686/PKGBUILD   2016-04-20 13:14:21 UTC (rev 265530)
+++ testing-i686/PKGBUILD   2016-04-20 13:14:30 UTC (rev 265531)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren 
-# Contributor: Judd Vinet 
-
-pkgname=iproute2
-pkgver=4.4.0
-pkgrel=2
-pkgdesc="IP Routing Utilities"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
-depends=('glibc' 'iptables')
-makedepends=('linux-atm')
-optdepends=('linux-atm: ATM support')
-groups=('base')
-provides=('iproute')
-conflicts=('iproute')
-replaces=('iproute')
-options=('staticlibs' '!makeflags')
-backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
-   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
-validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
-source=("http://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar."{xz,sign}
-iproute2-fhs.patch)
-sha1sums=('68372be70c5c0503196d03913f4b1e201956d1b6'
-  'SKIP'
-  '2dc6d8f1a2495a0d51eaa303dcc78ecc0c477935')
-
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # set correct fhs structure
-  patch -Np1 -i "${srcdir}/iproute2-fhs.patch"
-
-  # do not treat warnings as errors
-  sed -i 's/-Werror//' Makefile
-
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  ./configure
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  make DESTDIR="${pkgdir}" install
-
-  # libnetlink isn't installed, install it FS#19385
-  install -Dm644 include/libnetlink.h "${pkgdir}/usr/include/libnetlink.h"
-  install -Dm644 lib/libnetlink.a "${pkgdir}/usr/lib/libnetlink.a"
-
-  # move binaries
-  cd "${pkgdir}"
-  mv sbin usr/bin
-
-}

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 265530, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-04-20 13:14:30 UTC (rev 265531)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Ronald van Haren 
+# Contributor: Judd Vinet 
+
+pkgname=iproute2
+pkgver=4.5.0
+pkgrel=1
+pkgdesc="IP Routing Utilities"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
+source=("http://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar."{xz,sign}
+iproute2-fhs.patch)
+sha1sums=('f6271aaf9b24b9c465622bea8a29a883034d8d49'
+  'SKIP'
+  '2dc6d8f1a2495a0d51eaa303dcc78ecc0c477935')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # set correct fhs structure
+  patch -Np1 -i "${srcdir}/iproute2-fhs.patch"
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h "${pkgdir}/usr/include/libnetlink.h"
+  install -Dm644 lib/libnetlink.a 

[arch-commits] Commit in iproute2/repos (8 files)

2015-08-06 Thread Ronald van Haren
Date: Thursday, August 6, 2015 @ 11:40:34
  Author: ronald
Revision: 243072

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 243071, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 243071, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-i686/unwanted-link-help.patch
(from rev 243071, iproute2/trunk/unwanted-link-help.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 243071, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 243071, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/unwanted-link-help.patch
(from rev 243071, iproute2/trunk/unwanted-link-help.patch)

-+
 testing-i686/PKGBUILD   |   65 ++
 testing-i686/iproute2-fhs.patch |   87 ++
 testing-i686/unwanted-link-help.patch   |   17 +
 testing-x86_64/PKGBUILD |   65 ++
 testing-x86_64/iproute2-fhs.patch   |   87 ++
 testing-x86_64/unwanted-link-help.patch |   17 +
 6 files changed, 338 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 243071, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-08-06 09:40:34 UTC (rev 243072)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=4.1.1
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
+source=(http://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar.{xz,sign}
+iproute2-fhs.patch
+unwanted-link-help.patch)
+sha1sums=('750c17e720b43041c23fed7b8cf0118c0e841036'
+  'SKIP'
+  '2dc6d8f1a2495a0d51eaa303dcc78ecc0c477935'
+  '3b1335f4025f657f388fbf4e5a740871e3129c2a')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # set correct fhs structure
+  patch -Np1 -i ${srcdir}/iproute2-fhs.patch
+
+  # allow operations on links called h, he, hel, help
+  patch -Np1 -i ${srcdir}/unwanted-link-help.patch
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  ./configure
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h ${pkgdir}/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a ${pkgdir}/usr/lib/libnetlink.a
+
+  # move binaries
+  cd ${pkgdir}
+  mv sbin usr/bin
+
+}

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 243071, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2015-08-06 09:40:34 UTC (rev 243072)
@@ -0,0 +1,87 @@
+diff --git a/Makefile b/Makefile
+index 67176be..6549447 100644
+--- a/Makefile
 b/Makefile
+@@ -13,7 +13,7 @@ DBM_INCLUDE:=$(DESTDIR)/usr/include
+ 
+ SHARED_LIBS = y
+ 
+-DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\$(LIBDIR)\
++DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\$(LIBDIR)\ -DDATADIR=\$(DATADIR)\
+ ifneq ($(SHARED_LIBS),y)
+ DEFINES+= -DNO_SHARED_LIBS
+ endif
+diff --git a/netem/Makefile b/netem/Makefile
+index e52e125..5b4d283 100644
+--- a/netem/Makefile
 b/netem/Makefile
+@@ -20,9 +20,9 @@ stats: stats.c
+   $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
+ 
+ install: all
+-  mkdir -p $(DESTDIR)$(LIBDIR)/tc
++  mkdir -p $(DESTDIR)$(DATADIR)/tc
+   for i in $(DISTDATA); \
+-  do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
++  do install -m 644 $$i $(DESTDIR)$(DATADIR)/tc; \
+   done
+ 
+ clean:
+diff --git a/tc/q_netem.c b/tc/q_netem.c
+index cd990a0..7d4e71f 100644
+--- a/tc/q_netem.c
 b/tc/q_netem.c
+@@ -113,7 +113,7 @@ static int get_distribution(const char *type, __s16 *data, 
int maxdata)
+   char *line = NULL;
+   char name[128];
+ 
+-  snprintf(name, sizeof(name), %s/%s.dist, 

[arch-commits] Commit in iproute2/repos (8 files)

2015-04-14 Thread Ronald van Haren
Date: Tuesday, April 14, 2015 @ 16:32:42
  Author: ronald
Revision: 236535

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 236534, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 236534, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-i686/unwanted-link-help.patch
(from rev 236534, iproute2/trunk/unwanted-link-help.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 236534, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 236534, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/unwanted-link-help.patch
(from rev 236534, iproute2/trunk/unwanted-link-help.patch)

-+
 testing-i686/PKGBUILD   |   63 +
 testing-i686/iproute2-fhs.patch |   75 ++
 testing-i686/unwanted-link-help.patch   |   17 ++
 testing-x86_64/PKGBUILD |   63 +
 testing-x86_64/iproute2-fhs.patch   |   75 ++
 testing-x86_64/unwanted-link-help.patch |   17 ++
 6 files changed, 310 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 236534, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-04-14 14:32:42 UTC (rev 236535)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=4.0.0
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
+source=(http://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar.{xz,sign}
+iproute2-fhs.patch
+unwanted-link-help.patch)
+sha1sums=('d24385ae619966d1bd71e146322d6035d60aaa1a'
+  'SKIP'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c'
+  '3b1335f4025f657f388fbf4e5a740871e3129c2a')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # set correct fhs structure
+  patch -Np1 -i ${srcdir}/iproute2-fhs.patch
+
+  # allow operations on links called h, he, hel, help
+  patch -Np1 -i ${srcdir}/unwanted-link-help.patch
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  ./configure
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h ${pkgdir}/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a ${pkgdir}/usr/lib/libnetlink.a
+
+  # usrmove
+  cd ${pkgdir}
+  mv usr/sbin usr/bin
+}

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 236534, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2015-04-14 14:32:42 UTC (rev 236535)
@@ -0,0 +1,75 @@
+diff -Naur iproute2-3.4.0/Makefile iproute2-3.4.0.new/Makefile
+--- iproute2-3.4.0/Makefile2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/Makefile2012-06-18 10:23:53.896760158 +0200
+@@ -1,7 +1,8 @@
+ ROOTDIR=$(DESTDIR)
+ PREFIX=/usr
+ LIBDIR=$(PREFIX)/lib
+-SBINDIR=/sbin
++SBINDIR=/usr/sbin
++SHAREDIR=/usr/share
+ CONFDIR=/etc/iproute2
+ DATADIR=$(PREFIX)/share
+ DOCDIR=$(DATADIR)/doc/iproute2
+diff -Naur iproute2-3.4.0/netem/Makefile iproute2-3.4.0.new/netem/Makefile
+--- iproute2-3.4.0/netem/Makefile  2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/netem/Makefile  2012-06-18 10:23:53.896760158 +0200
+@@ -20,9 +20,9 @@
+   $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
+ 
+ install: all
+-  mkdir -p $(DESTDIR)$(LIBDIR)/tc
++  mkdir -p $(DESTDIR)$(SHAREDIR)/tc
+   for i in $(DISTDATA); \
+-  do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
++  do install -m 644 $$i $(DESTDIR)$(SHAREDIR)/tc; \
+   done
+ 
+ clean:
+diff -Naur iproute2-3.4.0/tc/Makefile iproute2-3.4.0.new/tc/Makefile
+--- iproute2-3.4.0/tc/Makefile 2012-05-21 23:12:19.0 +0200
 

[arch-commits] Commit in iproute2/repos (8 files)

2015-02-11 Thread Ronald van Haren
Date: Wednesday, February 11, 2015 @ 09:47:07
  Author: ronald
Revision: 231256

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 231255, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 231255, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-i686/unwanted-link-help.patch
(from rev 231255, iproute2/trunk/unwanted-link-help.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 231255, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 231255, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/unwanted-link-help.patch
(from rev 231255, iproute2/trunk/unwanted-link-help.patch)

-+
 testing-i686/PKGBUILD   |   63 +
 testing-i686/iproute2-fhs.patch |   75 ++
 testing-i686/unwanted-link-help.patch   |   17 ++
 testing-x86_64/PKGBUILD |   63 +
 testing-x86_64/iproute2-fhs.patch   |   75 ++
 testing-x86_64/unwanted-link-help.patch |   17 ++
 6 files changed, 310 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 231255, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-02-11 08:47:07 UTC (rev 231256)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.19.0
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+validpgpkeys=('9F6FC345B05BE7E766B83C8F80A77F6095CDE47E') # Stephen Hemminger
+source=(http://www.kernel.org/pub/linux/utils/net/${pkgname}/${pkgname}-${pkgver}.tar.{xz,sign}
+iproute2-fhs.patch
+unwanted-link-help.patch)
+sha1sums=('109b076dc12d4af7c7b5299b0a66e0c4bd8e5e60'
+  'SKIP'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c'
+  '3b1335f4025f657f388fbf4e5a740871e3129c2a')
+
+prepare() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  # set correct fhs structure
+  patch -Np1 -i ${srcdir}/iproute2-fhs.patch
+
+  # allow operations on links called h, he, hel, help
+  patch -Np1 -i ${srcdir}/unwanted-link-help.patch
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+}
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  ./configure
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+
+  make DESTDIR=${pkgdir} install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h ${pkgdir}/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a ${pkgdir}/usr/lib/libnetlink.a
+
+  # usrmove
+  cd ${pkgdir}
+  mv usr/sbin usr/bin
+}

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 231255, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2015-02-11 08:47:07 UTC (rev 231256)
@@ -0,0 +1,75 @@
+diff -Naur iproute2-3.4.0/Makefile iproute2-3.4.0.new/Makefile
+--- iproute2-3.4.0/Makefile2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/Makefile2012-06-18 10:23:53.896760158 +0200
+@@ -1,7 +1,8 @@
+ ROOTDIR=$(DESTDIR)
+ PREFIX=/usr
+ LIBDIR=$(PREFIX)/lib
+-SBINDIR=/sbin
++SBINDIR=/usr/sbin
++SHAREDIR=/usr/share
+ CONFDIR=/etc/iproute2
+ DATADIR=$(PREFIX)/share
+ DOCDIR=$(DATADIR)/doc/iproute2
+diff -Naur iproute2-3.4.0/netem/Makefile iproute2-3.4.0.new/netem/Makefile
+--- iproute2-3.4.0/netem/Makefile  2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/netem/Makefile  2012-06-18 10:23:53.896760158 +0200
+@@ -20,9 +20,9 @@
+   $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
+ 
+ install: all
+-  mkdir -p $(DESTDIR)$(LIBDIR)/tc
++  mkdir -p $(DESTDIR)$(SHAREDIR)/tc
+   for i in $(DISTDATA); \
+-  do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
++  do install -m 644 $$i $(DESTDIR)$(SHAREDIR)/tc; \
+   done
+ 
+ clean:
+diff -Naur iproute2-3.4.0/tc/Makefile iproute2-3.4.0.new/tc/Makefile
+--- iproute2-3.4.0/tc/Makefile 2012-05-21 23:12:19.0 +0200
 

[arch-commits] Commit in iproute2/repos (8 files)

2014-12-30 Thread Ronald van Haren
Date: Tuesday, December 30, 2014 @ 21:56:48
  Author: ronald
Revision: 228195

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 228194, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 228194, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-i686/unwanted-link-help.patch
(from rev 228194, iproute2/trunk/unwanted-link-help.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 228194, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 228194, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/unwanted-link-help.patch
(from rev 228194, iproute2/trunk/unwanted-link-help.patch)

-+
 testing-i686/PKGBUILD   |   62 
 testing-i686/iproute2-fhs.patch |   75 ++
 testing-i686/unwanted-link-help.patch   |   17 ++
 testing-x86_64/PKGBUILD |   62 
 testing-x86_64/iproute2-fhs.patch   |   75 ++
 testing-x86_64/unwanted-link-help.patch |   17 ++
 6 files changed, 308 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 228194, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-12-30 20:56:48 UTC (rev 228195)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.18.0
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm' 'git')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+#source=(git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git#tag=v$pkgver
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+iproute2-fhs.patch
+unwanted-link-help.patch)
+sha1sums=('844676d882386bbe2ceafc1d08bc29f3f909d35e'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c'
+  '3b1335f4025f657f388fbf4e5a740871e3129c2a')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  # allow operations on links called h, he, hel, help
+  patch -Np1 -i $srcdir/unwanted-link-help.patch
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  ./configure
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+
+  # usrmove
+  cd $pkgdir
+  mv usr/sbin usr/bin
+}

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 228194, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2014-12-30 20:56:48 UTC (rev 228195)
@@ -0,0 +1,75 @@
+diff -Naur iproute2-3.4.0/Makefile iproute2-3.4.0.new/Makefile
+--- iproute2-3.4.0/Makefile2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/Makefile2012-06-18 10:23:53.896760158 +0200
+@@ -1,7 +1,8 @@
+ ROOTDIR=$(DESTDIR)
+ PREFIX=/usr
+ LIBDIR=$(PREFIX)/lib
+-SBINDIR=/sbin
++SBINDIR=/usr/sbin
++SHAREDIR=/usr/share
+ CONFDIR=/etc/iproute2
+ DATADIR=$(PREFIX)/share
+ DOCDIR=$(DATADIR)/doc/iproute2
+diff -Naur iproute2-3.4.0/netem/Makefile iproute2-3.4.0.new/netem/Makefile
+--- iproute2-3.4.0/netem/Makefile  2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/netem/Makefile  2012-06-18 10:23:53.896760158 +0200
+@@ -20,9 +20,9 @@
+   $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
+ 
+ install: all
+-  mkdir -p $(DESTDIR)$(LIBDIR)/tc
++  mkdir -p $(DESTDIR)$(SHAREDIR)/tc
+   for i in $(DISTDATA); \
+-  do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
++  do install -m 644 $$i $(DESTDIR)$(SHAREDIR)/tc; \
+   done
+ 
+ clean:
+diff -Naur iproute2-3.4.0/tc/Makefile iproute2-3.4.0.new/tc/Makefile
+--- iproute2-3.4.0/tc/Makefile 2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/tc/Makefile 2012-06-18 10:23:53.893426840 

[arch-commits] Commit in iproute2/repos (8 files)

2014-08-05 Thread Ronald van Haren
Date: Tuesday, August 5, 2014 @ 21:50:12
  Author: ronald
Revision: 219343

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 219342, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 219342, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-i686/unwanted-link-help.patch
(from rev 219342, iproute2/trunk/unwanted-link-help.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 219342, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 219342, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/unwanted-link-help.patch
(from rev 219342, iproute2/trunk/unwanted-link-help.patch)

-+
 testing-i686/PKGBUILD   |   61 
 testing-i686/iproute2-fhs.patch |   75 ++
 testing-i686/unwanted-link-help.patch   |   17 ++
 testing-x86_64/PKGBUILD |   61 
 testing-x86_64/iproute2-fhs.patch   |   75 ++
 testing-x86_64/unwanted-link-help.patch |   17 ++
 6 files changed, 306 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 219342, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-08-05 19:50:12 UTC (rev 219343)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.16.0
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+iproute2-fhs.patch
+   unwanted-link-help.patch)
+sha1sums=('25bb97f68d3f474e599bb97367670b31b3e96add'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c'
+  '3b1335f4025f657f388fbf4e5a740871e3129c2a')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  # allow operations on links called h, he, hel, help
+  patch -Np1 -i $srcdir/unwanted-link-help.patch
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  ./configure
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+
+  # usrmove
+  cd $pkgdir
+  mv usr/sbin usr/bin
+}

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 219342, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2014-08-05 19:50:12 UTC (rev 219343)
@@ -0,0 +1,75 @@
+diff -Naur iproute2-3.4.0/Makefile iproute2-3.4.0.new/Makefile
+--- iproute2-3.4.0/Makefile2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/Makefile2012-06-18 10:23:53.896760158 +0200
+@@ -1,7 +1,8 @@
+ ROOTDIR=$(DESTDIR)
+ PREFIX=/usr
+ LIBDIR=$(PREFIX)/lib
+-SBINDIR=/sbin
++SBINDIR=/usr/sbin
++SHAREDIR=/usr/share
+ CONFDIR=/etc/iproute2
+ DATADIR=$(PREFIX)/share
+ DOCDIR=$(DATADIR)/doc/iproute2
+diff -Naur iproute2-3.4.0/netem/Makefile iproute2-3.4.0.new/netem/Makefile
+--- iproute2-3.4.0/netem/Makefile  2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/netem/Makefile  2012-06-18 10:23:53.896760158 +0200
+@@ -20,9 +20,9 @@
+   $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
+ 
+ install: all
+-  mkdir -p $(DESTDIR)$(LIBDIR)/tc
++  mkdir -p $(DESTDIR)$(SHAREDIR)/tc
+   for i in $(DISTDATA); \
+-  do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
++  do install -m 644 $$i $(DESTDIR)$(SHAREDIR)/tc; \
+   done
+ 
+ clean:
+diff -Naur iproute2-3.4.0/tc/Makefile iproute2-3.4.0.new/tc/Makefile
+--- iproute2-3.4.0/tc/Makefile 2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/tc/Makefile 2012-06-18 10:23:53.893426840 +0200
+@@ -105,18 +105,11 @@
+   $(AR) rcs $@ $(TCLIB)
+ 
+ install: all
+-  mkdir -p 

[arch-commits] Commit in iproute2/repos (8 files)

2014-07-21 Thread Felix Yan
Date: Monday, July 21, 2014 @ 12:53:39
  Author: fyan
Revision: 217527

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 217525, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 217525, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-i686/unwanted-link-help.patch
(from rev 217525, iproute2/trunk/unwanted-link-help.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 217526, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 217526, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/unwanted-link-help.patch
(from rev 217526, iproute2/trunk/unwanted-link-help.patch)

-+
 testing-i686/PKGBUILD   |   61 
 testing-i686/iproute2-fhs.patch |   75 ++
 testing-i686/unwanted-link-help.patch   |   17 ++
 testing-x86_64/PKGBUILD |   61 
 testing-x86_64/iproute2-fhs.patch   |   75 ++
 testing-x86_64/unwanted-link-help.patch |   17 ++
 6 files changed, 306 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 217525, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-07-21 10:53:39 UTC (rev 217527)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.15.0
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+iproute2-fhs.patch
+   unwanted-link-help.patch)
+sha1sums=('82dce736488dac5af0f4b5659ae905fef87ed308'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c'
+  '3b1335f4025f657f388fbf4e5a740871e3129c2a')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  # allow operations on links called h, he, hel, help
+  patch -Np1 -i $srcdir/unwanted-link-help.patch
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  ./configure
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+
+  # usrmove
+  cd $pkgdir
+  mv usr/sbin usr/bin
+}

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 217525, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2014-07-21 10:53:39 UTC (rev 217527)
@@ -0,0 +1,75 @@
+diff -Naur iproute2-3.4.0/Makefile iproute2-3.4.0.new/Makefile
+--- iproute2-3.4.0/Makefile2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/Makefile2012-06-18 10:23:53.896760158 +0200
+@@ -1,7 +1,8 @@
+ ROOTDIR=$(DESTDIR)
+ PREFIX=/usr
+ LIBDIR=$(PREFIX)/lib
+-SBINDIR=/sbin
++SBINDIR=/usr/sbin
++SHAREDIR=/usr/share
+ CONFDIR=/etc/iproute2
+ DATADIR=$(PREFIX)/share
+ DOCDIR=$(DATADIR)/doc/iproute2
+diff -Naur iproute2-3.4.0/netem/Makefile iproute2-3.4.0.new/netem/Makefile
+--- iproute2-3.4.0/netem/Makefile  2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/netem/Makefile  2012-06-18 10:23:53.896760158 +0200
+@@ -20,9 +20,9 @@
+   $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
+ 
+ install: all
+-  mkdir -p $(DESTDIR)$(LIBDIR)/tc
++  mkdir -p $(DESTDIR)$(SHAREDIR)/tc
+   for i in $(DISTDATA); \
+-  do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
++  do install -m 644 $$i $(DESTDIR)$(SHAREDIR)/tc; \
+   done
+ 
+ clean:
+diff -Naur iproute2-3.4.0/tc/Makefile iproute2-3.4.0.new/tc/Makefile
+--- iproute2-3.4.0/tc/Makefile 2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/tc/Makefile 2012-06-18 10:23:53.893426840 +0200
+@@ -105,18 +105,11 @@
+   $(AR) rcs $@ $(TCLIB)
+ 
+ install: all
+-  mkdir -p $(MODDESTDIR)

[arch-commits] Commit in iproute2/repos (8 files)

2013-12-10 Thread Ronald van Haren
Date: Tuesday, December 10, 2013 @ 21:42:36
  Author: ronald
Revision: 201412

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 201411, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 201411, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-i686/unwanted-link-help.patch
(from rev 201411, iproute2/trunk/unwanted-link-help.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 201411, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 201411, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/unwanted-link-help.patch
(from rev 201411, iproute2/trunk/unwanted-link-help.patch)

-+
 testing-i686/PKGBUILD   |   61 
 testing-i686/iproute2-fhs.patch |   75 ++
 testing-i686/unwanted-link-help.patch   |   17 ++
 testing-x86_64/PKGBUILD |   61 
 testing-x86_64/iproute2-fhs.patch   |   75 ++
 testing-x86_64/unwanted-link-help.patch |   17 ++
 6 files changed, 306 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 201411, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-12-10 20:42:36 UTC (rev 201412)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.12.0
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('staticlibs' '!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+iproute2-fhs.patch
+   unwanted-link-help.patch)
+sha1sums=('9397376e5d4dcbb1182745cd58625895fcdb868d'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c'
+  '3b1335f4025f657f388fbf4e5a740871e3129c2a')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  # allow operations on links called h, he, hel, help
+  patch -Np1 -i $srcdir/unwanted-link-help.patch
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  ./configure
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+
+  # usrmove
+  cd $pkgdir
+  mv usr/sbin usr/bin
+}

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 201411, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2013-12-10 20:42:36 UTC (rev 201412)
@@ -0,0 +1,75 @@
+diff -Naur iproute2-3.4.0/Makefile iproute2-3.4.0.new/Makefile
+--- iproute2-3.4.0/Makefile2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/Makefile2012-06-18 10:23:53.896760158 +0200
+@@ -1,7 +1,8 @@
+ ROOTDIR=$(DESTDIR)
+ PREFIX=/usr
+ LIBDIR=$(PREFIX)/lib
+-SBINDIR=/sbin
++SBINDIR=/usr/sbin
++SHAREDIR=/usr/share
+ CONFDIR=/etc/iproute2
+ DATADIR=$(PREFIX)/share
+ DOCDIR=$(DATADIR)/doc/iproute2
+diff -Naur iproute2-3.4.0/netem/Makefile iproute2-3.4.0.new/netem/Makefile
+--- iproute2-3.4.0/netem/Makefile  2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/netem/Makefile  2012-06-18 10:23:53.896760158 +0200
+@@ -20,9 +20,9 @@
+   $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
+ 
+ install: all
+-  mkdir -p $(DESTDIR)$(LIBDIR)/tc
++  mkdir -p $(DESTDIR)$(SHAREDIR)/tc
+   for i in $(DISTDATA); \
+-  do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
++  do install -m 644 $$i $(DESTDIR)$(SHAREDIR)/tc; \
+   done
+ 
+ clean:
+diff -Naur iproute2-3.4.0/tc/Makefile iproute2-3.4.0.new/tc/Makefile
+--- iproute2-3.4.0/tc/Makefile 2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/tc/Makefile 2012-06-18 10:23:53.893426840 +0200
+@@ -105,18 +105,11 @@
+   $(AR) rcs $@ $(TCLIB)
+ 
+ install: all
+-  mkdir -p 

[arch-commits] Commit in iproute2/repos (8 files)

2013-10-14 Thread Ronald van Haren
Date: Monday, October 14, 2013 @ 20:57:44
  Author: ronald
Revision: 196529

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 196528, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 196528, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-i686/unwanted-link-help.patch
(from rev 196528, iproute2/trunk/unwanted-link-help.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 196528, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 196528, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/unwanted-link-help.patch
(from rev 196528, iproute2/trunk/unwanted-link-help.patch)

-+
 testing-i686/PKGBUILD   |   61 
 testing-i686/iproute2-fhs.patch |   75 ++
 testing-i686/unwanted-link-help.patch   |   17 ++
 testing-x86_64/PKGBUILD |   61 
 testing-x86_64/iproute2-fhs.patch   |   75 ++
 testing-x86_64/unwanted-link-help.patch |   17 ++
 6 files changed, 306 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 196528, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-10-14 18:57:44 UTC (rev 196529)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.11.0
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'db' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+iproute2-fhs.patch
+   unwanted-link-help.patch)
+sha1sums=('efb5ca0688e28967ec146ac37cc728c4f53c9d8f'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c'
+  '3b1335f4025f657f388fbf4e5a740871e3129c2a')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  # allow operations on links called h, he, hel, help
+  patch -Np1 -i $srcdir/unwanted-link-help.patch
+
+  # do not treat warnings as errors
+  sed -i 's/-Werror//' Makefile
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  ./configure
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+
+  # usrmove
+  cd $pkgdir
+  mv usr/sbin usr/bin
+}

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 196528, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2013-10-14 18:57:44 UTC (rev 196529)
@@ -0,0 +1,75 @@
+diff -Naur iproute2-3.4.0/Makefile iproute2-3.4.0.new/Makefile
+--- iproute2-3.4.0/Makefile2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/Makefile2012-06-18 10:23:53.896760158 +0200
+@@ -1,7 +1,8 @@
+ ROOTDIR=$(DESTDIR)
+ PREFIX=/usr
+ LIBDIR=$(PREFIX)/lib
+-SBINDIR=/sbin
++SBINDIR=/usr/sbin
++SHAREDIR=/usr/share
+ CONFDIR=/etc/iproute2
+ DATADIR=$(PREFIX)/share
+ DOCDIR=$(DATADIR)/doc/iproute2
+diff -Naur iproute2-3.4.0/netem/Makefile iproute2-3.4.0.new/netem/Makefile
+--- iproute2-3.4.0/netem/Makefile  2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/netem/Makefile  2012-06-18 10:23:53.896760158 +0200
+@@ -20,9 +20,9 @@
+   $(HOSTCC) $(CCOPTS) -I../include -o $@ $@.c -lm
+ 
+ install: all
+-  mkdir -p $(DESTDIR)$(LIBDIR)/tc
++  mkdir -p $(DESTDIR)$(SHAREDIR)/tc
+   for i in $(DISTDATA); \
+-  do install -m 644 $$i $(DESTDIR)$(LIBDIR)/tc; \
++  do install -m 644 $$i $(DESTDIR)$(SHAREDIR)/tc; \
+   done
+ 
+ clean:
+diff -Naur iproute2-3.4.0/tc/Makefile iproute2-3.4.0.new/tc/Makefile
+--- iproute2-3.4.0/tc/Makefile 2012-05-21 23:12:19.0 +0200
 iproute2-3.4.0.new/tc/Makefile 2012-06-18 10:23:53.893426840 +0200
+@@ -105,18 +105,11 @@
+   $(AR) rcs $@ $(TCLIB)
+ 
+ install: all
+-  mkdir -p $(MODDESTDIR)
++  

[arch-commits] Commit in iproute2/repos (8 files)

2012-10-16 Thread Ronald van Haren
Date: Tuesday, October 16, 2012 @ 13:02:14
  Author: ronald
Revision: 168945

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

Added:
  iproute2/repos/testing-i686/PKGBUILD
(from rev 168944, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 168944, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 168944, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 168944, iproute2/trunk/iproute2-fhs.patch)
Deleted:
  iproute2/repos/testing-i686/PKGBUILD
  iproute2/repos/testing-i686/iproute2-fhs.patch
  iproute2/repos/testing-x86_64/PKGBUILD
  iproute2/repos/testing-x86_64/iproute2-fhs.patch

---+
 testing-i686/PKGBUILD |  101 
 testing-i686/iproute2-fhs.patch   |  150 ++--
 testing-x86_64/PKGBUILD   |  101 
 testing-x86_64/iproute2-fhs.patch |  150 ++--
 4 files changed, 252 insertions(+), 250 deletions(-)

Deleted: testing-i686/PKGBUILD
===
--- testing-i686/PKGBUILD   2012-10-16 17:01:41 UTC (rev 168944)
+++ testing-i686/PKGBUILD   2012-10-16 17:02:14 UTC (rev 168945)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren ronald.archlinux.org
-# Contributor: Judd Vinet jvi...@zeroflux.org
-
-pkgname=iproute2
-pkgver=3.6.0
-pkgrel=1
-pkgdesc=IP Routing Utilities
-arch=('i686' 'x86_64')
-license=('GPL2')
-url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
-depends=('glibc' 'db' 'iptables')
-makedepends=('linux-atm')
-optdepends=('linux-atm: ATM support')
-provides=('iproute')
-conflicts=('iproute')
-replaces=('iproute')
-options=('!makeflags')
-backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
-   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
-source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
- iproute2-fhs.patch)
-sha1sums=('6fa16fd2158d0f289ef454cad46555ead1c33c2d'
-  '35b8cf2dc94b73eccad427235c07596146cd6f6c')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # set correct fhs structure
-  patch -Np1 -i $srcdir/iproute2-fhs.patch
-
-  ./configure
-
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make DESTDIR=$pkgdir install
-
-  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
-  mkdir -p $pkgdir/sbin
-  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
-  ln -s /sbin/ip $pkgdir/usr/sbin/ip
-
-  # libnetlink isn't installed, install it FS#19385
-  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
-  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
-}

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 168944, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-10-16 17:02:14 UTC (rev 168945)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.6.0
+pkgrel=2
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'db' 'iptables')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+groups=('base')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+ iproute2-fhs.patch)
+sha1sums=('6fa16fd2158d0f289ef454cad46555ead1c33c2d'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  ./configure
+
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
+  mkdir -p $pkgdir/sbin
+  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
+  ln -s /sbin/ip $pkgdir/usr/sbin/ip
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+}

Deleted: testing-i686/iproute2-fhs.patch
===
--- testing-i686/iproute2-fhs.patch 2012-10-16 17:01:41 UTC (rev 168944)
+++ testing-i686/iproute2-fhs.patch 2012-10-16 17:02:14 UTC (rev 168945)

[arch-commits] Commit in iproute2/repos (8 files)

2012-08-14 Thread Ronald van Haren
Date: Tuesday, August 14, 2012 @ 14:56:21
  Author: ronald
Revision: 165268

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

Added:
  iproute2/repos/testing-i686/PKGBUILD
(from rev 165267, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 165267, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 165267, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 165267, iproute2/trunk/iproute2-fhs.patch)
Deleted:
  iproute2/repos/testing-i686/PKGBUILD
  iproute2/repos/testing-i686/iproute2-fhs.patch
  iproute2/repos/testing-x86_64/PKGBUILD
  iproute2/repos/testing-x86_64/iproute2-fhs.patch

---+
 testing-i686/PKGBUILD |  100 
 testing-i686/iproute2-fhs.patch   |  150 ++--
 testing-x86_64/PKGBUILD   |  100 
 testing-x86_64/iproute2-fhs.patch |  150 ++--
 4 files changed, 250 insertions(+), 250 deletions(-)

Deleted: testing-i686/PKGBUILD
===
--- testing-i686/PKGBUILD   2012-08-14 18:55:40 UTC (rev 165267)
+++ testing-i686/PKGBUILD   2012-08-14 18:56:21 UTC (rev 165268)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren ronald.archlinux.org
-# Contributor: Judd Vinet jvi...@zeroflux.org
-
-pkgname=iproute2
-pkgver=3.5.0
-pkgrel=1
-pkgdesc=IP Routing Utilities
-arch=('i686' 'x86_64')
-license=('GPL2')
-url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
-depends=('glibc' 'db')
-makedepends=('linux-atm')
-optdepends=('linux-atm: ATM support')
-provides=('iproute')
-conflicts=('iproute')
-replaces=('iproute')
-options=('!makeflags')
-backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
-   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
-source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
- iproute2-fhs.patch)
-sha1sums=('a78f621a1932315baf7be2f3f1d6e6c5ed62'
-  '35b8cf2dc94b73eccad427235c07596146cd6f6c')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # set correct fhs structure
-  patch -Np1 -i $srcdir/iproute2-fhs.patch
-
-  ./configure
-
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make DESTDIR=$pkgdir install
-
-  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
-  mkdir -p $pkgdir/sbin
-  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
-  ln -s /sbin/ip $pkgdir/usr/sbin/ip
-
-  # libnetlink isn't installed, install it FS#19385
-  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
-  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
-}

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 165267, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-08-14 18:56:21 UTC (rev 165268)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.5.1
+pkgrel=1
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'db')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+ iproute2-fhs.patch)
+sha1sums=('461f3e97d84264a597176de3ba94633114959df5'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  ./configure
+
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
+  mkdir -p $pkgdir/sbin
+  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
+  ln -s /sbin/ip $pkgdir/usr/sbin/ip
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+}

Deleted: testing-i686/iproute2-fhs.patch
===
--- testing-i686/iproute2-fhs.patch 2012-08-14 18:55:40 UTC (rev 165267)
+++ testing-i686/iproute2-fhs.patch 2012-08-14 18:56:21 UTC (rev 165268)
@@ -1,75 +0,0 @@
-diff -Naur 

[arch-commits] Commit in iproute2/repos (8 files)

2012-06-18 Thread Ronald van Haren
Date: Monday, June 18, 2012 @ 11:22:32
  Author: ronald
Revision: 162010

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

Added:
  iproute2/repos/testing-i686/PKGBUILD
(from rev 162009, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 162009, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 162009, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 162009, iproute2/trunk/iproute2-fhs.patch)
Deleted:
  iproute2/repos/testing-i686/PKGBUILD
  iproute2/repos/testing-i686/iproute2-fhs.patch
  iproute2/repos/testing-x86_64/PKGBUILD
  iproute2/repos/testing-x86_64/iproute2-fhs.patch

---+
 testing-i686/PKGBUILD |  100 
 testing-i686/iproute2-fhs.patch   |  149 ++-
 testing-x86_64/PKGBUILD   |  100 
 testing-x86_64/iproute2-fhs.patch |  150 ++--
 4 files changed, 250 insertions(+), 249 deletions(-)

Deleted: testing-i686/PKGBUILD
===
--- testing-i686/PKGBUILD   2012-06-18 15:21:48 UTC (rev 162009)
+++ testing-i686/PKGBUILD   2012-06-18 15:22:32 UTC (rev 162010)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren ronald.archlinux.org
-# Contributor: Judd Vinet jvi...@zeroflux.org
-
-pkgname=iproute2
-pkgver=3.4.0
-pkgrel=1
-pkgdesc=IP Routing Utilities
-arch=('i686' 'x86_64')
-license=('GPL2')
-url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
-depends=('glibc' 'db')
-makedepends=('linux-atm')
-optdepends=('linux-atm: ATM support')
-provides=('iproute')
-conflicts=('iproute')
-replaces=('iproute')
-options=('!makeflags')
-backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
-   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
-source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
- iproute2-fhs.patch)
-sha1sums=('fcea492dea2f3ecf9d35f279e2f1a7ea6ca0d527'
-  '4f2b120f62ba2b725ccddc18943bd590e3287cfb')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # set correct fhs structure
-  patch -Np1 -i $srcdir/iproute2-fhs.patch
-
-  ./configure
-
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make DESTDIR=$pkgdir install
-
-  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
-  mkdir -p $pkgdir/sbin
-  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
-  ln -s /sbin/ip $pkgdir/usr/sbin/ip
-
-  # libnetlink isn't installed, install it FS#19385
-  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
-  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
-}

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 162009, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-06-18 15:22:32 UTC (rev 162010)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.4.0
+pkgrel=2
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'db')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+ iproute2-fhs.patch)
+sha1sums=('fcea492dea2f3ecf9d35f279e2f1a7ea6ca0d527'
+  '35b8cf2dc94b73eccad427235c07596146cd6f6c')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  ./configure
+
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
+  mkdir -p $pkgdir/sbin
+  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
+  ln -s /sbin/ip $pkgdir/usr/sbin/ip
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+}

Deleted: testing-i686/iproute2-fhs.patch
===
--- testing-i686/iproute2-fhs.patch 2012-06-18 15:21:48 UTC (rev 162009)
+++ testing-i686/iproute2-fhs.patch 2012-06-18 15:22:32 UTC (rev 162010)
@@ -1,74 +0,0 @@
-diff -Naur 

[arch-commits] Commit in iproute2/repos (8 files)

2012-03-20 Thread Ionut Biru
Date: Tuesday, March 20, 2012 @ 16:07:54
  Author: ibiru
Revision: 153931

db-move: moved iproute2 from [testing] to [core] (i686)

Added:
  iproute2/repos/core-i686/PKGBUILD
(from rev 153930, iproute2/repos/testing-i686/PKGBUILD)
  iproute2/repos/core-i686/fix-ip-l.patch
(from rev 153930, iproute2/repos/testing-i686/fix-ip-l.patch)
  iproute2/repos/core-i686/iproute2-fhs.patch
(from rev 153930, iproute2/repos/testing-i686/iproute2-fhs.patch)
  iproute2/repos/core-i686/remove-libnl-headers.patch
(from rev 153930, iproute2/repos/testing-i686/remove-libnl-headers.patch)
Deleted:
  iproute2/repos/core-i686/PKGBUILD
  iproute2/repos/core-i686/fix-ip-l.patch
  iproute2/repos/core-i686/iproute2-fhs.patch
  iproute2/repos/testing-i686/

+
 PKGBUILD   |  113 ++--
 fix-ip-l.patch |   54 ++---
 iproute2-fhs.patch |  168 +--
 remove-libnl-headers.patch |   31 +++
 4 files changed, 200 insertions(+), 166 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2012-03-20 19:32:17 UTC (rev 153930)
+++ core-i686/PKGBUILD  2012-03-20 20:07:54 UTC (rev 153931)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren ronald.archlinux.org
-# Contributor: Judd Vinet jvi...@zeroflux.org
-
-pkgname=iproute2
-pkgver=3.2.0
-pkgrel=2
-pkgdesc=IP Routing Utilities
-arch=('i686' 'x86_64')
-license=('GPL2')
-url=http://www.linux-foundation.org/en/Net:Iproute2;
-depends=('glibc' 'db')
-makedepends=('linux-atm')
-optdepends=('linux-atm: ATM support')
-provides=('iproute')
-conflicts=('iproute')
-replaces=('iproute')
-options=('!makeflags')
-backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
-   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
-source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
-   iproute2-fhs.patch
-fix-ip-l.patch)
-sha1sums=('1e217f22b0bbfc870ddf746de883ee375cd9e533'
-  '2416b11252364d7a6c742eabb4a6924a75637a46'
-  '2ec5513c44f89046438d65e2cda1a014010e3b73')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # set correct fhs structure
-  patch -Np1 -i $srcdir/iproute2-fhs.patch
-
-  #upstream fixes
-  patch -Np1 -i $srcdir/fix-ip-l.patch
-
-  ./configure
-
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make DESTDIR=$pkgdir install
-
-  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
-  mkdir -p $pkgdir/sbin
-  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
-  ln -s /sbin/ip $pkgdir/usr/sbin/ip
-
-  # libnetlink isn't installed, install it FS#19385
-  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
-  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
-}

Copied: iproute2/repos/core-i686/PKGBUILD (from rev 153930, 
iproute2/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2012-03-20 20:07:54 UTC (rev 153931)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.2.0
+pkgrel=3
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'db' 'libnl')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+   iproute2-fhs.patch
+fix-ip-l.patch
+remove-libnl-headers.patch)
+sha1sums=('1e217f22b0bbfc870ddf746de883ee375cd9e533'
+  '2416b11252364d7a6c742eabb4a6924a75637a46'
+  '2ec5513c44f89046438d65e2cda1a014010e3b73'
+  '1cb89ea0945fd190e6943fa7b1c3a4f254d0c1b3')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  #upstream fixes
+  patch -Np1 -i $srcdir/fix-ip-l.patch
+  patch -Np1 -i $srcdir/remove-libnl-headers.patch
+
+  ./configure
+
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
+  mkdir -p $pkgdir/sbin
+  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
+  ln -s /sbin/ip $pkgdir/usr/sbin/ip
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 

[arch-commits] Commit in iproute2/repos (8 files)

2012-03-20 Thread Ionut Biru
Date: Tuesday, March 20, 2012 @ 16:07:55
  Author: ibiru
Revision: 153932

db-move: moved iproute2 from [testing] to [core] (x86_64)

Added:
  iproute2/repos/core-x86_64/PKGBUILD
(from rev 153930, iproute2/repos/testing-x86_64/PKGBUILD)
  iproute2/repos/core-x86_64/fix-ip-l.patch
(from rev 153930, iproute2/repos/testing-x86_64/fix-ip-l.patch)
  iproute2/repos/core-x86_64/iproute2-fhs.patch
(from rev 153930, iproute2/repos/testing-x86_64/iproute2-fhs.patch)
  iproute2/repos/core-x86_64/remove-libnl-headers.patch
(from rev 153930, iproute2/repos/testing-x86_64/remove-libnl-headers.patch)
Deleted:
  iproute2/repos/core-x86_64/PKGBUILD
  iproute2/repos/core-x86_64/fix-ip-l.patch
  iproute2/repos/core-x86_64/iproute2-fhs.patch
  iproute2/repos/testing-x86_64/

+
 PKGBUILD   |  113 ++--
 fix-ip-l.patch |   54 ++---
 iproute2-fhs.patch |  168 +--
 remove-libnl-headers.patch |   31 +++
 4 files changed, 200 insertions(+), 166 deletions(-)

Deleted: core-x86_64/PKGBUILD
===
--- core-x86_64/PKGBUILD2012-03-20 20:07:54 UTC (rev 153931)
+++ core-x86_64/PKGBUILD2012-03-20 20:07:55 UTC (rev 153932)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Ronald van Haren ronald.archlinux.org
-# Contributor: Judd Vinet jvi...@zeroflux.org
-
-pkgname=iproute2
-pkgver=3.2.0
-pkgrel=2
-pkgdesc=IP Routing Utilities
-arch=('i686' 'x86_64')
-license=('GPL2')
-url=http://www.linux-foundation.org/en/Net:Iproute2;
-depends=('glibc' 'db')
-makedepends=('linux-atm')
-optdepends=('linux-atm: ATM support')
-provides=('iproute')
-conflicts=('iproute')
-replaces=('iproute')
-options=('!makeflags')
-backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
-   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
-source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
-   iproute2-fhs.patch
-fix-ip-l.patch)
-sha1sums=('1e217f22b0bbfc870ddf746de883ee375cd9e533'
-  '2416b11252364d7a6c742eabb4a6924a75637a46'
-  '2ec5513c44f89046438d65e2cda1a014010e3b73')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  # set correct fhs structure
-  patch -Np1 -i $srcdir/iproute2-fhs.patch
-
-  #upstream fixes
-  patch -Np1 -i $srcdir/fix-ip-l.patch
-
-  ./configure
-
-  make
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make DESTDIR=$pkgdir install
-
-  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
-  mkdir -p $pkgdir/sbin
-  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
-  ln -s /sbin/ip $pkgdir/usr/sbin/ip
-
-  # libnetlink isn't installed, install it FS#19385
-  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
-  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
-}

Copied: iproute2/repos/core-x86_64/PKGBUILD (from rev 153930, 
iproute2/repos/testing-x86_64/PKGBUILD)
===
--- core-x86_64/PKGBUILD(rev 0)
+++ core-x86_64/PKGBUILD2012-03-20 20:07:55 UTC (rev 153932)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.2.0
+pkgrel=3
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2;
+depends=('glibc' 'db' 'libnl')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+   iproute2-fhs.patch
+fix-ip-l.patch
+remove-libnl-headers.patch)
+sha1sums=('1e217f22b0bbfc870ddf746de883ee375cd9e533'
+  '2416b11252364d7a6c742eabb4a6924a75637a46'
+  '2ec5513c44f89046438d65e2cda1a014010e3b73'
+  '1cb89ea0945fd190e6943fa7b1c3a4f254d0c1b3')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  #upstream fixes
+  patch -Np1 -i $srcdir/fix-ip-l.patch
+  patch -Np1 -i $srcdir/remove-libnl-headers.patch
+
+  ./configure
+
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
+  mkdir -p $pkgdir/sbin
+  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
+  ln -s /sbin/ip $pkgdir/usr/sbin/ip
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 

[arch-commits] Commit in iproute2/repos (8 files)

2012-01-21 Thread Ionut Biru
Date: Saturday, January 21, 2012 @ 17:46:26
  Author: ibiru
Revision: 147098

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

Added:
  iproute2/repos/testing-i686/
  iproute2/repos/testing-i686/PKGBUILD
(from rev 147097, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-i686/fix-ip-l.patch
(from rev 147097, iproute2/trunk/fix-ip-l.patch)
  iproute2/repos/testing-i686/iproute2-fhs.patch
(from rev 147097, iproute2/trunk/iproute2-fhs.patch)
  iproute2/repos/testing-x86_64/
  iproute2/repos/testing-x86_64/PKGBUILD
(from rev 147097, iproute2/trunk/PKGBUILD)
  iproute2/repos/testing-x86_64/fix-ip-l.patch
(from rev 147097, iproute2/trunk/fix-ip-l.patch)
  iproute2/repos/testing-x86_64/iproute2-fhs.patch
(from rev 147097, iproute2/trunk/iproute2-fhs.patch)

---+
 testing-i686/PKGBUILD |   55 +++
 testing-i686/fix-ip-l.patch   |   27 +++
 testing-i686/iproute2-fhs.patch   |   84 
 testing-x86_64/PKGBUILD   |   55 +++
 testing-x86_64/fix-ip-l.patch |   27 +++
 testing-x86_64/iproute2-fhs.patch |   84 
 6 files changed, 332 insertions(+)

Copied: iproute2/repos/testing-i686/PKGBUILD (from rev 147097, 
iproute2/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2012-01-21 22:46:26 UTC (rev 147098)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Ronald van Haren ronald.archlinux.org
+# Contributor: Judd Vinet jvi...@zeroflux.org
+
+pkgname=iproute2
+pkgver=3.2.0
+pkgrel=2
+pkgdesc=IP Routing Utilities
+arch=('i686' 'x86_64')
+license=('GPL2')
+url=http://www.linux-foundation.org/en/Net:Iproute2;
+depends=('glibc' 'db')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
+provides=('iproute')
+conflicts=('iproute')
+replaces=('iproute')
+options=('!makeflags')
+backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 
'etc/iproute2/rt_protos' \
+   'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 
'etc/iproute2/rt_tables')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+   iproute2-fhs.patch
+fix-ip-l.patch)
+sha1sums=('1e217f22b0bbfc870ddf746de883ee375cd9e533'
+  '2416b11252364d7a6c742eabb4a6924a75637a46'
+  '2ec5513c44f89046438d65e2cda1a014010e3b73')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # set correct fhs structure
+  patch -Np1 -i $srcdir/iproute2-fhs.patch
+
+  #upstream fixes
+  patch -Np1 -i $srcdir/fix-ip-l.patch
+
+  ./configure
+
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir install
+
+  # allow loopback to be started before /usr is mounted, this may not be 
supported in the future
+  mkdir -p $pkgdir/sbin
+  mv $pkgdir/usr/sbin/ip $pkgdir/sbin/ip
+  ln -s /sbin/ip $pkgdir/usr/sbin/ip
+
+  # libnetlink isn't installed, install it FS#19385
+  install -Dm644 include/libnetlink.h $pkgdir/usr/include/libnetlink.h
+  install -Dm644 lib/libnetlink.a $pkgdir/usr/lib/libnetlink.a
+}

Copied: iproute2/repos/testing-i686/fix-ip-l.patch (from rev 147097, 
iproute2/trunk/fix-ip-l.patch)
===
--- testing-i686/fix-ip-l.patch (rev 0)
+++ testing-i686/fix-ip-l.patch 2012-01-21 22:46:26 UTC (rev 147098)
@@ -0,0 +1,27 @@
+From 5aa08f6bf4107f8aec43c0678466a314dbd0d054 Mon Sep 17 00:00:00 2001
+From: Stephen Hemminger shemmin...@vyatta.com
+Date: Fri, 20 Jan 2012 08:16:02 -0800
+Subject: [PATCH] ip: make 'ip l' be 'ip link'
+
+Restore compatiablity for those lazy typists.
+---
+ ip/ip.c |2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/ip/ip.c b/ip/ip.c
+index 7b4bacb..20dc3b5 100644
+--- a/ip/ip.c
 b/ip/ip.c
+@@ -72,8 +72,8 @@ static const struct cmd {
+   { neighbour,  do_ipneigh },
+   { ntable, do_ipntable },
+   { ntbl,   do_ipntable },
+-  { l2tp,   do_ipl2tp },
+   { link,   do_iplink },
++  { l2tp,   do_ipl2tp },
+   { tunnel, do_iptunnel },
+   { tunl,   do_iptunnel },
+   { tuntap, do_iptuntap },
+-- 
+1.7.6.5
+

Copied: iproute2/repos/testing-i686/iproute2-fhs.patch (from rev 147097, 
iproute2/trunk/iproute2-fhs.patch)
===
--- testing-i686/iproute2-fhs.patch (rev 0)
+++ testing-i686/iproute2-fhs.patch 2012-01-21 22:46:26 UTC (rev 147098)
@@ -0,0 +1,84 @@
+diff -Naur iproute2.old/Makefile iproute2-2.6.29/Makefile
+--- iproute2.old/Makefile  2009-11-11 22:05:21.251407668 +0100
 iproute2-2.6.29/Makefile   2009-11-11 22:07:09.891833516 +0100
+@@ -1,11 +1,12 @@
+ DESTDIR=/usr/
+ ROOTDIR=$(DESTDIR)
+ LIBDIR=/usr/lib/
+-SBINDIR=/sbin
++SBINDIR=/usr/sbin
+