diff options
author | Jerry Alexandratos <jerry@gentoo.org> | 2001-07-06 05:17:15 +0000 |
---|---|---|
committer | Jerry Alexandratos <jerry@gentoo.org> | 2001-07-06 05:17:15 +0000 |
commit | b16a58db15801a612f0938635684d602d03e7a1b (patch) | |
tree | ea50e46a8ee761596d4d66dbba2d9bc693647432 /sys-apps/iproute2 | |
parent | I need this plugin to listend to the beats on my new website :) (diff) | |
download | gentoo-2-b16a58db15801a612f0938635684d602d03e7a1b.tar.gz gentoo-2-b16a58db15801a612f0938635684d602d03e7a1b.tar.bz2 gentoo-2-b16a58db15801a612f0938635684d602d03e7a1b.zip |
Update to make iproute2 work.
Removed reference to ETH_P_ECHO from lib/ll_proto.c.
ETH_P_ECHO was considered bogus and removed from the kernel.
Welcome to the new world order. Bury ifconfig and route.
Long live "ip addr" and "ip route"!!!! 8)
Diffstat (limited to 'sys-apps/iproute2')
-rw-r--r-- | sys-apps/iproute2/files/digest-iproute2-2.2.4-r2 | 1 | ||||
-rw-r--r-- | sys-apps/iproute2/files/digest-iproute2-2.2.4-r3 | 2 | ||||
-rw-r--r-- | sys-apps/iproute2/iproute2-2.2.4-r2.ebuild | 58 | ||||
-rw-r--r-- | sys-apps/iproute2/iproute2-2.2.4-r3.ebuild | 62 |
4 files changed, 63 insertions, 60 deletions
diff --git a/sys-apps/iproute2/files/digest-iproute2-2.2.4-r2 b/sys-apps/iproute2/files/digest-iproute2-2.2.4-r2 deleted file mode 100644 index 4bb3a63d1bcb..000000000000 --- a/sys-apps/iproute2/files/digest-iproute2-2.2.4-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 70ef05a56f32f73a1ef67ef40d35c37e iproute2-2.2.4-now-ss001007.tar.gz diff --git a/sys-apps/iproute2/files/digest-iproute2-2.2.4-r3 b/sys-apps/iproute2/files/digest-iproute2-2.2.4-r3 index e67f3a9ca35b..4bb3a63d1bcb 100644 --- a/sys-apps/iproute2/files/digest-iproute2-2.2.4-r3 +++ b/sys-apps/iproute2/files/digest-iproute2-2.2.4-r3 @@ -1 +1 @@ -MD5 cb88a10892bc2299036495ac6dfb93d9 iproute2-2.2.4-now-ss991023.tar.gz +MD5 70ef05a56f32f73a1ef67ef40d35c37e iproute2-2.2.4-now-ss001007.tar.gz diff --git a/sys-apps/iproute2/iproute2-2.2.4-r2.ebuild b/sys-apps/iproute2/iproute2-2.2.4-r2.ebuild deleted file mode 100644 index 1d33a8246c2b..000000000000 --- a/sys-apps/iproute2/iproute2-2.2.4-r2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.2.4-r2.ebuild,v 1.2 2001/05/02 16:14:25 achim Exp $ - -A=iproute2-2.2.4-now-ss001007.tar.gz -S=${WORKDIR}/iproute2 -DESCRIPTION="Kernel 2.4 routing and traffic control utilities" -SRC_URI="ftp://ftp.inr.ac.ru/ip-routing/${A}" - -DEPEND="virtual/glibc tex? ( app-text/tetex )" - -src_unpack() { - unpack ${A} - cd ${S} -# cp Makefile Makefile.orig -# sed -e "s/-O2/${CFLAGS}/g" Makefile.orig > Makefile -# #this next thing is required to enable diffserv (ATM support doesn't compile right now) -# cp Config Config.orig -# sed -e 's/DIFFSERV=n/DIFFSERV=y/g' Config.orig > Config -} - -src_compile() { - try make ${MAKEOPTS} - if [ "`use tex`" ] - then - cd doc - try make - fi -} - - -src_install() { - - into / - cd ${S}/ip - dosbin ifcfg ip routef routel rtacct rtmon rtpr - cd ${S}/tc - dosbin tc - cd ${S} - dodoc README* RELNOTES - docinto examples/diffserv - dodoc examples/diffserv/* - docinto examples - dodoc examples/* - dodir /etc/iproute2 - insinto /etc/iproute2 - doins ${S}/etc/iproute2/* - - if [ "`use tex`" ] - then - docinto ps - dodoc doc/*.ps - fi - -} - - diff --git a/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild b/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild new file mode 100644 index 000000000000..8b98310e3ac7 --- /dev/null +++ b/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.2.4-r3.ebuild,v 1.1 2001/07/06 05:17:15 jerry Exp $ + +A=iproute2-2.2.4-now-ss001007.tar.gz +S=${WORKDIR}/iproute2 +DESCRIPTION="Kernel 2.4 routing and traffic control utilities" +SRC_URI="ftp://ftp.inr.ac.ru/ip-routing/${A}" + +DEPEND="virtual/glibc tex? ( app-text/tetex )" + +src_unpack() { + unpack ${A} + + cd ${S}/lib + cp ll_proto.c ll_proto.c.orig + sed -e "36 d" ll_proto.c.orig >| ll_proto.c + +# cp Makefile Makefile.orig +# sed -e "s/-O2/${CFLAGS}/g" Makefile.orig > Makefile +# #this next thing is required to enable diffserv (ATM support doesn't compile right now) +# cp Config Config.orig +# sed -e 's/DIFFSERV=n/DIFFSERV=y/g' Config.orig > Config +} + +src_compile() { + try make ${MAKEOPTS} + if [ "`use tex`" ] + then + cd doc + try make + fi +} + + +src_install() { + + into / + cd ${S}/ip + dosbin ifcfg ip routef routel rtacct rtmon rtpr + cd ${S}/tc + dosbin tc + cd ${S} + dodoc README* RELNOTES + docinto examples/diffserv + dodoc examples/diffserv/* + docinto examples + dodoc examples/* + dodir /etc/iproute2 + insinto /etc/iproute2 + doins ${S}/etc/iproute2/* + + if [ "`use tex`" ] + then + docinto ps + dodoc doc/*.ps + fi + +} + + |