# ChangeLog for sys-apps/iproute2
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.68 2006/12/03 10:59:31 eroyf Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.69 2006/12/16 11:42:04 vapier Exp $
+
+*iproute2-2.6.19.20061214 (16 Dec 2006)
+
+ 16 Dec 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/iproute2-2.6.19.20061214-build.patch,
+ +iproute2-2.6.19.20061214.ebuild:
+ Version bump #158253 by ArYiX.
03 Dec 2006; Alexander H. Færøy <eroyf@gentoo.org>
iproute2-2.6.16.20060323.ebuild:
MD5 713a8c7b3cd1f900f8ad436bb4b0f92c files/iproute2-2.6.18.20061002-genl.patch 461
RMD160 a3e6dda56cbb15f090d1b6aeb28c1040cd12b37e files/iproute2-2.6.18.20061002-genl.patch 461
SHA256 982b39d48e1080ac406cf765c687da908b069fa4e2747b2db20cb478abd13472 files/iproute2-2.6.18.20061002-genl.patch 461
+AUX iproute2-2.6.19.20061214-build.patch 224 RMD160 6a12cf086cd02166ae8617ff8055ffa6a2875d78 SHA1 a5469c3e030f09a4ab4506a27c1313fbc08cae05 SHA256 e6afafbe03cc87d6ec9b575a1872e27cbb8d3cfe1d383a736021d5986bedf56a
+MD5 7ca028e2eec29c8a40022099ecbed3cb files/iproute2-2.6.19.20061214-build.patch 224
+RMD160 6a12cf086cd02166ae8617ff8055ffa6a2875d78 files/iproute2-2.6.19.20061214-build.patch 224
+SHA256 e6afafbe03cc87d6ec9b575a1872e27cbb8d3cfe1d383a736021d5986bedf56a files/iproute2-2.6.19.20061214-build.patch 224
DIST iproute2-2.6.15-060110.tar.gz 394322 RMD160 6738587d26a95cb2563fa5d218c00bd3ed3e598f SHA1 4683f4b60706023e92ccccd371b4d0008b8fd6d4 SHA256 9736c27e606b31af714e319bfad5bb9abdcbaf9b4f2ec496ca6310ff56b815d8
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
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 c07f428249e36edd27eb8edeb4f81d93 iproute2-2.6.18.20061002.ebuild 2494
RMD160 d3ddf079f221b0773f0a52d74df64763c50f5d26 iproute2-2.6.18.20061002.ebuild 2494
SHA256 f9124c475b2b6d92955f827d4a1d43719c3c731cc50493e88032dd5d4fd70cf8 iproute2-2.6.18.20061002.ebuild 2494
-MISC ChangeLog 14584 RMD160 32f53012cd232928a5788e3135bf04bbcd0d460d SHA1 f474bf2ae9da247c3ef4357e545bcb5d1af927b1 SHA256 35a896bf1fd018d8877b9bc19a6a3f602f145a902b38d14096cd212ede93a20f
-MD5 7072cbbf9306957c844836574d3cd0d1 ChangeLog 14584
-RMD160 32f53012cd232928a5788e3135bf04bbcd0d460d ChangeLog 14584
-SHA256 35a896bf1fd018d8877b9bc19a6a3f602f145a902b38d14096cd212ede93a20f ChangeLog 14584
+EBUILD iproute2-2.6.19.20061214.ebuild 2493 RMD160 af537acb39c7b6221e0049afda9e037472fc2ee6 SHA1 fd4a6d2d66080360a24a1de09e6cea568d4110b6 SHA256 560379e7109405d10f826e179f7c70530b77cef25aaaef78b2fa7ef346c0b3fa
+MD5 9aaf303af6a10e13a42205849b12393d iproute2-2.6.19.20061214.ebuild 2493
+RMD160 af537acb39c7b6221e0049afda9e037472fc2ee6 iproute2-2.6.19.20061214.ebuild 2493
+SHA256 560379e7109405d10f826e179f7c70530b77cef25aaaef78b2fa7ef346c0b3fa iproute2-2.6.19.20061214.ebuild 2493
+MISC ChangeLog 14793 RMD160 bf0bd50cc074f68c0a5b739a403d0375a15cbc80 SHA1 86a9e45a1348bb18ea124830fe8722ccb42bb9fe SHA256 957b0f425ab7eb385f2017066d6a436b91ceb32ca1cdc3b29388d8e1b6000b51
+MD5 af2c40a9120174216956dc7ff4f00757 ChangeLog 14793
+RMD160 bf0bd50cc074f68c0a5b739a403d0375a15cbc80 ChangeLog 14793
+SHA256 957b0f425ab7eb385f2017066d6a436b91ceb32ca1cdc3b29388d8e1b6000b51 ChangeLog 14793
MISC metadata.xml 225 RMD160 c09b983b2a71ef5738567b899ab087ff80d63ca1 SHA1 e384e99e2d9d8b4dd3ce54f8e857268cbe352c5e SHA256 8c13ed9cb8e178d0e1af782bee862350146dc46765dedd79e6f531211ef52a68
MD5 d0dad7daa0e6d356fc35f778fed36006 metadata.xml 225
RMD160 c09b983b2a71ef5738567b899ab087ff80d63ca1 metadata.xml 225
MD5 184ee764ff9e5355e38a9156b90a3fe3 files/digest-iproute2-2.6.18.20061002 268
RMD160 da95832699083e43c9a110b0615d6969f51fe95b files/digest-iproute2-2.6.18.20061002 268
SHA256 f83c3c99c672ee1a973cca660777579a229a5c7d3f3959c65f3fb2ddbb79ab64 files/digest-iproute2-2.6.18.20061002 268
+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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFg9bmK9sYciBdMQMRAhjWAJ4l+nmasIdrawSVh8kSpBARr2LpWQCePB5h
-nHaRWVlhZj3OIxB1JMJMZPk=
-=1UaQ
+iD8DBQFFg9vWK9sYciBdMQMRAnKRAJ4kA5dFoJefaYBqLtiqi9anKBf6gQCfU1uT
+096YMb1kEQ6Jp4nwR3ClbuI=
+=kvRh
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 a8fbe5f37e2db79b34f817d43d4cbf8d iproute2-2.6.19-061214.tar.gz 401877
+RMD160 395484a49f496aec84dcfb83d50331053eee7ab1 iproute2-2.6.19-061214.tar.gz 401877
+SHA256 a6a5146c188674508f0f6c739892ac8b2af798cad8f427fa09099509362e903b iproute2-2.6.19-061214.tar.gz 401877
--- /dev/null
+--- Makefile.orig
++++ Makefile
+@@ -32,7 +32,8 @@
+ LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
+
+ all: Config
+- @for i in $(SUBDIRS); \
++ @set -e; \
++ for i in $(SUBDIRS); \
+ do $(MAKE) $(MFLAGS) -C $$i; done
+
+ Config:
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.6.19.20061214.ebuild,v 1.1 2006/12/16 11:42:04 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}/${PN}-${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
+ epatch "${FILESDIR}"/${PN}-2.6.19.20061214-build.patch
+
+ #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
+}