1 |
jer 15/03/30 16:10:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libnl-3.2.26.ebuild |
5 |
Removed: libnl-3.2.26_rc1.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
|
9 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.223 dev-libs/libnl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.223&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.223&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?r1=1.222&r2=1.223 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v |
21 |
retrieving revision 1.222 |
22 |
retrieving revision 1.223 |
23 |
diff -u -r1.222 -r1.223 |
24 |
--- ChangeLog 22 Mar 2015 11:01:59 -0000 1.222 |
25 |
+++ ChangeLog 30 Mar 2015 16:10:31 -0000 1.223 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for dev-libs/libnl |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.222 2015/03/22 11:01:59 nativemad Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.223 2015/03/30 16:10:31 jer Exp $ |
31 |
+ |
32 |
+*libnl-3.2.26 (30 Mar 2015) |
33 |
+ |
34 |
+ 30 Mar 2015; Jeroen Roovers <jer@g.o> -libnl-3.2.26_rc1.ebuild, |
35 |
+ +libnl-3.2.26.ebuild: |
36 |
+ Version bump. |
37 |
|
38 |
22 Mar 2015; Andreas Schuerch <nativemad@g.o> libnl-3.2.25.ebuild: |
39 |
x86 stable, see bug 509544 |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/libnl/libnl-3.2.26.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.26.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.26.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: libnl-3.2.26.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2015 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.26.ebuild,v 1.1 2015/03/30 16:10:31 jer Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
PYTHON_COMPAT=( python2_{6,7} python3_{2,3,4} ) |
56 |
DISTUTILS_OPTIONAL=1 |
57 |
inherit distutils-r1 eutils libtool multilib multilib-minimal |
58 |
|
59 |
NL_P=${P/_/-} |
60 |
|
61 |
DESCRIPTION="A collection of libraries providing APIs to netlink protocol based Linux kernel interfaces" |
62 |
HOMEPAGE="http://www.infradead.org/~tgr/libnl/" |
63 |
SRC_URI=" |
64 |
https://github.com/thom311/${PN}/releases/download/${PN}${PV//./_}/${P}.tar.gz |
65 |
" |
66 |
LICENSE="LGPL-2.1 utils? ( GPL-2 )" |
67 |
SLOT="3" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux" |
69 |
IUSE="static-libs python utils" |
70 |
|
71 |
RDEPEND="python? ( ${PYTHON_DEPS} ) |
72 |
abi_x86_32? ( |
73 |
!<=app-emulation/emul-linux-x86-baselibs-20140508-r5 |
74 |
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
75 |
)" |
76 |
DEPEND="${RDEPEND} |
77 |
python? ( dev-lang/swig ) |
78 |
sys-devel/flex |
79 |
sys-devel/bison |
80 |
" |
81 |
|
82 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
83 |
|
84 |
DOCS=( ChangeLog ) |
85 |
|
86 |
S=${WORKDIR}/${NL_P} |
87 |
|
88 |
MULTILIB_WRAPPED_HEADERS=( |
89 |
# we do not install CLI stuff for non-native |
90 |
/usr/include/libnl3/netlink/cli/addr.h |
91 |
/usr/include/libnl3/netlink/cli/class.h |
92 |
/usr/include/libnl3/netlink/cli/cls.h |
93 |
/usr/include/libnl3/netlink/cli/ct.h |
94 |
/usr/include/libnl3/netlink/cli/exp.h |
95 |
/usr/include/libnl3/netlink/cli/link.h |
96 |
/usr/include/libnl3/netlink/cli/neigh.h |
97 |
/usr/include/libnl3/netlink/cli/qdisc.h |
98 |
/usr/include/libnl3/netlink/cli/route.h |
99 |
/usr/include/libnl3/netlink/cli/rule.h |
100 |
/usr/include/libnl3/netlink/cli/tc.h |
101 |
/usr/include/libnl3/netlink/cli/utils.h |
102 |
) |
103 |
|
104 |
src_prepare() { |
105 |
epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch |
106 |
epatch "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch |
107 |
epatch "${FILESDIR}"/${PN}-3.2.20-cache-api.patch |
108 |
|
109 |
elibtoolize |
110 |
|
111 |
if use python; then |
112 |
cd "${S}"/python || die |
113 |
distutils-r1_src_prepare |
114 |
fi |
115 |
|
116 |
# out-of-source build broken |
117 |
# https://github.com/thom311/libnl/pull/58 |
118 |
multilib_copy_sources |
119 |
} |
120 |
|
121 |
multilib_src_configure() { |
122 |
econf \ |
123 |
--disable-silent-rules \ |
124 |
$(use_enable static-libs static) \ |
125 |
$(multilib_native_use_enable utils cli) |
126 |
} |
127 |
|
128 |
multilib_src_compile() { |
129 |
default |
130 |
|
131 |
if multilib_is_native_abi && use python; then |
132 |
cd python || die |
133 |
distutils-r1_src_compile |
134 |
fi |
135 |
} |
136 |
|
137 |
multilib_src_install() { |
138 |
emake DESTDIR="${D}" install |
139 |
|
140 |
if multilib_is_native_abi && use python; then |
141 |
# Unset DOCS= since distutils-r1.eclass interferes |
142 |
local DOCS=() |
143 |
cd python || die |
144 |
distutils-r1_src_install |
145 |
fi |
146 |
} |
147 |
|
148 |
multilib_src_install_all() { |
149 |
einstalldocs |
150 |
prune_libtool_files --modules |
151 |
} |