summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2002-02-08 05:37:03 +0000
committerDaniel Robbins <drobbins@gentoo.org>2002-02-08 05:37:03 +0000
commit71ad0aa851031a1e5e4f54af1c1adf7ea58cbf21 (patch)
treea19182963f5de03314f7b02422710432cfcb6078 /sys-apps/iproute2
parentFirst ebuild, bug 553. Thanks Stein Magnus Jodal. (diff)
downloadhistorical-71ad0aa851031a1e5e4f54af1c1adf7ea58cbf21.tar.gz
historical-71ad0aa851031a1e5e4f54af1c1adf7ea58cbf21.tar.bz2
historical-71ad0aa851031a1e5e4f54af1c1adf7ea58cbf21.zip
new iproute to close bug #595
Diffstat (limited to 'sys-apps/iproute2')
-rw-r--r--sys-apps/iproute2/ChangeLog7
-rw-r--r--sys-apps/iproute2/files/dead-route-fix.diff13
-rw-r--r--sys-apps/iproute2/files/digest-iproute2-2.4.7-r11
-rw-r--r--sys-apps/iproute2/iproute2-2.4.7-r1.ebuild (renamed from sys-apps/iproute2/iproute2-2.4.7.ebuild)6
4 files changed, 25 insertions, 2 deletions
diff --git a/sys-apps/iproute2/ChangeLog b/sys-apps/iproute2/ChangeLog
index 8ac38aaf0adc..313a16446b70 100644
--- a/sys-apps/iproute2/ChangeLog
+++ b/sys-apps/iproute2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/iproute2
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.1 2002/02/01 21:53:37 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.2 2002/02/08 05:37:03 drobbins Exp $
+
+*iproute2-2.4.7-r1 (7 Feb 2002)
+
+ 7 Feb 2002; Daniel Robbins <drobbins@gentoo.org>: Added a dead-route-fix.diff to
+ close bug #595 (see it for a description of the problem it fixes)
*iproute2-2.4.7 (1 Feb 2002)
diff --git a/sys-apps/iproute2/files/dead-route-fix.diff b/sys-apps/iproute2/files/dead-route-fix.diff
new file mode 100644
index 000000000000..7d66ebd8b291
--- /dev/null
+++ b/sys-apps/iproute2/files/dead-route-fix.diff
@@ -0,0 +1,13 @@
+--- iproute2/ip/iproute.c.orig Mon Aug 6 03:31:52 2001
++++ iproute2/ip/iproute.c Thu Dec 20 13:14:06 2001
+@@ -620,6 +620,8 @@
+ }
+ rtnh->rtnh_len = sizeof(*rtnh);
+ rtnh->rtnh_ifindex = 0;
++ rtnh->rtnh_flags = 0;
++ rtnh->rtnh_hops = 0;
+ rta->rta_len += rtnh->rtnh_len;
+ parse_one_nh(rta, rtnh, &argc, &argv);
+ rtnh = RTNH_NEXT(rtnh);
+
+
diff --git a/sys-apps/iproute2/files/digest-iproute2-2.4.7-r1 b/sys-apps/iproute2/files/digest-iproute2-2.4.7-r1
new file mode 100644
index 000000000000..fe66f10d26d1
--- /dev/null
+++ b/sys-apps/iproute2/files/digest-iproute2-2.4.7-r1
@@ -0,0 +1 @@
+MD5 b05a4e375d9468be3a1dd3f0e83daee8 iproute2-2.4.7-now-ss010824.tar.gz 140139
diff --git a/sys-apps/iproute2/iproute2-2.4.7.ebuild b/sys-apps/iproute2/iproute2-2.4.7-r1.ebuild
index 621bdbcca38b..3e75dc04ea13 100644
--- a/sys-apps/iproute2/iproute2-2.4.7.ebuild
+++ b/sys-apps/iproute2/iproute2-2.4.7-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Daniel Robbins <drobbins@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.4.7.ebuild,v 1.4 2002/01/01 22:35:51 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.4.7-r1.ebuild,v 1.1 2002/02/08 05:37:03 drobbins Exp $
S=${WORKDIR}/iproute2
DESCRIPTION="Kernel 2.4 routing and traffic control utilities"
@@ -11,6 +11,10 @@ DEPEND="virtual/glibc"
src_unpack() {
unpack ${A}
+ cd ${S}
+ #This should close bug #595 -- drobbins
+ patch -p1 < ${FILESDIR}/dead-route-fix.diff || die
+
# we now install the kernel headers used for compiling glibc, directly into
# /usr/include/{asm,linux}; which is a good thing(tm). we need to patch
# iproute2's Makefile to thusly compile without a /usr/src/linux tree.