Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libnl: libnl-3.2.24_rc1-r1.ebuild ChangeLog libnl-3.2.24_rc1.ebuild
Date: Fri, 03 Jan 2014 06:36:04
Message-Id: 20140103063600.667902004E@flycatcher.gentoo.org
1 jer 14/01/03 06:36:00
2
3 Modified: ChangeLog
4 Added: libnl-3.2.24_rc1-r1.ebuild
5 Removed: libnl-3.2.24_rc1.ebuild
6 Log:
7 Add upstream patch (bug #494890 by Alex Barker).
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A792A613)
10
11 Revision Changes Path
12 1.200 dev-libs/libnl/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.200&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?rev=1.200&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/ChangeLog?r1=1.199&r2=1.200
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v
21 retrieving revision 1.199
22 retrieving revision 1.200
23 diff -u -r1.199 -r1.200
24 --- ChangeLog 3 Jan 2014 04:26:29 -0000 1.199
25 +++ ChangeLog 3 Jan 2014 06:36:00 -0000 1.200
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/libnl
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.199 2014/01/03 04:26:29 mattst88 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.200 2014/01/03 06:36:00 jer Exp $
31 +
32 +*libnl-3.2.24_rc1-r1 (03 Jan 2014)
33 +
34 + 03 Jan 2014; Jeroen Roovers <jer@g.o> -libnl-3.2.24_rc1.ebuild,
35 + +libnl-3.2.24_rc1-r1.ebuild, +files/libnl-3.2.24_rc1-link_policy.patch:
36 + Add upstream patch (bug #494890 by Alex Barker).
37
38 03 Jan 2014; Matt Turner <mattst88@g.o> libnl-3.2.23.ebuild:
39 alpha stable, bug 494836.
40
41
42
43 1.1 dev-libs/libnl/libnl-3.2.24_rc1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.24_rc1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libnl/libnl-3.2.24_rc1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libnl-3.2.24_rc1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 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.24_rc1-r1.ebuild,v 1.1 2014/01/03 06:36:00 jer Exp $
53
54 EAPI=5
55 PYTHON_COMPAT=( python2_{6,7} python3_{2,3} )
56 DISTUTILS_OPTIONAL=1
57 inherit distutils-r1 eutils libtool multilib
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 http://www.infradead.org/~tgr/${PN}/files/${NL_P}.tar.gz
65 "
66 LICENSE="LGPL-2.1 utils? ( GPL-2 )"
67 SLOT="3"
68 KEYWORDS="~alpha ~amd64 ~arm ~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 DEPEND="${RDEPEND}
73 python? ( dev-lang/swig )
74 sys-devel/flex
75 sys-devel/bison
76 "
77
78 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
79
80 DOCS=( ChangeLog )
81
82 S=${WORKDIR}/${NL_P}
83
84 src_prepare() {
85 epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch
86 epatch "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch
87 epatch "${FILESDIR}"/${PN}-3.2.20-cache-api.patch
88 epatch "${FILESDIR}"/${PN}-3.2.23-python.patch
89 epatch "${FILESDIR}"/${PN}-3.2.24_rc1-link_policy.patch
90
91 elibtoolize
92
93 if use python; then
94 cd "${S}"/python || die
95 distutils-r1_src_prepare
96 fi
97 }
98
99 src_configure() {
100 econf \
101 --disable-silent-rules \
102 $(use_enable static-libs static) \
103 $(use_enable utils cli)
104
105 if use python; then
106 cd "${S}"/python || die
107 distutils-r1_src_configure
108 fi
109 }
110
111 src_compile() {
112 default
113
114 if use python; then
115 cd "${S}"/python || die
116 distutils-r1_src_compile
117 fi
118 }
119
120 src_install() {
121 default
122
123 if use python; then
124 # Unset DOCS= since distutils-r1.eclass interferes
125 DOCS=''
126 cd "${S}"/python || die
127 distutils-r1_src_install
128 fi
129
130 prune_libtool_files $(usex static-libs --modules --all)
131 }