summaryrefslogtreecommitdiff
path: root/core/iproute2
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-09 22:46:45 +0000
committerroot <root@rshg047.dnsready.net>2011-06-09 22:46:45 +0000
commit8634a064b17334eb58699897220aeed2fc9a54db (patch)
tree8991573625a440a1f27d8da1abb3ae61fa4d0137 /core/iproute2
parent498f3fc095103b2a220a00b27d43f4dae02d5459 (diff)
Thu Jun 9 22:46:45 UTC 2011
Diffstat (limited to 'core/iproute2')
-rw-r--r--core/iproute2/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/core/iproute2/PKGBUILD b/core/iproute2/PKGBUILD
index fa31f11ed..f9479bd84 100644
--- a/core/iproute2/PKGBUILD
+++ b/core/iproute2/PKGBUILD
@@ -1,15 +1,17 @@
-# $Id: PKGBUILD 107230 2011-01-22 18:51:34Z ronald $
+# $Id: PKGBUILD 126335 2011-06-04 22:38:16Z tomegun $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=iproute2
-pkgver=2.6.37
-pkgrel=1
+pkgver=2.6.38
+pkgrel=3
pkgdesc="IP Routing Utilities"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.linux-foundation.org/en/Net:Iproute2"
-depends=('linux-atm' 'perl')
+depends=('perl')
+makedepends=('linux-atm')
+optdepends=('linux-atm: ATM support')
provides=('iproute')
conflicts=('iproute')
replaces=('iproute')
@@ -18,7 +20,7 @@ backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 'etc/iproute2/rt_pro
'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 'etc/iproute2/rt_tables')
source=(http://devresources.linux-foundation.org/dev/iproute2/download/iproute2-${pkgver}.tar.bz2
'iproute2-fhs.patch')
-sha1sums=('7852fb66fb745dc3c1fabee24d7d8ff017c48d36'
+sha1sums=('e9f6d457a06866a2a20a6cba6b3a039b2ec3e14a'
'2416b11252364d7a6c742eabb4a6924a75637a46')
build() {
@@ -37,6 +39,11 @@ package() {
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