summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2017-06-13 13:12:33 +0800
committerJason Zaman <perfinion@gentoo.org>2017-06-13 23:10:48 +0800
commit95f1348afa677f25a7fb28ed185b8a0e1a7db125 (patch)
tree4a9a3d9e576ea33dfda5f047cd43946ff7a2f167 /sys-apps/secilc
parentsys-apps/checkpolicy: update live ebuild (diff)
downloadgentoo-95f1348afa677f25a7fb28ed185b8a0e1a7db125.tar.gz
gentoo-95f1348afa677f25a7fb28ed185b8a0e1a7db125.tar.bz2
gentoo-95f1348afa677f25a7fb28ed185b8a0e1a7db125.zip
sys-apps/secilc: bump to 2.7_rc1
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'sys-apps/secilc')
-rw-r--r--sys-apps/secilc/Manifest1
-rw-r--r--sys-apps/secilc/secilc-2.7_rc1.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/secilc/Manifest b/sys-apps/secilc/Manifest
index 739199980e37..f6527aca7bad 100644
--- a/sys-apps/secilc/Manifest
+++ b/sys-apps/secilc/Manifest
@@ -1,2 +1,3 @@
DIST secilc-2.5.tar.gz 174642 SHA256 4303d911c06ee5c207e00f778ca786c1a6efa2554a562f5d014dbc0d2f4cc4a4 SHA512 7f7b6fb72bee7018f7a591e6a7d8f58a81ed0e1ec914e0792ccd57a550756a5e21c6359e35ad2fe29225a0bd352637d01288721de3b95a9a175bb3ab052620b9 WHIRLPOOL e674039433041f527a1346ad64887254fa4d7f37f3125b08edcf1e16e23f1d40e1b1151cf6e10d4875d849c43a6b39af0069185303f23b5f331b39c1433deb0e
DIST secilc-2.6.tar.gz 174543 SHA256 a84838c15bb7b0141238b48294b15ff0e1618107f547541a0067d1ddabcc9502 SHA512 5d59320d599d15754d76d36d981a1927d9633db9813f0248c29c9ff38bc59bf394910f4d56444a97df910b48e59f128d9997a85b6bd2ee8e0dd3ae31a9a2b7d0 WHIRLPOOL 34933ef3b67e6c665f7ef239beba577928a9d99d01d3b801931dfc44a0a602822361f3ec63dd03e8becde3dd5f1092d3f7b915ac83ecfb77fb5a9cfa107fa4b6
+DIST secilc-2.7-rc1.tar.gz 175035 SHA256 9defac555414311f8e795899286728d4f62dcb8f425eae7a01ee8d1e52a4ac01 SHA512 698a63bd7a20624535212115d48dbe0e20acd4788825074c048169a8d7a2d19b6d30647c75cb12d067f6961ddecdc3f6fd6f0bece5a52bd19bc44c569fb627a1 WHIRLPOOL 6277e1f85cac9ce53642c55c2bead675081491cd9810b67b69f6f0808aa9db27c33fcc8633424113446060bfe547fea6ccf733b51ca0690446d94474eb180e0e
diff --git a/sys-apps/secilc/secilc-2.7_rc1.ebuild b/sys-apps/secilc/secilc-2.7_rc1.ebuild
new file mode 100644
index 000000000000..110de93d9ab4
--- /dev/null
+++ b/sys-apps/secilc/secilc-2.7_rc1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit toolchain-funcs
+
+MY_P="${P//_/-}"
+MY_RELEASEDATE="20170609"
+
+SEPOL_VER="${PV}"
+
+DESCRIPTION="SELinux Common Intermediate Language (CIL) Compiler"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
+ S="${WORKDIR}/${MY_P}/${PN}"
+else
+ SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ app-text/xmlto
+ >=sys-libs/libsepol-${SEPOL_VER}
+ "
+RDEPEND="
+ >=sys-libs/libsepol-${SEPOL_VER}
+ "
+
+# tests are not meant to be run outside of the
+# full SELinux userland repo
+RESTRICT="test"
+
+src_compile() {
+ tc-export CC
+ default
+}