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