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