1 |
vapier 09/12/26 19:54:26 |
2 |
|
3 |
Modified: ChangeLog iproute2-9999.ebuild |
4 |
Added: iproute2-2.6.31.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.146 sys-apps/iproute2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/iproute2/ChangeLog?rev=1.146&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/iproute2/ChangeLog?rev=1.146&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/iproute2/ChangeLog?r1=1.145&r2=1.146 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v |
19 |
retrieving revision 1.145 |
20 |
retrieving revision 1.146 |
21 |
diff -u -r1.145 -r1.146 |
22 |
--- ChangeLog 26 Dec 2009 19:44:40 -0000 1.145 |
23 |
+++ ChangeLog 26 Dec 2009 19:54:26 -0000 1.146 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-apps/iproute2 |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.145 2009/12/26 19:44:40 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.146 2009/12/26 19:54:26 vapier Exp $ |
29 |
+ |
30 |
+*iproute2-2.6.31 (26 Dec 2009) |
31 |
+ |
32 |
+ 26 Dec 2009; Mike Frysinger <vapier@g.o> +iproute2-2.6.31.ebuild, |
33 |
+ iproute2-9999.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
26 Dec 2009; Mike Frysinger <vapier@g.o> |
37 |
iproute2-2.6.29.1-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.9 sys-apps/iproute2/iproute2-9999.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild?rev=1.9&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild?rev=1.9&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild?r1=1.8&r2=1.9 |
46 |
|
47 |
Index: iproute2-9999.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild,v |
50 |
retrieving revision 1.8 |
51 |
retrieving revision 1.9 |
52 |
diff -u -r1.8 -r1.9 |
53 |
--- iproute2-9999.ebuild 22 Nov 2009 17:42:45 -0000 1.8 |
54 |
+++ iproute2-9999.ebuild 26 Dec 2009 19:54:26 -0000 1.9 |
55 |
@@ -1,10 +1,10 @@ |
56 |
# Copyright 1999-2009 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild,v 1.8 2009/11/22 17:42:45 vapier Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild,v 1.9 2009/12/26 19:54:26 vapier Exp $ |
60 |
|
61 |
EAPI="2" |
62 |
|
63 |
-inherit eutils toolchain-funcs |
64 |
+inherit eutils toolchain-funcs flag-o-matic |
65 |
|
66 |
if [[ ${PV} == "9999" ]] ; then |
67 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git" |
68 |
@@ -13,7 +13,7 @@ |
69 |
#KEYWORDS="" |
70 |
else |
71 |
if [[ ${PV} == *.*.*.* ]] ; then |
72 |
- MY_PV=${PV%.*} |
73 |
+ MY_PV=${PV%.*}-${PV##*.} |
74 |
else |
75 |
MY_PV=${PV} |
76 |
fi |
77 |
@@ -51,21 +51,17 @@ |
78 |
# build against system headers |
79 |
rm -r include/netinet #include/linux include/ip{,6}tables{,_common}.h include/libiptc |
80 |
|
81 |
- epatch "${FILESDIR}"/${PN}-2.6.26-ldflags.patch #236861 |
82 |
epatch "${FILESDIR}"/${PN}-2.6.29.1-flush.patch #274973 |
83 |
+ epatch "${FILESDIR}"/${PN}-2.6.29.1-hfsc.patch #291907 |
84 |
|
85 |
epatch_user |
86 |
|
87 |
# don't build arpd if USE=-berkdb #81660 |
88 |
use berkdb || sed -i '/^TARGETS=/s: arpd : :' misc/Makefile |
89 |
# Multilib fixes |
90 |
- sed -i 's:/usr/local:/usr:' tc/m_ipt.c include/iptables.h |
91 |
sed -i "s:/usr/lib:/usr/$(get_libdir):g" \ |
92 |
- netem/Makefile tc/{Makefile,tc.c,q_netem.c,m_ipt.c} include/iptables.h || die |
93 |
+ netem/Makefile tc/{Makefile,tc.c,q_netem.c,m_ipt.c} || die |
94 |
sed -i "s:/lib/tc:$(get_libdir)/tc:g" tc/Makefile || die |
95 |
- # Use correct iptables dir, #144265 |
96 |
- sed -i "s:/usr/local/lib/iptables:/$(get_libdir)/iptables:g" \ |
97 |
- include/iptables.h |
98 |
} |
99 |
|
100 |
src_configure() { |
101 |
@@ -75,6 +71,9 @@ |
102 |
|| echo 'n' >> Config |
103 |
|
104 |
use minimal && sed -i -e '/^SUBDIRS=/s:=.*:=lib tc:' Makefile |
105 |
+ |
106 |
+ # Use correct iptables dir, #144265 #293709 |
107 |
+ append-cppflags -DIPT_LIB_DIR=\\\"`$(tc-getPKG_CONFIG) xtables --variable=xtlibdir`\\\" |
108 |
} |
109 |
|
110 |
src_compile() { |
111 |
@@ -98,6 +97,7 @@ |
112 |
MANDIR=/usr/share/man \ |
113 |
install \ |
114 |
|| die "make install failed" |
115 |
+ prepalldocs |
116 |
if use berkdb ; then |
117 |
dodir /var/lib/arpd |
118 |
# bug 47482, arpd doesn't need to be in /sbin |
119 |
|
120 |
|
121 |
|
122 |
1.1 sys-apps/iproute2/iproute2-2.6.31.ebuild |
123 |
|
124 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/iproute2/iproute2-2.6.31.ebuild?rev=1.1&view=markup |
125 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/iproute2/iproute2-2.6.31.ebuild?rev=1.1&content-type=text/plain |
126 |
|
127 |
Index: iproute2-2.6.31.ebuild |
128 |
=================================================================== |
129 |
# Copyright 1999-2009 Gentoo Foundation |
130 |
# Distributed under the terms of the GNU General Public License v2 |
131 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-2.6.31.ebuild,v 1.1 2009/12/26 19:54:26 vapier Exp $ |
132 |
|
133 |
EAPI="2" |
134 |
|
135 |
inherit eutils toolchain-funcs flag-o-matic |
136 |
|
137 |
if [[ ${PV} == "9999" ]] ; then |
138 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git" |
139 |
inherit git |
140 |
SRC_URI="" |
141 |
#KEYWORDS="" |
142 |
else |
143 |
if [[ ${PV} == *.*.*.* ]] ; then |
144 |
MY_PV=${PV%.*}-${PV##*.} |
145 |
else |
146 |
MY_PV=${PV} |
147 |
fi |
148 |
MY_P="${PN}-${MY_PV}" |
149 |
SRC_URI="http://developer.osdl.org/dev/iproute2/download/${MY_P}.tar.bz2" |
150 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
151 |
S=${WORKDIR}/${MY_P} |
152 |
fi |
153 |
|
154 |
DESCRIPTION="kernel routing and traffic control utilities" |
155 |
HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" |
156 |
|
157 |
LICENSE="GPL-2" |
158 |
SLOT="0" |
159 |
IUSE="atm berkdb minimal" |
160 |
|
161 |
RDEPEND="!net-misc/arpd |
162 |
!minimal? ( berkdb? ( sys-libs/db ) ) |
163 |
atm? ( net-dialup/linux-atm )" |
164 |
DEPEND="${RDEPEND} |
165 |
elibc_glibc? ( >=sys-libs/glibc-2.7 ) |
166 |
>=virtual/os-headers-2.6.27" |
167 |
|
168 |
src_unpack() { |
169 |
if [[ ${PV} == "9999" ]] ; then |
170 |
git_src_unpack |
171 |
else |
172 |
unpack ${A} |
173 |
fi |
174 |
} |
175 |
|
176 |
src_prepare() { |
177 |
sed -i "s:-O2:${CFLAGS} ${CPPFLAGS}:" Makefile || die "sed Makefile failed" |
178 |
|
179 |
# build against system headers |
180 |
rm -r include/netinet #include/linux include/ip{,6}tables{,_common}.h include/libiptc |
181 |
|
182 |
epatch "${FILESDIR}"/${PN}-2.6.29.1-flush.patch #274973 |
183 |
epatch "${FILESDIR}"/${PN}-2.6.29.1-hfsc.patch #291907 |
184 |
|
185 |
epatch_user |
186 |
|
187 |
# don't build arpd if USE=-berkdb #81660 |
188 |
use berkdb || sed -i '/^TARGETS=/s: arpd : :' misc/Makefile |
189 |
# Multilib fixes |
190 |
sed -i "s:/usr/lib:/usr/$(get_libdir):g" \ |
191 |
netem/Makefile tc/{Makefile,tc.c,q_netem.c,m_ipt.c} || die |
192 |
sed -i "s:/lib/tc:$(get_libdir)/tc:g" tc/Makefile || die |
193 |
} |
194 |
|
195 |
src_configure() { |
196 |
echo -n 'TC_CONFIG_ATM:=' > Config |
197 |
use atm \ |
198 |
&& echo 'y' >> Config \ |
199 |
|| echo 'n' >> Config |
200 |
|
201 |
use minimal && sed -i -e '/^SUBDIRS=/s:=.*:=lib tc:' Makefile |
202 |
|
203 |
# Use correct iptables dir, #144265 #293709 |
204 |
append-cppflags -DIPT_LIB_DIR=\\\"`$(tc-getPKG_CONFIG) xtables --variable=xtlibdir`\\\" |
205 |
} |
206 |
|
207 |
src_compile() { |
208 |
emake \ |
209 |
CC="$(tc-getCC)" \ |
210 |
AR="$(tc-getAR)" \ |
211 |
|| die "make failed" |
212 |
} |
213 |
|
214 |
src_install() { |
215 |
if use minimal ; then |
216 |
into / |
217 |
dosbin tc/tc || die "minimal" |
218 |
return 0 |
219 |
fi |
220 |
|
221 |
emake \ |
222 |
DESTDIR="${D}" \ |
223 |
SBINDIR=/sbin \ |
224 |
DOCDIR=/usr/share/doc/${PF} \ |
225 |
MANDIR=/usr/share/man \ |
226 |
install \ |
227 |
|| die "make install failed" |
228 |
prepalldocs |
229 |
if use berkdb ; then |
230 |
dodir /var/lib/arpd |
231 |
# bug 47482, arpd doesn't need to be in /sbin |
232 |
dodir /usr/sbin |
233 |
mv "${D}"/sbin/arpd "${D}"/usr/sbin/ |
234 |
fi |
235 |
} |