summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2008-10-03 03:46:23 +0000
committerChris PeBenito <pebenito@gentoo.org>2008-10-03 03:46:23 +0000
commite244170d797ed7e25406c15d268470f31ff1005f (patch)
tree410c3616933929303f9fd2a91d32c47e42b834a1 /dev-python
parentMask dev-python/sepolgen on profiles that also mask libselinux. (diff)
downloadgentoo-2-e244170d797ed7e25406c15d268470f31ff1005f.tar.gz
gentoo-2-e244170d797ed7e25406c15d268470f31ff1005f.tar.bz2
gentoo-2-e244170d797ed7e25406c15d268470f31ff1005f.zip
initial commit of dev-python/sepolgen.
(Portage version: 2.2_rc11/cvs/Linux 2.6.24-gentoo-r3 x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/sepolgen/ChangeLog10
-rw-r--r--dev-python/sepolgen/Manifest4
-rw-r--r--dev-python/sepolgen/metadata.xml10
-rw-r--r--dev-python/sepolgen/sepolgen-1.0.13.ebuild38
4 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
new file mode 100644
index 000000000000..58b88c749f0d
--- /dev/null
+++ b/dev-python/sepolgen/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/sepolgen
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.1 2008/10/03 03:46:23 pebenito Exp $
+
+*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/Manifest b/dev-python/sepolgen/Manifest
new file mode 100644
index 000000000000..742baa3472df
--- /dev/null
+++ b/dev-python/sepolgen/Manifest
@@ -0,0 +1,4 @@
+DIST sepolgen-1.0.13.tar.gz 362194 RMD160 61e0e9c6a96615eb7dc717d1b7b263ca892b8d58 SHA1 ba00bc61b2ddf655b88351bb5822a8837b16883e SHA256 5af026b2b3eee30976cbb08973e79eb35c74f4f8ea1b928b20580e0789853da9
+EBUILD sepolgen-1.0.13.ebuild 855 RMD160 baca5f2d228c9b2a7ce8dba91bc5cd6a7c47c538 SHA1 ff9ac62ae9f518e0994bfaebf576ec4e2494db61 SHA256 f24b75f09eef20050734a41c902ba3fa22465be1043adde06c4e1a7096a3e7d5
+MISC ChangeLog 265 RMD160 296e8861de443e076340144e313b30efcbdfd193 SHA1 c7092a46b69f9142cd402f58319c393bf750609d SHA256 63ee2de45394141ec5033be32ae603ed427c31f5dac5ef1761555af9d6a493ee
+MISC metadata.xml 300 RMD160 36b5466d0f61dbc147eb3e2ffd94d1a6afed35ac SHA1 e18750d941907a5c15baf781d8e6786961cde972 SHA256 7fe4b477cb4f8b93c9e5bb63336688933259ff619f743fb2647479a59227dc2b
diff --git a/dev-python/sepolgen/metadata.xml b/dev-python/sepolgen/metadata.xml
new file mode 100644
index 000000000000..f3b156e537b0
--- /dev/null
+++ b/dev-python/sepolgen/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>hardened</herd>
+<maintainer>
+ <email>pebenito@gentoo.org</email>
+ <name>Chris PeBenito</name>
+ <description>Primary Maintainer</description>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-python/sepolgen/sepolgen-1.0.13.ebuild b/dev-python/sepolgen/sepolgen-1.0.13.ebuild
new file mode 100644
index 000000000000..850a8eba69d1
--- /dev/null
+++ b/dev-python/sepolgen/sepolgen-1.0.13.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/sepolgen-1.0.13.ebuild,v 1.1 2008/10/03 03:46:23 pebenito Exp $
+
+inherit python
+
+IUSE=""
+
+DESCRIPTION="SELinux policy generation library"
+HOMEPAGE="http://userspace.selinuxproject.org"
+SRC_URI="http://userspace.selinuxproject.org/releases/current/devel/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~sparc ~x86"
+
+DEPEND=""
+RDEPEND=">=dev-lang/python-2.5
+ >=sys-libs/libselinux-2.0"
+
+src_compile() {
+ return
+}
+
+src_install() {
+ python_version
+ make DESTDIR="${D}" PYTHONLIBDIR="/usr/$(get_libdir)/python${PYVER}/site-packages" \
+ install || die "install failed"
+}
+
+pkg_postinst() {
+ python_version
+ python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages
+}
+
+pkg_postrm() {
+ python_version
+ python_mod_cleanup /usr/$(get_libdir)/python${PYVER}/site-packages
+}