swift       14/10/07 19:03:14

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

Revision  Changes    Path
1.80                 sys-apps/checkpolicy/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- ChangeLog   21 Sep 2014 10:13:51 -0000      1.79
+++ ChangeLog   7 Oct 2014 19:03:14 -0000       1.80
@@ -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.79 
2014/09/21 10:13:51 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.80 
2014/10/07 19:03:14 swift Exp $
+
+*checkpolicy-2.4_rc4 (07 Oct 2014)
+
+  07 Oct 2014; Sven Vermeulen <[email protected]> +checkpolicy-2.4_rc4.ebuild:
+  Bump to 2.4-rc4
 
   21 Sep 2014; Sven Vermeulen <[email protected]> checkpolicy-2.3.ebuild:
   Moved to github



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

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

Index: checkpolicy-2.4_rc4.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.4_rc4.ebuild,v 1.1 
2014/10/07 19:03:14 swift Exp $

EAPI="5"

inherit toolchain-funcs eutils

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

SEPOL_VER="2.4_rc4"
SEMNG_VER="2.4_rc4"

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