[Lunar-commits] <moonbase> iproute2: it actually builds tc now.
Florin Braescu
florin at lunar-linux.org
Mon Jun 21 17:25:39 CEST 2010
commit f42da3d23f2d9fc9d1a9ee193b8205812012dd2a
Author: Florin Braescu <florin at lunar-linux.org>
Date: Mon Jun 21 18:25:39 2010 +0300
iproute2: it actually builds tc now.
Thanks to brebs for the submission.
---
net/iproute2/BUILD | 15 +++++++++------
net/iproute2/DETAILS | 7 +++++--
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/net/iproute2/BUILD b/net/iproute2/BUILD
index af08275..15ae972 100644
--- a/net/iproute2/BUILD
+++ b/net/iproute2/BUILD
@@ -1,13 +1,16 @@
(
- sedit "s:/usr/lib/:lib/:" Makefile
- sedit "s:\$(DESTDIR)\$(CONFDIR):\$(CONFDIR):" Makefile
- sedit "s:\$(DESTDIR)\$(ARPDDIR):\$(ARPDDIR):" Makefile
+ # Actually install the tc command
+ patch_it $SOURCE_CACHE/$SOURCE2 1 &&
- sedit 's at linux/socket.h at sys/socket.h@' include/linux/netlink.h
+ sedit "s:/usr/lib/:lib/:" Makefile &&
+ sedit "s:\$(DESTDIR)\$(CONFDIR):\$(CONFDIR):" Makefile &&
+ sedit "s:\$(DESTDIR)\$(ARPDDIR):\$(ARPDDIR):" Makefile &&
+
+ sedit 's at linux/socket.h at sys/socket.h@' include/linux/netlink.h &&
if ! in_depends $MODULE db; then
sedit 's/arpd//' misc/Makefile
- fi
+ fi &&
chmod +x configure &&
./configure &&
@@ -15,4 +18,4 @@
prepare_install &&
make SBINDIR=/sbin install
-) > $C_FIFO 2>&1
\ No newline at end of file
+) > $C_FIFO 2>&1
diff --git a/net/iproute2/DETAILS b/net/iproute2/DETAILS
index 93b9ec9..b9804de 100644
--- a/net/iproute2/DETAILS
+++ b/net/iproute2/DETAILS
@@ -1,11 +1,14 @@
MODULE=iproute2
VERSION=2.6.34
SOURCE=$MODULE-$VERSION.tar.bz2
- SOURCE_URL=http://devresources.linux-foundation.org/dev/iproute2/download
+ SOURCE2=iproute2-2.6.34-tc.patch.bz2
+ SOURCE_URL=http://devresources.linux-foundation.org/dev/$MODULE/download
+ SOURCE2_URL=$PATCH_URL
SOURCE_VFY=sha1:b57f98e284c68a464b9c3e132d29760de6331688
+ SOURCE2_VFY=sha1:0ccb80954c65fdf4e36faf120697b7de8938ae4e
WEB_SITE=http://www.linuxfoundation.org/en/Net:Iproute2
ENTERED=20021106
- UPDATED=20100611
+ UPDATED=20100621
SHORT="Professional tools to control networking in Linux kernels"
cat << EOF
More information about the Lunar-commits
mailing list