summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-02-06 18:44:37 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-02-06 18:44:37 +0000
commit023fc5be7c918c400eba3c61c3c70c8d902cdb33 (patch)
tree380d69f845be45b49ee735d2a6bf3f1ee64138f0 /dev-python
parentVersion bump (diff)
downloadhistorical-023fc5be7c918c400eba3c61c3c70c8d902cdb33.tar.gz
historical-023fc5be7c918c400eba3c61c3c70c8d902cdb33.tar.bz2
historical-023fc5be7c918c400eba3c61c3c70c8d902cdb33.zip
New upstream release.
Package-Manager: portage-2.1.9.25/cvs/Linux 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/sepolgen-1.0.23.ebuild54
3 files changed, 65 insertions, 3 deletions
diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog
index 92fb218dd2a7..eb178c3795a0 100644
--- a/dev-python/sepolgen/ChangeLog
+++ b/dev-python/sepolgen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/sepolgen
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.6 2010/04/04 18:53:45 arfrever Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.7 2011/02/06 18:44:37 blueness Exp $
+
+*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:
diff --git a/dev-python/sepolgen/Manifest b/dev-python/sepolgen/Manifest
index cf7502e08418..2ef968368f8a 100644
--- a/dev-python/sepolgen/Manifest
+++ b/dev-python/sepolgen/Manifest
@@ -1,7 +1,9 @@
DIST sepolgen-1.0.13.tar.gz 362194 RMD160 61e0e9c6a96615eb7dc717d1b7b263ca892b8d58 SHA1 ba00bc61b2ddf655b88351bb5822a8837b16883e SHA256 5af026b2b3eee30976cbb08973e79eb35c74f4f8ea1b928b20580e0789853da9
DIST sepolgen-1.0.17.tar.gz 362355 RMD160 804d2bf113d22cbdf27b9d602dc9100238c61df7 SHA1 fe8eb1160535c97ec06a1ffa703af49b8b2327cf SHA256 9e150b1ad258604539eb4eebe34bcf15f3b0869ce67d09fdee2ad3f7ebec868c
+DIST sepolgen-1.0.23.tar.gz 363051 RMD160 dd83e1fda7787c0234503e9c81829000d4ac8c05 SHA1 2108ab7d8f394875d82d374b099ee621e3c31237 SHA256 57b858248cc02edd5a49309c70becccd8f43fcd12a796529ba94c590000da111
EBUILD sepolgen-1.0.13.ebuild 829 RMD160 cec5430fe6b36b67a44a4babfb5441d0091713ea SHA1 b253ed08c14f682045f03c3668d53a7078b0d5bb SHA256 052e4fb431db8143d7ebb5119e7f4fa8714067ce2ca220c3d6a89c91d3ded647
EBUILD sepolgen-1.0.17-r1.ebuild 1302 RMD160 e4b0316be17908ae6636c88a72196331829cc45d SHA1 3099ae0e257c052deb623b167510fe67a4150b62 SHA256 861b1f2313cd0629e8a73ba738707e2bbbe79363b1222c2cf304fcf11e505c7e
EBUILD sepolgen-1.0.17.ebuild 831 RMD160 8300a9ba8b540eedf9309d81952bc71380468992 SHA1 0a6f3d23ac5b4afaeda603fccdaac276667d7d34 SHA256 98ecfbcb158c7a1f7c82a6af4a7f13c8b18b998e091870f327885b9455185441
-MISC ChangeLog 1073 RMD160 40102b65e9604588cee337eee35f7fb273d2559b SHA1 492ec5bb78c20fa85fd504b0444e6ecb1dee833b SHA256 a5469bafd81464341032d33e9a76bc8e0ebcb16b9d99efb183d668e1282827a7
+EBUILD sepolgen-1.0.23.ebuild 1300 RMD160 7bc4c0770b951be56f9ad03673d52b6e0868408c SHA1 6eec719ca4fc711bacda1b7a951e84bb0e21128a SHA256 31f935b20adcdf07fd255d6b34c1aae90b8d5eee880b5be5396ce6b660e682c7
+MISC ChangeLog 1212 RMD160 1d58cc146a425814b5527bd6a29c49fccec779a0 SHA1 c3a17009a84025a6fdf4e5b3dea3c35e7a0ab49b SHA256 4db957c1d5412af33947b4283644f3a38507d6af40053699a4984624cc1e7c2a
MISC metadata.xml 300 RMD160 36b5466d0f61dbc147eb3e2ffd94d1a6afed35ac SHA1 e18750d941907a5c15baf781d8e6786961cde972 SHA256 7fe4b477cb4f8b93c9e5bb63336688933259ff619f743fb2647479a59227dc2b
diff --git a/dev-python/sepolgen/sepolgen-1.0.23.ebuild b/dev-python/sepolgen/sepolgen-1.0.23.ebuild
new file mode 100644
index 000000000000..dcfcbb271043
--- /dev/null
+++ b/dev-python/sepolgen/sepolgen-1.0.23.ebuild
@@ -0,0 +1,54 @@
+# 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.1 2011/02/06 18:44:37 blueness 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)
+}