# ChangeLog for sys-apps/iproute2
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.21 2005/01/02 23:24:33 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.22 2005/01/13 04:35:36 vapier Exp $
+
+*iproute2-2.6.10.20050112 (12 Jan 2005)
+
+ 12 Jan 2005; Mike Frysinger <vapier@gentoo.org>
+ +iproute2-2.6.10.20050112.ebuild:
+ Version bump.
02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 44461ba8ef45d30cf730826d122897dc ChangeLog 7339
+MD5 852b435e70b67e1e91ff2b72d8446e42 ChangeLog 7482
MD5 d0dad7daa0e6d356fc35f778fed36006 metadata.xml 225
+MD5 1d417d2f5fcde64c61ea989f538d753e iproute2-2.6.10.20050112.ebuild 1530
MD5 94406fbc76e52ba54d1613b27b6fe985 iproute2-2.6.9.20040831.ebuild 1566
MD5 685740c0085d0dc14ae1f69d09e8d444 iproute2-2.6.7.20040608-r1.ebuild 2360
MD5 71c98407cb167686c27b169e93299fce iproute2-2.6.9.20041019-r1.ebuild 1684
+MD5 5375310c6504f47ed3050805eb2675bc files/digest-iproute2-2.6.10.20050112 76
MD5 d3a321fa8b70eef6df11d7343a14fd02 files/2.4.7.20020116-hfsc.patch 9507
MD5 85a4bb7c64d1e7f589dab363ee5a3ceb files/2.6.9.20041019-wrr.patch 14144
MD5 80a86a410222a70517482394f7b9689c files/2.6.9.20041019-esqf.patch 5623
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.14 (GNU/Linux)
-iD8DBQFB5fVvroRuSHgZdywRAkfFAJ9PwZBUDvLImB7MVyDh7klVticEPwCghM+9
-teF/gpBbOeR2XJ1vYw7/etY=
-=Yvnh
+iD8DBQFB5fq2roRuSHgZdywRAtb+AKCCm9xMwHNxCkrH93U2CBASpePZJACgg0D7
+f8UueTEgNfpX3/gy4ZYKDhI=
+=TN2R
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 43b454cfa0948e234f128cce41db4911 iproute2-2.6.10-ss050112.tar.gz 307663
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.6.10.20050112.ebuild,v 1.1 2005/01/13 04:35:36 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+MY_PV=${PV%.*}
+SNAP=${PV##*.}
+SNAP=ss${SNAP:2}
+DESCRIPTION="kernel routing and traffic control utilities"
+HOMEPAGE="http://developer.osdl.org/dev/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 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="atm minimal"
+
+RDEPEND="virtual/libc
+ !minimal? ( sys-libs/db )
+ atm? ( net-dialup/linux-atm )"
+DEPEND="${RDEPEND}
+ >=virtual/os-headers-2.4.21
+ >=sys-apps/sed-4"
+
+S=${WORKDIR}/${PN}-${MY_PV}-${SNAP}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "s:-O2:${CFLAGS}:" Makefile || die "sed Makefile failed"
+ #68948 - esqf/wrr patches
+ epatch \
+ ${FILESDIR}/2.6.9.20041019-esqf.patch \
+ ${FILESDIR}/2.6.9.20041019-wrr.patch
+}
+
+src_compile() {
+ echo -n 'TC_CONFIG_ATM:=' > Config
+ use atm \
+ && echo 'y' >> Config \
+ || echo 'n' >> Config
+
+ local SUBDIRS="lib ip tc misc"
+ use minimal && SUBDIRS="lib tc"
+ emake \
+ CC="$(tc-getCC)" \
+ AR="$(tc-getAR)" \
+ SUBDIRS="${SUBDIRS}" \
+ || die "make"
+}
+
+src_install() {
+ if use minimal; then
+ into /
+ dosbin tc/tc || die "minimal"
+ return 0
+ fi
+
+ make \
+ DESTDIR="${D}" \
+ SBINDIR=/sbin \
+ DOCDIR=/usr/share/doc/${PF} \
+ install \
+ || die "make install failed"
+}