perfinion    14/12/06 23:25:46

  Modified:             ChangeLog
  Added:                checkpolicy-2.4_rc7.ebuild
  Removed:              checkpolicy-2.4_rc5.ebuild
  Log:
  version bump and ebuild clean up, drop old RC
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
0x7EF137EC935B0EAF)

Revision  Changes    Path
1.83                 sys-apps/checkpolicy/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- ChangeLog   14 Nov 2014 19:20:03 -0000      1.82
+++ ChangeLog   6 Dec 2014 23:25:46 -0000       1.83
@@ -1,6 +1,12 @@
 # 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.82 
2014/11/14 19:20:03 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/checkpolicy/ChangeLog,v 1.83 
2014/12/06 23:25:46 perfinion Exp $
+
+*checkpolicy-2.4_rc7 (06 Dec 2014)
+
+  06 Dec 2014; Jason Zaman <[email protected]> +checkpolicy-2.4_rc7.ebuild,
+  -checkpolicy-2.4_rc5.ebuild:
+  version bump and ebuild clean up, drop old RC
 
 *checkpolicy-2.4_rc6 (14 Nov 2014)
 



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

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

Index: checkpolicy-2.4_rc7.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_rc7.ebuild,v 1.1 
2014/12/06 23:25:46 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/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_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