perfinion    15/02/04 17:55:33

  Modified:             ChangeLog
  Added:                checkpolicy-2.4.ebuild
  Log:
  Version bump
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0x7EF137EC935B0EAF)

Revision  Changes    Path
1.84                 sys-apps/checkpolicy/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/ChangeLog?rev=1.84&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/ChangeLog?rev=1.84&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/ChangeLog?r1=1.83&r2=1.84

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- ChangeLog   6 Dec 2014 23:25:46 -0000       1.83
+++ ChangeLog   4 Feb 2015 17:55:33 -0000       1.84
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/checkpolicy
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.83 
2014/12/06 23:25:46 perfinion Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.84 
2015/02/04 17:55:33 perfinion Exp $
+
+*checkpolicy-2.4 (04 Feb 2015)
+
+  04 Feb 2015; Jason Zaman <[email protected]> +checkpolicy-2.4.ebuild:
+  Version bump
 
 *checkpolicy-2.4_rc7 (06 Dec 2014)
 



1.1                  sys-apps/checkpolicy/checkpolicy-2.4.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.4.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.4.ebuild?rev=1.1&content-type=text/plain

Index: checkpolicy-2.4.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.4.ebuild,v 1.1 
2015/02/04 17:55:33 perfinion Exp $

EAPI="5"

inherit toolchain-funcs eutils

MY_P="${P//_/-}"

SEPOL_VER="${PV}"
SEMNG_VER="${PV}"

DESCRIPTION="SELinux policy compiler"
HOMEPAGE="http://userspace.selinuxproject.org";
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${MY_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}"

S="${WORKDIR}/${MY_P}"

src_prepare() {
        epatch_user
}

src_compile() {
        emake CC="$(tc-getCC)" YACC="bison -y"
}

src_install() {
        emake DESTDIR="${D}" install

        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."
}




Reply via email to