summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2019-11-29 18:31:30 +0800
committerJason Zaman <perfinion@gentoo.org>2019-12-02 22:49:25 +0800
commitf20b6d754304092f1732bb7bc78849bdcb3e5e9c (patch)
tree1e6eef1db8e3c8b6d5c874b825032e8d87c836c9 /sys-apps/secilc
parentsys-apps/semodule-utils: bump to 3.0_rc2 (diff)
downloadgentoo-f20b6d754304092f1732bb7bc78849bdcb3e5e9c.tar.gz
gentoo-f20b6d754304092f1732bb7bc78849bdcb3e5e9c.tar.bz2
gentoo-f20b6d754304092f1732bb7bc78849bdcb3e5e9c.zip
sys-apps/secilc: bump to 3.0_rc2
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'sys-apps/secilc')
-rw-r--r--sys-apps/secilc/Manifest1
-rw-r--r--sys-apps/secilc/secilc-3.0_rc2.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/sys-apps/secilc/Manifest b/sys-apps/secilc/Manifest
index ad28e514b327..526dd80e0245 100644
--- a/sys-apps/secilc/Manifest
+++ b/sys-apps/secilc/Manifest
@@ -1,2 +1,3 @@
DIST secilc-2.8.tar.gz 175893 BLAKE2B d1e588c82d8be68efb66abbcedf28b3f99ac58edf58df238d970243b7a9c94109fcfc6958907fd4f614381e9ee4e248796b556a37a283d6f0e602a98349c1dd9 SHA512 70b92802af8bdfbeb458ccaaed74e00e8a1edfcdbb48a0b422cf1e98ce467db1a586c800574ae61b0fbf006330c603b44d022091d7bcb6b0963ef1b1c6e547c1
DIST secilc-2.9.tar.gz 175885 BLAKE2B 0a5fd0adb70ce80574148ac035dcb8c5c80f6779a6a0c696eaba26cb6c4441e58eb161600034102dcb34c87099357bfc66015d245cf2fd49b56e65d782fc8aac SHA512 c552ce65fc23bef1a93b3dc485369d64ad19a3f30707b95d0dd488d1766ab9f5e75884b79e6464997eaafee119193a1fdd5ff8228aee0fa902e426eefa14a4ee
+DIST secilc-3.0-rc2.tar.gz 176069 BLAKE2B d19bf88d945b7355c34bd9d8dcf76abc1fa2ef1794537b7ce366ea54b89ac9821e3db53026be321f384428d88000bb81de701dfb565fe0e41ebce7afbb875075 SHA512 5c8e59bd17e3e094437c1f3d8564c6eb6f8d5c4f9530e0eb7e7f1d5978cdbe6539e3e5cc977b6241e26d8972d68efe8c446d655f68806c0a09736287599a4438
diff --git a/sys-apps/secilc/secilc-3.0_rc2.ebuild b/sys-apps/secilc/secilc-3.0_rc2.ebuild
new file mode 100644
index 000000000000..00af9437cdb5
--- /dev/null
+++ b/sys-apps/secilc/secilc-3.0_rc2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit toolchain-funcs
+
+MY_P="${P//_/-}"
+MY_RELEASEDATE="20191122"
+
+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://github.com/SELinuxProject/selinux/releases/download/${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
+}