diff options
author | Sven Vermeulen <swift@gentoo.org> | 2013-11-04 21:56:28 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2013-11-04 21:56:28 +0000 |
commit | 9ba1c6903bd56eeccf9af20b7260a852b33d298b (patch) | |
tree | 8761b0113978173b9834b2581eff4d66c60a2d89 /sys-apps/checkpolicy | |
parent | New policycoreutils release (diff) | |
download | gentoo-2-9ba1c6903bd56eeccf9af20b7260a852b33d298b.tar.gz gentoo-2-9ba1c6903bd56eeccf9af20b7260a852b33d298b.tar.bz2 gentoo-2-9ba1c6903bd56eeccf9af20b7260a852b33d298b.zip |
New checkpolicy release
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r-- | sys-apps/checkpolicy/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/checkpolicy/checkpolicy-2.2.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/sys-apps/checkpolicy/ChangeLog b/sys-apps/checkpolicy/ChangeLog index 8ed2ef6b0eec..31fb5c9ece1e 100644 --- a/sys-apps/checkpolicy/ChangeLog +++ b/sys-apps/checkpolicy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/checkpolicy # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.70 2013/04/25 18:56:30 swift Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.71 2013/11/04 21:56:28 swift Exp $ + +*checkpolicy-2.2 (04 Nov 2013) + + 04 Nov 2013; Sven Vermeulen <swift@gentoo.org> +checkpolicy-2.2.ebuild: + New checkpolicy release *checkpolicy-2.1.12 (25 Apr 2013) diff --git a/sys-apps/checkpolicy/checkpolicy-2.2.ebuild b/sys-apps/checkpolicy/checkpolicy-2.2.ebuild new file mode 100644 index 000000000000..edf4e37e5ac8 --- /dev/null +++ b/sys-apps/checkpolicy/checkpolicy-2.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.2.ebuild,v 1.1 2013/11/04 21:56:28 swift Exp $ + +inherit toolchain-funcs eutils + +SEPOL_VER="2.2" +SEMNG_VER="2.2" + +DESCRIPTION="SELinux policy compiler" +HOMEPAGE="http://userspace.selinuxproject.org" +SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND=">=sys-libs/libsepol-${SEPOL_VER} + >=sys-libs/libsemanage-${SEMNG_VER} + sys-devel/flex + sys-devel/bison" + +RDEPEND=">=sys-libs/libsemanage-${SEMNG_VER}" + +src_compile() { + emake CC="$(tc-getCC)" YACC="bison -y" || die +} + +src_prepare() { + epatch_user +} + +src_install() { + emake DESTDIR="${D}" install || die + + if use debug; then + dobin "${S}/test/dismod" + dobin "${S}/test/dispol" + fi +} + +pkg_postinst() { + einfo "This checkpolicy can compile version `checkpolicy -V |cut -f 1 -d ' '` policy." +} |