diff options
author | Sven Vermeulen <swift@gentoo.org> | 2012-03-31 11:02:00 +0000 |
---|---|---|
committer | Sven Vermeulen <swift@gentoo.org> | 2012-03-31 11:02:00 +0000 |
commit | f06303a3426af8b4a0928a22f2cea81efcc394e3 (patch) | |
tree | 2fb45b3590e361c37464dfab333fc1f32efe95fd /sys-apps/checkpolicy | |
parent | Updating SELinux userspace utilities to support pending 2.20120215 policies (diff) | |
download | gentoo-2-f06303a3426af8b4a0928a22f2cea81efcc394e3.tar.gz gentoo-2-f06303a3426af8b4a0928a22f2cea81efcc394e3.tar.bz2 gentoo-2-f06303a3426af8b4a0928a22f2cea81efcc394e3.zip |
Updating SELinux userspace utilities to support pending 2.20120215 policies
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/checkpolicy')
-rw-r--r-- | sys-apps/checkpolicy/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/checkpolicy/checkpolicy-2.1.8.ebuild | 41 |
2 files changed, 48 insertions, 2 deletions
diff --git a/sys-apps/checkpolicy/ChangeLog b/sys-apps/checkpolicy/ChangeLog index 63029ecfd20a..ad2a9a2a006d 100644 --- a/sys-apps/checkpolicy/ChangeLog +++ b/sys-apps/checkpolicy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/checkpolicy -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.63 2011/11/12 18:14:27 swift Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.64 2012/03/31 11:02:00 swift Exp $ + +*checkpolicy-2.1.8 (31 Mar 2012) + + 31 Mar 2012; <swift@gentoo.org> +checkpolicy-2.1.8.ebuild: + Bump to version 2.1.8 12 Nov 2011; <swift@gentoo.org> -checkpolicy-2.0.21.ebuild, -checkpolicy-2.0.23.ebuild: diff --git a/sys-apps/checkpolicy/checkpolicy-2.1.8.ebuild b/sys-apps/checkpolicy/checkpolicy-2.1.8.ebuild new file mode 100644 index 000000000000..cffabcb2b2fa --- /dev/null +++ b/sys-apps/checkpolicy/checkpolicy-2.1.8.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.1.8.ebuild,v 1.1 2012/03/31 11:02:00 swift Exp $ + +inherit toolchain-funcs + +SEPOL_VER="2.1.4" +SEMNG_VER="2.1.6" + +DESCRIPTION="SELinux policy compiler" +HOMEPAGE="http://userspace.selinuxproject.org" +SRC_URI="http://userspace.selinuxproject.org/releases/20120216/${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_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." +} |