public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-02-26 16:16 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-02-26 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     15fccfd2a003f83a909087a78cce663072fa9713
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Feb 26 16:14:56 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sun Feb 26 16:14:56 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=15fccfd2

Adding swig dependency when python USE flag is set

---
 sys-libs/libselinux/ChangeLog               |    3 +++
 sys-libs/libselinux/libselinux-2.1.9.ebuild |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index 04c52be..dccd39f 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.76 2011/11/12 16:31:44 swift Exp $
 
+  26 Feb 2012; <swift@gentoo.org> libselinux-2.1.9.ebuild:
+  Adding dependency on swig if python USE flag is set as well
+
 *libselinux-2.1.9 (20 Feb 2012)
 
   20 Feb 2012; <swift@gentoo.org> +libselinux-2.1.9.ebuild, +metadata.xml:

diff --git a/sys-libs/libselinux/libselinux-2.1.9.ebuild b/sys-libs/libselinux/libselinux-2.1.9.ebuild
index 04c7b13..b39580c 100644
--- a/sys-libs/libselinux/libselinux-2.1.9.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.9.ebuild
@@ -23,7 +23,8 @@ IUSE="python ruby"
 RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
 	ruby? ( dev-lang/ruby )"
 DEPEND="${RDEPEND}
-	ruby? ( dev-lang/swig )"
+	ruby? ( dev-lang/swig )
+	python? ( dev-lang/swig )"
 
 pkg_setup() {
 	if use python; then



^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2013-04-11 16:46 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2013-04-11 16:46 UTC (permalink / raw
  To: gentoo-commits

commit:     386abb3ac2533672864042bd6013a8bb0527b10f
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Thu Apr 11 16:46:31 2013 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Thu Apr 11 16:46:31 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=386abb3a

Moved to main tree

---
 sys-libs/libselinux/ChangeLog                   |  412 -----------------------
 sys-libs/libselinux/libselinux-2.1.12-r3.ebuild |  129 -------
 sys-libs/libselinux/metadata.xml                |   10 -
 3 files changed, 0 insertions(+), 551 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
deleted file mode 100644
index 450f20e..0000000
--- a/sys-libs/libselinux/ChangeLog
+++ /dev/null
@@ -1,412 +0,0 @@
-# ChangeLog for sys-libs/libselinux
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.93 2012/12/30 15:17:46 swift Exp $
-
-  29 Mar 2013; Sven Vermeulen <swift@gentoo.org> libselinux-2.1.12-r3.ebuild:
-  Depend on swig-2, fixes bug #463410
-
-  30 Dec 2012; Sven Vermeulen libselinux-2.1.12-r2.ebuild:
-  Stabilize
-
-*libselinux-2.1.12-r2 (03 Dec 2012)
-
-  03 Dec 2012; <swift@gentoo.org> +libselinux-2.1.12-r2.ebuild:
-  Fix bugs #444372 and #443928
-
-  17 Nov 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
-  Stabilize
-
-  17 Nov 2012; <swift@gentoo.org> libselinux-2.1.9-r3.ebuild:
-  Stabilize
-
-*libselinux-2.1.12-r1 (29 Oct 2012)
-
-  29 Oct 2012; <swift@gentoo.org> +libselinux-2.1.12-r1.ebuild:
-  Adding support for static-libs and RDEPEND on libpcre[static-libs] when
-  needed. See bug #436752. Also updates patching method and adds
-  Requires.private towards libpcre.
-
-  13 Oct 2012; <swift@gentoo.org> libselinux-2.1.12.ebuild:
-  Supporting user-provided patches using epatch_user
-
-*libselinux-2.1.12 (09 Oct 2012)
-*libselinux-2.1.9-r3 (09 Oct 2012)
-
-  09 Oct 2012; <swift@gentoo.org> +libselinux-2.1.9-r3.ebuild,
-  +files/libselinux-2.1.9-support_ruby19.patch, +libselinux-2.1.12.ebuild,
-  +files/libselinux-2.1.12-mountsys.patch:
-  Introducing upstream version and fix for ruby19
-
-  06 Oct 2012; <swift@gentoo.org> libselinux-2.1.9-r2.ebuild:
-  Stabilize
-
-  03 Oct 2012; Mike Frysinger <vapier@gentoo.org> libselinux-2.1.9-r2.ebuild:
-  Fix /usr/lib handling in utils subdir too.
-
-*libselinux-2.1.9-r2 (08 Sep 2012)
-
-  08 Sep 2012; <swift@gentoo.org> +libselinux-2.1.9-r2.ebuild:
-  Fix bugs #429456 and #417303
-
-  06 Aug 2012; Patrick Lauer <patrick@gentoo.org> libselinux-2.1.9-r1.ebuild:
-  Restricting python ABIs that don't work
-
-  10 Jul 2012; <swift@gentoo.org> libselinux-2.1.9-r1.ebuild:
-  Stabilization
-
-  26 Jun 2012; Mike Gilbert <floppym@gentoo.org> libselinux-2.1.9-r1.ebuild,
-  libselinux-2.1.9.ebuild:
-  Restrict pypy per Arfrever.
-
-  13 May 2012; <swift@gentoo.org> -libselinux-2.1.0.ebuild:
-  Removing obsoleted ebuild
-
-*libselinux-2.1.9-r1 (13 May 2012)
-
-  13 May 2012; <swift@gentoo.org> +libselinux-2.1.9-r1.ebuild,
-  +files/libselinux-2.1.9-mountsys.patch:
-  Mount /sys before trying to mount /sys/fs/selinux from within the policy load
-  functions, bug #414779
-
-  29 Apr 2012; <swift@gentoo.org> libselinux-2.1.9.ebuild:
-  Stabilization
-
-*libselinux-2.1.9 (31 Mar 2012)
-
-  31 Mar 2012; <swift@gentoo.org> +libselinux-2.1.9.ebuild:
-  Bump to version 2.1.9
-
-  12 Nov 2011; <swift@gentoo.org> -libselinux-2.0.94.ebuild,
-  -libselinux-2.0.98.ebuild:
-  Remove deprecated ebuilds
-
-  23 Oct 2011; <swift@gentoo.org> libselinux-2.1.0.ebuild:
-  Stabilization (tracker #384231)
-
-  12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
-  -libselinux-2.0.71.ebuild, -libselinux-2.0.85.ebuild,
-  -files/libselinux-2.0.85-headers.patch, -files/compat.py:
-  Removed deprecated versions
-
-*libselinux-2.1.0 (03 Aug 2011)
-
-  03 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
-  +libselinux-2.1.0.ebuild:
-  Bump to 20110727 SELinux userspace release
-
-*libselinux-2.0.98 (15 Jul 2011)
-
-  15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
-  +libselinux-2.0.98.ebuild:
-  Bump to 2.0.98 - proxy for SwifT
-
-  28 May 2011; Anthony G. Basile <blueness@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Stable amd64 x86
-
-  13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
-  Updated metadata.xml to reflect new selinux herd.
-
-  06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Add "python" USE flag.
-
-  05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
-
-*libselinux-2.0.94 (05 Feb 2011)
-
-  05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
-  +libselinux-2.0.94.ebuild:
-  New upstream release.
-
-  29 Sep 2010; Mike Frysinger <vapier@gentoo.org> libselinux-2.0.85.ebuild,
-  +files/libselinux-2.0.85-headers.patch:
-  Fix by Chris Richards for building with glibc-2.12 #338302.
-
-  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
-  Delete calls to deprecated python_version().
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
-  Add python_need_rebuild.
-
-*libselinux-2.0.85 (02 Aug 2009)
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-2.0.85.ebuild:
-  New upstream release.
-
-  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
-  -libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
-  Mark stable. Remove old ebuilds.
-
-*libselinux-2.0.71 (03 Oct 2008)
-
-  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-2.0.71.ebuild:
-  Initial commit of 2.0 libselinux.
-
-  29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild:
-  python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
-
-  13 May 2008; Chris PeBenito <pebenito@gentoo.org>
-  -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
-  -libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
-  libselinux-1.34.14.ebuild:
-  Mark 1.34.14 stable, clear old ebuilds.
-
-  11 May 2008; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
-  libselinux-1.34.14.ebuild:
-  Fix bug #221501.
-
-*libselinux-1.34.14 (29 Jan 2008)
-
-  29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.14.ebuild:
-  New upstream bugfix release.
-
-*libselinux-1.34.13 (18 Oct 2007)
-
-  18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.13.ebuild:
-  New upstream release.
-
-  04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.34.0.ebuild:
-  Mark stable.
-
-  16 Feb 2007; Stephen Bennett <spb@gentoo.org> libselinux-1.34.0.ebuild:
-  Add missing swig depend. Bug #167007
-
-*libselinux-1.34.0 (15 Feb 2007)
-
-  15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.0.ebuild:
-  New upstream release.
-
-  23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.30.29.ebuild:
-  Fix depend for glibc
-
-  09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.30.29.ebuild:
-  Stable to make repoman happy.
-
-*libselinux-1.30.29 (05 Oct 2006)
-
-  05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.30.29.ebuild:
-  Add SVN snapshot.
-
-  31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
-  Mark stable, long overdue.
-
-  07 Apr 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
-  Split python wrapper compile into a separate emake to ensure the main
-  library is built before trying to build the wrapper. Fixes bug #129074.
-
-  22 Mar 2006; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.24.ebuild,
-  -libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
-  Mark 1.28-r1 stable, clean out old ebuilds.
-
-*libselinux-1.30 (18 Mar 2006)
-
-  18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
-  New upstream release.
-
-  22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
-  Alpha stable
-
-*libselinux-1.28-r1 (20 Feb 2006)
-
-  20 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +files/compat.py,
-  +libselinux-1.28-r1.ebuild:
-  Add python-selinux compatability aliases to swig wrapper.
-
-  19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libselinux-1.28.ebuild:
-  Marked stable on mips.
-
-  09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Move python_version out of global scope.
-
-  29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
-  hopefully fix #119271.
-
-  17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Mark stable, x86, amd64, ppc, sparc.
-
-  14 Jan 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
-  Added ~alpha
-
-  15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Tighten up versioning to try to prevent mismatch problems as seen in #112348.
-
-*libselinux-1.28 (09 Dec 2005)
-
-  09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
-  -files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
-  +libselinux-1.28.ebuild:
-  New upstream release.
-
-  09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.24.ebuild:
-  Mark stable.
-
-*libselinux-1.24 (25 Jun 2005)
-
-  25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.20.ebuild,
-  -libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
-  New upstream release.
-
-  13 May 2005; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.22-r1.ebuild:
-  Mark stable.
-
-  10 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
-  mips stable
-
-*libselinux-1.22-r1 (08 May 2005)
-
-  08 May 2005; Chris PeBenito <pebenito@gentoo.org>
-  +files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
-  A couple fixes, including one for bug #91921.
-
-  01 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
-  Mark ~mips.
-
-  01 May 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.22.ebuild:
-  Mark stable.
-
-*libselinux-1.22 (13 Mar 2005)
-
-  13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.22.ebuild:
-  New upstream release.
-
-  13 Feb 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.20.ebuild:
-  Mark stable.
-
-*libselinux-1.20 (07 Jan 2005)
-
-  07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
-  +libselinux-1.20.ebuild:
-  New upstream release.  Mark 1.18 stable.
-
-  03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
-  libselinux-1.18.ebuild:
-  Switch to libc virtual for DEP since uclibc now has xattr support.
-
-*libselinux-1.18 (14 Nov 2004)
-
-  14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
-  +files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
-  New upstream release.
-
-*libselinux-1.16 (07 Sep 2004)
-
-  07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
-  New upstream release.
-
-*libselinux-1.14 (02 Jul 2004)
-
-  02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
-  New upstream version.
-
-  11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
-  libselinux-1.12.ebuild:
-  Mark stable
-
-*libselinux-1.12 (14 May 2004)
-
-  14 May 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.12.ebuild:
-  New upstream release.
-
-*libselinux-1.10 (17 Apr 2004)
-
-  17 Apr 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.10.ebuild:
-  New upstream version.
-
-  08 Apr 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
-  Mark stable for 2004.1
-
-*libselinux-1.8 (12 Mar 2004)
-
-  12 Mar 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
-  New upstream release.
-
-*libselinux-1.6 (24 Feb 2004)
-
-  24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.6.ebuild:
-  New upstream release.
-
-  16 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
-  Mark stable.
-
-*libselinux-1.4 (06 Dec 2003)
-
-  06 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
-  New upstream version.
-
-  29 Oct 2003; Joshua Brindle <method@gentoo.org> libselinux-1.2-r2.ebuild:
-  added sparc
-
-*libselinux-1.2-r2 (20 Oct 2003)
-
-  20 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r2.ebuild,
-  files/libselinux-1.2-attr.diff:
-  Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
-
-*libselinux-1.2-r1 (07 Oct 2003)
-
-  07 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r1.ebuild,
-  files/libselinux-1.2-gentoo.diff:
-  Move libraries to /lib, to fix problems with having a separate /usr during
-  booting.
-
-*libselinux-1.2 (03 Oct 2003)
-
-  03 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2.ebuild,
-  files/libselinux-1.2-const.diff:
-  New upstream version.
-
-  22 Sep 2003; <paul@gentoo.org> metadata.xml:
-  Fix metadata.xml
-
-  21 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild:
-  Add a dep for portage. The newer versions have labelling support for the old
-  API.
-
-  18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
-  metadata.xml:
-  Fix license, this is public-domain, not GPL-2. Use package description in RPM
-  spec file as metadata.xml long description.
-
-  15 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
-  libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
-  Mark stable
-
-*libselinux-1.1-r1 (14 Aug 2003)
-
-  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
-  libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
-  Add fix for a random linking problem that causes libselinux to work
-  incorrectly.
-
-*libselinux-1.1 (14 Aug 2003)
-
-  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
-  files/libselinux-1.1-gentoo.diff:
-  New upstream version
-
-  04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
-  files/libselinux-1.0-gentoo.diff:
-  Add on a NSA nullbyte patch to the gentoo patch
-
-*libselinux-1.0 (03 Aug 2003)
-
-  03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
-  metadata.xml, files/libselinux-1.0-gentoo.diff:
-  Initial commit

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild
deleted file mode 100644
index bd182d8..0000000
--- a/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild,v 1.2 2012/12/30 15:17:46 swift Exp $
-
-EAPI="4"
-PYTHON_DEPEND="python? *"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
-USE_RUBY="ruby18 ruby19"
-RUBY_OPTIONAL="yes"
-
-inherit multilib python toolchain-funcs eutils ruby-ng
-
-SEPOL_VER="2.1.8"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20120924/${P}.tar.gz
-	http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r3.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="python ruby static-libs"
-
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
-	>=dev-libs/libpcre-8.30-r2[static-libs?]
-	ruby? ( $(ruby_implementations_depend) )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	ruby? ( >=dev-lang/swig-2.0.9 )
-	python? ( >=dev-lang/swig-2.0.9 )"
-
-S="${WORKDIR}/${P}"
-
-pkg_setup() {
-	if use python; then
-		python_pkg_setup
-	fi
-}
-
-src_unpack() {
-	default
-}
-
-src_prepare() {
-	# fix up paths for multilib
-	sed -i \
-		-e "/^LIBDIR/s/lib/$(get_libdir)/" \
-		-e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
-		src/Makefile utils/Makefile || die
-
-	EPATCH_MULTI_MSG="Applying libselinux patches ... " \
-	EPATCH_SUFFIX="patch" \
-	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
-	EPATCH_FORCE="yes" \
-	epatch
-
-	epatch_user
-}
-
-each_ruby_compile() {
-	local RUBYLIBVER=$(${RUBY} -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
-	cd "${WORKDIR}/${P}"
-	cp -r src src-ruby-${RUBYLIBVER}
-	cd src-ruby-${RUBYLIBVER}
-
-	if [[ "${RUBYLIBVER}" == "1.8" ]]; then
-		emake CC="$(tc-getCC)" RUBY="${RUBY}" RUBYINC="-I$(ruby_get_hdrdir)" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" rubywrap || die
-	else
-		emake CC="$(tc-getCC)" RUBY="${RUBY}" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" rubywrap || die
-	fi
-}
-
-src_compile() {
-	tc-export RANLIB
-	emake \
-		AR="$(tc-getAR)" \
-		CC="$(tc-getCC)" \
-		LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" all || die
-
-	if use python; then
-		python_copy_sources src
-		building() {
-			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
-		}
-		python_execute_function -s --source-dir src building
-	fi
-
-	if use ruby; then
-		ruby-ng_src_compile
-	fi
-}
-
-each_ruby_install() {
-	local RUBYLIBVER=$(${RUBY} -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
-
-	cd "${WORKDIR}/${P}/src-ruby-${RUBYLIBVER}"
-	emake RUBY="${RUBY}" DESTDIR="${D}" install-rubywrap || die
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die
-
-	if use python; then
-		installation() {
-			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap
-		}
-		python_execute_function -s --source-dir src installation
-	fi
-
-	if use ruby; then
-		ruby-ng_src_install
-	fi
-
-	use static-libs || rm "${D}"/usr/lib*/*.a
-}
-
-pkg_postinst() {
-	if use python; then
-		python_mod_optimize selinux
-	fi
-}
-
-pkg_postrm() {
-	if use python; then
-		python_mod_cleanup selinux
-	fi
-}

diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml
deleted file mode 100644
index 0c7f186..0000000
--- a/sys-libs/libselinux/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>selinux</herd>
-	<longdescription>
-		Libselinux provides an API for SELinux applications to get and set
-		process and file security contexts and to obtain security policy
-		decisions.  Required for any applications that use the SELinux API.
-	</longdescription>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2013-03-29  8:53 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2013-03-29  8:53 UTC (permalink / raw
  To: gentoo-commits

commit:     91bc082f63313f8c19a881efda691193931037db
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Fri Mar 29 08:51:38 2013 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Fri Mar 29 08:51:38 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=91bc082f

Fix bug #463410 - depend on swig-2

Package-Manager: portage-2.1.11.52
Manifest-Sign-Key: 0xCDBA2FDB

---
 sys-libs/libselinux/ChangeLog                   |    5 ++++-
 sys-libs/libselinux/libselinux-2.1.12-r3.ebuild |    4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index c56d12d..450f20e 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sys-libs/libselinux
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.93 2012/12/30 15:17:46 swift Exp $
 
+  29 Mar 2013; Sven Vermeulen <swift@gentoo.org> libselinux-2.1.12-r3.ebuild:
+  Depend on swig-2, fixes bug #463410
+
   30 Dec 2012; Sven Vermeulen libselinux-2.1.12-r2.ebuild:
   Stabilize
 

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild
index cea0487..bd182d8 100644
--- a/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild
@@ -28,8 +28,8 @@ RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
 	ruby? ( $(ruby_implementations_depend) )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
-	ruby? ( dev-lang/swig )
-	python? ( dev-lang/swig )"
+	ruby? ( >=dev-lang/swig-2.0.9 )
+	python? ( >=dev-lang/swig-2.0.9 )"
 
 S="${WORKDIR}/${P}"
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2013-03-26 20:06 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2013-03-26 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     69432fe5083642ecd4ef759a904918ff4458f512
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Tue Mar 26 20:04:50 2013 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Tue Mar 26 20:04:50 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=69432fe5

Attempt to fix bug #462626

Package-Manager: portage-2.1.11.52
Manifest-Sign-Key: 0xCDBA2FDB

---
 sys-libs/libselinux/ChangeLog                   |  409 +++++++++++++++++++++++
 sys-libs/libselinux/libselinux-2.1.12-r3.ebuild |  129 +++++++
 sys-libs/libselinux/metadata.xml                |   10 +
 3 files changed, 548 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
new file mode 100644
index 0000000..c56d12d
--- /dev/null
+++ b/sys-libs/libselinux/ChangeLog
@@ -0,0 +1,409 @@
+# ChangeLog for sys-libs/libselinux
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.93 2012/12/30 15:17:46 swift Exp $
+
+  30 Dec 2012; Sven Vermeulen libselinux-2.1.12-r2.ebuild:
+  Stabilize
+
+*libselinux-2.1.12-r2 (03 Dec 2012)
+
+  03 Dec 2012; <swift@gentoo.org> +libselinux-2.1.12-r2.ebuild:
+  Fix bugs #444372 and #443928
+
+  17 Nov 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
+  Stabilize
+
+  17 Nov 2012; <swift@gentoo.org> libselinux-2.1.9-r3.ebuild:
+  Stabilize
+
+*libselinux-2.1.12-r1 (29 Oct 2012)
+
+  29 Oct 2012; <swift@gentoo.org> +libselinux-2.1.12-r1.ebuild:
+  Adding support for static-libs and RDEPEND on libpcre[static-libs] when
+  needed. See bug #436752. Also updates patching method and adds
+  Requires.private towards libpcre.
+
+  13 Oct 2012; <swift@gentoo.org> libselinux-2.1.12.ebuild:
+  Supporting user-provided patches using epatch_user
+
+*libselinux-2.1.12 (09 Oct 2012)
+*libselinux-2.1.9-r3 (09 Oct 2012)
+
+  09 Oct 2012; <swift@gentoo.org> +libselinux-2.1.9-r3.ebuild,
+  +files/libselinux-2.1.9-support_ruby19.patch, +libselinux-2.1.12.ebuild,
+  +files/libselinux-2.1.12-mountsys.patch:
+  Introducing upstream version and fix for ruby19
+
+  06 Oct 2012; <swift@gentoo.org> libselinux-2.1.9-r2.ebuild:
+  Stabilize
+
+  03 Oct 2012; Mike Frysinger <vapier@gentoo.org> libselinux-2.1.9-r2.ebuild:
+  Fix /usr/lib handling in utils subdir too.
+
+*libselinux-2.1.9-r2 (08 Sep 2012)
+
+  08 Sep 2012; <swift@gentoo.org> +libselinux-2.1.9-r2.ebuild:
+  Fix bugs #429456 and #417303
+
+  06 Aug 2012; Patrick Lauer <patrick@gentoo.org> libselinux-2.1.9-r1.ebuild:
+  Restricting python ABIs that don't work
+
+  10 Jul 2012; <swift@gentoo.org> libselinux-2.1.9-r1.ebuild:
+  Stabilization
+
+  26 Jun 2012; Mike Gilbert <floppym@gentoo.org> libselinux-2.1.9-r1.ebuild,
+  libselinux-2.1.9.ebuild:
+  Restrict pypy per Arfrever.
+
+  13 May 2012; <swift@gentoo.org> -libselinux-2.1.0.ebuild:
+  Removing obsoleted ebuild
+
+*libselinux-2.1.9-r1 (13 May 2012)
+
+  13 May 2012; <swift@gentoo.org> +libselinux-2.1.9-r1.ebuild,
+  +files/libselinux-2.1.9-mountsys.patch:
+  Mount /sys before trying to mount /sys/fs/selinux from within the policy load
+  functions, bug #414779
+
+  29 Apr 2012; <swift@gentoo.org> libselinux-2.1.9.ebuild:
+  Stabilization
+
+*libselinux-2.1.9 (31 Mar 2012)
+
+  31 Mar 2012; <swift@gentoo.org> +libselinux-2.1.9.ebuild:
+  Bump to version 2.1.9
+
+  12 Nov 2011; <swift@gentoo.org> -libselinux-2.0.94.ebuild,
+  -libselinux-2.0.98.ebuild:
+  Remove deprecated ebuilds
+
+  23 Oct 2011; <swift@gentoo.org> libselinux-2.1.0.ebuild:
+  Stabilization (tracker #384231)
+
+  12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+  -libselinux-2.0.71.ebuild, -libselinux-2.0.85.ebuild,
+  -files/libselinux-2.0.85-headers.patch, -files/compat.py:
+  Removed deprecated versions
+
+*libselinux-2.1.0 (03 Aug 2011)
+
+  03 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.1.0.ebuild:
+  Bump to 20110727 SELinux userspace release
+
+*libselinux-2.0.98 (15 Jul 2011)
+
+  15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.0.98.ebuild:
+  Bump to 2.0.98 - proxy for SwifT
+
+  28 May 2011; Anthony G. Basile <blueness@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Stable amd64 x86
+
+  13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
+  Updated metadata.xml to reflect new selinux herd.
+
+  06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Add "python" USE flag.
+
+  05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
+
+*libselinux-2.0.94 (05 Feb 2011)
+
+  05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.0.94.ebuild:
+  New upstream release.
+
+  29 Sep 2010; Mike Frysinger <vapier@gentoo.org> libselinux-2.0.85.ebuild,
+  +files/libselinux-2.0.85-headers.patch:
+  Fix by Chris Richards for building with glibc-2.12 #338302.
+
+  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Delete calls to deprecated python_version().
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Add python_need_rebuild.
+
+*libselinux-2.0.85 (02 Aug 2009)
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-2.0.85.ebuild:
+  New upstream release.
+
+  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
+  -libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
+  Mark stable. Remove old ebuilds.
+
+*libselinux-2.0.71 (03 Oct 2008)
+
+  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-2.0.71.ebuild:
+  Initial commit of 2.0 libselinux.
+
+  29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild:
+  python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
+
+  13 May 2008; Chris PeBenito <pebenito@gentoo.org>
+  -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
+  -libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
+  libselinux-1.34.14.ebuild:
+  Mark 1.34.14 stable, clear old ebuilds.
+
+  11 May 2008; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
+  libselinux-1.34.14.ebuild:
+  Fix bug #221501.
+
+*libselinux-1.34.14 (29 Jan 2008)
+
+  29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.14.ebuild:
+  New upstream bugfix release.
+
+*libselinux-1.34.13 (18 Oct 2007)
+
+  18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.13.ebuild:
+  New upstream release.
+
+  04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.34.0.ebuild:
+  Mark stable.
+
+  16 Feb 2007; Stephen Bennett <spb@gentoo.org> libselinux-1.34.0.ebuild:
+  Add missing swig depend. Bug #167007
+
+*libselinux-1.34.0 (15 Feb 2007)
+
+  15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.0.ebuild:
+  New upstream release.
+
+  23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.30.29.ebuild:
+  Fix depend for glibc
+
+  09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.30.29.ebuild:
+  Stable to make repoman happy.
+
+*libselinux-1.30.29 (05 Oct 2006)
+
+  05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.30.29.ebuild:
+  Add SVN snapshot.
+
+  31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
+  Mark stable, long overdue.
+
+  07 Apr 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
+  Split python wrapper compile into a separate emake to ensure the main
+  library is built before trying to build the wrapper. Fixes bug #129074.
+
+  22 Mar 2006; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.24.ebuild,
+  -libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
+  Mark 1.28-r1 stable, clean out old ebuilds.
+
+*libselinux-1.30 (18 Mar 2006)
+
+  18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
+  New upstream release.
+
+  22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
+  Alpha stable
+
+*libselinux-1.28-r1 (20 Feb 2006)
+
+  20 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +files/compat.py,
+  +libselinux-1.28-r1.ebuild:
+  Add python-selinux compatability aliases to swig wrapper.
+
+  19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libselinux-1.28.ebuild:
+  Marked stable on mips.
+
+  09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Move python_version out of global scope.
+
+  29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
+  hopefully fix #119271.
+
+  17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Mark stable, x86, amd64, ppc, sparc.
+
+  14 Jan 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
+  Added ~alpha
+
+  15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Tighten up versioning to try to prevent mismatch problems as seen in #112348.
+
+*libselinux-1.28 (09 Dec 2005)
+
+  09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
+  -files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
+  +libselinux-1.28.ebuild:
+  New upstream release.
+
+  09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.24.ebuild:
+  Mark stable.
+
+*libselinux-1.24 (25 Jun 2005)
+
+  25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.20.ebuild,
+  -libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
+  New upstream release.
+
+  13 May 2005; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.22-r1.ebuild:
+  Mark stable.
+
+  10 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
+  mips stable
+
+*libselinux-1.22-r1 (08 May 2005)
+
+  08 May 2005; Chris PeBenito <pebenito@gentoo.org>
+  +files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
+  A couple fixes, including one for bug #91921.
+
+  01 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
+  Mark ~mips.
+
+  01 May 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.22.ebuild:
+  Mark stable.
+
+*libselinux-1.22 (13 Mar 2005)
+
+  13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.22.ebuild:
+  New upstream release.
+
+  13 Feb 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.20.ebuild:
+  Mark stable.
+
+*libselinux-1.20 (07 Jan 2005)
+
+  07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
+  +libselinux-1.20.ebuild:
+  New upstream release.  Mark 1.18 stable.
+
+  03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
+  libselinux-1.18.ebuild:
+  Switch to libc virtual for DEP since uclibc now has xattr support.
+
+*libselinux-1.18 (14 Nov 2004)
+
+  14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
+  +files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
+  New upstream release.
+
+*libselinux-1.16 (07 Sep 2004)
+
+  07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
+  New upstream release.
+
+*libselinux-1.14 (02 Jul 2004)
+
+  02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
+  New upstream version.
+
+  11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
+  libselinux-1.12.ebuild:
+  Mark stable
+
+*libselinux-1.12 (14 May 2004)
+
+  14 May 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.12.ebuild:
+  New upstream release.
+
+*libselinux-1.10 (17 Apr 2004)
+
+  17 Apr 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.10.ebuild:
+  New upstream version.
+
+  08 Apr 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
+  Mark stable for 2004.1
+
+*libselinux-1.8 (12 Mar 2004)
+
+  12 Mar 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
+  New upstream release.
+
+*libselinux-1.6 (24 Feb 2004)
+
+  24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.6.ebuild:
+  New upstream release.
+
+  16 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
+  Mark stable.
+
+*libselinux-1.4 (06 Dec 2003)
+
+  06 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
+  New upstream version.
+
+  29 Oct 2003; Joshua Brindle <method@gentoo.org> libselinux-1.2-r2.ebuild:
+  added sparc
+
+*libselinux-1.2-r2 (20 Oct 2003)
+
+  20 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r2.ebuild,
+  files/libselinux-1.2-attr.diff:
+  Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
+
+*libselinux-1.2-r1 (07 Oct 2003)
+
+  07 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r1.ebuild,
+  files/libselinux-1.2-gentoo.diff:
+  Move libraries to /lib, to fix problems with having a separate /usr during
+  booting.
+
+*libselinux-1.2 (03 Oct 2003)
+
+  03 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2.ebuild,
+  files/libselinux-1.2-const.diff:
+  New upstream version.
+
+  22 Sep 2003; <paul@gentoo.org> metadata.xml:
+  Fix metadata.xml
+
+  21 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild:
+  Add a dep for portage. The newer versions have labelling support for the old
+  API.
+
+  18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
+  metadata.xml:
+  Fix license, this is public-domain, not GPL-2. Use package description in RPM
+  spec file as metadata.xml long description.
+
+  15 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
+  libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
+  Mark stable
+
+*libselinux-1.1-r1 (14 Aug 2003)
+
+  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
+  libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
+  Add fix for a random linking problem that causes libselinux to work
+  incorrectly.
+
+*libselinux-1.1 (14 Aug 2003)
+
+  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
+  files/libselinux-1.1-gentoo.diff:
+  New upstream version
+
+  04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
+  files/libselinux-1.0-gentoo.diff:
+  Add on a NSA nullbyte patch to the gentoo patch
+
+*libselinux-1.0 (03 Aug 2003)
+
+  03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
+  metadata.xml, files/libselinux-1.0-gentoo.diff:
+  Initial commit

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild
new file mode 100644
index 0000000..cea0487
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-2.1.12-r3.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild,v 1.2 2012/12/30 15:17:46 swift Exp $
+
+EAPI="4"
+PYTHON_DEPEND="python? *"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
+USE_RUBY="ruby18 ruby19"
+RUBY_OPTIONAL="yes"
+
+inherit multilib python toolchain-funcs eutils ruby-ng
+
+SEPOL_VER="2.1.8"
+
+DESCRIPTION="SELinux userland library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/20120924/${P}.tar.gz
+	http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r3.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python ruby static-libs"
+
+RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
+	>=dev-libs/libpcre-8.30-r2[static-libs?]
+	ruby? ( $(ruby_implementations_depend) )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	ruby? ( dev-lang/swig )
+	python? ( dev-lang/swig )"
+
+S="${WORKDIR}/${P}"
+
+pkg_setup() {
+	if use python; then
+		python_pkg_setup
+	fi
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	# fix up paths for multilib
+	sed -i \
+		-e "/^LIBDIR/s/lib/$(get_libdir)/" \
+		-e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
+		src/Makefile utils/Makefile || die
+
+	EPATCH_MULTI_MSG="Applying libselinux patches ... " \
+	EPATCH_SUFFIX="patch" \
+	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
+	EPATCH_FORCE="yes" \
+	epatch
+
+	epatch_user
+}
+
+each_ruby_compile() {
+	local RUBYLIBVER=$(${RUBY} -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
+	cd "${WORKDIR}/${P}"
+	cp -r src src-ruby-${RUBYLIBVER}
+	cd src-ruby-${RUBYLIBVER}
+
+	if [[ "${RUBYLIBVER}" == "1.8" ]]; then
+		emake CC="$(tc-getCC)" RUBY="${RUBY}" RUBYINC="-I$(ruby_get_hdrdir)" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" rubywrap || die
+	else
+		emake CC="$(tc-getCC)" RUBY="${RUBY}" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" rubywrap || die
+	fi
+}
+
+src_compile() {
+	tc-export RANLIB
+	emake \
+		AR="$(tc-getAR)" \
+		CC="$(tc-getCC)" \
+		LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" all || die
+
+	if use python; then
+		python_copy_sources src
+		building() {
+			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
+		}
+		python_execute_function -s --source-dir src building
+	fi
+
+	if use ruby; then
+		ruby-ng_src_compile
+	fi
+}
+
+each_ruby_install() {
+	local RUBYLIBVER=$(${RUBY} -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
+
+	cd "${WORKDIR}/${P}/src-ruby-${RUBYLIBVER}"
+	emake RUBY="${RUBY}" DESTDIR="${D}" install-rubywrap || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+
+	if use python; then
+		installation() {
+			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap
+		}
+		python_execute_function -s --source-dir src installation
+	fi
+
+	if use ruby; then
+		ruby-ng_src_install
+	fi
+
+	use static-libs || rm "${D}"/usr/lib*/*.a
+}
+
+pkg_postinst() {
+	if use python; then
+		python_mod_optimize selinux
+	fi
+}
+
+pkg_postrm() {
+	if use python; then
+		python_mod_cleanup selinux
+	fi
+}

diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml
new file mode 100644
index 0000000..0c7f186
--- /dev/null
+++ b/sys-libs/libselinux/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>selinux</herd>
+	<longdescription>
+		Libselinux provides an API for SELinux applications to get and set
+		process and file security contexts and to obtain security policy
+		decisions.  Required for any applications that use the SELinux API.
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-11-23 22:12 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-11-23 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     88847476c214e52f4d94ddff6ecde56b0ef35488
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Fri Nov 23 22:12:20 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Fri Nov 23 22:12:20 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=88847476

Make ruby dependency optional

Package-Manager: portage-2.1.11.31
Manifest-Sign-Key: 0xCDBA2FDB

---
 sys-libs/libselinux/libselinux-2.1.12-r2.ebuild |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild
index 9283b74..36aab06 100644
--- a/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild
@@ -7,6 +7,7 @@ PYTHON_DEPEND="python? *"
 SUPPORT_PYTHON_ABIS="1"
 RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
 USE_RUBY="ruby18 ruby19"
+RUBY_OPTIONAL="yes"
 
 inherit multilib python toolchain-funcs eutils ruby-ng
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-11-23 21:35 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-11-23 21:35 UTC (permalink / raw
  To: gentoo-commits

commit:     450e2d683c1c2e300247f67a86d82f0bc296e611
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Fri Nov 23 21:34:42 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Fri Nov 23 21:34:42 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=450e2d68

Fix bugs #443928 (ruby support) and #444372 (RANLIB override)

Package-Manager: portage-2.1.11.31
Manifest-Sign-Key: 0xCDBA2FDB

---
 sys-libs/libselinux/ChangeLog                   |  406 +++++++++++++++++++++++
 sys-libs/libselinux/libselinux-2.1.12-r2.ebuild |  128 +++++++
 sys-libs/libselinux/metadata.xml                |   10 +
 3 files changed, 544 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
new file mode 100644
index 0000000..f486da5
--- /dev/null
+++ b/sys-libs/libselinux/ChangeLog
@@ -0,0 +1,406 @@
+# ChangeLog for sys-libs/libselinux
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.91 2012/11/17 16:55:33 swift Exp $
+
+*libselinux-2.1.12-r2 (23 Nov 2012)
+
+  23 Nov 2012; <swift@gentoo.org> +libselinux-2.1.12-r2.ebuild, +metadata.xml:
+  Fix bugs #443928 (ruby support) and #444372 (RANLIB override)
+
+  17 Nov 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
+  Stabilize
+
+  17 Nov 2012; <swift@gentoo.org> libselinux-2.1.9-r3.ebuild:
+  Stabilize
+
+*libselinux-2.1.12-r1 (29 Oct 2012)
+
+  29 Oct 2012; <swift@gentoo.org> +libselinux-2.1.12-r1.ebuild:
+  Adding support for static-libs and RDEPEND on libpcre[static-libs] when
+  needed. See bug #436752. Also updates patching method and adds
+  Requires.private towards libpcre.
+
+  13 Oct 2012; <swift@gentoo.org> libselinux-2.1.12.ebuild:
+  Supporting user-provided patches using epatch_user
+
+*libselinux-2.1.12 (09 Oct 2012)
+*libselinux-2.1.9-r3 (09 Oct 2012)
+
+  09 Oct 2012; <swift@gentoo.org> +libselinux-2.1.9-r3.ebuild,
+  +files/libselinux-2.1.9-support_ruby19.patch, +libselinux-2.1.12.ebuild,
+  +files/libselinux-2.1.12-mountsys.patch:
+  Introducing upstream version and fix for ruby19
+
+  06 Oct 2012; <swift@gentoo.org> libselinux-2.1.9-r2.ebuild:
+  Stabilize
+
+  03 Oct 2012; Mike Frysinger <vapier@gentoo.org> libselinux-2.1.9-r2.ebuild:
+  Fix /usr/lib handling in utils subdir too.
+
+*libselinux-2.1.9-r2 (08 Sep 2012)
+
+  08 Sep 2012; <swift@gentoo.org> +libselinux-2.1.9-r2.ebuild:
+  Fix bugs #429456 and #417303
+
+  06 Aug 2012; Patrick Lauer <patrick@gentoo.org> libselinux-2.1.9-r1.ebuild:
+  Restricting python ABIs that don't work
+
+  10 Jul 2012; <swift@gentoo.org> libselinux-2.1.9-r1.ebuild:
+  Stabilization
+
+  26 Jun 2012; Mike Gilbert <floppym@gentoo.org> libselinux-2.1.9-r1.ebuild,
+  libselinux-2.1.9.ebuild:
+  Restrict pypy per Arfrever.
+
+  13 May 2012; <swift@gentoo.org> -libselinux-2.1.0.ebuild:
+  Removing obsoleted ebuild
+
+*libselinux-2.1.9-r1 (13 May 2012)
+
+  13 May 2012; <swift@gentoo.org> +libselinux-2.1.9-r1.ebuild,
+  +files/libselinux-2.1.9-mountsys.patch:
+  Mount /sys before trying to mount /sys/fs/selinux from within the policy load
+  functions, bug #414779
+
+  29 Apr 2012; <swift@gentoo.org> libselinux-2.1.9.ebuild:
+  Stabilization
+
+*libselinux-2.1.9 (31 Mar 2012)
+
+  31 Mar 2012; <swift@gentoo.org> +libselinux-2.1.9.ebuild:
+  Bump to version 2.1.9
+
+  12 Nov 2011; <swift@gentoo.org> -libselinux-2.0.94.ebuild,
+  -libselinux-2.0.98.ebuild:
+  Remove deprecated ebuilds
+
+  23 Oct 2011; <swift@gentoo.org> libselinux-2.1.0.ebuild:
+  Stabilization (tracker #384231)
+
+  12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+  -libselinux-2.0.71.ebuild, -libselinux-2.0.85.ebuild,
+  -files/libselinux-2.0.85-headers.patch, -files/compat.py:
+  Removed deprecated versions
+
+*libselinux-2.1.0 (03 Aug 2011)
+
+  03 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.1.0.ebuild:
+  Bump to 20110727 SELinux userspace release
+
+*libselinux-2.0.98 (15 Jul 2011)
+
+  15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.0.98.ebuild:
+  Bump to 2.0.98 - proxy for SwifT
+
+  28 May 2011; Anthony G. Basile <blueness@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Stable amd64 x86
+
+  13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
+  Updated metadata.xml to reflect new selinux herd.
+
+  06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Add "python" USE flag.
+
+  05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
+
+*libselinux-2.0.94 (05 Feb 2011)
+
+  05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.0.94.ebuild:
+  New upstream release.
+
+  29 Sep 2010; Mike Frysinger <vapier@gentoo.org> libselinux-2.0.85.ebuild,
+  +files/libselinux-2.0.85-headers.patch:
+  Fix by Chris Richards for building with glibc-2.12 #338302.
+
+  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Delete calls to deprecated python_version().
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Add python_need_rebuild.
+
+*libselinux-2.0.85 (02 Aug 2009)
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-2.0.85.ebuild:
+  New upstream release.
+
+  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
+  -libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
+  Mark stable. Remove old ebuilds.
+
+*libselinux-2.0.71 (03 Oct 2008)
+
+  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-2.0.71.ebuild:
+  Initial commit of 2.0 libselinux.
+
+  29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild:
+  python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
+
+  13 May 2008; Chris PeBenito <pebenito@gentoo.org>
+  -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
+  -libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
+  libselinux-1.34.14.ebuild:
+  Mark 1.34.14 stable, clear old ebuilds.
+
+  11 May 2008; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
+  libselinux-1.34.14.ebuild:
+  Fix bug #221501.
+
+*libselinux-1.34.14 (29 Jan 2008)
+
+  29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.14.ebuild:
+  New upstream bugfix release.
+
+*libselinux-1.34.13 (18 Oct 2007)
+
+  18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.13.ebuild:
+  New upstream release.
+
+  04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.34.0.ebuild:
+  Mark stable.
+
+  16 Feb 2007; Stephen Bennett <spb@gentoo.org> libselinux-1.34.0.ebuild:
+  Add missing swig depend. Bug #167007
+
+*libselinux-1.34.0 (15 Feb 2007)
+
+  15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.0.ebuild:
+  New upstream release.
+
+  23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.30.29.ebuild:
+  Fix depend for glibc
+
+  09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.30.29.ebuild:
+  Stable to make repoman happy.
+
+*libselinux-1.30.29 (05 Oct 2006)
+
+  05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.30.29.ebuild:
+  Add SVN snapshot.
+
+  31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
+  Mark stable, long overdue.
+
+  07 Apr 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
+  Split python wrapper compile into a separate emake to ensure the main
+  library is built before trying to build the wrapper. Fixes bug #129074.
+
+  22 Mar 2006; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.24.ebuild,
+  -libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
+  Mark 1.28-r1 stable, clean out old ebuilds.
+
+*libselinux-1.30 (18 Mar 2006)
+
+  18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
+  New upstream release.
+
+  22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
+  Alpha stable
+
+*libselinux-1.28-r1 (20 Feb 2006)
+
+  20 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +files/compat.py,
+  +libselinux-1.28-r1.ebuild:
+  Add python-selinux compatability aliases to swig wrapper.
+
+  19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libselinux-1.28.ebuild:
+  Marked stable on mips.
+
+  09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Move python_version out of global scope.
+
+  29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
+  hopefully fix #119271.
+
+  17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Mark stable, x86, amd64, ppc, sparc.
+
+  14 Jan 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
+  Added ~alpha
+
+  15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Tighten up versioning to try to prevent mismatch problems as seen in #112348.
+
+*libselinux-1.28 (09 Dec 2005)
+
+  09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
+  -files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
+  +libselinux-1.28.ebuild:
+  New upstream release.
+
+  09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.24.ebuild:
+  Mark stable.
+
+*libselinux-1.24 (25 Jun 2005)
+
+  25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.20.ebuild,
+  -libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
+  New upstream release.
+
+  13 May 2005; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.22-r1.ebuild:
+  Mark stable.
+
+  10 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
+  mips stable
+
+*libselinux-1.22-r1 (08 May 2005)
+
+  08 May 2005; Chris PeBenito <pebenito@gentoo.org>
+  +files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
+  A couple fixes, including one for bug #91921.
+
+  01 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
+  Mark ~mips.
+
+  01 May 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.22.ebuild:
+  Mark stable.
+
+*libselinux-1.22 (13 Mar 2005)
+
+  13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.22.ebuild:
+  New upstream release.
+
+  13 Feb 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.20.ebuild:
+  Mark stable.
+
+*libselinux-1.20 (07 Jan 2005)
+
+  07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
+  +libselinux-1.20.ebuild:
+  New upstream release.  Mark 1.18 stable.
+
+  03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
+  libselinux-1.18.ebuild:
+  Switch to libc virtual for DEP since uclibc now has xattr support.
+
+*libselinux-1.18 (14 Nov 2004)
+
+  14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
+  +files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
+  New upstream release.
+
+*libselinux-1.16 (07 Sep 2004)
+
+  07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
+  New upstream release.
+
+*libselinux-1.14 (02 Jul 2004)
+
+  02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
+  New upstream version.
+
+  11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
+  libselinux-1.12.ebuild:
+  Mark stable
+
+*libselinux-1.12 (14 May 2004)
+
+  14 May 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.12.ebuild:
+  New upstream release.
+
+*libselinux-1.10 (17 Apr 2004)
+
+  17 Apr 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.10.ebuild:
+  New upstream version.
+
+  08 Apr 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
+  Mark stable for 2004.1
+
+*libselinux-1.8 (12 Mar 2004)
+
+  12 Mar 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
+  New upstream release.
+
+*libselinux-1.6 (24 Feb 2004)
+
+  24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.6.ebuild:
+  New upstream release.
+
+  16 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
+  Mark stable.
+
+*libselinux-1.4 (06 Dec 2003)
+
+  06 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
+  New upstream version.
+
+  29 Oct 2003; Joshua Brindle <method@gentoo.org> libselinux-1.2-r2.ebuild:
+  added sparc
+
+*libselinux-1.2-r2 (20 Oct 2003)
+
+  20 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r2.ebuild,
+  files/libselinux-1.2-attr.diff:
+  Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
+
+*libselinux-1.2-r1 (07 Oct 2003)
+
+  07 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r1.ebuild,
+  files/libselinux-1.2-gentoo.diff:
+  Move libraries to /lib, to fix problems with having a separate /usr during
+  booting.
+
+*libselinux-1.2 (03 Oct 2003)
+
+  03 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2.ebuild,
+  files/libselinux-1.2-const.diff:
+  New upstream version.
+
+  22 Sep 2003; <paul@gentoo.org> metadata.xml:
+  Fix metadata.xml
+
+  21 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild:
+  Add a dep for portage. The newer versions have labelling support for the old
+  API.
+
+  18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
+  metadata.xml:
+  Fix license, this is public-domain, not GPL-2. Use package description in RPM
+  spec file as metadata.xml long description.
+
+  15 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
+  libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
+  Mark stable
+
+*libselinux-1.1-r1 (14 Aug 2003)
+
+  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
+  libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
+  Add fix for a random linking problem that causes libselinux to work
+  incorrectly.
+
+*libselinux-1.1 (14 Aug 2003)
+
+  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
+  files/libselinux-1.1-gentoo.diff:
+  New upstream version
+
+  04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
+  files/libselinux-1.0-gentoo.diff:
+  Add on a NSA nullbyte patch to the gentoo patch
+
+*libselinux-1.0 (03 Aug 2003)
+
+  03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
+  metadata.xml, files/libselinux-1.0-gentoo.diff:
+  Initial commit

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild
new file mode 100644
index 0000000..9283b74
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-2.1.12-r2.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $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 $
+
+EAPI="4"
+PYTHON_DEPEND="python? *"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
+USE_RUBY="ruby18 ruby19"
+
+inherit multilib python toolchain-funcs eutils ruby-ng
+
+SEPOL_VER="2.1.8"
+
+DESCRIPTION="SELinux userland library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/20120924/${P}.tar.gz
+	http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r2.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python ruby static-libs"
+
+RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
+	>=dev-libs/libpcre-8.30-r2[static-libs?]
+	ruby? ( $(ruby_implementations_depend) )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	ruby? ( dev-lang/swig )
+	python? ( dev-lang/swig )"
+
+S="${WORKDIR}/${P}"
+
+pkg_setup() {
+	if use python; then
+		python_pkg_setup
+	fi
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	# fix up paths for multilib
+	sed -i \
+		-e "/^LIBDIR/s/lib/$(get_libdir)/" \
+		-e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
+		src/Makefile utils/Makefile || die
+
+	EPATCH_MULTI_MSG="Applying libselinux patches ... " \
+	EPATCH_SUFFIX="patch" \
+	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
+	EPATCH_FORCE="yes" \
+	epatch
+
+	epatch_user
+}
+
+each_ruby_compile() {
+	local RUBYLIBVER=$(${RUBY} -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
+	cd "${WORKDIR}/${P}"
+	cp -r src src-ruby-${RUBYLIBVER}
+	cd src-ruby-${RUBYLIBVER}
+
+	if [[ "${RUBYLIBVER}" == "1.8" ]]; then
+		emake CC="$(tc-getCC)" RUBY="${RUBY}" RUBYINC="-I$(ruby_get_hdrdir)" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" rubywrap || die
+	else
+		emake CC="$(tc-getCC)" RUBY="${RUBY}" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" rubywrap || die
+	fi
+}
+
+src_compile() {
+	tc-export RANLIB
+	emake \
+		AR="$(tc-getAR)" \
+		CC="$(tc-getCC)" \
+		LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" all || die
+
+	if use python; then
+		python_copy_sources src
+		building() {
+			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
+		}
+		python_execute_function -s --source-dir src building
+	fi
+
+	if use ruby; then
+		ruby-ng_src_compile
+	fi
+}
+
+each_ruby_install() {
+	local RUBYLIBVER=$(${RUBY} -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
+
+	cd "${WORKDIR}/${P}/src-ruby-${RUBYLIBVER}"
+	emake RUBY="${RUBY}" DESTDIR="${D}" install-rubywrap || die
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+
+	if use python; then
+		installation() {
+			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap
+		}
+		python_execute_function -s --source-dir src installation
+	fi
+
+	if use ruby; then
+		ruby-ng_src_install
+	fi
+
+	use static-libs || rm "${D}"/usr/lib*/*.a
+}
+
+pkg_postinst() {
+	if use python; then
+		python_mod_optimize selinux
+	fi
+}
+
+pkg_postrm() {
+	if use python; then
+		python_mod_cleanup selinux
+	fi
+}

diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml
new file mode 100644
index 0000000..0c7f186
--- /dev/null
+++ b/sys-libs/libselinux/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>selinux</herd>
+	<longdescription>
+		Libselinux provides an API for SELinux applications to get and set
+		process and file security contexts and to obtain security policy
+		decisions.  Required for any applications that use the SELinux API.
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-11-22 21:06 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-11-22 21:06 UTC (permalink / raw
  To: gentoo-commits

commit:     a4e65e5df962c71a8d6120fe41382fe0d808266a
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Thu Nov 22 21:06:00 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Thu Nov 22 21:06:00 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=a4e65e5d

Now in main tree

---
 sys-libs/libselinux/ChangeLog                   |  399 -----------------------
 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild |  106 ------
 sys-libs/libselinux/metadata.xml                |   10 -
 3 files changed, 0 insertions(+), 515 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
deleted file mode 100644
index 52ba7b9..0000000
--- a/sys-libs/libselinux/ChangeLog
+++ /dev/null
@@ -1,399 +0,0 @@
-# ChangeLog for sys-libs/libselinux
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.88 2012/10/13 16:42:25 swift Exp $
-
-  28 Oct 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
-  Adding support for static-libs
-
-  28 Oct 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
-  Adding static-libs IUSE and pass it to libpcre (bug #436752)
-
-*libselinux-2.1.12-r1 (19 Oct 2012)
-
-  19 Oct 2012; <swift@gentoo.org> +libselinux-2.1.12-r1.ebuild, +metadata.xml:
-  Adding Requires.private towards libpcre
-
-  13 Oct 2012; <swift@gentoo.org> libselinux-2.1.12.ebuild:
-  Supporting user-provided patches using epatch_user
-
-*libselinux-2.1.12 (09 Oct 2012)
-*libselinux-2.1.9-r3 (09 Oct 2012)
-
-  09 Oct 2012; <swift@gentoo.org> +libselinux-2.1.9-r3.ebuild,
-  +files/libselinux-2.1.9-support_ruby19.patch, +libselinux-2.1.12.ebuild,
-  +files/libselinux-2.1.12-mountsys.patch:
-  Introducing upstream version and fix for ruby19
-
-  06 Oct 2012; <swift@gentoo.org> libselinux-2.1.9-r2.ebuild:
-  Stabilize
-
-  03 Oct 2012; Mike Frysinger <vapier@gentoo.org> libselinux-2.1.9-r2.ebuild:
-  Fix /usr/lib handling in utils subdir too.
-
-*libselinux-2.1.9-r2 (08 Sep 2012)
-
-  08 Sep 2012; <swift@gentoo.org> +libselinux-2.1.9-r2.ebuild:
-  Fix bugs #429456 and #417303
-
-  06 Aug 2012; Patrick Lauer <patrick@gentoo.org> libselinux-2.1.9-r1.ebuild:
-  Restricting python ABIs that don't work
-
-  10 Jul 2012; <swift@gentoo.org> libselinux-2.1.9-r1.ebuild:
-  Stabilization
-
-  26 Jun 2012; Mike Gilbert <floppym@gentoo.org> libselinux-2.1.9-r1.ebuild,
-  libselinux-2.1.9.ebuild:
-  Restrict pypy per Arfrever.
-
-  13 May 2012; <swift@gentoo.org> -libselinux-2.1.0.ebuild:
-  Removing obsoleted ebuild
-
-*libselinux-2.1.9-r1 (13 May 2012)
-
-  13 May 2012; <swift@gentoo.org> +libselinux-2.1.9-r1.ebuild,
-  +files/libselinux-2.1.9-mountsys.patch:
-  Mount /sys before trying to mount /sys/fs/selinux from within the policy load
-  functions, bug #414779
-
-  29 Apr 2012; <swift@gentoo.org> libselinux-2.1.9.ebuild:
-  Stabilization
-
-*libselinux-2.1.9 (31 Mar 2012)
-
-  31 Mar 2012; <swift@gentoo.org> +libselinux-2.1.9.ebuild:
-  Bump to version 2.1.9
-
-  12 Nov 2011; <swift@gentoo.org> -libselinux-2.0.94.ebuild,
-  -libselinux-2.0.98.ebuild:
-  Remove deprecated ebuilds
-
-  23 Oct 2011; <swift@gentoo.org> libselinux-2.1.0.ebuild:
-  Stabilization (tracker #384231)
-
-  12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
-  -libselinux-2.0.71.ebuild, -libselinux-2.0.85.ebuild,
-  -files/libselinux-2.0.85-headers.patch, -files/compat.py:
-  Removed deprecated versions
-
-*libselinux-2.1.0 (03 Aug 2011)
-
-  03 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
-  +libselinux-2.1.0.ebuild:
-  Bump to 20110727 SELinux userspace release
-
-*libselinux-2.0.98 (15 Jul 2011)
-
-  15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
-  +libselinux-2.0.98.ebuild:
-  Bump to 2.0.98 - proxy for SwifT
-
-  28 May 2011; Anthony G. Basile <blueness@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Stable amd64 x86
-
-  13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
-  Updated metadata.xml to reflect new selinux herd.
-
-  06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Add "python" USE flag.
-
-  05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
-
-*libselinux-2.0.94 (05 Feb 2011)
-
-  05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
-  +libselinux-2.0.94.ebuild:
-  New upstream release.
-
-  29 Sep 2010; Mike Frysinger <vapier@gentoo.org> libselinux-2.0.85.ebuild,
-  +files/libselinux-2.0.85-headers.patch:
-  Fix by Chris Richards for building with glibc-2.12 #338302.
-
-  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
-  Delete calls to deprecated python_version().
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
-  Add python_need_rebuild.
-
-*libselinux-2.0.85 (02 Aug 2009)
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-2.0.85.ebuild:
-  New upstream release.
-
-  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
-  -libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
-  Mark stable. Remove old ebuilds.
-
-*libselinux-2.0.71 (03 Oct 2008)
-
-  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-2.0.71.ebuild:
-  Initial commit of 2.0 libselinux.
-
-  29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild:
-  python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
-
-  13 May 2008; Chris PeBenito <pebenito@gentoo.org>
-  -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
-  -libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
-  libselinux-1.34.14.ebuild:
-  Mark 1.34.14 stable, clear old ebuilds.
-
-  11 May 2008; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
-  libselinux-1.34.14.ebuild:
-  Fix bug #221501.
-
-*libselinux-1.34.14 (29 Jan 2008)
-
-  29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.14.ebuild:
-  New upstream bugfix release.
-
-*libselinux-1.34.13 (18 Oct 2007)
-
-  18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.13.ebuild:
-  New upstream release.
-
-  04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.34.0.ebuild:
-  Mark stable.
-
-  16 Feb 2007; Stephen Bennett <spb@gentoo.org> libselinux-1.34.0.ebuild:
-  Add missing swig depend. Bug #167007
-
-*libselinux-1.34.0 (15 Feb 2007)
-
-  15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.0.ebuild:
-  New upstream release.
-
-  23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.30.29.ebuild:
-  Fix depend for glibc
-
-  09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.30.29.ebuild:
-  Stable to make repoman happy.
-
-*libselinux-1.30.29 (05 Oct 2006)
-
-  05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.30.29.ebuild:
-  Add SVN snapshot.
-
-  31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
-  Mark stable, long overdue.
-
-  07 Apr 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
-  Split python wrapper compile into a separate emake to ensure the main
-  library is built before trying to build the wrapper. Fixes bug #129074.
-
-  22 Mar 2006; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.24.ebuild,
-  -libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
-  Mark 1.28-r1 stable, clean out old ebuilds.
-
-*libselinux-1.30 (18 Mar 2006)
-
-  18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
-  New upstream release.
-
-  22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
-  Alpha stable
-
-*libselinux-1.28-r1 (20 Feb 2006)
-
-  20 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +files/compat.py,
-  +libselinux-1.28-r1.ebuild:
-  Add python-selinux compatability aliases to swig wrapper.
-
-  19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libselinux-1.28.ebuild:
-  Marked stable on mips.
-
-  09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Move python_version out of global scope.
-
-  29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
-  hopefully fix #119271.
-
-  17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Mark stable, x86, amd64, ppc, sparc.
-
-  14 Jan 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
-  Added ~alpha
-
-  15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Tighten up versioning to try to prevent mismatch problems as seen in #112348.
-
-*libselinux-1.28 (09 Dec 2005)
-
-  09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
-  -files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
-  +libselinux-1.28.ebuild:
-  New upstream release.
-
-  09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.24.ebuild:
-  Mark stable.
-
-*libselinux-1.24 (25 Jun 2005)
-
-  25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.20.ebuild,
-  -libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
-  New upstream release.
-
-  13 May 2005; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.22-r1.ebuild:
-  Mark stable.
-
-  10 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
-  mips stable
-
-*libselinux-1.22-r1 (08 May 2005)
-
-  08 May 2005; Chris PeBenito <pebenito@gentoo.org>
-  +files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
-  A couple fixes, including one for bug #91921.
-
-  01 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
-  Mark ~mips.
-
-  01 May 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.22.ebuild:
-  Mark stable.
-
-*libselinux-1.22 (13 Mar 2005)
-
-  13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.22.ebuild:
-  New upstream release.
-
-  13 Feb 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.20.ebuild:
-  Mark stable.
-
-*libselinux-1.20 (07 Jan 2005)
-
-  07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
-  +libselinux-1.20.ebuild:
-  New upstream release.  Mark 1.18 stable.
-
-  03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
-  libselinux-1.18.ebuild:
-  Switch to libc virtual for DEP since uclibc now has xattr support.
-
-*libselinux-1.18 (14 Nov 2004)
-
-  14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
-  +files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
-  New upstream release.
-
-*libselinux-1.16 (07 Sep 2004)
-
-  07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
-  New upstream release.
-
-*libselinux-1.14 (02 Jul 2004)
-
-  02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
-  New upstream version.
-
-  11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
-  libselinux-1.12.ebuild:
-  Mark stable
-
-*libselinux-1.12 (14 May 2004)
-
-  14 May 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.12.ebuild:
-  New upstream release.
-
-*libselinux-1.10 (17 Apr 2004)
-
-  17 Apr 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.10.ebuild:
-  New upstream version.
-
-  08 Apr 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
-  Mark stable for 2004.1
-
-*libselinux-1.8 (12 Mar 2004)
-
-  12 Mar 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
-  New upstream release.
-
-*libselinux-1.6 (24 Feb 2004)
-
-  24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.6.ebuild:
-  New upstream release.
-
-  16 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
-  Mark stable.
-
-*libselinux-1.4 (06 Dec 2003)
-
-  06 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
-  New upstream version.
-
-  29 Oct 2003; Joshua Brindle <method@gentoo.org> libselinux-1.2-r2.ebuild:
-  added sparc
-
-*libselinux-1.2-r2 (20 Oct 2003)
-
-  20 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r2.ebuild,
-  files/libselinux-1.2-attr.diff:
-  Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
-
-*libselinux-1.2-r1 (07 Oct 2003)
-
-  07 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r1.ebuild,
-  files/libselinux-1.2-gentoo.diff:
-  Move libraries to /lib, to fix problems with having a separate /usr during
-  booting.
-
-*libselinux-1.2 (03 Oct 2003)
-
-  03 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2.ebuild,
-  files/libselinux-1.2-const.diff:
-  New upstream version.
-
-  22 Sep 2003; <paul@gentoo.org> metadata.xml:
-  Fix metadata.xml
-
-  21 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild:
-  Add a dep for portage. The newer versions have labelling support for the old
-  API.
-
-  18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
-  metadata.xml:
-  Fix license, this is public-domain, not GPL-2. Use package description in RPM
-  spec file as metadata.xml long description.
-
-  15 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
-  libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
-  Mark stable
-
-*libselinux-1.1-r1 (14 Aug 2003)
-
-  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
-  libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
-  Add fix for a random linking problem that causes libselinux to work
-  incorrectly.
-
-*libselinux-1.1 (14 Aug 2003)
-
-  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
-  files/libselinux-1.1-gentoo.diff:
-  New upstream version
-
-  04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
-  files/libselinux-1.0-gentoo.diff:
-  Add on a NSA nullbyte patch to the gentoo patch
-
-*libselinux-1.0 (03 Aug 2003)
-
-  03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
-  metadata.xml, files/libselinux-1.0-gentoo.diff:
-  Initial commit

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
deleted file mode 100644
index a2ef9f3..0000000
--- a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.1.12.ebuild,v 1.2 2012/10/13 16:42:25 swift Exp $
-
-EAPI="4"
-PYTHON_DEPEND="python? *"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
-
-inherit multilib python toolchain-funcs eutils
-
-SEPOL_VER="2.1.8"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20120924/${P}.tar.gz
-	http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r1.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="python ruby static-libs"
-
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
-	>=dev-libs/libpcre-8.30-r2[static-libs?]
-	ruby? ( dev-lang/ruby )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	ruby? ( dev-lang/swig )
-	python? ( dev-lang/swig )"
-
-S="${WORKDIR}/${P}"
-
-pkg_setup() {
-	if use python; then
-		python_pkg_setup
-	fi
-}
-
-src_unpack() {
-	default
-}
-
-src_prepare() {
-	# fix up paths for multilib
-	sed -i \
-		-e "/^LIBDIR/s/lib/$(get_libdir)/" \
-		-e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
-		src/Makefile utils/Makefile || die
-
-	EPATCH_MULTI_MSG="Applying libselinux patches ... " \
-	EPATCH_SUFFIX="patch" \
-	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
-	EPATCH_FORCE="yes" \
-	epatch
-
-	epatch_user
-}
-
-src_compile() {
-	emake \
-		AR="$(tc-getAR)" \
-		CC="$(tc-getCC)" \
-		LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" all || die
-
-	if use python; then
-		python_copy_sources src
-		building() {
-			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
-		}
-		python_execute_function -s --source-dir src building
-	fi
-
-	if use ruby; then
-		emake CC="$(tc-getCC)" rubywrap || die
-	fi
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die
-
-	if use python; then
-		installation() {
-			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap
-		}
-		python_execute_function -s --source-dir src installation
-	fi
-
-	if use ruby; then
-		emake DESTDIR="${D}" install-rubywrap || die
-	fi
-
-	use static-libs || rm "${D}"/usr/lib*/*.a
-}
-
-pkg_postinst() {
-	if use python; then
-		python_mod_optimize selinux
-	fi
-}
-
-pkg_postrm() {
-	if use python; then
-		python_mod_cleanup selinux
-	fi
-}

diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml
deleted file mode 100644
index 0c7f186..0000000
--- a/sys-libs/libselinux/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>selinux</herd>
-	<longdescription>
-		Libselinux provides an API for SELinux applications to get and set
-		process and file security contexts and to obtain security policy
-		decisions.  Required for any applications that use the SELinux API.
-	</longdescription>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-10-28 21:14 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-10-28 21:14 UTC (permalink / raw
  To: gentoo-commits

commit:     56d104eda99969dffaa95b1f622aca757fffcd93
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Oct 28 21:11:48 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sun Oct 28 21:11:48 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=56d104ed

Remove pity attempt at static building

---
 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
index e12665e..a2ef9f3 100644
--- a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
@@ -58,8 +58,6 @@ src_prepare() {
 }
 
 src_compile() {
-	use static-libs && LDFLAGS="-static"
-
 	emake \
 		AR="$(tc-getAR)" \
 		CC="$(tc-getCC)" \


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-10-28 20:38 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-10-28 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     fe5ca0a8be797b20411e4f9f730a6ecbbabc0774
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Oct 28 20:35:38 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sun Oct 28 20:35:38 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=fe5ca0a8

Use simple rm to remove unneeded archive file

---
 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
index e512cf9..e12665e 100644
--- a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
@@ -92,7 +92,7 @@ src_install() {
 		emake DESTDIR="${D}" install-rubywrap || die
 	fi
 
-	use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*libselinux*.a' -delete
+	use static-libs || rm "${D}"/usr/lib*/*.a
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-10-28 20:28 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-10-28 20:28 UTC (permalink / raw
  To: gentoo-commits

commit:     7dea37756f6179527f53645119f0df9128f191c5
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Oct 28 20:26:12 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sun Oct 28 20:26:12 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=7dea3775

Removing archive files at end of install if static-libs is not set

---
 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
index fc039b8..e512cf9 100644
--- a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
@@ -81,8 +81,6 @@ src_compile() {
 src_install() {
 	emake DESTDIR="${D}" install || die
 
-	use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*libselinux*.a' -delete
-
 	if use python; then
 		installation() {
 			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap
@@ -93,6 +91,8 @@ src_install() {
 	if use ruby; then
 		emake DESTDIR="${D}" install-rubywrap || die
 	fi
+
+	use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*libselinux*.a' -delete
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-10-28 20:14 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-10-28 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     f92b85c58ba42e88ee35fe40e6a1760a7213412c
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Oct 28 20:12:20 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sun Oct 28 20:12:20 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=f92b85c5

Adding support for static-libs

---
 sys-libs/libselinux/ChangeLog                   |    3 +++
 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild |    9 ++++++++-
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index 5b8e5dd..52ba7b9 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -3,6 +3,9 @@
 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.88 2012/10/13 16:42:25 swift Exp $
 
   28 Oct 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
+  Adding support for static-libs
+
+  28 Oct 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
   Adding static-libs IUSE and pass it to libpcre (bug #436752)
 
 *libselinux-2.1.12-r1 (19 Oct 2012)

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
index 5dce5f3..fc039b8 100644
--- a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
@@ -58,7 +58,12 @@ src_prepare() {
 }
 
 src_compile() {
-	emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" all || die
+	use static-libs && LDFLAGS="-static"
+
+	emake \
+		AR="$(tc-getAR)" \
+		CC="$(tc-getCC)" \
+		LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" all || die
 
 	if use python; then
 		python_copy_sources src
@@ -76,6 +81,8 @@ src_compile() {
 src_install() {
 	emake DESTDIR="${D}" install || die
 
+	use static-libs || find "${D}"/usr/ -name '*.a' -a '!' -name '*libselinux*.a' -delete
+
 	if use python; then
 		installation() {
 			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-10-28 18:17 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-10-28 18:17 UTC (permalink / raw
  To: gentoo-commits

commit:     91d3ce9347cff62dac489de93fe2f3eab32c120f
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sun Oct 28 18:14:19 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sun Oct 28 18:14:19 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=91d3ce93

Adding IUSE=static-libs and pass it on to libpcre

---
 sys-libs/libselinux/ChangeLog                   |    3 +++
 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index be7557e..5b8e5dd 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.88 2012/10/13 16:42:25 swift Exp $
 
+  28 Oct 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
+  Adding static-libs IUSE and pass it to libpcre (bug #436752)
+
 *libselinux-2.1.12-r1 (19 Oct 2012)
 
   19 Oct 2012; <swift@gentoo.org> +libselinux-2.1.12-r1.ebuild, +metadata.xml:

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
index 799c258..5dce5f3 100644
--- a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
@@ -19,10 +19,10 @@ SRC_URI="http://userspace.selinuxproject.org/releases/20120924/${P}.tar.gz
 LICENSE="public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="python ruby"
+IUSE="python ruby static-libs"
 
 RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
-	>=dev-libs/libpcre-8.30-r2
+	>=dev-libs/libpcre-8.30-r2[static-libs?]
 	ruby? ( dev-lang/ruby )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-10-19 18:39 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-10-19 18:39 UTC (permalink / raw
  To: gentoo-commits

commit:     58273ba6ae230abb49aae76f988752f4a417c113
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Fri Oct 19 18:36:26 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Fri Oct 19 18:36:26 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=58273ba6

Fix #436752

---
 sys-libs/libselinux/ChangeLog                   |  393 +++++++++++++++++++++++
 sys-libs/libselinux/libselinux-2.1.12-r1.ebuild |  101 ++++++
 sys-libs/libselinux/metadata.xml                |   10 +
 3 files changed, 504 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
new file mode 100644
index 0000000..be7557e
--- /dev/null
+++ b/sys-libs/libselinux/ChangeLog
@@ -0,0 +1,393 @@
+# ChangeLog for sys-libs/libselinux
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.88 2012/10/13 16:42:25 swift Exp $
+
+*libselinux-2.1.12-r1 (19 Oct 2012)
+
+  19 Oct 2012; <swift@gentoo.org> +libselinux-2.1.12-r1.ebuild, +metadata.xml:
+  Adding Requires.private towards libpcre
+
+  13 Oct 2012; <swift@gentoo.org> libselinux-2.1.12.ebuild:
+  Supporting user-provided patches using epatch_user
+
+*libselinux-2.1.12 (09 Oct 2012)
+*libselinux-2.1.9-r3 (09 Oct 2012)
+
+  09 Oct 2012; <swift@gentoo.org> +libselinux-2.1.9-r3.ebuild,
+  +files/libselinux-2.1.9-support_ruby19.patch, +libselinux-2.1.12.ebuild,
+  +files/libselinux-2.1.12-mountsys.patch:
+  Introducing upstream version and fix for ruby19
+
+  06 Oct 2012; <swift@gentoo.org> libselinux-2.1.9-r2.ebuild:
+  Stabilize
+
+  03 Oct 2012; Mike Frysinger <vapier@gentoo.org> libselinux-2.1.9-r2.ebuild:
+  Fix /usr/lib handling in utils subdir too.
+
+*libselinux-2.1.9-r2 (08 Sep 2012)
+
+  08 Sep 2012; <swift@gentoo.org> +libselinux-2.1.9-r2.ebuild:
+  Fix bugs #429456 and #417303
+
+  06 Aug 2012; Patrick Lauer <patrick@gentoo.org> libselinux-2.1.9-r1.ebuild:
+  Restricting python ABIs that don't work
+
+  10 Jul 2012; <swift@gentoo.org> libselinux-2.1.9-r1.ebuild:
+  Stabilization
+
+  26 Jun 2012; Mike Gilbert <floppym@gentoo.org> libselinux-2.1.9-r1.ebuild,
+  libselinux-2.1.9.ebuild:
+  Restrict pypy per Arfrever.
+
+  13 May 2012; <swift@gentoo.org> -libselinux-2.1.0.ebuild:
+  Removing obsoleted ebuild
+
+*libselinux-2.1.9-r1 (13 May 2012)
+
+  13 May 2012; <swift@gentoo.org> +libselinux-2.1.9-r1.ebuild,
+  +files/libselinux-2.1.9-mountsys.patch:
+  Mount /sys before trying to mount /sys/fs/selinux from within the policy load
+  functions, bug #414779
+
+  29 Apr 2012; <swift@gentoo.org> libselinux-2.1.9.ebuild:
+  Stabilization
+
+*libselinux-2.1.9 (31 Mar 2012)
+
+  31 Mar 2012; <swift@gentoo.org> +libselinux-2.1.9.ebuild:
+  Bump to version 2.1.9
+
+  12 Nov 2011; <swift@gentoo.org> -libselinux-2.0.94.ebuild,
+  -libselinux-2.0.98.ebuild:
+  Remove deprecated ebuilds
+
+  23 Oct 2011; <swift@gentoo.org> libselinux-2.1.0.ebuild:
+  Stabilization (tracker #384231)
+
+  12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+  -libselinux-2.0.71.ebuild, -libselinux-2.0.85.ebuild,
+  -files/libselinux-2.0.85-headers.patch, -files/compat.py:
+  Removed deprecated versions
+
+*libselinux-2.1.0 (03 Aug 2011)
+
+  03 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.1.0.ebuild:
+  Bump to 20110727 SELinux userspace release
+
+*libselinux-2.0.98 (15 Jul 2011)
+
+  15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.0.98.ebuild:
+  Bump to 2.0.98 - proxy for SwifT
+
+  28 May 2011; Anthony G. Basile <blueness@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Stable amd64 x86
+
+  13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
+  Updated metadata.xml to reflect new selinux herd.
+
+  06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Add "python" USE flag.
+
+  05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
+
+*libselinux-2.0.94 (05 Feb 2011)
+
+  05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.0.94.ebuild:
+  New upstream release.
+
+  29 Sep 2010; Mike Frysinger <vapier@gentoo.org> libselinux-2.0.85.ebuild,
+  +files/libselinux-2.0.85-headers.patch:
+  Fix by Chris Richards for building with glibc-2.12 #338302.
+
+  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Delete calls to deprecated python_version().
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Add python_need_rebuild.
+
+*libselinux-2.0.85 (02 Aug 2009)
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-2.0.85.ebuild:
+  New upstream release.
+
+  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
+  -libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
+  Mark stable. Remove old ebuilds.
+
+*libselinux-2.0.71 (03 Oct 2008)
+
+  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-2.0.71.ebuild:
+  Initial commit of 2.0 libselinux.
+
+  29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild:
+  python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
+
+  13 May 2008; Chris PeBenito <pebenito@gentoo.org>
+  -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
+  -libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
+  libselinux-1.34.14.ebuild:
+  Mark 1.34.14 stable, clear old ebuilds.
+
+  11 May 2008; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
+  libselinux-1.34.14.ebuild:
+  Fix bug #221501.
+
+*libselinux-1.34.14 (29 Jan 2008)
+
+  29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.14.ebuild:
+  New upstream bugfix release.
+
+*libselinux-1.34.13 (18 Oct 2007)
+
+  18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.13.ebuild:
+  New upstream release.
+
+  04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.34.0.ebuild:
+  Mark stable.
+
+  16 Feb 2007; Stephen Bennett <spb@gentoo.org> libselinux-1.34.0.ebuild:
+  Add missing swig depend. Bug #167007
+
+*libselinux-1.34.0 (15 Feb 2007)
+
+  15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.0.ebuild:
+  New upstream release.
+
+  23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.30.29.ebuild:
+  Fix depend for glibc
+
+  09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.30.29.ebuild:
+  Stable to make repoman happy.
+
+*libselinux-1.30.29 (05 Oct 2006)
+
+  05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.30.29.ebuild:
+  Add SVN snapshot.
+
+  31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
+  Mark stable, long overdue.
+
+  07 Apr 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
+  Split python wrapper compile into a separate emake to ensure the main
+  library is built before trying to build the wrapper. Fixes bug #129074.
+
+  22 Mar 2006; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.24.ebuild,
+  -libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
+  Mark 1.28-r1 stable, clean out old ebuilds.
+
+*libselinux-1.30 (18 Mar 2006)
+
+  18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
+  New upstream release.
+
+  22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
+  Alpha stable
+
+*libselinux-1.28-r1 (20 Feb 2006)
+
+  20 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +files/compat.py,
+  +libselinux-1.28-r1.ebuild:
+  Add python-selinux compatability aliases to swig wrapper.
+
+  19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libselinux-1.28.ebuild:
+  Marked stable on mips.
+
+  09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Move python_version out of global scope.
+
+  29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
+  hopefully fix #119271.
+
+  17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Mark stable, x86, amd64, ppc, sparc.
+
+  14 Jan 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
+  Added ~alpha
+
+  15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Tighten up versioning to try to prevent mismatch problems as seen in #112348.
+
+*libselinux-1.28 (09 Dec 2005)
+
+  09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
+  -files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
+  +libselinux-1.28.ebuild:
+  New upstream release.
+
+  09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.24.ebuild:
+  Mark stable.
+
+*libselinux-1.24 (25 Jun 2005)
+
+  25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.20.ebuild,
+  -libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
+  New upstream release.
+
+  13 May 2005; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.22-r1.ebuild:
+  Mark stable.
+
+  10 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
+  mips stable
+
+*libselinux-1.22-r1 (08 May 2005)
+
+  08 May 2005; Chris PeBenito <pebenito@gentoo.org>
+  +files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
+  A couple fixes, including one for bug #91921.
+
+  01 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
+  Mark ~mips.
+
+  01 May 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.22.ebuild:
+  Mark stable.
+
+*libselinux-1.22 (13 Mar 2005)
+
+  13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.22.ebuild:
+  New upstream release.
+
+  13 Feb 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.20.ebuild:
+  Mark stable.
+
+*libselinux-1.20 (07 Jan 2005)
+
+  07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
+  +libselinux-1.20.ebuild:
+  New upstream release.  Mark 1.18 stable.
+
+  03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
+  libselinux-1.18.ebuild:
+  Switch to libc virtual for DEP since uclibc now has xattr support.
+
+*libselinux-1.18 (14 Nov 2004)
+
+  14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
+  +files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
+  New upstream release.
+
+*libselinux-1.16 (07 Sep 2004)
+
+  07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
+  New upstream release.
+
+*libselinux-1.14 (02 Jul 2004)
+
+  02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
+  New upstream version.
+
+  11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
+  libselinux-1.12.ebuild:
+  Mark stable
+
+*libselinux-1.12 (14 May 2004)
+
+  14 May 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.12.ebuild:
+  New upstream release.
+
+*libselinux-1.10 (17 Apr 2004)
+
+  17 Apr 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.10.ebuild:
+  New upstream version.
+
+  08 Apr 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
+  Mark stable for 2004.1
+
+*libselinux-1.8 (12 Mar 2004)
+
+  12 Mar 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
+  New upstream release.
+
+*libselinux-1.6 (24 Feb 2004)
+
+  24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.6.ebuild:
+  New upstream release.
+
+  16 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
+  Mark stable.
+
+*libselinux-1.4 (06 Dec 2003)
+
+  06 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
+  New upstream version.
+
+  29 Oct 2003; Joshua Brindle <method@gentoo.org> libselinux-1.2-r2.ebuild:
+  added sparc
+
+*libselinux-1.2-r2 (20 Oct 2003)
+
+  20 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r2.ebuild,
+  files/libselinux-1.2-attr.diff:
+  Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
+
+*libselinux-1.2-r1 (07 Oct 2003)
+
+  07 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r1.ebuild,
+  files/libselinux-1.2-gentoo.diff:
+  Move libraries to /lib, to fix problems with having a separate /usr during
+  booting.
+
+*libselinux-1.2 (03 Oct 2003)
+
+  03 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2.ebuild,
+  files/libselinux-1.2-const.diff:
+  New upstream version.
+
+  22 Sep 2003; <paul@gentoo.org> metadata.xml:
+  Fix metadata.xml
+
+  21 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild:
+  Add a dep for portage. The newer versions have labelling support for the old
+  API.
+
+  18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
+  metadata.xml:
+  Fix license, this is public-domain, not GPL-2. Use package description in RPM
+  spec file as metadata.xml long description.
+
+  15 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
+  libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
+  Mark stable
+
+*libselinux-1.1-r1 (14 Aug 2003)
+
+  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
+  libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
+  Add fix for a random linking problem that causes libselinux to work
+  incorrectly.
+
+*libselinux-1.1 (14 Aug 2003)
+
+  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
+  files/libselinux-1.1-gentoo.diff:
+  New upstream version
+
+  04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
+  files/libselinux-1.0-gentoo.diff:
+  Add on a NSA nullbyte patch to the gentoo patch
+
+*libselinux-1.0 (03 Aug 2003)
+
+  03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
+  metadata.xml, files/libselinux-1.0-gentoo.diff:
+  Initial commit

diff --git a/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
new file mode 100644
index 0000000..799c258
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-2.1.12-r1.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.1.12.ebuild,v 1.2 2012/10/13 16:42:25 swift Exp $
+
+EAPI="4"
+PYTHON_DEPEND="python? *"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
+
+inherit multilib python toolchain-funcs eutils
+
+SEPOL_VER="2.1.8"
+
+DESCRIPTION="SELinux userland library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/20120924/${P}.tar.gz
+	http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r1.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python ruby"
+
+RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
+	>=dev-libs/libpcre-8.30-r2
+	ruby? ( dev-lang/ruby )"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig
+	ruby? ( dev-lang/swig )
+	python? ( dev-lang/swig )"
+
+S="${WORKDIR}/${P}"
+
+pkg_setup() {
+	if use python; then
+		python_pkg_setup
+	fi
+}
+
+src_unpack() {
+	default
+}
+
+src_prepare() {
+	# fix up paths for multilib
+	sed -i \
+		-e "/^LIBDIR/s/lib/$(get_libdir)/" \
+		-e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
+		src/Makefile utils/Makefile || die
+
+	EPATCH_MULTI_MSG="Applying libselinux patches ... " \
+	EPATCH_SUFFIX="patch" \
+	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
+	EPATCH_FORCE="yes" \
+	epatch
+
+	epatch_user
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC $($(tc-getPKG_CONFIG) libpcre --libs) ${LDFLAGS}" all || die
+
+	if use python; then
+		python_copy_sources src
+		building() {
+			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
+		}
+		python_execute_function -s --source-dir src building
+	fi
+
+	if use ruby; then
+		emake CC="$(tc-getCC)" rubywrap || die
+	fi
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+
+	if use python; then
+		installation() {
+			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" install-pywrap
+		}
+		python_execute_function -s --source-dir src installation
+	fi
+
+	if use ruby; then
+		emake DESTDIR="${D}" install-rubywrap || die
+	fi
+}
+
+pkg_postinst() {
+	if use python; then
+		python_mod_optimize selinux
+	fi
+}
+
+pkg_postrm() {
+	if use python; then
+		python_mod_cleanup selinux
+	fi
+}

diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml
new file mode 100644
index 0000000..0c7f186
--- /dev/null
+++ b/sys-libs/libselinux/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>selinux</herd>
+	<longdescription>
+		Libselinux provides an API for SELinux applications to get and set
+		process and file security contexts and to obtain security policy
+		decisions.  Required for any applications that use the SELinux API.
+	</longdescription>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-10-06 19:24 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-10-06 19:24 UTC (permalink / raw
  To: gentoo-commits

commit:     289072ba2a803deadd812e66cd814ca9187a5fe0
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat Oct  6 18:28:33 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sat Oct  6 18:28:33 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=289072ba

Update ebuild to reflect library changes (in main tree) and use pkg-config for handling the pcre libs

(Portage version: 2.1.11.9/git/Linux x86_64, unsigned Manifest commit)

---
 sys-libs/libselinux/ChangeLog                |    3 +++
 sys-libs/libselinux/libselinux-2.1.12.ebuild |   13 +++++++------
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
index 2fb4d23..6902980 100644
--- a/sys-libs/libselinux/ChangeLog
+++ b/sys-libs/libselinux/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.84 2012/09/08 18:44:22 swift Exp $
 
+  06 Oct 2012; <swift@gentoo.org> libselinux-2.1.12.ebuild:
+  Merging changes from main portage tree regarding library handling
+
 *libselinux-2.1.9-r2 (08 Sep 2012)
 
   08 Sep 2012; <swift@gentoo.org> +libselinux-2.1.9-r2.ebuild:

diff --git a/sys-libs/libselinux/libselinux-2.1.12.ebuild b/sys-libs/libselinux/libselinux-2.1.12.ebuild
index cbb227e..698f60f 100644
--- a/sys-libs/libselinux/libselinux-2.1.12.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.12.ebuild
@@ -26,6 +26,7 @@ RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
 	>=dev-libs/libpcre-8.30-r2
 	ruby? ( $(ruby_implementations_depend) )"
 DEPEND="${RDEPEND}
+	virtual/pkgconfig
 	ruby? ( dev-lang/swig )
 	python? ( dev-lang/swig )"
 
@@ -47,20 +48,20 @@ src_unpack() {
 
 src_prepare() {
 	# fix up paths for multilib
-	sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \
-		|| die "Fix for multilib LIBDIR failed."
-	sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \
-		|| die "Fix for multilib SHLIBDIR failed."
+	sed -i \
+		-e "/^LIBDIR/s/lib/$(get_libdir)/" \
+		-e "/^SHLIBDIR/s/lib/$(get_libdir)/" \
+		src/Makefile utils/Makefile || die
 	epatch "${FILESDIR}/${P}-mountsys.patch"
 }
 
 src_compile() {
-	emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC -lpcre ${LDFLAGS}" all || die
+	emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC $(pkg-config --libs libpcre) ${LDFLAGS}" all || die
 
 	if use python; then
 		python_copy_sources src
 		building() {
-			emake CC="$(tc-getCC)" PYINC="-I$(python_get_includedir)" PYTHONLIBDIR="$(python_get_library -l)" PYPREFIX="python-$(python_get_version)" LDFLAGS="-fPIC -lpcre ${LDFLAGS}" pywrap
+			emake CC="$(tc-getCC)" PYINC="-I$(python_get_includedir)" PYTHONLIBDIR="$(python_get_library -l)" PYPREFIX="python-$(python_get_version)" LDFLAGS="-fPIC $(pkg-config --libs libpcre) ${LDFLAGS}" pywrap
 		}
 		python_execute_function -s --source-dir src building
 	fi


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-08-08 20:00 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-08-08 20:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c7da80fc79add727e6f7ae82f3604c3cb76839d4
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Wed Aug  8 19:59:28 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Wed Aug  8 19:59:28 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=c7da80fc

Fix #429456 thanks to Arfrever for the ebuild patch

---
 sys-libs/libselinux/libselinux-2.1.9-r2.ebuild |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild b/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild
index 5e3ee43..2824ea1 100644
--- a/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild
@@ -5,7 +5,7 @@
 EAPI="4"
 PYTHON_DEPEND="python? *"
 SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython *-pypy-* 2.5 2.6"
+RESTRICT_PYTHON_ABIS="2.5 *-jython *-pypy-*"
 USE_RUBY="ruby18"
 RUBY_OPTIONAL="yes"
 
@@ -59,7 +59,7 @@ src_compile() {
 	if use python; then
 		python_copy_sources src
 		building() {
-			emake CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" PYPREFIX="python-$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap
+			emake CC="$(tc-getCC)" PYINC="-I$(python_get_includedir)" PYTHONLIBDIR="$(python_get_library -l)" PYPREFIX="python-$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap
 		}
 		python_execute_function -s --source-dir src building
 	fi


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2012-08-08 17:01 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2012-08-08 17:01 UTC (permalink / raw
  To: gentoo-commits

commit:     c2bf78874a5b2e96ba30e0479f22b5a77e5357b9
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Wed Aug  8 17:00:06 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Wed Aug  8 17:00:06 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=c2bf7887

#429456 - Building does not work with CPython 2.5 and 2.6

---
 sys-libs/libselinux/libselinux-2.1.9-r2.ebuild |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild b/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild
index d5ba9b8..5e3ee43 100644
--- a/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild
+++ b/sys-libs/libselinux/libselinux-2.1.9-r2.ebuild
@@ -5,7 +5,7 @@
 EAPI="4"
 PYTHON_DEPEND="python? *"
 SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
+RESTRICT_PYTHON_ABIS="*-jython *-pypy-* 2.5 2.6"
 USE_RUBY="ruby18"
 RUBY_OPTIONAL="yes"
 


^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2011-08-03  9:34 Anthony G. Basile
  0 siblings, 0 replies; 18+ messages in thread
From: Anthony G. Basile @ 2011-08-03  9:34 UTC (permalink / raw
  To: gentoo-commits

commit:     52aa2948aa4d206811a1437b351d6fdc6cc0ef98
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  3 09:34:10 2011 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Aug  3 09:34:10 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=52aa2948

sys-libs/libselinux: moved to tree

---
 sys-libs/libselinux/ChangeLog               |  326 ---------------------------
 sys-libs/libselinux/libselinux-2.1.0.ebuild |   83 -------
 sys-libs/libselinux/metadata.xml            |   10 -
 3 files changed, 0 insertions(+), 419 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
deleted file mode 100644
index 48d9d3b..0000000
--- a/sys-libs/libselinux/ChangeLog
+++ /dev/null
@@ -1,326 +0,0 @@
-# ChangeLog for sys-libs/libselinux
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.72 2011/07/15 20:57:55 blueness Exp $
-
-*libselinux-2.1.0 (02 Aug 2011)
-
-  02 Aug 2011; <swift@gentoo.org> +libselinux-2.1.0.ebuild, +metadata.xml:
-  Bump to 20110727 SELinux userspace release
-
-*libselinux-2.0.98 (15 Jul 2011)
-
-  15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
-  +libselinux-2.0.98.ebuild:
-  Bump to 2.0.98 - proxy for SwifT
-
-  28 May 2011; Anthony G. Basile <blueness@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Stable amd64 x86
-
-  13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
-  Updated metadata.xml to reflect new selinux herd.
-
-  06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Add "python" USE flag.
-
-  05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.94.ebuild:
-  Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
-
-*libselinux-2.0.94 (05 Feb 2011)
-
-  05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
-  +libselinux-2.0.94.ebuild:
-  New upstream release.
-
-  29 Sep 2010; Mike Frysinger <vapier@gentoo.org> libselinux-2.0.85.ebuild,
-  +files/libselinux-2.0.85-headers.patch:
-  Fix by Chris Richards for building with glibc-2.12 #338302.
-
-  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
-  Delete calls to deprecated python_version().
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
-  Add python_need_rebuild.
-
-*libselinux-2.0.85 (02 Aug 2009)
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-2.0.85.ebuild:
-  New upstream release.
-
-  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
-  -libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
-  Mark stable. Remove old ebuilds.
-
-*libselinux-2.0.71 (03 Oct 2008)
-
-  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-2.0.71.ebuild:
-  Initial commit of 2.0 libselinux.
-
-  29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild:
-  python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
-
-  13 May 2008; Chris PeBenito <pebenito@gentoo.org>
-  -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
-  -libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
-  libselinux-1.34.14.ebuild:
-  Mark 1.34.14 stable, clear old ebuilds.
-
-  11 May 2008; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
-  libselinux-1.34.14.ebuild:
-  Fix bug #221501.
-
-*libselinux-1.34.14 (29 Jan 2008)
-
-  29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.14.ebuild:
-  New upstream bugfix release.
-
-*libselinux-1.34.13 (18 Oct 2007)
-
-  18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.13.ebuild:
-  New upstream release.
-
-  04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.34.0.ebuild:
-  Mark stable.
-
-  16 Feb 2007; Stephen Bennett <spb@gentoo.org> libselinux-1.34.0.ebuild:
-  Add missing swig depend. Bug #167007
-
-*libselinux-1.34.0 (15 Feb 2007)
-
-  15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.34.0.ebuild:
-  New upstream release.
-
-  23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.30.29.ebuild:
-  Fix depend for glibc
-
-  09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.30.29.ebuild:
-  Stable to make repoman happy.
-
-*libselinux-1.30.29 (05 Oct 2006)
-
-  05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
-  +libselinux-1.30.29.ebuild:
-  Add SVN snapshot.
-
-  31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
-  Mark stable, long overdue.
-
-  07 Apr 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
-  Split python wrapper compile into a separate emake to ensure the main
-  library is built before trying to build the wrapper. Fixes bug #129074.
-
-  22 Mar 2006; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.24.ebuild,
-  -libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
-  Mark 1.28-r1 stable, clean out old ebuilds.
-
-*libselinux-1.30 (18 Mar 2006)
-
-  18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
-  New upstream release.
-
-  22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
-  Alpha stable
-
-*libselinux-1.28-r1 (20 Feb 2006)
-
-  20 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +files/compat.py,
-  +libselinux-1.28-r1.ebuild:
-  Add python-selinux compatability aliases to swig wrapper.
-
-  19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libselinux-1.28.ebuild:
-  Marked stable on mips.
-
-  09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Move python_version out of global scope.
-
-  29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
-  hopefully fix #119271.
-
-  17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Mark stable, x86, amd64, ppc, sparc.
-
-  14 Jan 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
-  Added ~alpha
-
-  15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
-  Tighten up versioning to try to prevent mismatch problems as seen in #112348.
-
-*libselinux-1.28 (09 Dec 2005)
-
-  09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
-  -files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
-  +libselinux-1.28.ebuild:
-  New upstream release.
-
-  09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.24.ebuild:
-  Mark stable.
-
-*libselinux-1.24 (25 Jun 2005)
-
-  25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.20.ebuild,
-  -libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
-  New upstream release.
-
-  13 May 2005; Chris PeBenito <pebenito@gentoo.org>
-  libselinux-1.22-r1.ebuild:
-  Mark stable.
-
-  10 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
-  mips stable
-
-*libselinux-1.22-r1 (08 May 2005)
-
-  08 May 2005; Chris PeBenito <pebenito@gentoo.org>
-  +files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
-  A couple fixes, including one for bug #91921.
-
-  01 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
-  Mark ~mips.
-
-  01 May 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.22.ebuild:
-  Mark stable.
-
-*libselinux-1.22 (13 Mar 2005)
-
-  13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.22.ebuild:
-  New upstream release.
-
-  13 Feb 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.20.ebuild:
-  Mark stable.
-
-*libselinux-1.20 (07 Jan 2005)
-
-  07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
-  +libselinux-1.20.ebuild:
-  New upstream release.  Mark 1.18 stable.
-
-  03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
-  libselinux-1.18.ebuild:
-  Switch to libc virtual for DEP since uclibc now has xattr support.
-
-*libselinux-1.18 (14 Nov 2004)
-
-  14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
-  +files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
-  New upstream release.
-
-*libselinux-1.16 (07 Sep 2004)
-
-  07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
-  New upstream release.
-
-*libselinux-1.14 (02 Jul 2004)
-
-  02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
-  New upstream version.
-
-  11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
-  libselinux-1.12.ebuild:
-  Mark stable
-
-*libselinux-1.12 (14 May 2004)
-
-  14 May 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.12.ebuild:
-  New upstream release.
-
-*libselinux-1.10 (17 Apr 2004)
-
-  17 Apr 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.10.ebuild:
-  New upstream version.
-
-  08 Apr 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
-  Mark stable for 2004.1
-
-*libselinux-1.8 (12 Mar 2004)
-
-  12 Mar 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
-  New upstream release.
-
-*libselinux-1.6 (24 Feb 2004)
-
-  24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.6.ebuild:
-  New upstream release.
-
-  16 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
-  Mark stable.
-
-*libselinux-1.4 (06 Dec 2003)
-
-  06 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
-  New upstream version.
-
-  29 Oct 2003; Joshua Brindle <method@gentoo.org> libselinux-1.2-r2.ebuild:
-  added sparc
-
-*libselinux-1.2-r2 (20 Oct 2003)
-
-  20 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r2.ebuild,
-  files/libselinux-1.2-attr.diff:
-  Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
-
-*libselinux-1.2-r1 (07 Oct 2003)
-
-  07 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r1.ebuild,
-  files/libselinux-1.2-gentoo.diff:
-  Move libraries to /lib, to fix problems with having a separate /usr during
-  booting.
-
-*libselinux-1.2 (03 Oct 2003)
-
-  03 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2.ebuild,
-  files/libselinux-1.2-const.diff:
-  New upstream version.
-
-  22 Sep 2003; <paul@gentoo.org> metadata.xml:
-  Fix metadata.xml
-
-  21 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild:
-  Add a dep for portage. The newer versions have labelling support for the old
-  API.
-
-  18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
-  metadata.xml:
-  Fix license, this is public-domain, not GPL-2. Use package description in RPM
-  spec file as metadata.xml long description.
-
-  15 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
-  libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
-  Mark stable
-
-*libselinux-1.1-r1 (14 Aug 2003)
-
-  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
-  libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
-  Add fix for a random linking problem that causes libselinux to work
-  incorrectly.
-
-*libselinux-1.1 (14 Aug 2003)
-
-  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
-  files/libselinux-1.1-gentoo.diff:
-  New upstream version
-
-  04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
-  files/libselinux-1.0-gentoo.diff:
-  Add on a NSA nullbyte patch to the gentoo patch
-
-*libselinux-1.0 (03 Aug 2003)
-
-  03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
-  metadata.xml, files/libselinux-1.0-gentoo.diff:
-  Initial commit
-

diff --git a/sys-libs/libselinux/libselinux-2.1.0.ebuild b/sys-libs/libselinux/libselinux-2.1.0.ebuild
deleted file mode 100644
index dff140f..0000000
--- a/sys-libs/libselinux/libselinux-2.1.0.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.0.98.ebuild,v 1.1 2011/07/15 20:57:55 blueness Exp $
-
-EAPI="2"
-PYTHON_DEPEND="python? 2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython"
-
-inherit multilib python toolchain-funcs
-
-SEPOL_VER="2.1.0"
-
-DESCRIPTION="SELinux userland library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20110727/devel/${P}.tar.gz"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="python ruby"
-
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
-	ruby? ( dev-lang/ruby )"
-DEPEND="${RDEPEND}
-	ruby? ( dev-lang/swig )"
-
-pkg_setup() {
-	if use python; then
-		python_pkg_setup
-	fi
-}
-
-src_prepare() {
-	# fix up paths for multilib
-	sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \
-		|| die "Fix for multilib LIBDIR failed."
-	sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \
-		|| die "Fix for multilib SHLIBDIR failed."
-}
-
-src_compile() {
-	emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC ${LDFLAGS}" all || die
-
-	if use python; then
-		python_copy_sources src
-		building() {
-			emake CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap
-		}
-		python_execute_function -s --source-dir src building
-	fi
-
-	if use ruby; then
-		emake CC="$(tc-getCC)" rubywrap || die
-	fi
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die
-
-	if use python; then
-		installation() {
-			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install-pywrap
-		}
-		python_execute_function -s --source-dir src installation
-	fi
-
-	if use ruby; then
-		emake DESTDIR="${D}" install-rubywrap || die
-	fi
-}
-
-pkg_postinst() {
-	if use python; then
-		python_mod_optimize selinux
-	fi
-}
-
-pkg_postrm() {
-	if use python; then
-		python_mod_cleanup selinux
-	fi
-}

diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml
deleted file mode 100644
index 0c7f186..0000000
--- a/sys-libs/libselinux/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>selinux</herd>
-	<longdescription>
-		Libselinux provides an API for SELinux applications to get and set
-		process and file security contexts and to obtain security policy
-		decisions.  Required for any applications that use the SELinux API.
-	</longdescription>
-</pkgmetadata>



^ permalink raw reply related	[flat|nested] 18+ messages in thread
* [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/
@ 2011-07-13 21:57 Sven Vermeulen
  0 siblings, 0 replies; 18+ messages in thread
From: Sven Vermeulen @ 2011-07-13 21:57 UTC (permalink / raw
  To: gentoo-commits

commit:     13081b493ad8872afb6181e5450cb8bf3757702a
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Wed Jul 13 21:54:21 2011 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Wed Jul 13 21:54:21 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=13081b49

Bump to 2.0.98

---
 sys-libs/libselinux/ChangeLog                |  323 ++++++++++++++++++++++++++
 sys-libs/libselinux/libselinux-2.0.98.ebuild |   83 +++++++
 sys-libs/libselinux/metadata.xml             |   10 +
 3 files changed, 416 insertions(+), 0 deletions(-)

diff --git a/sys-libs/libselinux/ChangeLog b/sys-libs/libselinux/ChangeLog
new file mode 100644
index 0000000..dd16fa4
--- /dev/null
+++ b/sys-libs/libselinux/ChangeLog
@@ -0,0 +1,323 @@
+# ChangeLog for sys-libs/libselinux
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.71 2011/05/28 05:24:03 blueness Exp $
+
+  13 Jul 2011; <swift@gentoo.org> +libselinux-2.0.98.ebuild, +metadata.xml:
+  Bump to 2.0.98
+
+*libselinux-2.0.98 (12 Jul 2011)
+
+  12 Jul 2011; <swift@gentoo.org> +libselinux-2.0.98.ebuild, +metadata.xml:
+  Bump to 2.0.98
+
+  28 May 2011; Anthony G. Basile <blueness@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Stable amd64 x86
+
+  13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
+  Updated metadata.xml to reflect new selinux herd.
+
+  06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Add "python" USE flag.
+
+  05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.94.ebuild:
+  Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
+
+*libselinux-2.0.94 (05 Feb 2011)
+
+  05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
+  +libselinux-2.0.94.ebuild:
+  New upstream release.
+
+  29 Sep 2010; Mike Frysinger <vapier@gentoo.org> libselinux-2.0.85.ebuild,
+  +files/libselinux-2.0.85-headers.patch:
+  Fix by Chris Richards for building with glibc-2.12 #338302.
+
+  16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Delete calls to deprecated python_version().
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
+  Add python_need_rebuild.
+
+*libselinux-2.0.85 (02 Aug 2009)
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-2.0.85.ebuild:
+  New upstream release.
+
+  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
+  -libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
+  Mark stable. Remove old ebuilds.
+
+*libselinux-2.0.71 (03 Oct 2008)
+
+  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-2.0.71.ebuild:
+  Initial commit of 2.0 libselinux.
+
+  29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild:
+  python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
+
+  13 May 2008; Chris PeBenito <pebenito@gentoo.org>
+  -libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
+  -libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
+  libselinux-1.34.14.ebuild:
+  Mark 1.34.14 stable, clear old ebuilds.
+
+  11 May 2008; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
+  libselinux-1.34.14.ebuild:
+  Fix bug #221501.
+
+*libselinux-1.34.14 (29 Jan 2008)
+
+  29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.14.ebuild:
+  New upstream bugfix release.
+
+*libselinux-1.34.13 (18 Oct 2007)
+
+  18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.13.ebuild:
+  New upstream release.
+
+  04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.34.0.ebuild:
+  Mark stable.
+
+  16 Feb 2007; Stephen Bennett <spb@gentoo.org> libselinux-1.34.0.ebuild:
+  Add missing swig depend. Bug #167007
+
+*libselinux-1.34.0 (15 Feb 2007)
+
+  15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.34.0.ebuild:
+  New upstream release.
+
+  23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.30.29.ebuild:
+  Fix depend for glibc
+
+  09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.30.29.ebuild:
+  Stable to make repoman happy.
+
+*libselinux-1.30.29 (05 Oct 2006)
+
+  05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
+  +libselinux-1.30.29.ebuild:
+  Add SVN snapshot.
+
+  31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
+  Mark stable, long overdue.
+
+  07 Apr 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
+  Split python wrapper compile into a separate emake to ensure the main
+  library is built before trying to build the wrapper. Fixes bug #129074.
+
+  22 Mar 2006; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.24.ebuild,
+  -libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
+  Mark 1.28-r1 stable, clean out old ebuilds.
+
+*libselinux-1.30 (18 Mar 2006)
+
+  18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
+  New upstream release.
+
+  22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
+  Alpha stable
+
+*libselinux-1.28-r1 (20 Feb 2006)
+
+  20 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +files/compat.py,
+  +libselinux-1.28-r1.ebuild:
+  Add python-selinux compatability aliases to swig wrapper.
+
+  19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libselinux-1.28.ebuild:
+  Marked stable on mips.
+
+  09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Move python_version out of global scope.
+
+  29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
+  hopefully fix #119271.
+
+  17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Mark stable, x86, amd64, ppc, sparc.
+
+  14 Jan 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
+  Added ~alpha
+
+  15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
+  Tighten up versioning to try to prevent mismatch problems as seen in #112348.
+
+*libselinux-1.28 (09 Dec 2005)
+
+  09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
+  -files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
+  +libselinux-1.28.ebuild:
+  New upstream release.
+
+  09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.24.ebuild:
+  Mark stable.
+
+*libselinux-1.24 (25 Jun 2005)
+
+  25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.20.ebuild,
+  -libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
+  New upstream release.
+
+  13 May 2005; Chris PeBenito <pebenito@gentoo.org>
+  libselinux-1.22-r1.ebuild:
+  Mark stable.
+
+  10 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
+  mips stable
+
+*libselinux-1.22-r1 (08 May 2005)
+
+  08 May 2005; Chris PeBenito <pebenito@gentoo.org>
+  +files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
+  A couple fixes, including one for bug #91921.
+
+  01 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
+  Mark ~mips.
+
+  01 May 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.22.ebuild:
+  Mark stable.
+
+*libselinux-1.22 (13 Mar 2005)
+
+  13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.22.ebuild:
+  New upstream release.
+
+  13 Feb 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.20.ebuild:
+  Mark stable.
+
+*libselinux-1.20 (07 Jan 2005)
+
+  07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
+  +libselinux-1.20.ebuild:
+  New upstream release.  Mark 1.18 stable.
+
+  03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
+  libselinux-1.18.ebuild:
+  Switch to libc virtual for DEP since uclibc now has xattr support.
+
+*libselinux-1.18 (14 Nov 2004)
+
+  14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
+  +files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
+  New upstream release.
+
+*libselinux-1.16 (07 Sep 2004)
+
+  07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
+  New upstream release.
+
+*libselinux-1.14 (02 Jul 2004)
+
+  02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
+  New upstream version.
+
+  11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
+  libselinux-1.12.ebuild:
+  Mark stable
+
+*libselinux-1.12 (14 May 2004)
+
+  14 May 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.12.ebuild:
+  New upstream release.
+
+*libselinux-1.10 (17 Apr 2004)
+
+  17 Apr 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.10.ebuild:
+  New upstream version.
+
+  08 Apr 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
+  Mark stable for 2004.1
+
+*libselinux-1.8 (12 Mar 2004)
+
+  12 Mar 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
+  New upstream release.
+
+*libselinux-1.6 (24 Feb 2004)
+
+  24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.6.ebuild:
+  New upstream release.
+
+  16 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
+  Mark stable.
+
+*libselinux-1.4 (06 Dec 2003)
+
+  06 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
+  New upstream version.
+
+  29 Oct 2003; Joshua Brindle <method@gentoo.org> libselinux-1.2-r2.ebuild:
+  added sparc
+
+*libselinux-1.2-r2 (20 Oct 2003)
+
+  20 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r2.ebuild,
+  files/libselinux-1.2-attr.diff:
+  Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
+
+*libselinux-1.2-r1 (07 Oct 2003)
+
+  07 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r1.ebuild,
+  files/libselinux-1.2-gentoo.diff:
+  Move libraries to /lib, to fix problems with having a separate /usr during
+  booting.
+
+*libselinux-1.2 (03 Oct 2003)
+
+  03 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2.ebuild,
+  files/libselinux-1.2-const.diff:
+  New upstream version.
+
+  22 Sep 2003; <paul@gentoo.org> metadata.xml:
+  Fix metadata.xml
+
+  21 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild:
+  Add a dep for portage. The newer versions have labelling support for the old
+  API.
+
+  18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
+  metadata.xml:
+  Fix license, this is public-domain, not GPL-2. Use package description in RPM
+  spec file as metadata.xml long description.
+
+  15 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
+  libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
+  Mark stable
+
+*libselinux-1.1-r1 (14 Aug 2003)
+
+  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
+  libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
+  Add fix for a random linking problem that causes libselinux to work
+  incorrectly.
+
+*libselinux-1.1 (14 Aug 2003)
+
+  14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
+  files/libselinux-1.1-gentoo.diff:
+  New upstream version
+
+  04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
+  files/libselinux-1.0-gentoo.diff:
+  Add on a NSA nullbyte patch to the gentoo patch
+
+*libselinux-1.0 (03 Aug 2003)
+
+  03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
+  metadata.xml, files/libselinux-1.0-gentoo.diff:
+  Initial commit
+

diff --git a/sys-libs/libselinux/libselinux-2.0.98.ebuild b/sys-libs/libselinux/libselinux-2.0.98.ebuild
new file mode 100644
index 0000000..120b251
--- /dev/null
+++ b/sys-libs/libselinux/libselinux-2.0.98.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.0.94.ebuild,v 1.5 2011/05/28 05:24:03 blueness Exp $
+
+EAPI="2"
+PYTHON_DEPEND="python? 2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
+
+inherit multilib python toolchain-funcs
+
+SEPOL_VER="2.0.42"
+
+DESCRIPTION="SELinux userland library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/20101221/devel/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python ruby"
+
+RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
+	ruby? ( dev-lang/ruby )"
+DEPEND="${RDEPEND}
+	ruby? ( dev-lang/swig )"
+
+pkg_setup() {
+	if use python; then
+		python_pkg_setup
+	fi
+}
+
+src_prepare() {
+	# fix up paths for multilib
+	sed -i -e "/^LIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \
+		|| die "Fix for multilib LIBDIR failed."
+	sed -i -e "/^SHLIBDIR/s/lib/$(get_libdir)/" "${S}/src/Makefile" \
+		|| die "Fix for multilib SHLIBDIR failed."
+}
+
+src_compile() {
+	emake AR="$(tc-getAR)" CC="$(tc-getCC)" LDFLAGS="-fPIC ${LDFLAGS}" all || die
+
+	if use python; then
+		python_copy_sources src
+		building() {
+			emake CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" LDFLAGS="-fPIC ${LDFLAGS}" pywrap
+		}
+		python_execute_function -s --source-dir src building
+	fi
+
+	if use ruby; then
+		emake CC="$(tc-getCC)" rubywrap || die
+	fi
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die
+
+	if use python; then
+		installation() {
+			emake DESTDIR="${D}" PYLIBVER="python$(python_get_version)" install-pywrap
+		}
+		python_execute_function -s --source-dir src installation
+	fi
+
+	if use ruby; then
+		emake DESTDIR="${D}" install-rubywrap || die
+	fi
+}
+
+pkg_postinst() {
+	if use python; then
+		python_mod_optimize selinux
+	fi
+}
+
+pkg_postrm() {
+	if use python; then
+		python_mod_cleanup selinux
+	fi
+}

diff --git a/sys-libs/libselinux/metadata.xml b/sys-libs/libselinux/metadata.xml
new file mode 100644
index 0000000..0c7f186
--- /dev/null
+++ b/sys-libs/libselinux/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>selinux</herd>
+	<longdescription>
+		Libselinux provides an API for SELinux applications to get and set
+		process and file security contexts and to obtain security policy
+		decisions.  Required for any applications that use the SELinux API.
+	</longdescription>
+</pkgmetadata>



^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2013-04-11 16:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 16:16 [gentoo-commits] proj/hardened-dev:master commit in: sys-libs/libselinux/ Sven Vermeulen
  -- strict thread matches above, loose matches on Subject: below --
2013-04-11 16:46 Sven Vermeulen
2013-03-29  8:53 Sven Vermeulen
2013-03-26 20:06 Sven Vermeulen
2012-11-23 22:12 Sven Vermeulen
2012-11-23 21:35 Sven Vermeulen
2012-11-22 21:06 Sven Vermeulen
2012-10-28 21:14 Sven Vermeulen
2012-10-28 20:38 Sven Vermeulen
2012-10-28 20:28 Sven Vermeulen
2012-10-28 20:14 Sven Vermeulen
2012-10-28 18:17 Sven Vermeulen
2012-10-19 18:39 Sven Vermeulen
2012-10-06 19:24 Sven Vermeulen
2012-08-08 20:00 Sven Vermeulen
2012-08-08 17:01 Sven Vermeulen
2011-08-03  9:34 Anthony G. Basile
2011-07-13 21:57 Sven Vermeulen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox