1 |
commit: 8fb8d74e97bee32dd69071ffa0c03d5f5cebbc2a |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 19:21:47 2016 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 19:24:03 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb8d74e |
7 |
|
8 |
dev-libs/libnl: Version bump. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-libs/libnl/Manifest | 1 + |
13 |
dev-libs/libnl/libnl-3.2.28_rc1.ebuild | 108 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 109 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest |
17 |
index ee5fcb1..ea8a135 100644 |
18 |
--- a/dev-libs/libnl/Manifest |
19 |
+++ b/dev-libs/libnl/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libnl-1.1.4.tar.gz 1174974 SHA256 4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 SHA512 25e26ddcc16540346ea34815ab6ac094177e5cee2eb3d843c4f8b30cd9d83390a3e87cb46046dc3bd9ae4d21f77e57bb3827c2cfc588eb18afe049921f2030b4 WHIRLPOOL eab5547dce7b11c86123fbcc9cd8e00100c7e78f48a4a9fef40f80f89407ea705b701f8f0eb7df63997866f17b0cf0924b43c69b29fa1f1b016fe997371b950e |
22 |
DIST libnl-3.2.27.tar.gz 905330 SHA256 4bbbf92b3c78a90f423cf96260bf419a28b75db8cced47051217a56795f58ec6 SHA512 f66d1c42eef75f6a1008abd6850f00abb0290d49bb685b4df43464c4dbf57d68fd4551f2a77bb2f375fd0a342b73cfd54d17c791f01ea43ce02683c8703e3a33 WHIRLPOOL 0bf32ca28b1f858caf99cb633ae4c3b863e53f8cb4b3b1703b454117e2eea2563d34b08c4ac920afb63e45c4717ba7628730a428df76f56818fe10cf336c4185 |
23 |
+DIST libnl-3.2.28-rc1.tar.gz 942021 SHA256 ef1ca7558d8426b53ebc090c19c53f3feb78d7e6a78bfc0f0ea1561ea4642357 SHA512 1897ca9de7ce9652bee7fcce1c2cb037a5394f11e3d5a82bbe3af036ad0d9339c4b8ca293f0fddb44b5facb69c379818a48d40c7b36ef1be43be906eb2f9a553 WHIRLPOOL d12d98172e79b7e1ee09c95233aca8d2af0781b51eecd218e8f09eaebd173606b3680a4dd752caead078e738a5457a4e77feed89b47c265c2f67e5b8c06c67af |
24 |
|
25 |
diff --git a/dev-libs/libnl/libnl-3.2.28_rc1.ebuild b/dev-libs/libnl/libnl-3.2.28_rc1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..b592205 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/libnl/libnl-3.2.28_rc1.ebuild |
30 |
@@ -0,0 +1,108 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
37 |
+DISTUTILS_OPTIONAL=1 |
38 |
+inherit distutils-r1 eutils libtool multilib multilib-minimal |
39 |
+ |
40 |
+LIBNL_P=${P/_/-} |
41 |
+LIBNL_DIR=${PV/_/} |
42 |
+LIBNL_DIR=${LIBNL_DIR//./_} |
43 |
+ |
44 |
+DESCRIPTION="A collection of libraries providing APIs to netlink protocol based Linux kernel interfaces" |
45 |
+HOMEPAGE="http://www.infradead.org/~tgr/libnl/ https://github.com/thom311/libnl" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/thom311/${PN}/releases/download/${PN}${LIBNL_DIR}/${P/_rc/-rc}.tar.gz |
48 |
+" |
49 |
+LICENSE="LGPL-2.1 utils? ( GPL-2 )" |
50 |
+SLOT="3" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux" |
52 |
+IUSE="static-libs python utils" |
53 |
+ |
54 |
+RDEPEND="python? ( ${PYTHON_DEPS} ) |
55 |
+ abi_x86_32? ( |
56 |
+ !<=app-emulation/emul-linux-x86-baselibs-20140508-r5 |
57 |
+ !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
58 |
+ )" |
59 |
+DEPEND="${RDEPEND} |
60 |
+ python? ( dev-lang/swig ) |
61 |
+ sys-devel/flex |
62 |
+ sys-devel/bison |
63 |
+" |
64 |
+ |
65 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
66 |
+ |
67 |
+DOCS=( ChangeLog ) |
68 |
+ |
69 |
+S=${WORKDIR}/${LIBNL_P} |
70 |
+ |
71 |
+MULTILIB_WRAPPED_HEADERS=( |
72 |
+ # we do not install CLI stuff for non-native |
73 |
+ /usr/include/libnl3/netlink/cli/addr.h |
74 |
+ /usr/include/libnl3/netlink/cli/class.h |
75 |
+ /usr/include/libnl3/netlink/cli/cls.h |
76 |
+ /usr/include/libnl3/netlink/cli/ct.h |
77 |
+ /usr/include/libnl3/netlink/cli/exp.h |
78 |
+ /usr/include/libnl3/netlink/cli/link.h |
79 |
+ /usr/include/libnl3/netlink/cli/neigh.h |
80 |
+ /usr/include/libnl3/netlink/cli/qdisc.h |
81 |
+ /usr/include/libnl3/netlink/cli/route.h |
82 |
+ /usr/include/libnl3/netlink/cli/rule.h |
83 |
+ /usr/include/libnl3/netlink/cli/tc.h |
84 |
+ /usr/include/libnl3/netlink/cli/utils.h |
85 |
+) |
86 |
+ |
87 |
+PATCHES=( |
88 |
+ "${FILESDIR}"/${PN}-1.1-vlan-header.patch |
89 |
+ "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch |
90 |
+ "${FILESDIR}"/${PN}-3.2.20-cache-api.patch |
91 |
+) |
92 |
+ |
93 |
+src_prepare() { |
94 |
+ default |
95 |
+ |
96 |
+ elibtoolize |
97 |
+ |
98 |
+ if use python; then |
99 |
+ cd "${S}"/python || die |
100 |
+ distutils-r1_src_prepare |
101 |
+ fi |
102 |
+ |
103 |
+ # out-of-source build broken |
104 |
+ # https://github.com/thom311/libnl/pull/58 |
105 |
+ multilib_copy_sources |
106 |
+} |
107 |
+ |
108 |
+multilib_src_configure() { |
109 |
+ econf \ |
110 |
+ --disable-silent-rules \ |
111 |
+ $(use_enable static-libs static) \ |
112 |
+ $(multilib_native_use_enable utils cli) |
113 |
+} |
114 |
+ |
115 |
+multilib_src_compile() { |
116 |
+ default |
117 |
+ |
118 |
+ if multilib_is_native_abi && use python; then |
119 |
+ cd python || die |
120 |
+ distutils-r1_src_compile |
121 |
+ fi |
122 |
+} |
123 |
+ |
124 |
+multilib_src_install() { |
125 |
+ emake DESTDIR="${D}" install |
126 |
+ |
127 |
+ if multilib_is_native_abi && use python; then |
128 |
+ # Unset DOCS= since distutils-r1.eclass interferes |
129 |
+ local DOCS=() |
130 |
+ cd python || die |
131 |
+ distutils-r1_src_install |
132 |
+ fi |
133 |
+} |
134 |
+ |
135 |
+multilib_src_install_all() { |
136 |
+ einstalldocs |
137 |
+ prune_libtool_files --modules |
138 |
+} |