public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
@ 2011-02-06 20:03 Anthony G. Basile
  0 siblings, 0 replies; 8+ messages in thread
From: Anthony G. Basile @ 2011-02-06 20:03 UTC (permalink / raw
  To: gentoo-commits

commit:     ceaa1499d4f1640b9ec757f1c2998acccb1a02bc
Author:     Anthony G. Basile <basile <AT> opensource <DOT> dyc <DOT> edu>
AuthorDate: Sun Feb  6 20:03:01 2011 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Feb  6 20:03:01 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=ceaa1499

dev-python/sepolgen moved to portage.

---
 dev-python/sepolgen/ChangeLog              |    9 -----
 dev-python/sepolgen/metadata.xml           |   10 -----
 dev-python/sepolgen/sepolgen-1.0.23.ebuild |   54 ----------------------------
 3 files changed, 0 insertions(+), 73 deletions(-)

diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
deleted file mode 100644
index 928e696..0000000
--- a/dev-python/sepolgen/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-# ChangeLog for dev-python/sepolgen
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
-*sepolgen-1.0.23 (03 Jan 2011)
-
-  03 Jan 2011; <swift@gentoo.org> +sepolgen-1.0.23.ebuild, +metadata.xml:
-  Update to SELinux userspace 20100525
-

diff --git a/dev-python/sepolgen/metadata.xml b/dev-python/sepolgen/metadata.xml
deleted file mode 100644
index bdc97df..0000000
--- a/dev-python/sepolgen/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>hardened</herd>
-<longdescription lang="en">
-The sepolgen application helps users to create additional policies for applications
-that Gentoo does not provide a SELinux policy module for. 
-</longdescription>
-</pkgmetadata>
-

diff --git a/dev-python/sepolgen/sepolgen-1.0.23.ebuild b/dev-python/sepolgen/sepolgen-1.0.23.ebuild
deleted file mode 100644
index 7b8c6d7..0000000
--- a/dev-python/sepolgen/sepolgen-1.0.23.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.17-r1.ebuild,v 1.2 2010/04/04 18:53:45 arfrever Exp $
-
-inherit python
-
-IUSE=""
-
-DESCRIPTION="SELinux policy generation library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20101221/devel/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND=""
-RDEPEND=">=dev-lang/python-2.5
-	>=sys-libs/libselinux-2.0"
-
-src_unpack() {
-	unpack ${A}
-
-	# fix up default paths to not be RH specific
-	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \
-		"${S}/src/sepolgen/defaults.py" || die
-	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict/include:' \
-		"${S}/src/sepolgen/module.py" || die
-}
-
-src_compile() {
-	return
-}
-
-src_test() {
-	if has_version sec-policy/selinux-base-policy; then
-		make test
-	else
-		ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests."
-	fi
-}
-
-src_install() {
-	python_need_rebuild
-	make DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" \
-		 install || die "install failed"
-}
-
-pkg_postinst() {
-	python_mod_optimize $(python_get_sitedir)
-}
-
-pkg_postrm() {
-	python_mod_cleanup $(python_get_sitedir)
-}



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

* [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
@ 2011-08-03  9:20 Anthony G. Basile
  0 siblings, 0 replies; 8+ messages in thread
From: Anthony G. Basile @ 2011-08-03  9:20 UTC (permalink / raw
  To: gentoo-commits

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

dev-python/sepolgen: moved to tree

---
 dev-python/sepolgen/ChangeLog             |   57 -----------------------------
 dev-python/sepolgen/metadata.xml          |    6 ---
 dev-python/sepolgen/sepolgen-1.1.0.ebuild |   57 -----------------------------
 3 files changed, 0 insertions(+), 120 deletions(-)

diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
deleted file mode 100644
index dd1fd23..0000000
--- a/dev-python/sepolgen/ChangeLog
+++ /dev/null
@@ -1,57 +0,0 @@
-# ChangeLog for dev-python/sepolgen
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.11 2011/05/28 05:34:22 blueness Exp $
-
-*sepolgen-1.1.0 (02 Aug 2011)
-
-  02 Aug 2011; <swift@gentoo.org> +sepolgen-1.1.0.ebuild, +metadata.xml:
-  Bump to 20110727 release of SELinux userspace
-
-  28 May 2011; Anthony G. Basile <blueness@gentoo.org> sepolgen-1.0.23.ebuild:
-  Stable amd64 x86
-
-  25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild:
-  Fix deprecation warnings.
-
-  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>
-  sepolgen-1.0.23.ebuild:
-  Set SUPPORT_PYTHON_ABIS (bug #345551).
-
-*sepolgen-1.0.23 (06 Feb 2011)
-
-  06 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
-  +sepolgen-1.0.23.ebuild:
-  New upstream release.
-
-  04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild:
-  Delete calls to deprecated python_version().
-
-*sepolgen-1.0.17-r1 (16 Dec 2009)
-
-  16 Dec 2009; Chris PeBenito <pebenito@gentoo.org>
-  +sepolgen-1.0.17-r1.ebuild:
-  Fix build tests for #296737.
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild,
-  sepolgen-1.0.17.ebuild:
-  Fix bug #244742.
-
-*sepolgen-1.0.17 (02 Aug 2009)
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> +sepolgen-1.0.17.ebuild:
-  New upstream release.
-
-  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild:
-  Mark stable. Remove old ebuilds.
-
-*sepolgen-1.0.13 (03 Oct 2008)
-
-  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org> +metadata.xml,
-  +sepolgen-1.0.13.ebuild:
-  Initial commit.
-

diff --git a/dev-python/sepolgen/metadata.xml b/dev-python/sepolgen/metadata.xml
deleted file mode 100644
index d75890e..0000000
--- a/dev-python/sepolgen/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>selinux</herd>
-	<longdescription>Python module needed for audit2allow</longdescription>
-</pkgmetadata>

diff --git a/dev-python/sepolgen/sepolgen-1.1.0.ebuild b/dev-python/sepolgen/sepolgen-1.1.0.ebuild
deleted file mode 100644
index dee1fa2..0000000
--- a/dev-python/sepolgen/sepolgen-1.1.0.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.23.ebuild,v 1.3 2011/05/28 05:34:22 blueness Exp $
-
-EAPI="2"
-PYTHON_DEPEND="2:2.5"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.4 3.* *-jython"
-
-inherit python
-
-DESCRIPTION="SELinux policy generation library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20110727/devel/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=">=sys-libs/libselinux-2.0[python]"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	# fix up default paths to not be RH specific
-	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \
-		"${S}/src/sepolgen/defaults.py" || die
-	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict/include:' \
-		"${S}/src/sepolgen/module.py" || die
-}
-
-src_compile() {
-	:
-}
-
-src_test() {
-	if has_version sec-policy/selinux-base-policy; then
-		python_src_test
-	else
-		ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests."
-	fi
-}
-
-src_install() {
-	installation() {
-		emake DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" install
-	}
-	python_execute_function installation
-}
-
-pkg_postinst() {
-	python_mod_optimize sepolgen
-}
-
-pkg_postrm() {
-	python_mod_cleanup sepolgen
-}



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

* [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
@ 2012-02-25 14:16 Sven Vermeulen
  0 siblings, 0 replies; 8+ messages in thread
From: Sven Vermeulen @ 2012-02-25 14:16 UTC (permalink / raw
  To: gentoo-commits

commit:     c48a1ce4963d54bc639b7da578cf1d30af095fcd
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat Feb 25 14:15:43 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sat Feb 25 14:15:43 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=c48a1ce4

Fix wrong dependencies

---
 dev-python/sepolgen/ChangeLog             |    3 +++
 dev-python/sepolgen/sepolgen-1.1.5.ebuild |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
index 6b7672a..70bbe5b 100644
--- a/dev-python/sepolgen/ChangeLog
+++ b/dev-python/sepolgen/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.14 2011/10/23 12:41:16 swift Exp $
 
+  25 Feb 2012; <swift@gentoo.org> sepolgen-1.1.5.ebuild:
+  Fix wrong atom for dependencies
+
 *sepolgen-1.1.5 (20 Feb 2012)
 
   20 Feb 2012; <swift@gentoo.org> +sepolgen-1.1.5.ebuild, +metadata.xml:

diff --git a/dev-python/sepolgen/sepolgen-1.1.5.ebuild b/dev-python/sepolgen/sepolgen-1.1.5.ebuild
index 1fd22bc..aed49ea 100644
--- a/dev-python/sepolgen/sepolgen-1.1.5.ebuild
+++ b/dev-python/sepolgen/sepolgen-1.1.5.ebuild
@@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND=">=sys-libs/libselinux-2.0[python]
-		>=app-admin/setools[python]"
+		app-admin/setools[python]"
 RDEPEND="${DEPEND}"
 
 src_prepare() {



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

* [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
@ 2012-05-01 13:39 Sven Vermeulen
  0 siblings, 0 replies; 8+ messages in thread
From: Sven Vermeulen @ 2012-05-01 13:39 UTC (permalink / raw
  To: gentoo-commits

commit:     71896b392253f0ef0d6e26226d5baacd23693765
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Tue May  1 13:37:45 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Tue May  1 13:37:45 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=71896b39

Adding support for python3 in sepolgen

---
 dev-python/sepolgen/ChangeLog                |   80 ++++++++++++++++++++++++++
 dev-python/sepolgen/metadata.xml             |    6 ++
 dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild |   60 +++++++++++++++++++
 3 files changed, 146 insertions(+), 0 deletions(-)

diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
new file mode 100644
index 0000000..e04ba17
--- /dev/null
+++ b/dev-python/sepolgen/ChangeLog
@@ -0,0 +1,80 @@
+# ChangeLog for dev-python/sepolgen
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.17 2012/04/29 10:08:34 swift Exp $
+
+*sepolgen-1.1.5-r1 (01 May 2012)
+
+  01 May 2012; <swift@gentoo.org> +sepolgen-1.1.5-r1.ebuild, +metadata.xml:
+  Adding support for python3
+
+  29 Apr 2012; <swift@gentoo.org> sepolgen-1.1.5.ebuild:
+  Stabilization
+
+  13 Apr 2012; Mike Gilbert <floppym@gentoo.org> sepolgen-1.1.5.ebuild:
+  Fix dependencies. Patch by Arfrever.
+
+*sepolgen-1.1.5 (31 Mar 2012)
+
+  31 Mar 2012; <swift@gentoo.org> +sepolgen-1.1.5.ebuild:
+  Bump to version 1.1.5
+
+  23 Oct 2011; <swift@gentoo.org> sepolgen-1.1.0.ebuild:
+  Stabilization (tracker #384231)
+
+  12 Aug 2011; Anthony G. Basile <blueness@gentoo.org> -sepolgen-1.0.13.ebuild,
+  -sepolgen-1.0.17.ebuild, -sepolgen-1.0.17-r1.ebuild:
+  Removed deprecated versions
+
+*sepolgen-1.1.0 (03 Aug 2011)
+
+  03 Aug 2011; Anthony G. Basile <blueness@gentoo.org> +sepolgen-1.1.0.ebuild:
+  Bump to 20110727 release of SELinux userspace
+
+  28 May 2011; Anthony G. Basile <blueness@gentoo.org> sepolgen-1.0.23.ebuild:
+  Stable amd64 x86
+
+  25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild:
+  Fix deprecation warnings.
+
+  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>
+  sepolgen-1.0.23.ebuild:
+  Set SUPPORT_PYTHON_ABIS (bug #345551).
+
+*sepolgen-1.0.23 (06 Feb 2011)
+
+  06 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
+  +sepolgen-1.0.23.ebuild:
+  New upstream release.
+
+  04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild:
+  Delete calls to deprecated python_version().
+
+*sepolgen-1.0.17-r1 (16 Dec 2009)
+
+  16 Dec 2009; Chris PeBenito <pebenito@gentoo.org>
+  +sepolgen-1.0.17-r1.ebuild:
+  Fix build tests for #296737.
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild,
+  sepolgen-1.0.17.ebuild:
+  Fix bug #244742.
+
+*sepolgen-1.0.17 (02 Aug 2009)
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> +sepolgen-1.0.17.ebuild:
+  New upstream release.
+
+  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild:
+  Mark stable. Remove old ebuilds.
+
+*sepolgen-1.0.13 (03 Oct 2008)
+
+  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org> +metadata.xml,
+  +sepolgen-1.0.13.ebuild:
+  Initial commit.
+

diff --git a/dev-python/sepolgen/metadata.xml b/dev-python/sepolgen/metadata.xml
new file mode 100644
index 0000000..d75890e
--- /dev/null
+++ b/dev-python/sepolgen/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>selinux</herd>
+	<longdescription>Python module needed for audit2allow</longdescription>
+</pkgmetadata>

diff --git a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
new file mode 100644
index 0000000..a762990
--- /dev/null
+++ b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.5.ebuild,v 1.3 2012/04/29 10:08:34 swift Exp $
+
+EAPI="4"
+PYTHON_DEPEND="*"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython"
+
+inherit python eutils
+
+DESCRIPTION="SELinux policy generation library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz
+		http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-2to3.patch.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=sys-libs/libselinux-2.0[python]
+		app-admin/setools[python]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	epatch "${DISTDIR}/sepolgen-1.1.5-2to3.patch.gz"
+	# fix up default paths to not be RH specific
+	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \
+		"${S}/src/sepolgen/defaults.py" || die
+	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict/include:' \
+		"${S}/src/sepolgen/module.py" || die
+}
+
+src_compile() {
+	:
+}
+
+src_test() {
+	if has_version sec-policy/selinux-base-policy; then
+		python_src_test
+	else
+		ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests."
+	fi
+}
+
+src_install() {
+	installation() {
+		emake DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" install
+	}
+	python_execute_function installation
+}
+
+pkg_postinst() {
+	python_mod_optimize sepolgen
+}
+
+pkg_postrm() {
+	python_mod_cleanup sepolgen
+}



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

* [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
@ 2012-05-26 14:48 Sven Vermeulen
  0 siblings, 0 replies; 8+ messages in thread
From: Sven Vermeulen @ 2012-05-26 14:48 UTC (permalink / raw
  To: gentoo-commits

commit:     fe3cd53e9663b3a52c8faf96d5314e7fd7522f86
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat May 26 14:45:14 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sat May 26 14:45:14 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=fe3cd53e

Support python3

---
 dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
index a762990..0d716b3 100644
--- a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
+++ b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
@@ -2,8 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.5.ebuild,v 1.3 2012/04/29 10:08:34 swift Exp $
 
-EAPI="4"
-PYTHON_DEPEND="*"
+EAPI="3"
+PYTHON_DEPEND=""
 SUPPORT_PYTHON_ABIS="1"
 RESTRICT_PYTHON_ABIS="*-jython"
 
@@ -12,7 +12,7 @@ inherit python eutils
 DESCRIPTION="SELinux policy generation library"
 HOMEPAGE="http://userspace.selinuxproject.org"
 SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz
-		http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-2to3.patch.gz"
+	http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-gentoo-01.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -24,12 +24,17 @@ DEPEND=">=sys-libs/libselinux-2.0[python]
 RDEPEND="${DEPEND}"
 
 src_prepare() {
-	epatch "${DISTDIR}/sepolgen-1.1.5-2to3.patch.gz"
 	# fix up default paths to not be RH specific
 	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \
 		"${S}/src/sepolgen/defaults.py" || die
 	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict/include:' \
 		"${S}/src/sepolgen/module.py" || die
+
+	EPATCH_MULTI_MSG="Applying sepolgen patches ... " \
+	EPATCH_SUFFIX="patch" \
+	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
+	EPATCH_FORCE="yes" \
+	epatch
 }
 
 src_compile() {



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

* [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
@ 2012-05-26 15:00 Sven Vermeulen
  0 siblings, 0 replies; 8+ messages in thread
From: Sven Vermeulen @ 2012-05-26 15:00 UTC (permalink / raw
  To: gentoo-commits

commit:     b514d6a0473ea31525bcf0acececf9ba2eb1fb14
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat May 26 14:59:53 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sat May 26 14:59:53 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=b514d6a0

Removing sepolgen from overlay, build failure - sorts not done yet

---
 dev-python/sepolgen/ChangeLog                |   80 --------------------------
 dev-python/sepolgen/metadata.xml             |    6 --
 dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild |   65 ---------------------
 3 files changed, 0 insertions(+), 151 deletions(-)

diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
deleted file mode 100644
index e04ba17..0000000
--- a/dev-python/sepolgen/ChangeLog
+++ /dev/null
@@ -1,80 +0,0 @@
-# ChangeLog for dev-python/sepolgen
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.17 2012/04/29 10:08:34 swift Exp $
-
-*sepolgen-1.1.5-r1 (01 May 2012)
-
-  01 May 2012; <swift@gentoo.org> +sepolgen-1.1.5-r1.ebuild, +metadata.xml:
-  Adding support for python3
-
-  29 Apr 2012; <swift@gentoo.org> sepolgen-1.1.5.ebuild:
-  Stabilization
-
-  13 Apr 2012; Mike Gilbert <floppym@gentoo.org> sepolgen-1.1.5.ebuild:
-  Fix dependencies. Patch by Arfrever.
-
-*sepolgen-1.1.5 (31 Mar 2012)
-
-  31 Mar 2012; <swift@gentoo.org> +sepolgen-1.1.5.ebuild:
-  Bump to version 1.1.5
-
-  23 Oct 2011; <swift@gentoo.org> sepolgen-1.1.0.ebuild:
-  Stabilization (tracker #384231)
-
-  12 Aug 2011; Anthony G. Basile <blueness@gentoo.org> -sepolgen-1.0.13.ebuild,
-  -sepolgen-1.0.17.ebuild, -sepolgen-1.0.17-r1.ebuild:
-  Removed deprecated versions
-
-*sepolgen-1.1.0 (03 Aug 2011)
-
-  03 Aug 2011; Anthony G. Basile <blueness@gentoo.org> +sepolgen-1.1.0.ebuild:
-  Bump to 20110727 release of SELinux userspace
-
-  28 May 2011; Anthony G. Basile <blueness@gentoo.org> sepolgen-1.0.23.ebuild:
-  Stable amd64 x86
-
-  25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild:
-  Fix deprecation warnings.
-
-  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>
-  sepolgen-1.0.23.ebuild:
-  Set SUPPORT_PYTHON_ABIS (bug #345551).
-
-*sepolgen-1.0.23 (06 Feb 2011)
-
-  06 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
-  +sepolgen-1.0.23.ebuild:
-  New upstream release.
-
-  04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-  sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild:
-  Delete calls to deprecated python_version().
-
-*sepolgen-1.0.17-r1 (16 Dec 2009)
-
-  16 Dec 2009; Chris PeBenito <pebenito@gentoo.org>
-  +sepolgen-1.0.17-r1.ebuild:
-  Fix build tests for #296737.
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild,
-  sepolgen-1.0.17.ebuild:
-  Fix bug #244742.
-
-*sepolgen-1.0.17 (02 Aug 2009)
-
-  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> +sepolgen-1.0.17.ebuild:
-  New upstream release.
-
-  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild:
-  Mark stable. Remove old ebuilds.
-
-*sepolgen-1.0.13 (03 Oct 2008)
-
-  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org> +metadata.xml,
-  +sepolgen-1.0.13.ebuild:
-  Initial commit.
-

diff --git a/dev-python/sepolgen/metadata.xml b/dev-python/sepolgen/metadata.xml
deleted file mode 100644
index d75890e..0000000
--- a/dev-python/sepolgen/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<herd>selinux</herd>
-	<longdescription>Python module needed for audit2allow</longdescription>
-</pkgmetadata>

diff --git a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
deleted file mode 100644
index 0d716b3..0000000
--- a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.5.ebuild,v 1.3 2012/04/29 10:08:34 swift Exp $
-
-EAPI="3"
-PYTHON_DEPEND=""
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython"
-
-inherit python eutils
-
-DESCRIPTION="SELinux policy generation library"
-HOMEPAGE="http://userspace.selinuxproject.org"
-SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz
-	http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-gentoo-01.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=">=sys-libs/libselinux-2.0[python]
-		app-admin/setools[python]"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-	# fix up default paths to not be RH specific
-	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \
-		"${S}/src/sepolgen/defaults.py" || die
-	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict/include:' \
-		"${S}/src/sepolgen/module.py" || die
-
-	EPATCH_MULTI_MSG="Applying sepolgen patches ... " \
-	EPATCH_SUFFIX="patch" \
-	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
-	EPATCH_FORCE="yes" \
-	epatch
-}
-
-src_compile() {
-	:
-}
-
-src_test() {
-	if has_version sec-policy/selinux-base-policy; then
-		python_src_test
-	else
-		ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests."
-	fi
-}
-
-src_install() {
-	installation() {
-		emake DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" install
-	}
-	python_execute_function installation
-}
-
-pkg_postinst() {
-	python_mod_optimize sepolgen
-}
-
-pkg_postrm() {
-	python_mod_cleanup sepolgen
-}



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

* [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
@ 2012-05-26 15:14 Sven Vermeulen
  0 siblings, 0 replies; 8+ messages in thread
From: Sven Vermeulen @ 2012-05-26 15:14 UTC (permalink / raw
  To: gentoo-commits

commit:     778658c1ad4049ca13794d0b6b92c8338b091e07
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat May 26 15:14:26 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sat May 26 15:14:26 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=778658c1

There ya go, all sorts should be converted to Python3 now

---
 dev-python/sepolgen/ChangeLog                |   79 ++++++++++++++++++++++++++
 dev-python/sepolgen/metadata.xml             |    6 ++
 dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild |   65 +++++++++++++++++++++
 3 files changed, 150 insertions(+), 0 deletions(-)

diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
new file mode 100644
index 0000000..4f96fe0
--- /dev/null
+++ b/dev-python/sepolgen/ChangeLog
@@ -0,0 +1,79 @@
+# ChangeLog for dev-python/sepolgen
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.18 2012/05/13 13:02:59 swift Exp $
+
+  13 May 2012; <swift@gentoo.org> -sepolgen-1.0.23.ebuild,
+  -sepolgen-1.1.0.ebuild:
+  Removing obsoleted ebuilds
+
+  29 Apr 2012; <swift@gentoo.org> sepolgen-1.1.5.ebuild:
+  Stabilization
+
+  13 Apr 2012; Mike Gilbert <floppym@gentoo.org> sepolgen-1.1.5.ebuild:
+  Fix dependencies. Patch by Arfrever.
+
+*sepolgen-1.1.5 (31 Mar 2012)
+
+  31 Mar 2012; <swift@gentoo.org> +sepolgen-1.1.5.ebuild:
+  Bump to version 1.1.5
+
+  23 Oct 2011; <swift@gentoo.org> sepolgen-1.1.0.ebuild:
+  Stabilization (tracker #384231)
+
+  12 Aug 2011; Anthony G. Basile <blueness@gentoo.org> -sepolgen-1.0.13.ebuild,
+  -sepolgen-1.0.17.ebuild, -sepolgen-1.0.17-r1.ebuild:
+  Removed deprecated versions
+
+*sepolgen-1.1.0 (03 Aug 2011)
+
+  03 Aug 2011; Anthony G. Basile <blueness@gentoo.org> +sepolgen-1.1.0.ebuild:
+  Bump to 20110727 release of SELinux userspace
+
+  28 May 2011; Anthony G. Basile <blueness@gentoo.org> sepolgen-1.0.23.ebuild:
+  Stable amd64 x86
+
+  25 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild:
+  Fix deprecation warnings.
+
+  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>
+  sepolgen-1.0.23.ebuild:
+  Set SUPPORT_PYTHON_ABIS (bug #345551).
+
+*sepolgen-1.0.23 (06 Feb 2011)
+
+  06 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
+  +sepolgen-1.0.23.ebuild:
+  New upstream release.
+
+  04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  sepolgen-1.0.13.ebuild, sepolgen-1.0.17.ebuild, sepolgen-1.0.17-r1.ebuild:
+  Delete calls to deprecated python_version().
+
+*sepolgen-1.0.17-r1 (16 Dec 2009)
+
+  16 Dec 2009; Chris PeBenito <pebenito@gentoo.org>
+  +sepolgen-1.0.17-r1.ebuild:
+  Fix build tests for #296737.
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild,
+  sepolgen-1.0.17.ebuild:
+  Fix bug #244742.
+
+*sepolgen-1.0.17 (02 Aug 2009)
+
+  02 Aug 2009; Chris PeBenito <pebenito@gentoo.org> +sepolgen-1.0.17.ebuild:
+  New upstream release.
+
+  18 Jul 2009; Chris PeBenito <pebenito@gentoo.org> sepolgen-1.0.13.ebuild:
+  Mark stable. Remove old ebuilds.
+
+*sepolgen-1.0.13 (03 Oct 2008)
+
+  03 Oct 2008; Chris PeBenito <pebenito@gentoo.org> +metadata.xml,
+  +sepolgen-1.0.13.ebuild:
+  Initial commit.
+

diff --git a/dev-python/sepolgen/metadata.xml b/dev-python/sepolgen/metadata.xml
new file mode 100644
index 0000000..d75890e
--- /dev/null
+++ b/dev-python/sepolgen/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>selinux</herd>
+	<longdescription>Python module needed for audit2allow</longdescription>
+</pkgmetadata>

diff --git a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
new file mode 100644
index 0000000..0d716b3
--- /dev/null
+++ b/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.1.5.ebuild,v 1.3 2012/04/29 10:08:34 swift Exp $
+
+EAPI="3"
+PYTHON_DEPEND=""
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython"
+
+inherit python eutils
+
+DESCRIPTION="SELinux policy generation library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz
+	http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-gentoo-01.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=sys-libs/libselinux-2.0[python]
+		app-admin/setools[python]"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	# fix up default paths to not be RH specific
+	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict:' \
+		"${S}/src/sepolgen/defaults.py" || die
+	sed -i -e 's:/usr/share/selinux/devel:/usr/share/selinux/strict/include:' \
+		"${S}/src/sepolgen/module.py" || die
+
+	EPATCH_MULTI_MSG="Applying sepolgen patches ... " \
+	EPATCH_SUFFIX="patch" \
+	EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
+	EPATCH_FORCE="yes" \
+	epatch
+}
+
+src_compile() {
+	:
+}
+
+src_test() {
+	if has_version sec-policy/selinux-base-policy; then
+		python_src_test
+	else
+		ewarn "Sepolgen requires sec-policy/selinux-base-policy to run tests."
+	fi
+}
+
+src_install() {
+	installation() {
+		emake DESTDIR="${D}" PYTHONLIBDIR="$(python_get_sitedir)" install
+	}
+	python_execute_function installation
+}
+
+pkg_postinst() {
+	python_mod_optimize sepolgen
+}
+
+pkg_postrm() {
+	python_mod_cleanup sepolgen
+}



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

* [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/
@ 2012-05-26 15:30 Sven Vermeulen
  0 siblings, 0 replies; 8+ messages in thread
From: Sven Vermeulen @ 2012-05-26 15:30 UTC (permalink / raw
  To: gentoo-commits

commit:     577ba29e02d29216e92a83f419b2336f2a714f3d
Author:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
AuthorDate: Sat May 26 15:29:50 2012 +0000
Commit:     Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
CommitDate: Sat May 26 15:29:50 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=577ba29e

Fix bug #415091

---
 ...en-1.1.5-r1.ebuild => sepolgen-1.1.5-r2.ebuild} |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild b/dev-python/sepolgen/sepolgen-1.1.5-r2.ebuild
similarity index 99%
rename from dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
rename to dev-python/sepolgen/sepolgen-1.1.5-r2.ebuild
index 0d716b3..ca77107 100644
--- a/dev-python/sepolgen/sepolgen-1.1.5-r1.ebuild
+++ b/dev-python/sepolgen/sepolgen-1.1.5-r2.ebuild
@@ -12,7 +12,7 @@ inherit python eutils
 DESCRIPTION="SELinux policy generation library"
 HOMEPAGE="http://userspace.selinuxproject.org"
 SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${P}.tar.gz
-	http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-gentoo-01.tar.gz"
+	http://dev.gentoo.org/~swift/patches/sepolgen/sepolgen-1.1.5-gentoo-r2.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"



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

end of thread, other threads:[~2012-05-26 15:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-26 15:00 [gentoo-commits] proj/hardened-dev:master commit in: dev-python/sepolgen/ Sven Vermeulen
  -- strict thread matches above, loose matches on Subject: below --
2012-05-26 15:30 Sven Vermeulen
2012-05-26 15:14 Sven Vermeulen
2012-05-26 14:48 Sven Vermeulen
2012-05-01 13:39 Sven Vermeulen
2012-02-25 14:16 Sven Vermeulen
2011-08-03  9:20 Anthony G. Basile
2011-02-06 20:03 Anthony G. Basile

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