summaryrefslogtreecommitdiff
path: root/sys-apps/secilc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /sys-apps/secilc
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'sys-apps/secilc')
-rw-r--r--sys-apps/secilc/Manifest4
-rw-r--r--sys-apps/secilc/secilc-3.2.ebuild33
-rw-r--r--sys-apps/secilc/secilc-9999.ebuild12
3 files changed, 39 insertions, 10 deletions
diff --git a/sys-apps/secilc/Manifest b/sys-apps/secilc/Manifest
index 198589172ff9..b81f5ea3930d 100644
--- a/sys-apps/secilc/Manifest
+++ b/sys-apps/secilc/Manifest
@@ -1,4 +1,6 @@
DIST secilc-3.1.tar.gz 176631 BLAKE2B e79818580d2a788d672574ebd77349f0c59b678d2be628479f517412ca876fa225ba0dd63ef3200ed15ff693cd5f4cb4ff537d81666fef3a008ba4b3a7577e0c SHA512 79e3e4910178af49ea164d620aa997adb21dd18581c054a4023dd9116ec9dd203bd12989ef308aa1d253b47fcd251ee2b99c26e143d1db3de22a7f374ff38e0b
+DIST secilc-3.2.tar.gz 179384 BLAKE2B 89a02ceeaeb221eb5e819f6c6f09cd7e4675971d1870850867f0e258e3cf089c048a2976016c8200cffcb7904aae01d7e9d6a0c086a2a33fb08020df10b92059 SHA512 ef60aaaba3a9b4d8da496ae80203a8c9595dc2f97f767432f6b3323395fda65293540ed9574e8d7d3f40854c3ad38a95a7b96939b6c689f02a3d04834b81ca45
EBUILD secilc-3.1.ebuild 872 BLAKE2B 755350212203ab5e1ad5a96c22c275f304bcccf96a7b2cbbff4eaf41ef35eddc4cb80cf72a781844a3ca19c3bdcf003216f834a1241ffef199cf65fd5d40b6b9 SHA512 d5fdd15eb659992be37725aa1434550b3ba5cdd775462f081c7785865083c7b40642b789076597a7c81db465e08d80bf3b708666c735b9eb4a198a93ec02fe3f
-EBUILD secilc-9999.ebuild 874 BLAKE2B a1b094750de07eaea9f6893c30e5cd844c41349c8ec88a1143fe4eacd91f5f39270f0b1ec5de0824cd77d94db613c803481282aaef7e6847af20cb2d1c640b78 SHA512 5630546e79ad0eaafe6b00571747185df1d5c842e649ddb154430cc68d24f23ca2e5e4dd1a49b1c1e4c01ea38fe77d01bac71492822790b27dd165d235cea82e
+EBUILD secilc-3.2.ebuild 762 BLAKE2B 4c616414c63c7514009a67e4e1dc5446eb24c946ff6ad123b8bd3e8c24f272fb151a5d167c45b2a87755379bd2af8d98b6d7adff6b27bd0d4c2a85371411ce8c SHA512 72a52bac0f49f41519f8e0c195cce6ca9983da8b9d4394e3e52e22a907fcfdd37d95f30060a07dcca4baf83940e49777dfec597fe7fb457014cf54f695d47590
+EBUILD secilc-9999.ebuild 762 BLAKE2B 4c616414c63c7514009a67e4e1dc5446eb24c946ff6ad123b8bd3e8c24f272fb151a5d167c45b2a87755379bd2af8d98b6d7adff6b27bd0d4c2a85371411ce8c SHA512 72a52bac0f49f41519f8e0c195cce6ca9983da8b9d4394e3e52e22a907fcfdd37d95f30060a07dcca4baf83940e49777dfec597fe7fb457014cf54f695d47590
MISC metadata.xml 517 BLAKE2B 69224c0360ff5acd98dcd493463266090ad17693588e91a434e412460352594673563388b52eba5313c7a9aa3b745d916f089805fe88ba8270cef1528f1fe13c SHA512 457ff97de6f9c6992a025588a5af5692abfc38a7df8537de2006ac841989a9b7e566b796b16d304252ad03cf66f205dd3a4fb0218281fd551c430c58b9039310
diff --git a/sys-apps/secilc/secilc-3.2.ebuild b/sys-apps/secilc/secilc-3.2.ebuild
new file mode 100644
index 000000000000..c7694587c83e
--- /dev/null
+++ b/sys-apps/secilc/secilc-3.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+inherit toolchain-funcs
+
+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}/${P}/${PN}"
+else
+ SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libsepol-${PV}"
+RDEPEND="${DEPEND}"
+BDEPEND="app-text/xmlto"
+
+# tests are not meant to be run outside of the
+# full SELinux userland repo
+RESTRICT="test"
+
+src_compile() {
+ tc-export CC
+ default
+}
diff --git a/sys-apps/secilc/secilc-9999.ebuild b/sys-apps/secilc/secilc-9999.ebuild
index 0642e837b999..c7694587c83e 100644
--- a/sys-apps/secilc/secilc-9999.ebuild
+++ b/sys-apps/secilc/secilc-9999.ebuild
@@ -4,28 +4,22 @@
EAPI="7"
inherit toolchain-funcs
-MY_P="${P//_/-}"
-MY_RELEASEDATE="20200710"
-
-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}"
+ S="${WORKDIR}/${P}/${PN}"
else
- SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz"
+ SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}/${MY_P}"
fi
LICENSE="GPL-2"
SLOT="0"
-DEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
+DEPEND=">=sys-libs/libsepol-${PV}"
RDEPEND="${DEPEND}"
BDEPEND="app-text/xmlto"