diff options
author | Sven Vermeulen <swift@gentoo.org> | 2012-07-10 19:59:29 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2012-07-10 19:59:29 +0000 |
commit | 8fce8ffc2ecad60bffe3215d2db9cf813adaf655 (patch) | |
tree | babe28d942567a1495c5314cb0a04a673f5b5c9f /dev-python/sepolgen | |
parent | Stable for x86, wrt bug #425692 (diff) | |
download | historical-8fce8ffc2ecad60bffe3215d2db9cf813adaf655.tar.gz historical-8fce8ffc2ecad60bffe3215d2db9cf813adaf655.tar.bz2 historical-8fce8ffc2ecad60bffe3215d2db9cf813adaf655.zip |
Support refpolicy style audit2allow (#417199)
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'dev-python/sepolgen')
-rw-r--r-- | dev-python/sepolgen/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/sepolgen/Manifest | 4 | ||||
-rw-r--r-- | dev-python/sepolgen/sepolgen-1.1.5-r3.ebuild | 65 |
3 files changed, 74 insertions, 2 deletions
diff --git a/dev-python/sepolgen/ChangeLog b/dev-python/sepolgen/ChangeLog index 8952fb945210..b735cf127de1 100644 --- a/dev-python/sepolgen/ChangeLog +++ b/dev-python/sepolgen/ChangeLog @@ -1,6 +1,11 @@ # 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.21 2012/06/26 05:00:43 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/sepolgen/ChangeLog,v 1.22 2012/07/10 19:59:29 swift Exp $ + +*sepolgen-1.1.5-r3 (10 Jul 2012) + + 10 Jul 2012; <swift@gentoo.org> +sepolgen-1.1.5-r3.ebuild: + Support refpolicy style audit2allow (#417199) 26 Jun 2012; Mike Gilbert <floppym@gentoo.org> sepolgen-1.1.5.ebuild: Restrict pypy. diff --git a/dev-python/sepolgen/Manifest b/dev-python/sepolgen/Manifest index 9296f2ea1c4b..afe1a7e97fb2 100644 --- a/dev-python/sepolgen/Manifest +++ b/dev-python/sepolgen/Manifest @@ -1,6 +1,8 @@ DIST sepolgen-1.1.5-gentoo-r2.tar.gz 18295 SHA256 7a574486ee8d6c1f2e3df6da7cf61d2b7890b8eb2d9a130d1743090eec7f13c3 SHA512 0e70cba9250709e9448824b676194f6a0132c005a67d5d20a1f9442df3eead76f03cb82d4823757a586c15dce7de5f1293b0deeb62fdeddaa906c829a6819f59 WHIRLPOOL 3fa2cb41e54866b535b12dcbeec7d1801c2d67ba46bd2af4c1fdb8fce76e62065df065e3938a53191ad4468a887d7df7fc3503a7fc6e4b9bcc05a4efa008fbc8 +DIST sepolgen-1.1.5-gentoo-r3.tar.gz 19496 SHA256 2a7b50f40ba003d3e822d7536b2bb085279fcb37b790a4c1af369e92cdb2febf SHA512 4fc214d32d691bef225f9b8521b2ec36356e6edc2d281291dc730bcff94baf4d56813ffef0658f54d3533dd1ddbd5cbcdac92fe5cf91db6278cb93b7bacbb9ec WHIRLPOOL 282d04e237c33b927bf4890f89f5dccd09b8f716b98c0ef5059b847d771e26f8399e8a332c1c7033afab974e82533a33d49fd2641216266c2406f38f63ab16f9 DIST sepolgen-1.1.5.tar.gz 364806 SHA256 16c2b10510be7dbb2dc0967aedb2d69c654ca52ed03d04881c17d2f8b863b3bb SHA512 2ba54deae7fc339d1af60c79a6908d6ef12581f8b1f63cce9841c3c7070d1d5ddd699464c73af2cad4b345db0a0cf9f0a3984a34dd5132db1316346dfd6f3645 WHIRLPOOL afc6107e51b94867d9e58ffbe537afd3155e25feff8f22468abf890f5cc0ad68a8b5c47728f73b055c4f898286f7625872ad89e81d8f9fdb910ad552799242c8 EBUILD sepolgen-1.1.5-r2.ebuild 1623 SHA256 ea1d1be117ade9e95ff655f03053594623130313e9403f5f74fe91ecd651b2e4 SHA512 4758cd03f6d70d3156b05ed1559fc4fd569644e071fdf5d42a6a58cf401a3e82a3602466a4ea53417e65b624ae49acdeadd7f3af59bedaa4eac601482bee4024 WHIRLPOOL 97b311946da1b96a3053015181232c525dadc93b17847fed506447f717b75479c51fa8f29cf639eea1babf923efe702a57b25e0111ed3fe5b23d29e2641398a1 +EBUILD sepolgen-1.1.5-r3.ebuild 1621 SHA256 31de8aaccf45eb485705e214a1d41e6f634ca3c5117aa3b58c4ecc8365e3cc70 SHA512 feb26d158765868d6c16da118bbcf6d12cc2ac9548f35544abe59a09177cfa6c47bb03f66a536e209111808df8ee2dd7bbf68e0448ac0ab2db4b29440f1f7d0c WHIRLPOOL a72e5fba8871067d64ddf3b85af4169a9a90285769d1ecf25fa81acb95cde26ec62e4f2e6c819098c95b99227430d38274a53d6ef738cb0374d7d9f2ec00fea9 EBUILD sepolgen-1.1.5.ebuild 1382 SHA256 136afd136d416394108647b956ad82b6b3144f1905910462768867be63b32ebe SHA512 96244c8ad6b69ec76b987458cc7ae8cc974a11c8ff70167bdc8b3d17d08c499c71203b9df24d75f0a8cda69c7d73228e739cfd55101c317b7cba12c9bc2b32aa WHIRLPOOL b881271a82e40631f9744173f3a258b3cbbb2fc65e91867daa658562f87536ac01d9fd24f8e80b604627d52497a25be6148fec3badeef017a0ca67823939a6f4 -MISC ChangeLog 2972 SHA256 0a9bb8bbb53c8015f31670429e77a5382b26469ab3da2eee8658c8a510b1727e SHA512 b2626622322e5e7c39ed552efb53e475e5845698837f7c94c7f4e839df98a3c07f7cf01c374c71a385d5920a8c86f8d334f33328642e7140b682a824e0ddc4d1 WHIRLPOOL ee4b26884c07cd003e17da8467dc3a166b05e3e8e53e7a467d8313c8ba8700080f8b9610465d63cae8e6067905d3f6aadc53b911a7f37548a27a95c9ff707232 +MISC ChangeLog 3114 SHA256 066b1b41d4a672819c34c8015cf65b1a17d6d24ffe2c8bd94ef28b6f433d415f SHA512 e0bc913b6171801cf7a2dd86909e1de46d744c5cd2436d04d206207b5674a946c46abe75375c51ab76b69cdafa3783d4ea1d30247cfd6de2b4dff68c0a86b04e WHIRLPOOL e024d0d8e226bb015e95452c7e30eddaac7057686c50ec56279341146c0ffdc02769ba9a7642dad6c5fdedd0b422013da729b80db084d70472b39ae24f37a3af MISC metadata.xml 234 SHA256 8ef796ab0656738628f6238eba20f70298c2539bf4dd24f7a6f042857176c5d2 SHA512 4d8a7927783ca9cb1a86933d5d611a1fd6194b4de9c5ecc44879b64ef289cb0d36fe7382019512b16d23bb09f94780d5a9aaa523da244928b4f50368063cb460 WHIRLPOOL 641e9b4f445fad1419f1de8fddb2667ed69e167367ae8c94fc88e3a7244fdd968b7b0f4c28e0e13fdc593973c19a0f2451548611515a1b457fdcbcd8c5fdff92 diff --git a/dev-python/sepolgen/sepolgen-1.1.5-r3.ebuild b/dev-python/sepolgen/sepolgen-1.1.5-r3.ebuild new file mode 100644 index 000000000000..14b05e6269c4 --- /dev/null +++ b/dev-python/sepolgen/sepolgen-1.1.5-r3.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-r3.ebuild,v 1.1 2012/07/10 19:59:29 swift Exp $ + +EAPI="3" +PYTHON_DEPEND="*" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="*-jython *-pypy-*" + +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-r3.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 +} |