1 |
vapier 12/03/30 21:00:59 |
2 |
|
3 |
Modified: ChangeLog iproute2-9999.ebuild |
4 |
Added: iproute2-3.3.0.ebuild |
5 |
Log: |
6 |
Version bump #409995 by jrut. |
7 |
|
8 |
(Portage version: 2.2.0_alpha95/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.186 sys-apps/iproute2/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/iproute2/ChangeLog?rev=1.186&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/iproute2/ChangeLog?rev=1.186&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/iproute2/ChangeLog?r1=1.185&r2=1.186 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v |
20 |
retrieving revision 1.185 |
21 |
retrieving revision 1.186 |
22 |
diff -u -r1.185 -r1.186 |
23 |
--- ChangeLog 16 Feb 2012 05:21:31 -0000 1.185 |
24 |
+++ ChangeLog 30 Mar 2012 21:00:59 -0000 1.186 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-apps/iproute2 |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.185 2012/02/16 05:21:31 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/ChangeLog,v 1.186 2012/03/30 21:00:59 vapier Exp $ |
30 |
+ |
31 |
+*iproute2-3.3.0 (30 Mar 2012) |
32 |
+ |
33 |
+ 30 Mar 2012; Mike Frysinger <vapier@g.o> +iproute2-3.3.0.ebuild, |
34 |
+ iproute2-9999.ebuild: |
35 |
+ Version bump #409995 by jrut. |
36 |
|
37 |
16 Feb 2012; Mike Frysinger <vapier@g.o> iproute2-3.1.0.ebuild: |
38 |
Respect CC from build env #401907 by Andrey Hippo. |
39 |
|
40 |
|
41 |
|
42 |
1.20 sys-apps/iproute2/iproute2-9999.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild?rev=1.20&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild?rev=1.20&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild?r1=1.19&r2=1.20 |
47 |
|
48 |
Index: iproute2-9999.ebuild |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild,v |
51 |
retrieving revision 1.19 |
52 |
retrieving revision 1.20 |
53 |
diff -u -r1.19 -r1.20 |
54 |
--- iproute2-9999.ebuild 5 Dec 2011 20:59:41 -0000 1.19 |
55 |
+++ iproute2-9999.ebuild 30 Mar 2012 21:00:59 -0000 1.20 |
56 |
@@ -1,6 +1,6 @@ |
57 |
-# Copyright 1999-2011 Gentoo Foundation |
58 |
+# Copyright 1999-2012 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild,v 1.19 2011/12/05 20:59:41 vapier Exp $ |
61 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild,v 1.20 2012/03/30 21:00:59 vapier Exp $ |
62 |
|
63 |
EAPI="4" |
64 |
|
65 |
@@ -36,6 +36,7 @@ |
66 |
epatch "${FILESDIR}"/${PN}-3.1.0-mtu.patch #291907 |
67 |
|
68 |
sed -i \ |
69 |
+ -e '/^CC =/d' \ |
70 |
-e "/^LIBDIR/s:=.*:=/$(get_libdir):" \ |
71 |
-e "s:-O2:${CFLAGS} ${CPPFLAGS}:" \ |
72 |
Makefile || die |
73 |
|
74 |
|
75 |
|
76 |
1.1 sys-apps/iproute2/iproute2-3.3.0.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/iproute2/iproute2-3.3.0.ebuild?rev=1.1&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/iproute2/iproute2-3.3.0.ebuild?rev=1.1&content-type=text/plain |
80 |
|
81 |
Index: iproute2-3.3.0.ebuild |
82 |
=================================================================== |
83 |
# Copyright 1999-2012 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-3.3.0.ebuild,v 1.1 2012/03/30 21:00:59 vapier Exp $ |
86 |
|
87 |
EAPI="4" |
88 |
|
89 |
inherit eutils toolchain-funcs flag-o-matic |
90 |
|
91 |
if [[ ${PV} == "9999" ]] ; then |
92 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git" |
93 |
inherit git-2 |
94 |
SRC_URI="" |
95 |
#KEYWORDS="" |
96 |
else |
97 |
SRC_URI="mirror://kernel/linux/utils/net/${PN}/${P}.tar.bz2" |
98 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
99 |
fi |
100 |
|
101 |
DESCRIPTION="kernel routing and traffic control utilities" |
102 |
HOMEPAGE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2" |
103 |
|
104 |
LICENSE="GPL-2" |
105 |
SLOT="0" |
106 |
IUSE="atm berkdb minimal" |
107 |
|
108 |
RDEPEND="!net-misc/arpd |
109 |
!minimal? ( berkdb? ( sys-libs/db ) ) |
110 |
atm? ( net-dialup/linux-atm )" |
111 |
DEPEND="${RDEPEND} |
112 |
sys-devel/bison |
113 |
sys-devel/flex |
114 |
>=sys-kernel/linux-headers-2.6.27 |
115 |
elibc_glibc? ( >=sys-libs/glibc-2.7 )" |
116 |
|
117 |
src_prepare() { |
118 |
epatch "${FILESDIR}"/${PN}-3.1.0-mtu.patch #291907 |
119 |
|
120 |
sed -i \ |
121 |
-e '/^CC =/d' \ |
122 |
-e "/^LIBDIR/s:=.*:=/$(get_libdir):" \ |
123 |
-e "s:-O2:${CFLAGS} ${CPPFLAGS}:" \ |
124 |
Makefile || die |
125 |
|
126 |
# build against system headers |
127 |
rm -r include/netinet #include/linux include/ip{,6}tables{,_common}.h include/libiptc |
128 |
sed -i 's:TCPI_OPT_ECN_SEEN:16:' misc/ss.c || die |
129 |
|
130 |
# don't build arpd if USE=-berkdb #81660 |
131 |
use berkdb || sed -i '/^TARGETS=/s: arpd : :' misc/Makefile |
132 |
|
133 |
use minimal && sed -i -e '/^SUBDIRS=/s:=.*:=lib tc:' Makefile |
134 |
} |
135 |
|
136 |
src_configure() { |
137 |
tc-export AR CC PKG_CONFIG |
138 |
|
139 |
# This sure is ugly. Should probably move into toolchain-funcs at some point. |
140 |
local setns |
141 |
pushd "${T}" >/dev/null |
142 |
echo 'main(){return setns();};' > test.c |
143 |
${CC} ${CFLAGS} ${LDFLAGS} test.c >&/dev/null && setns=y || setns=n |
144 |
popd >/dev/null |
145 |
|
146 |
cat <<-EOF > Config |
147 |
TC_CONFIG_ATM := $(usex atm y n) |
148 |
IP_CONFIG_SETNS := ${setns} |
149 |
# Use correct iptables dir, #144265 #293709 |
150 |
IPT_LIB_DIR := $(${PKG_CONFIG} xtables --variable=xtlibdir) |
151 |
EOF |
152 |
} |
153 |
|
154 |
src_install() { |
155 |
if use minimal ; then |
156 |
into / |
157 |
dosbin tc/tc |
158 |
return 0 |
159 |
fi |
160 |
|
161 |
emake \ |
162 |
DESTDIR="${D}" \ |
163 |
SBINDIR=/sbin \ |
164 |
DOCDIR=/usr/share/doc/${PF} \ |
165 |
MANDIR=/usr/share/man \ |
166 |
install |
167 |
|
168 |
dolib.a lib/libnetlink.a |
169 |
insinto /usr/include |
170 |
doins include/libnetlink.h |
171 |
|
172 |
if use berkdb ; then |
173 |
dodir /var/lib/arpd |
174 |
# bug 47482, arpd doesn't need to be in /sbin |
175 |
dodir /usr/sbin |
176 |
mv "${ED}"/sbin/arpd "${ED}"/usr/sbin/ |
177 |
fi |
178 |
} |