# ChangeLog for sys-apps/iproute2
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.81 2007/03/07 06:31:56 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.82 2007/04/04 05:36:22 vapier Exp $
+
+*iproute2-2.6.20.20070313 (04 Apr 2007)
+
+ 04 Apr 2007; Mike Frysinger <vapier@gentoo.org>
+ +iproute2-2.6.20.20070313.ebuild:
+ Version bump #173229 by Farid.
07 Mar 2007; Jeroen Roovers <jer@gentoo.org>
iproute2-2.6.19.20061214.ebuild:
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX iproute2-051007-esfq-2.6.13.patch 6499 RMD160 aee6f0cb90aae41664e8707a1b4874b5fb5ac2c6 SHA1 7f3689c01cbf885866266baedbc440e56b5679e9 SHA256 72a3aadd8e4825082e6e60d53ccb00a2b80930d49f7d51824e83435de5c0dfb0
MD5 9b29094618e58434d24db4cd77edb622 files/iproute2-051007-esfq-2.6.13.patch 6499
RMD160 aee6f0cb90aae41664e8707a1b4874b5fb5ac2c6 files/iproute2-051007-esfq-2.6.13.patch 6499
DIST iproute2-2.6.16-060323.tar.gz 386555 RMD160 fbc5999842a6a1a5b4ba792e93e25ed8df7c959b SHA1 76d866bb3b46a7b2e73d79a4faf6fa8971527633 SHA256 e382a4c0de31a5196e0c7829d6f7e29d0263cf90a4def10302db694fc2f30da2
DIST iproute2-2.6.18-061002.tar.gz 390298 RMD160 3e55f4e7d5022f84073157d943cd0002b304f5b7 SHA1 94f9b91d59e0e63b441130e158422a62a7a31b98 SHA256 038aabd2894f46d3a4a7583ab2bff13b2da51682ccb921ceb7c87326ec1d344f
DIST iproute2-2.6.19-061214.tar.gz 401877 RMD160 395484a49f496aec84dcfb83d50331053eee7ab1 SHA1 f48c783c37e09a212cde65ae0370468af634fd65 SHA256 a6a5146c188674508f0f6c739892ac8b2af798cad8f427fa09099509362e903b
+DIST iproute2-2.6.20-070313.tar.gz 403688 RMD160 b688fddeaac988bab16b2c10272fe21ce7743382 SHA1 6c46d381a9840c94a12faf3b2d64577c4e74323d SHA256 3b3960f867bf878a6561428a3c572e87dcccadb7123aa47d7aaca77b32adecc8
EBUILD iproute2-2.6.15.20060110.ebuild 1970 RMD160 531dfb2d7c667cbc0f1531b52c9b91d6ece185a4 SHA1 3c0488b315e0ddaef78d8f7a5596954dea555e8a SHA256 d1e9c6ea5d501a96b859d4c06ce6d8a5a8790343f1880eeb880c89dc68bf86bb
MD5 e98c7815174c6fc1aff14d1753ec2de6 iproute2-2.6.15.20060110.ebuild 1970
RMD160 531dfb2d7c667cbc0f1531b52c9b91d6ece185a4 iproute2-2.6.15.20060110.ebuild 1970
MD5 f30dd0451e04ee39748214704bf3b507 iproute2-2.6.19.20061214.ebuild 2482
RMD160 00004bb5232f7e36bb080a92006b576c4eedc4ca iproute2-2.6.19.20061214.ebuild 2482
SHA256 d50b477f10f44022dcfe775f195c7dd494fae35987e39d748621ceba3db0c5e8 iproute2-2.6.19.20061214.ebuild 2482
-MISC ChangeLog 16199 RMD160 fdc6d2236c8c6feffe33de16ee8b65ab783f3f1c SHA1 93296f5006814b7fb17230177d2b868b76f8a042 SHA256 211101d9de98ed7c79557850fa6e1fe64b36f5d330c2e5390ca88c84c7189c53
-MD5 9cdef5afe9e2b695c88e4d1004287b09 ChangeLog 16199
-RMD160 fdc6d2236c8c6feffe33de16ee8b65ab783f3f1c ChangeLog 16199
-SHA256 211101d9de98ed7c79557850fa6e1fe64b36f5d330c2e5390ca88c84c7189c53 ChangeLog 16199
+EBUILD iproute2-2.6.20.20070313.ebuild 2439 RMD160 1fa11e1fabcf2d8639aef7aa6a6db44d796275af SHA1 9a4658d41a858fa03479ad20adaf97fc3a21318a SHA256 6dcb06508833060f097d549c21272f09ff694ead6ee0f5e53541bc5ecc6f2755
+MD5 832072c33e8a0b1b0d22d7148315b5c8 iproute2-2.6.20.20070313.ebuild 2439
+RMD160 1fa11e1fabcf2d8639aef7aa6a6db44d796275af iproute2-2.6.20.20070313.ebuild 2439
+SHA256 6dcb06508833060f097d549c21272f09ff694ead6ee0f5e53541bc5ecc6f2755 iproute2-2.6.20.20070313.ebuild 2439
+MISC ChangeLog 16363 RMD160 7d1aac87e9028314fba52811314f4a2dfffa83bf SHA1 f0c971e0c2d08e77a0fdc0cd084765c9bdc9d180 SHA256 ddc229841fd436dcf2c4825c90f48a642683a7cbac9942b002e3777a324f2c0b
+MD5 65c0540ff5ef2d7d407f1a780ef1188b ChangeLog 16363
+RMD160 7d1aac87e9028314fba52811314f4a2dfffa83bf ChangeLog 16363
+SHA256 ddc229841fd436dcf2c4825c90f48a642683a7cbac9942b002e3777a324f2c0b ChangeLog 16363
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
MD5 8b82d626f0ce267aebeaed2c6968a8e8 files/digest-iproute2-2.6.19.20061214 268
RMD160 344384c24640405a4be755008183f67de0eb7772 files/digest-iproute2-2.6.19.20061214 268
SHA256 8755c7710cde576aaedc2ffb9a23eef9d294c14bdeaddfd65ca2932953bd082d files/digest-iproute2-2.6.19.20061214 268
+MD5 f5947289cc9b6642f02b98b2c9cb6471 files/digest-iproute2-2.6.20.20070313 268
+RMD160 30c02623eaf3e21d7314802fde35d981594f6a68 files/digest-iproute2-2.6.20.20070313 268
+SHA256 618f03430e63bb4e3c25a17e660c7697232cd381dd39f5be1c4efc11632755b2 files/digest-iproute2-2.6.20.20070313 268
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFGEzlg8bi6rjpTunYRAm1rAJ0XyVqIR8ZMgGkqkKjSuPq8ZfKE/ACg5BjD
+QSgfObgcQgoJ2p43dtIGoW8=
+=GB2t
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 7bc5883aadf740761fa2dd70b661e8cc iproute2-2.6.20-070313.tar.gz 403688
+RMD160 b688fddeaac988bab16b2c10272fe21ce7743382 iproute2-2.6.20-070313.tar.gz 403688
+SHA256 3b3960f867bf878a6561428a3c572e87dcccadb7123aa47d7aaca77b32adecc8 iproute2-2.6.20-070313.tar.gz 403688
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.6.20.20070313.ebuild,v 1.1 2007/04/04 05:36:22 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+MY_PV=${PV%.*}
+SNAP=${PV##*.}
+SNAP=${SNAP:2}
+DESCRIPTION="kernel routing and traffic control utilities"
+HOMEPAGE="http://linux-net.osdl.org/index.php/Iproute2"
+SRC_URI="http://developer.osdl.org/dev/iproute2/download/${PN}-${MY_PV}-${SNAP}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="atm berkdb minimal"
+
+RDEPEND="!minimal? ( berkdb? ( sys-libs/db ) )
+ atm? ( net-dialup/linux-atm )"
+DEPEND="${RDEPEND}
+ >=virtual/os-headers-2.4.21"
+
+S=${WORKDIR}/iproute-${MY_PV}-${SNAP}
+
+pkg_setup() {
+ if use kernel_linux ; then
+ ewarn
+ ewarn "${PN} requires kernel support for Netlink (CONFIG_NETLINK)."
+ ewarn "This is only applies for kernels prior to 2.4.17"
+ ewarn
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i "s:-O2:${CFLAGS}:" Makefile || die "sed Makefile failed"
+
+ epatch "${FILESDIR}"/${PN}-2.6.16.20060323-build.patch #137574
+ epatch "${FILESDIR}"/${PN}-2.6.16.20060323-routef-safe.patch #139853
+
+ #68948 - esfq/wrr patches
+ epatch "${FILESDIR}"/${PN}-051007-esfq-2.6.13.patch
+ epatch "${FILESDIR}"/${PN}-2.6.11.20050330-wrr.patch
+
+ # don't build arpd if USE=-berkdb #81660
+ use berkdb || sed -i '/^TARGETS=/s: arpd : :' misc/Makefile
+ # Multilib fixes
+ sed -i 's:/usr/local:/usr:' tc/m_ipt.c include/iptables.h
+ sed -i "s:/usr/lib:/usr/$(get_libdir):g" \
+ netem/Makefile tc/{Makefile,tc.c,q_netem.c,m_ipt.c} include/iptables.h || die
+ # Use correct iptables dir, #144265.
+ sed -i "s:/usr/local/lib/iptables:/$(get_libdir)/iptables:g" \
+ include/iptables.h
+}
+
+src_compile() {
+ echo -n 'TC_CONFIG_ATM:=' > Config
+ use atm \
+ && echo 'y' >> Config \
+ || echo 'n' >> Config
+
+ use minimal && sed -i -e '/^SUBDIRS=/s:=.*:=lib tc:' Makefile
+ emake \
+ CC="$(tc-getCC)" \
+ AR="$(tc-getAR)" \
+ || die "make"
+}
+
+src_install() {
+ if use minimal ; then
+ into /
+ dosbin tc/tc || die "minimal"
+ return 0
+ fi
+
+ emake \
+ DESTDIR="${D}" \
+ SBINDIR=/sbin \
+ DOCDIR=/usr/share/doc/${PF} \
+ install \
+ || die "make install failed"
+ if use berkdb ; then
+ dodir /var/lib/arpd
+ # bug 47482, arpd doesn't need to be in /sbin
+ dodir /usr/sbin
+ mv "${D}"/sbin/arpd "${D}"/usr/sbin/
+ fi
+}