swift       14/05/09 20:31:04

  Modified:             ChangeLog
  Added:                checkpolicy-2.3.ebuild
  Log:
  Bump to 2.3
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
0x2EDD52403B68AF47)

Revision  Changes    Path
1.75                 sys-apps/checkpolicy/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- ChangeLog   28 Apr 2014 19:42:56 -0000      1.74
+++ ChangeLog   9 May 2014 20:31:03 -0000       1.75
@@ -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.74 
2014/04/28 19:42:56 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.75 
2014/05/09 20:31:03 swift Exp $
+
+*checkpolicy-2.3 (09 May 2014)
+
+  09 May 2014; Sven Vermeulen <[email protected]> +checkpolicy-2.3.ebuild:
+  Bump to 2.3
 
 *checkpolicy-2.3_rc1 (28 Apr 2014)
 



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

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

Index: checkpolicy-2.3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/sys-apps/checkpolicy/checkpolicy-2.3.ebuild,v 1.1 
2014/05/09 20:31:03 swift Exp $

EAPI="5"

inherit toolchain-funcs eutils

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

SEPOL_VER="2.3"
SEMNG_VER="2.3"

DESCRIPTION="SELinux policy compiler"
HOMEPAGE="http://userspace.selinuxproject.org";
SRC_URI="http://userspace.selinuxproject.org/releases/20140506/${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_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."
}




Reply via email to