Gentoo Archives: gentoo-commits

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
Date: Thu, 22 Nov 2012 21:06:37
Message-Id: 1353618360.a4e65e5df962c71a8d6120fe41382fe0d808266a.SwifT@gentoo
1 commit: a4e65e5df962c71a8d6120fe41382fe0d808266a
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Thu Nov 22 21:06:00 2012 +0000
4 Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
5 CommitDate: Thu Nov 22 21:06:00 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=a4e65e5d
7
8 Now in main tree
9
10 ---
11 sys-libs/libselinux/ChangeLog | 399 -----------------------
12 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild | 106 ------
13 sys-libs/libselinux/metadata.xml | 10 -
14 3 files changed, 0 insertions(+), 515 deletions(-)
15
16 diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
17 deleted file mode 100644
18 index 52ba7b9..0000000
19 --- a/sys-libs/libselinux/ChangeLog
20 +++ /dev/null
21 @@ -1,399 +0,0 @@
22 -# ChangeLog for sys-libs/libselinux
23 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
24 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.88 2012/10/13 16:42:25 swift Exp $
25 -
26 - 28 Oct 2012; <swift@g.o> libselinux-2.1.12-r1.ebuild:
27 - Adding support for static-libs
28 -
29 - 28 Oct 2012; <swift@g.o> libselinux-2.1.12-r1.ebuild:
30 - Adding static-libs IUSE and pass it to libpcre (bug #436752)
31 -
32 -*libselinux-2.1.12-r1 (19 Oct 2012)
33 -
34 - 19 Oct 2012; <swift@g.o> +libselinux-2.1.12-r1.ebuild, +metadata.xml:
35 - Adding Requires.private towards libpcre
36 -
37 - 13 Oct 2012; <swift@g.o> libselinux-2.1.12.ebuild:
38 - Supporting user-provided patches using epatch_user
39 -
40 -*libselinux-2.1.12 (09 Oct 2012)
41 -*libselinux-2.1.9-r3 (09 Oct 2012)
42 -
43 - 09 Oct 2012; <swift@g.o> +libselinux-2.1.9-r3.ebuild,
44 - +files/libselinux-2.1.9-support_ruby19.patch, +libselinux-2.1.12.ebuild,
45 - +files/libselinux-2.1.12-mountsys.patch:
46 - Introducing upstream version and fix for ruby19
47 -
48 - 06 Oct 2012; <swift@g.o> libselinux-2.1.9-r2.ebuild:
49 - Stabilize
50 -
51 - 03 Oct 2012; Mike Frysinger <vapier@g.o> libselinux-2.1.9-r2.ebuild:
52 - Fix /usr/lib handling in utils subdir too.
53 -
54 -*libselinux-2.1.9-r2 (08 Sep 2012)
55 -
56 - 08 Sep 2012; <swift@g.o> +libselinux-2.1.9-r2.ebuild:
57 - Fix bugs #429456 and #417303
58 -
59 - 06 Aug 2012; Patrick Lauer <patrick@g.o> libselinux-2.1.9-r1.ebuild:
60 - Restricting python ABIs that don't work
61 -
62 - 10 Jul 2012; <swift@g.o> libselinux-2.1.9-r1.ebuild:
63 - Stabilization
64 -
65 - 26 Jun 2012; Mike Gilbert <floppym@g.o> libselinux-2.1.9-r1.ebuild,
66 - libselinux-2.1.9.ebuild:
67 - Restrict pypy per Arfrever.
68 -
69 - 13 May 2012; <swift@g.o> -libselinux-2.1.0.ebuild:
70 - Removing obsoleted ebuild
71 -
72 -*libselinux-2.1.9-r1 (13 May 2012)
73 -
74 - 13 May 2012; <swift@g.o> +libselinux-2.1.9-r1.ebuild,
75 - +files/libselinux-2.1.9-mountsys.patch:
76 - Mount /sys before trying to mount /sys/fs/selinux from within the policy load
77 - functions, bug #414779
78 -
79 - 29 Apr 2012; <swift@g.o> libselinux-2.1.9.ebuild:
80 - Stabilization
81 -
82 -*libselinux-2.1.9 (31 Mar 2012)
83 -
84 - 31 Mar 2012; <swift@g.o> +libselinux-2.1.9.ebuild:
85 - Bump to version 2.1.9
86 -
87 - 12 Nov 2011; <swift@g.o> -libselinux-2.0.94.ebuild,
88 - -libselinux-2.0.98.ebuild:
89 - Remove deprecated ebuilds
90 -
91 - 23 Oct 2011; <swift@g.o> libselinux-2.1.0.ebuild:
92 - Stabilization (tracker #384231)
93 -
94 - 12 Aug 2011; Anthony G. Basile <blueness@g.o>
95 - -libselinux-2.0.71.ebuild, -libselinux-2.0.85.ebuild,
96 - -files/libselinux-2.0.85-headers.patch, -files/compat.py:
97 - Removed deprecated versions
98 -
99 -*libselinux-2.1.0 (03 Aug 2011)
100 -
101 - 03 Aug 2011; Anthony G. Basile <blueness@g.o>
102 - +libselinux-2.1.0.ebuild:
103 - Bump to 20110727 SELinux userspace release
104 -
105 -*libselinux-2.0.98 (15 Jul 2011)
106 -
107 - 15 Jul 2011; Anthony G. Basile <blueness@g.o>
108 - +libselinux-2.0.98.ebuild:
109 - Bump to 2.0.98 - proxy for SwifT
110 -
111 - 28 May 2011; Anthony G. Basile <blueness@g.o>
112 - libselinux-2.0.94.ebuild:
113 - Stable amd64 x86
114 -
115 - 13 Feb 2011; Anthony G. Basile <blueness@g.o> metadata.xml:
116 - Updated metadata.xml to reflect new selinux herd.
117 -
118 - 06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
119 - libselinux-2.0.94.ebuild:
120 - Add "python" USE flag.
121 -
122 - 05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
123 - libselinux-2.0.94.ebuild:
124 - Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
125 -
126 -*libselinux-2.0.94 (05 Feb 2011)
127 -
128 - 05 Feb 2011; Anthony G. Basile <blueness@g.o>
129 - +libselinux-2.0.94.ebuild:
130 - New upstream release.
131 -
132 - 29 Sep 2010; Mike Frysinger <vapier@g.o> libselinux-2.0.85.ebuild,
133 - +files/libselinux-2.0.85-headers.patch:
134 - Fix by Chris Richards for building with glibc-2.12 #338302.
135 -
136 - 16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
137 - libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
138 - Delete calls to deprecated python_version().
139 -
140 - 02 Aug 2009; Chris PeBenito <pebenito@g.o>
141 - libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
142 - Add python_need_rebuild.
143 -
144 -*libselinux-2.0.85 (02 Aug 2009)
145 -
146 - 02 Aug 2009; Chris PeBenito <pebenito@g.o>
147 - +libselinux-2.0.85.ebuild:
148 - New upstream release.
149 -
150 - 18 Jul 2009; Chris PeBenito <pebenito@g.o>
151 - -libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
152 - Mark stable. Remove old ebuilds.
153 -
154 -*libselinux-2.0.71 (03 Oct 2008)
155 -
156 - 03 Oct 2008; Chris PeBenito <pebenito@g.o>
157 - +libselinux-2.0.71.ebuild:
158 - Initial commit of 2.0 libselinux.
159 -
160 - 29 May 2008; Ali Polatel <hawking@g.o> libselinux-1.34.14.ebuild:
161 - python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
162 -
163 - 13 May 2008; Chris PeBenito <pebenito@g.o>
164 - -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
165 - -libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
166 - libselinux-1.34.14.ebuild:
167 - Mark 1.34.14 stable, clear old ebuilds.
168 -
169 - 11 May 2008; Chris PeBenito <pebenito@g.o>
170 - libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
171 - libselinux-1.34.14.ebuild:
172 - Fix bug #221501.
173 -
174 -*libselinux-1.34.14 (29 Jan 2008)
175 -
176 - 29 Jan 2008; Chris PeBenito <pebenito@g.o>
177 - +libselinux-1.34.14.ebuild:
178 - New upstream bugfix release.
179 -
180 -*libselinux-1.34.13 (18 Oct 2007)
181 -
182 - 18 Oct 2007; Chris PeBenito <pebenito@g.o>
183 - +libselinux-1.34.13.ebuild:
184 - New upstream release.
185 -
186 - 04 Jun 2007; Chris PeBenito <pebenito@g.o>
187 - libselinux-1.34.0.ebuild:
188 - Mark stable.
189 -
190 - 16 Feb 2007; Stephen Bennett <spb@g.o> libselinux-1.34.0.ebuild:
191 - Add missing swig depend. Bug #167007
192 -
193 -*libselinux-1.34.0 (15 Feb 2007)
194 -
195 - 15 Feb 2007; Chris PeBenito <pebenito@g.o>
196 - +libselinux-1.34.0.ebuild:
197 - New upstream release.
198 -
199 - 23 Oct 2006; Chris PeBenito <pebenito@g.o>
200 - libselinux-1.30.29.ebuild:
201 - Fix depend for glibc
202 -
203 - 09 Oct 2006; Chris PeBenito <pebenito@g.o>
204 - libselinux-1.30.29.ebuild:
205 - Stable to make repoman happy.
206 -
207 -*libselinux-1.30.29 (05 Oct 2006)
208 -
209 - 05 Oct 2006; Chris PeBenito <pebenito@g.o>
210 - +libselinux-1.30.29.ebuild:
211 - Add SVN snapshot.
212 -
213 - 31 Jul 2006; Chris PeBenito <pebenito@g.o> libselinux-1.30.ebuild:
214 - Mark stable, long overdue.
215 -
216 - 07 Apr 2006; Chris PeBenito <pebenito@g.o> libselinux-1.30.ebuild:
217 - Split python wrapper compile into a separate emake to ensure the main
218 - library is built before trying to build the wrapper. Fixes bug #129074.
219 -
220 - 22 Mar 2006; Chris PeBenito <pebenito@g.o> -libselinux-1.24.ebuild,
221 - -libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
222 - Mark 1.28-r1 stable, clean out old ebuilds.
223 -
224 -*libselinux-1.30 (18 Mar 2006)
225 -
226 - 18 Mar 2006; Chris PeBenito <pebenito@g.o> +libselinux-1.30.ebuild:
227 - New upstream release.
228 -
229 - 22 Feb 2006; Stephen Bennett <spb@g.o> libselinux-1.28.ebuild:
230 - Alpha stable
231 -
232 -*libselinux-1.28-r1 (20 Feb 2006)
233 -
234 - 20 Feb 2006; Chris PeBenito <pebenito@g.o> +files/compat.py,
235 - +libselinux-1.28-r1.ebuild:
236 - Add python-selinux compatability aliases to swig wrapper.
237 -
238 - 19 Feb 2006; Joshua Kinard <kumba@g.o> libselinux-1.28.ebuild:
239 - Marked stable on mips.
240 -
241 - 09 Feb 2006; Chris PeBenito <pebenito@g.o> libselinux-1.28.ebuild:
242 - Move python_version out of global scope.
243 -
244 - 29 Jan 2006; Chris PeBenito <pebenito@g.o> libselinux-1.28.ebuild:
245 - Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
246 - hopefully fix #119271.
247 -
248 - 17 Jan 2006; Chris PeBenito <pebenito@g.o> libselinux-1.28.ebuild:
249 - Mark stable, x86, amd64, ppc, sparc.
250 -
251 - 14 Jan 2006; Stephen Bennett <spb@g.o> libselinux-1.28.ebuild:
252 - Added ~alpha
253 -
254 - 15 Dec 2005; Chris PeBenito <pebenito@g.o> libselinux-1.28.ebuild:
255 - Tighten up versioning to try to prevent mismatch problems as seen in #112348.
256 -
257 -*libselinux-1.28 (09 Dec 2005)
258 -
259 - 09 Dec 2005; Chris PeBenito <pebenito@g.o>
260 - -files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
261 - +libselinux-1.28.ebuild:
262 - New upstream release.
263 -
264 - 09 Sep 2005; Chris PeBenito <pebenito@g.o> libselinux-1.24.ebuild:
265 - Mark stable.
266 -
267 -*libselinux-1.24 (25 Jun 2005)
268 -
269 - 25 Jun 2005; Chris PeBenito <pebenito@g.o> -libselinux-1.20.ebuild,
270 - -libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
271 - New upstream release.
272 -
273 - 13 May 2005; Chris PeBenito <pebenito@g.o>
274 - libselinux-1.22-r1.ebuild:
275 - Mark stable.
276 -
277 - 10 May 2005; Stephen Bennett <spb@g.o> libselinux-1.22.ebuild:
278 - mips stable
279 -
280 -*libselinux-1.22-r1 (08 May 2005)
281 -
282 - 08 May 2005; Chris PeBenito <pebenito@g.o>
283 - +files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
284 - A couple fixes, including one for bug #91921.
285 -
286 - 01 May 2005; Stephen Bennett <spb@g.o> libselinux-1.22.ebuild:
287 - Mark ~mips.
288 -
289 - 01 May 2005; Chris PeBenito <pebenito@g.o> libselinux-1.22.ebuild:
290 - Mark stable.
291 -
292 -*libselinux-1.22 (13 Mar 2005)
293 -
294 - 13 Mar 2005; Chris PeBenito <pebenito@g.o> +libselinux-1.22.ebuild:
295 - New upstream release.
296 -
297 - 13 Feb 2005; Chris PeBenito <pebenito@g.o> libselinux-1.20.ebuild:
298 - Mark stable.
299 -
300 -*libselinux-1.20 (07 Jan 2005)
301 -
302 - 07 Jan 2005; Chris PeBenito <pebenito@g.o> libselinux-1.18.ebuild,
303 - +libselinux-1.20.ebuild:
304 - New upstream release. Mark 1.18 stable.
305 -
306 - 03 Jan 2005; Chris PeBenito <pebenito@g.o> libselinux-1.16.ebuild,
307 - libselinux-1.18.ebuild:
308 - Switch to libc virtual for DEP since uclibc now has xattr support.
309 -
310 -*libselinux-1.18 (14 Nov 2004)
311 -
312 - 14 Nov 2004; Chris PeBenito <pebenito@g.o>
313 - +files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
314 - New upstream release.
315 -
316 -*libselinux-1.16 (07 Sep 2004)
317 -
318 - 07 Sep 2004; Chris PeBenito <pebenito@g.o> +libselinux-1.16.ebuild:
319 - New upstream release.
320 -
321 -*libselinux-1.14 (02 Jul 2004)
322 -
323 - 02 Jul 2004; Chris PeBenito <pebenito@g.o> +libselinux-1.14.ebuild:
324 - New upstream version.
325 -
326 - 11 Jun 2004; Chris PeBenito <pebenito@g.o> -libselinux-1.10.ebuild,
327 - libselinux-1.12.ebuild:
328 - Mark stable
329 -
330 -*libselinux-1.12 (14 May 2004)
331 -
332 - 14 May 2004; Chris PeBenito <pebenito@g.o> +libselinux-1.12.ebuild:
333 - New upstream release.
334 -
335 -*libselinux-1.10 (17 Apr 2004)
336 -
337 - 17 Apr 2004; Chris PeBenito <pebenito@g.o> +libselinux-1.10.ebuild:
338 - New upstream version.
339 -
340 - 08 Apr 2004; Chris PeBenito <pebenito@g.o> libselinux-1.8.ebuild:
341 - Mark stable for 2004.1
342 -
343 -*libselinux-1.8 (12 Mar 2004)
344 -
345 - 12 Mar 2004; Chris PeBenito <pebenito@g.o> libselinux-1.8.ebuild:
346 - New upstream release.
347 -
348 -*libselinux-1.6 (24 Feb 2004)
349 -
350 - 24 Feb 2004; Chris PeBenito <pebenito@g.o> libselinux-1.6.ebuild:
351 - New upstream release.
352 -
353 - 16 Dec 2003; Chris PeBenito <pebenito@g.o> libselinux-1.4.ebuild:
354 - Mark stable.
355 -
356 -*libselinux-1.4 (06 Dec 2003)
357 -
358 - 06 Dec 2003; Chris PeBenito <pebenito@g.o> libselinux-1.4.ebuild:
359 - New upstream version.
360 -
361 - 29 Oct 2003; Joshua Brindle <method@g.o> libselinux-1.2-r2.ebuild:
362 - added sparc
363 -
364 -*libselinux-1.2-r2 (20 Oct 2003)
365 -
366 - 20 Oct 2003; Chris PeBenito <pebenito@g.o> libselinux-1.2-r2.ebuild,
367 - files/libselinux-1.2-attr.diff:
368 - Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
369 -
370 -*libselinux-1.2-r1 (07 Oct 2003)
371 -
372 - 07 Oct 2003; Chris PeBenito <pebenito@g.o> libselinux-1.2-r1.ebuild,
373 - files/libselinux-1.2-gentoo.diff:
374 - Move libraries to /lib, to fix problems with having a separate /usr during
375 - booting.
376 -
377 -*libselinux-1.2 (03 Oct 2003)
378 -
379 - 03 Oct 2003; Chris PeBenito <pebenito@g.o> libselinux-1.2.ebuild,
380 - files/libselinux-1.2-const.diff:
381 - New upstream version.
382 -
383 - 22 Sep 2003; <paul@g.o> metadata.xml:
384 - Fix metadata.xml
385 -
386 - 21 Aug 2003; Chris PeBenito <pebenito@g.o> libselinux-1.1-r1.ebuild:
387 - Add a dep for portage. The newer versions have labelling support for the old
388 - API.
389 -
390 - 18 Aug 2003; Chris PeBenito <pebenito@g.o> libselinux-1.1-r1.ebuild,
391 - metadata.xml:
392 - Fix license, this is public-domain, not GPL-2. Use package description in RPM
393 - spec file as metadata.xml long description.
394 -
395 - 15 Aug 2003; Chris PeBenito <pebenito@g.o> libselinux-1.0.ebuild,
396 - libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
397 - Mark stable
398 -
399 -*libselinux-1.1-r1 (14 Aug 2003)
400 -
401 - 14 Aug 2003; Chris PeBenito <pebenito@g.o> libselinux-1.1-r1.ebuild,
402 - libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
403 - Add fix for a random linking problem that causes libselinux to work
404 - incorrectly.
405 -
406 -*libselinux-1.1 (14 Aug 2003)
407 -
408 - 14 Aug 2003; Chris PeBenito <pebenito@g.o> libselinux-1.1.ebuild,
409 - files/libselinux-1.1-gentoo.diff:
410 - New upstream version
411 -
412 - 04 Aug 2003; Chris PeBenito <pebenito@g.o>
413 - files/libselinux-1.0-gentoo.diff:
414 - Add on a NSA nullbyte patch to the gentoo patch
415 -
416 -*libselinux-1.0 (03 Aug 2003)
417 -
418 - 03 Aug 2003; Chris PeBenito <pebenito@g.o> libselinux-1.0.ebuild,
419 - metadata.xml, files/libselinux-1.0-gentoo.diff:
420 - Initial commit
421
422 diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
423 deleted file mode 100644
424 index a2ef9f3..0000000
425 --- a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
426 +++ /dev/null
427 @@ -1,106 +0,0 @@
428 -# Copyright 1999-2012 Gentoo Foundation
429 -# Distributed under the terms of the GNU General Public License v2
430 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.1.12.ebuild,v 1.2 2012/10/13 16:42:25 swift Exp $
431 -
432 -EAPI="4"
433 -PYTHON_DEPEND="python? *"
434 -SUPPORT_PYTHON_ABIS="1"
435 -RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
436 -
437 -inherit multilib python toolchain-funcs eutils
438 -
439 -SEPOL_VER="2.1.8"
440 -
441 -DESCRIPTION="SELinux userland library"
442 -HOMEPAGE="http://userspace.selinuxproject.org"
443 -SRC_URI="http://userspace.selinuxproject.org/releases/20120924/${P}.tar.gz
444 - http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r1.tar.gz"
445 -
446 -LICENSE="public-domain"
447 -SLOT="0"
448 -KEYWORDS="~amd64 ~x86"
449 -IUSE="python ruby static-libs"
450 -
451 -RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
452 - >=dev-libs/libpcre-8.30-r2[static-libs?]
453 - ruby? ( dev-lang/ruby )"
454 -DEPEND="${RDEPEND}
455 - virtual/pkgconfig
456 - ruby? ( dev-lang/swig )
457 - python? ( dev-lang/swig )"
458 -
459 -S="${WORKDIR}/${P}"
460 -
461 -pkg_setup() {
462 - if use python; then
463 - python_pkg_setup
464 - fi
465 -}
466 -
467 -src_unpack() {
468 - default
469 -}
470 -
471 -src_prepare() {
472 - # fix up paths for multilib
473 - sed -i \
474 - -e "/^LIBDIR/s/lib/$(get_libdir)/" \
475 - -e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
476 - src/Makefile utils/Makefile || die
477 -
478 - EPATCH_MULTI_MSG="Applying libselinux patches ... " \
479 - EPATCH_SUFFIX="patch" \
480 - EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
481 - EPATCH_FORCE="yes" \
482 - epatch
483 -
484 - epatch_user
485 -}
486 -
487 -src_compile() {
488 - emake \
489 - AR="$(tc-getAR)" \
490 - CC="$(tc-getCC)" \
491 - LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" all || die
492 -
493 - if use python; then
494 - python_copy_sources src
495 - building() {
496 - emake CC="$(tc-getCC)" PYINC="-I$(python_get_includedir)" PYTHONLIBDIR="$(python_get_library -l)" PYPREFIX="python-$(python_get_version)" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" pywrap
497 - }
498 - python_execute_function -s --source-dir src building
499 - fi
500 -
501 - if use ruby; then
502 - emake CC="$(tc-getCC)" rubywrap || die
503 - fi
504 -}
505 -
506 -src_install() {
507 - emake DESTDIR="${D}" install || die
508 -
509 - if use python; then
510 - installation() {
511 - emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap
512 - }
513 - python_execute_function -s --source-dir src installation
514 - fi
515 -
516 - if use ruby; then
517 - emake DESTDIR="${D}" install-rubywrap || die
518 - fi
519 -
520 - use static-libs || rm "${D}"/usr/lib*/*.a
521 -}
522 -
523 -pkg_postinst() {
524 - if use python; then
525 - python_mod_optimize selinux
526 - fi
527 -}
528 -
529 -pkg_postrm() {
530 - if use python; then
531 - python_mod_cleanup selinux
532 - fi
533 -}
534
535 diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml
536 deleted file mode 100644
537 index 0c7f186..0000000
538 --- a/sys-libs/libselinux/metadata.xml
539 +++ /dev/null
540 @@ -1,10 +0,0 @@
541 -<?xml version="1.0" encoding="UTF-8"?>
542 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
543 -<pkgmetadata>
544 - <herd>selinux</herd>
545 - <longdescription>
546 - Libselinux provides an API for SELinux applications to get and set
547 - process and file security contexts and to obtain security policy
548 - decisions. Required for any applications that use the SELinux API.
549 - </longdescription>
550 -</pkgmetadata>