summaryrefslogtreecommitdiffstats
path: root/abs/core/iproute2/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:44:53 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:44:53 (GMT)
commiteb759090b560237861c2c8a351f989fc7bb92a39 (patch)
tree1383ca72f1568a5c900c794ab6f39ea4f09abb1a /abs/core/iproute2/PKGBUILD
parentb73ccbb6213110a20ce7b7faef1ffaf3c8cc1742 (diff)
downloadlinhes_pkgbuild-eb759090b560237861c2c8a351f989fc7bb92a39.zip
linhes_pkgbuild-eb759090b560237861c2c8a351f989fc7bb92a39.tar.gz
linhes_pkgbuild-eb759090b560237861c2c8a351f989fc7bb92a39.tar.bz2
iproute2 3.4.0
Diffstat (limited to 'abs/core/iproute2/PKGBUILD')
-rw-r--r--abs/core/iproute2/PKGBUILD38
1 files changed, 19 insertions, 19 deletions
diff --git a/abs/core/iproute2/PKGBUILD b/abs/core/iproute2/PKGBUILD
index a35b822..471b91e 100644
--- a/abs/core/iproute2/PKGBUILD
+++ b/abs/core/iproute2/PKGBUILD
@@ -1,15 +1,15 @@
-# $Id: PKGBUILD 127646 2011-06-17 12:59:11Z stephane $
+# $Id: PKGBUILD 162200 2012-06-23 12:13:11Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=iproute2
-pkgver=2.6.39
-pkgrel=1
+pkgver=3.4.0
+pkgrel=2
pkgdesc="IP Routing Utilities"
arch=('i686' 'x86_64')
license=('GPL2')
-url="http://www.linux-foundation.org/en/Net:Iproute2"
-depends=('perl')
+url="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
+depends=('glibc' 'db')
makedepends=('linux-atm')
optdepends=('linux-atm: ATM support')
provides=('iproute')
@@ -18,14 +18,16 @@ 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://devresources.linux-foundation.org/dev/iproute2/download/iproute2-${pkgver}.tar.gz
- 'iproute2-fhs.patch')
+source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
+ iproute2-fhs.patch)
+sha1sums=('fcea492dea2f3ecf9d35f279e2f1a7ea6ca0d527'
+ '35b8cf2dc94b73eccad427235c07596146cd6f6c')
build() {
- cd $srcdir/iproute2-${pkgver}
-
+ cd $srcdir/$pkgname-$pkgver
+
# set correct fhs structure
- patch -Np1 -i ${srcdir}/iproute2-fhs.patch
+ patch -Np1 -i "$srcdir/iproute2-fhs.patch"
./configure
@@ -33,18 +35,16 @@ build() {
}
package() {
- cd $srcdir/iproute2-${pkgver}
+ cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ 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
+ 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
+ install -Dm644 include/libnetlink.h "$pkgdir/usr/include/libnetlink.h"
+ install -Dm644 lib/libnetlink.a "$pkgdir/usr/lib/libnetlink.a"
}
-md5sums=('8a3b6bc77c2ecf752284aa4a6fc630a6'
- '39cf3de7ca9a8560ecb08433510b079c')