Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:master commit in: sys-apps/policycoreutils/
Date: Thu, 30 Jun 2011 10:37:30
Message-Id: cca6a7806913dc0aec7efc2281b7ac31e6cb8fe5.blueness@gentoo
1 commit: cca6a7806913dc0aec7efc2281b7ac31e6cb8fe5
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 30 10:37:09 2011 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 10:37:09 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=cca6a780
7
8 sys-apps/policycoreutils: -r1 moved to the tree
9
10 (Portage version: 2.1.9.42/git/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0xD0455535)
11
12 ---
13 sys-apps/policycoreutils/ChangeLog | 420 --------------------
14 sys-apps/policycoreutils/metadata.xml | 17 -
15 .../policycoreutils-2.0.82-r1.ebuild | 97 -----
16 3 files changed, 0 insertions(+), 534 deletions(-)
17
18 diff --git a/sys-apps/policycoreutils/ChangeLog b/sys-apps/policycoreutils/ChangeLog
19 deleted file mode 100644
20 index 0fb5356..0000000
21 --- a/sys-apps/policycoreutils/ChangeLog
22 +++ /dev/null
23 @@ -1,420 +0,0 @@
24 -# ChangeLog for sys-apps/policycoreutils
25 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.84 2011/06/16 01:36:00 blueness Exp $
27 -
28 -*policycoreutils-2.0.82-r1 (29 Jun 2011)
29 -
30 - 29 Jun 2011; <swift@g.o> +policycoreutils-2.0.82-r1.ebuild,
31 - +metadata.xml:
32 - Overwrite invalid .po files with valid ones, fixes bug #372807
33 -
34 - 16 Jun 2011; Anthony G. Basile <blueness@g.o>
35 - policycoreutils-2.0.82.ebuild:
36 - Drop use_nls dependency on gettext. Its mandatory. See bug #299681.
37 - Also put gettext in COMMON_DEPS, it is more than a RDEPEND.
38 -
39 - 28 May 2011; Anthony G. Basile <blueness@g.o>
40 - policycoreutils-2.0.82.ebuild:
41 - Stable amd64 x86
42 -
43 - 16 Apr 2011; Anthony G. Basile <blueness@g.o> metadata.xml:
44 - Updated metadata info.
45 -
46 - 08 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
47 - policycoreutils-2.0.82.ebuild:
48 - Set SUPPORT_PYTHON_ABIS (bug #353762). Fix dependencies. Fix installation
49 - with FEATURES="multilib-strict".
50 -
51 -*policycoreutils-2.0.82 (05 Feb 2011)
52 -
53 - 05 Feb 2011; Anthony G. Basile <blueness@g.o>
54 - +policycoreutils-2.0.82.ebuild:
55 - New upstream release.
56 -
57 -*policycoreutils-2.0.69-r2 (05 Feb 2011)
58 -
59 - 05 Feb 2011; Anthony G. Basile <blueness@g.o>
60 - +policycoreutils-2.0.69-r2.ebuild,
61 - +files/policycoreutils-2.0.69-setfiles.diff:
62 - Fixed bug #300613
63 -
64 - 04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
65 - policycoreutils-2.0.55.ebuild, policycoreutils-2.0.69.ebuild,
66 - policycoreutils-2.0.69-r1.ebuild:
67 - Delete calls to deprecated python_version().
68 -
69 -*policycoreutils-2.0.69-r1 (20 Sep 2009)
70 -
71 - 20 Sep 2009; Chris PeBenito <pebenito@g.o>
72 - +policycoreutils-2.0.69-r1.ebuild:
73 - Update rlpkg for ext4 and btrfs.
74 -
75 - 14 Sep 2009; Chris PeBenito <pebenito@g.o>
76 - policycoreutils-2.0.69.ebuild:
77 - Fix libsemanage DEP.
78 -
79 - 02 Aug 2009; Chris PeBenito <pebenito@g.o>
80 - policycoreutils-2.0.55.ebuild, policycoreutils-2.0.69.ebuild:
81 - Add python_need_rebuild.
82 -
83 -*policycoreutils-2.0.69 (02 Aug 2009)
84 -
85 - 02 Aug 2009; Chris PeBenito <pebenito@g.o>
86 - +policycoreutils-2.0.69.ebuild:
87 - New upstream release.
88 -
89 - 18 Jul 2009; Chris PeBenito <pebenito@g.o>
90 - -policycoreutils-1.34.15.ebuild, policycoreutils-2.0.55.ebuild:
91 - Mark stable. Remove old ebuilds.
92 -
93 -*policycoreutils-2.0.55 (03 Oct 2008)
94 -
95 - 03 Oct 2008; Chris PeBenito <pebenito@g.o>
96 - +policycoreutils-2.0.55.ebuild:
97 - Initial commit of policycoreutils 2.0.
98 -
99 - 29 May 2008; Ali Polatel <hawking@g.o>
100 - policycoreutils-1.34.15.ebuild:
101 - python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
102 -
103 - 26 May 2008; Chris PeBenito <pebenito@g.o>
104 - policycoreutils-1.34.15.ebuild:
105 - Fix libsemanage dependency.
106 -
107 - 13 May 2008; Chris PeBenito <pebenito@g.o>
108 - -files/policycoreutils-1.28-quietlp.diff,
109 - -files/policycoreutils-1.32-quietlp.diff,
110 - -files/policycoreutils-unsigned-char-ppc.diff,
111 - -policycoreutils-1.28.ebuild, -policycoreutils-1.30-r1.ebuild,
112 - -policycoreutils-1.34.1.ebuild, -policycoreutils-1.34.11.ebuild,
113 - policycoreutils-1.34.15.ebuild:
114 - Mark 1.34.15 stable, clear old ebuilds.
115 -
116 -*policycoreutils-1.34.15 (29 Jan 2008)
117 -
118 - 29 Jan 2008; Chris PeBenito <pebenito@g.o>
119 - +policycoreutils-1.34.15.ebuild:
120 - New upstream bugfix release.
121 -
122 - 19 Oct 2007; Chris PeBenito <pebenito@g.o>
123 - policycoreutils-1.34.11.ebuild:
124 - Fix quoting in unpack.
125 -
126 -*policycoreutils-1.34.11 (18 Oct 2007)
127 -
128 - 18 Oct 2007; Chris PeBenito <pebenito@g.o>
129 - +policycoreutils-1.34.11.ebuild:
130 - New upstream release.
131 -
132 - 04 Jun 2007; Chris PeBenito <pebenito@g.o>
133 - policycoreutils-1.34.1.ebuild:
134 - Mark stable.
135 -
136 -*policycoreutils-1.34.1 (15 Feb 2007)
137 -
138 - 15 Feb 2007; Chris PeBenito <pebenito@g.o>
139 - +policycoreutils-1.34.1.ebuild:
140 - New upstream release.
141 -
142 - 24 Oct 2006; Chris PeBenito <pebenito@g.o>
143 - policycoreutils-1.30.30.ebuild:
144 - Fix glibc handling.
145 -
146 - 09 Oct 2006; Chris PeBenito <pebenito@g.o>
147 - policycoreutils-1.30.30.ebuild:
148 - Stable to make repoman happy.
149 -
150 -*policycoreutils-1.30.30 (05 Oct 2006)
151 -
152 - 05 Oct 2006; Chris PeBenito <pebenito@g.o>
153 - +files/policycoreutils-1.32-quietlp.diff, +policycoreutils-1.30.30.ebuild:
154 - Add SVN snapshot and updated extras in preparation for reference policy.
155 -
156 - 31 Jul 2006; Chris PeBenito <pebenito@g.o>
157 - policycoreutils-1.30-r1.ebuild:
158 - Mark stable, long overdue.
159 -
160 -*policycoreutils-1.30-r1 (28 Mar 2006)
161 -
162 - 28 Mar 2006; Chris PeBenito <pebenito@g.o>
163 - -policycoreutils-1.30.ebuild, +policycoreutils-1.30-r1.ebuild:
164 - Fix install location of python site packages.
165 -
166 - 22 Feb 2006; Stephen Bennett <spb@g.o> policycoreutils-1.28.ebuild:
167 - Alpha stable
168 -
169 - 19 Feb 2006; Joshua Kinard <kumba@g.o> policycoreutils-1.28.ebuild:
170 - Marked stable on mips.
171 -
172 -*policycoreutils-1.30 (18 Mar 2006)
173 -
174 - 18 Mar 2006; Chris PeBenito <pebenito@g.o>
175 - +policycoreutils-1.30.ebuild:
176 - New upstream release.
177 -
178 - 05 Feb 2006; Chris PeBenito <pebenito@g.o>
179 - +files/policycoreutils-unsigned-char-ppc.diff,
180 - policycoreutils-1.28.ebuild:
181 - Add patch to fix #121689.
182 -
183 - 17 Jan 2006; Chris PeBenito <pebenito@g.o>
184 - policycoreutils-1.28.ebuild:
185 - Mark stable, x86, amd64, ppc, sparc.
186 -
187 - 14 Jan 2006; Stephen Bennett <spb@g.o> policycoreutils-1.28.ebuild:
188 - Added ~alpha
189 -
190 - 15 Dec 2005; Chris PeBenito <pebenito@g.o>
191 - policycoreutils-1.22.ebuild, policycoreutils-1.24-r2.ebuild,
192 - policycoreutils-1.28.ebuild:
193 - Tighten up versioning to try to prevent mismatch problems as seen in #112348.
194 -
195 -*policycoreutils-1.28 (09 Dec 2005)
196 -
197 - 09 Dec 2005; Chris PeBenito <pebenito@g.o>
198 - +files/policycoreutils-1.28-quietlp.diff, -policycoreutils-1.24-r1.ebuild,
199 - +policycoreutils-1.28.ebuild:
200 - New upstream release.
201 -
202 -*policycoreutils-1.24-r2 (08 Dec 2005)
203 -
204 - 08 Dec 2005; Chris PeBenito <pebenito@g.o>
205 - +policycoreutils-1.24-r2.ebuild:
206 - Add compatability symlink for genhomedircon.
207 -
208 -*policycoreutils-1.24-r1 (09 Sep 2005)
209 -
210 - 09 Sep 2005; Chris PeBenito <pebenito@g.o>
211 - +policycoreutils-1.24-r1.ebuild:
212 - Update for fixed selinuxconfig source policy path.
213 -
214 - 11 Jul 2005; Chris PeBenito <pebenito@g.o>
215 - policycoreutils-1.22.ebuild, policycoreutils-1.24.ebuild:
216 - Fix RDEPEND for building stages. Libsepol is required now.
217 -
218 -*policycoreutils-1.24 (25 Jun 2005)
219 -
220 - 25 Jun 2005; Chris PeBenito <pebenito@g.o>
221 - +files/policycoreutils-1.24-genhomedircon-quiet.diff,
222 - -policycoreutils-1.20-r1.ebuild, +policycoreutils-1.24.ebuild:
223 - New upstream release.
224 -
225 - 10 May 2005; Stephen Bennett <spb@g.o> policycoreutils-1.22.ebuild:
226 - mips stable
227 -
228 - 01 May 2005; Stephen Bennett <spb@g.o> policycoreutils-1.22.ebuild:
229 - Added ~mips.
230 -
231 - 01 May 2005; Chris PeBenito <pebenito@g.o>
232 - policycoreutils-1.22.ebuild:
233 - Mark stable.
234 -
235 -*policycoreutils-1.22 (13 Mar 2005)
236 -
237 - 13 Mar 2005; Chris PeBenito <pebenito@g.o>
238 - +files/policycoreutils-1.22-genhomedircon-quiet.diff,
239 - +policycoreutils-1.22.ebuild:
240 - New upstream release.
241 -
242 -*policycoreutils-1.20-r1 (13 Feb 2005)
243 -
244 - 13 Feb 2005; Chris PeBenito <pebenito@g.o>
245 - -policycoreutils-1.16.ebuild, +policycoreutils-1.20-r1.ebuild,
246 - -policycoreutils-1.20.ebuild:
247 - Add back some tools deleted from upstream libselinux.
248 -
249 -*policycoreutils-1.20 (07 Jan 2005)
250 -
251 - 07 Jan 2005; Chris PeBenito <pebenito@g.o>
252 - policycoreutils-1.18-r1.ebuild, +policycoreutils-1.20.ebuild:
253 - New upstream release. Mark 1.18-r1 stable.
254 -
255 -*policycoreutils-1.18-r1 (03 Jan 2005)
256 -
257 - 03 Jan 2005; Chris PeBenito <pebenito@g.o>
258 - +files/policycoreutils-nonls.diff, +policycoreutils-1.18-r1.ebuild:
259 - Make pam and nls optional for embedded systems use.
260 -
261 - 22 Nov 2004; Chris PeBenito <pebenito@g.o>
262 - policycoreutils-1.18.ebuild:
263 - Ensure a few dirs and perms during stage1 build.
264 -
265 - 15 Nov 2004; Chris PeBenito <pebenito@g.o>
266 - policycoreutils-1.18.ebuild:
267 - Fix libsepol dep.
268 -
269 -*policycoreutils-1.18 (14 Nov 2004)
270 -
271 - 14 Nov 2004; Chris PeBenito <pebenito@g.o>
272 - +policycoreutils-1.18.ebuild:
273 - New upstream release.
274 -
275 -*policycoreutils-1.16 (07 Sep 2004)
276 -
277 - 07 Sep 2004; Chris PeBenito <pebenito@g.o>
278 - +files/policycoreutils-1.16-genhomedircon-compat.diff,
279 - +policycoreutils-1.16.ebuild:
280 - New upstream release.
281 -
282 - 08 Aug 2004; Tom Martin <slarti@g.o> policycoreutils-1.12-r1.ebuild,
283 - policycoreutils-1.12-r2.ebuild, policycoreutils-1.14.ebuild,
284 - policycoreutils-1.4-r1.ebuild:
285 - Typo in DESCRIPTION: utilites -> utilities. Bug 59717.
286 -
287 - 06 Jul 2004; Chris PeBenito <pebenito@g.o>
288 - policycoreutils-1.14.ebuild:
289 - Bump extras to fix free() bug in runscript_selinux.so.
290 -
291 -*policycoreutils-1.12-r2 (06 Jul 2004)
292 -
293 - 06 Jul 2004; Chris PeBenito <pebenito@g.o>
294 - +files/runscript-selinux.diff, +policycoreutils-1.12-r2.ebuild:
295 - Fix free() error in runscript_selinux.so.
296 -
297 - 03 Jul 2004; Chris PeBenito <pebenito@g.o>
298 - policycoreutils-1.14.ebuild:
299 - Update extras.
300 -
301 -*policycoreutils-1.14 (02 Jul 2004)
302 -
303 - 02 Jul 2004; Chris PeBenito <pebenito@g.o>
304 - +files/policycoreutils-1.14-genhomedircon-compat.diff,
305 - +policycoreutils-1.14.ebuild:
306 - New upstream version.
307 -
308 -*policycoreutils-1.12-r1 (28 Jun 2004)
309 -
310 - 28 Jun 2004; Chris PeBenito <pebenito@g.o>
311 - +policycoreutils-1.12-r1.ebuild:
312 - Add toggle_bool to extras.
313 -
314 - 11 Jun 2004; Chris PeBenito <pebenito@g.o>
315 - -policycoreutils-1.10-r1.ebuild, policycoreutils-1.12.ebuild:
316 - Mark stable
317 -
318 -*policycoreutils-1.12 (14 May 2004)
319 -
320 - 14 May 2004; Chris PeBenito <pebenito@g.o>
321 - +policycoreutils-1.12.ebuild:
322 - New upstream release.
323 -
324 -*policycoreutils-1.10-r1 (28 Apr 2004)
325 -
326 - 28 Apr 2004; Chris PeBenito <pebenito@g.o>
327 - +policycoreutils-1.10-r1.ebuild, -policycoreutils-1.10.ebuild,
328 - -policycoreutils-1.8.ebuild:
329 - Update extras and mark stable.
330 -
331 -*policycoreutils-1.10 (20 Apr 2004)
332 -
333 - 08 Apr 2004; Chris PeBenito <pebenito@g.o>
334 - policycoreutils-1.4-r1.ebuild, policycoreutils-1.8.ebuild:
335 - More specific versioning for libselinux.
336 -
337 - 08 Apr 2004; Chris PeBenito <pebenito@g.o>
338 - policycoreutils-1.8.ebuild:
339 - Mark stable for 2004.1
340 -
341 - 15 Mar 2004; Chris PeBenito <pebenito@g.o>
342 - policycoreutils-1.8.ebuild:
343 - Update extras.
344 -
345 -*policycoreutils-1.8 (12 Mar 2004)
346 -
347 - 12 Mar 2004; Chris PeBenito <pebenito@g.o>
348 - policycoreutils-1.8.ebuild:
349 - New upstream release.
350 -
351 -*policycoreutils-1.6 (24 Feb 2004)
352 -
353 - 24 Feb 2004; Chris PeBenito <pebenito@g.o>
354 - policycoreutils-1.4-r1.ebuild, policycoreutils-1.6.ebuild:
355 - New upstream release. Mark 1.4-r1 stable.
356 -
357 -*policycoreutils-1.4-r1 (09 Feb 2004)
358 -
359 - 09 Feb 2004; Chris PeBenito <pebenito@g.o>
360 - policycoreutils-1.4-r1.ebuild:
361 - Move extras to mirrors, and add runscript_selinux.so.
362 -
363 - 31 Jan 2004; Chris PeBenito <pebenito@g.o> files/rlpkg:
364 - Switch to portageq from inline python. Add missing quotes for completeness.
365 -
366 - 16 Dec 2003; Chris PeBenito <pebenito@g.o>
367 - policycoreutils-1.4.ebuild:
368 - Mark stable.
369 -
370 -*policycoreutils-1.4 (06 Dec 2003)
371 -
372 - 06 Dec 2003; Chris PeBenito <pebenito@g.o>
373 - policycoreutils-1.4.ebuild:
374 - New upstream version.
375 -
376 -*policycoreutils-1.2-r2 (23 Nov 2003)
377 -
378 - 23 Nov 2003; Chris PeBenito <pebenito@g.o>
379 - policycoreutils-1.2-r2.ebuild:
380 - Bump to add /sbin/seinit.
381 -
382 - 29 Oct 2003; Joshua Brindle <method@g.o>
383 - policycoreutils-1.2-r1.ebuild:
384 - added sparc
385 -
386 -*policycoreutils-1.2-r1 (20 Oct 2003)
387 -
388 - 20 Oct 2003; Chris PeBenito <pebenito@g.o>
389 - policycoreutils-1.2-r1.ebuild:
390 - Remove unneeded -lattr linking from Makefiles.
391 -
392 - 07 Oct 2003; Chris PeBenito <pebenito@g.o>
393 - policycoreutils-1.2.ebuild:
394 - Mark stable.
395 -
396 -*policycoreutils-1.2 (03 Oct 2003)
397 -
398 - 03 Oct 2003; Chris PeBenito <pebenito@g.o>
399 - policycoreutils-1.2.ebuild, files/policycoreutils-1.2-gentoo.diff:
400 - New upstream version.
401 -
402 - 29 Sep 2003; Chris PeBenito <pebenito@g.o>
403 - policycoreutils-1.1-r1.ebuild:
404 - Add build USE flag; when asserted, only setfiles is built and merged.
405 -
406 - 22 Sep 2003; Chris PeBenito <pebenito@g.o>
407 - policycoreutils-1.1-r1.ebuild:
408 - Move selinux-base-policy RDEPEND to checkpolicy. No longer RDEPEND on
409 - checkpolicy.
410 -
411 - 22 Sep 2003; <paul@g.o> metadata.xml:
412 - Fix metadata.xml
413 -
414 - 24 Aug 2003; Chris PeBenito <pebenito@g.o>
415 - policycoreutils-1.1-r1.ebuild, policycoreutils-1.1.ebuild:
416 - Mark stable
417 -
418 -*policycoreutils-1.1-r1 (18 Aug 2003)
419 -
420 - 18 Aug 2003; Chris PeBenito <pebenito@g.o> metadata.xml,
421 - policycoreutils-1.0.ebuild, policycoreutils-1.1-r1.ebuild,
422 - files/avc_enforcing, files/avc_toggle,
423 - files/policycoreutils-1.1-setfiles.diff:
424 - Add setfiles patch for alternate root. Add avc_enforcing and avc_toggle
425 - scripts for ease of use for old API users. Use package description from RPM
426 - spec file in metadata.xml long description.
427 -
428 -*policycoreutils-1.1 (14 Aug 2003)
429 -
430 - 14 Aug 2003; Chris PeBenito <pebenito@g.o>
431 - policycoreutils-1.1.ebuild:
432 - New upstream version
433 -
434 - 10 Aug 2003; Chris PeBenito <pebenito@g.o>
435 - policycoreutils-1.0.ebuild, files/rlpkg:
436 - Add mkinitrd RDEP, add rlpkg.
437 -
438 -*policycoreutils-1.0 (03 Aug 2003)
439 -
440 - 03 Aug 2003; Chris PeBenito <pebenito@g.o> metadata.xml,
441 - policycoreutils-1.0.ebuild, files/policycoreutils-1.0-gentoo.diff:
442 - Initial commit
443 -
444
445 diff --git a/sys-apps/policycoreutils/metadata.xml b/sys-apps/policycoreutils/metadata.xml
446 deleted file mode 100644
447 index 87cddb0..0000000
448 --- a/sys-apps/policycoreutils/metadata.xml
449 +++ /dev/null
450 @@ -1,17 +0,0 @@
451 -<?xml version="1.0" encoding="UTF-8"?>
452 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
453 -<pkgmetadata>
454 - <herd>selinux</herd>
455 - <longdescription>
456 - Policycoreutils contains the policy core utilities that are required
457 - for basic operation of a SELinux system. These utilities include
458 - load_policy to load policies, setfiles to label filesystems, newrole
459 - to switch roles, and run_init to run /etc/init.d scripts in the proper
460 - context.
461 -
462 - Gentoo-specific tools include rlpkg for relabeling packages by name,
463 - avc_toggle to toggle between enforcing and permissive modes, and
464 - avc_enforcing to query the current mode of the system, enforcing or
465 - permissive.
466 - </longdescription>
467 -</pkgmetadata>
468
469 diff --git a/sys-apps/policycoreutils/policycoreutils-2.0.82-r1.ebuild b/sys-apps/policycoreutils/policycoreutils-2.0.82-r1.ebuild
470 deleted file mode 100644
471 index 627ce9a..0000000
472 --- a/sys-apps/policycoreutils/policycoreutils-2.0.82-r1.ebuild
473 +++ /dev/null
474 @@ -1,97 +0,0 @@
475 -# Copyright 1999-2011 Gentoo Foundation
476 -# Distributed under the terms of the GNU General Public License v2
477 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.0.82.ebuild,v 1.4 2011/06/16 01:33:17 blueness Exp $
478 -
479 -EAPI="2"
480 -PYTHON_DEPEND="2"
481 -PYTHON_USE_WITH="xml"
482 -SUPPORT_PYTHON_ABIS="1"
483 -RESTRICT_PYTHON_ABIS="3.* *-jython"
484 -
485 -inherit multilib python toolchain-funcs
486 -
487 -EXTRAS_VER="1.20"
488 -SEMNG_VER="2.0.45"
489 -SELNX_VER="2.0.94"
490 -SEPOL_VER="2.0.41"
491 -
492 -IUSE=""
493 -
494 -DESCRIPTION="SELinux core utilities"
495 -HOMEPAGE="http://userspace.selinuxproject.org"
496 -SRC_URI="http://userspace.selinuxproject.org/releases/20100525/devel/${P}.tar.gz
497 - mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
498 -
499 -LICENSE="GPL-2"
500 -SLOT="0"
501 -KEYWORDS="~amd64 ~x86"
502 -
503 -COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python]
504 - >=sys-libs/glibc-2.4
505 - >=sys-process/audit-1.5.1
506 - >=sys-libs/libcap-1.10-r10
507 - sys-libs/pam
508 - >=sys-libs/libsemanage-${SEMNG_VER}[python]
509 - sys-libs/libcap-ng
510 - >=sys-libs/libsepol-${SEPOL_VER}
511 - sys-devel/gettext"
512 -
513 -# pax-utils for scanelf used by rlpkg
514 -RDEPEND="${COMMON_DEPS}
515 - dev-python/sepolgen
516 - app-misc/pax-utils"
517 -
518 -DEPEND="${COMMON_DEPS}"
519 -
520 -S2=${WORKDIR}/policycoreutils-extra
521 -
522 -src_prepare() {
523 - # rlpkg is more useful than fixfiles
524 - sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
525 - || die "fixfiles sed 1 failed"
526 - sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
527 - || die "fixfiles sed 2 failed"
528 - # removing sandbox for the time being, need to
529 - # rename in future to sesandbox?
530 - sed -i -e 's/sandbox //' "${S}/Makefile" \
531 - || die "failed removing sandbox"
532 - # Overwrite gl.po, id.po and et.po with valid PO file
533 - cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po"
534 - cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po"
535 - cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po"
536 -}
537 -
538 -src_compile() {
539 - einfo "Compiling policycoreutils"
540 - emake -C "${S}" AUDIT_LOG_PRIV="y" CC="$(tc-getCC)" || die
541 - einfo "Compiling policycoreutils-extra"
542 - emake -C "${S2}" CC="$(tc-getCC)" || die
543 -}
544 -
545 -src_install() {
546 - # Python scripts are present in many places. There are no extension modules.
547 - installation() {
548 - einfo "Installing policycoreutils"
549 - emake -C "${S}" DESTDIR="${T}/images/${PYTHON_ABI}" AUDIT_LOG_PRIV="y" PYLIBVER="python$(python_get_version)" install || return 1
550 -
551 - einfo "Installing policycoreutils-extra"
552 - emake -C "${S2}" DESTDIR="${T}/images/${PYTHON_ABI}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
553 - }
554 - python_execute_function installation
555 - python_merge_intermediate_installation_images "${T}/images"
556 -
557 - # remove redhat-style init script
558 - rm -fR "${D}/etc/rc.d"
559 -
560 - # compatibility symlinks
561 - dosym /sbin/setfiles /usr/sbin/setfiles
562 - dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
563 -}
564 -
565 -pkg_postinst() {
566 - python_mod_optimize seobject.py
567 -}
568 -
569 -pkg_postrm() {
570 - python_mod_cleanup seobject.py
571 -}