commit: 07c0913360f636f0c0e62ea97b693adc98aca8b0
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 9 19:36:01 2025 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Mar 9 21:57:00 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c09133
sys-apps/secilc: bump to 3.8.1
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
sys-apps/secilc/Manifest | 1 +
sys-apps/secilc/secilc-3.8.1.ebuild | 37 +++++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/sys-apps/secilc/Manifest b/sys-apps/secilc/Manifest
index 3aa8bb9803f5..8ea6c6de9a7c 100644
--- a/sys-apps/secilc/Manifest
+++ b/sys-apps/secilc/Manifest
@@ -1,2 +1,3 @@
DIST secilc-3.7.tar.gz 185694 BLAKE2B
c7bdfb01bc23008c5f360aeae9473db096a62ba535b2ec54d8f4ec766495f6de2642656c52d5ca8d28335e84bc42e76c9d5294db73a588aa4bceda8f3d59f814
SHA512
1f6061587242b63583370e04cc113b4884060c6071774b90908655df17ddc702187960d1f5b1ed53de9eb6ebd7f0029160e58d8c5f0c1126464bf6222f6f7d3e
+DIST secilc-3.8.1.tar.gz 185758 BLAKE2B
9223df76774f2ba3d1283e70054741caac3497bf4db317ad25fe9f6d6e79659a6d681d9ac0da522beeaf6162cd2a315634ae040ac6ac4b686bcee14340f71959
SHA512
43f9b86d4b10b90dc201c76aee8ad7a89bc7b487a77cb373ed5db7e9efcca88eed9d5ae62e605fd3b2688384580afdca19aa84597c19cb78afcedff6b7e4c33a
DIST secilc-3.8.tar.gz 185751 BLAKE2B
93057a0112a840bcce2dc6afdec87eed5e38bb2c8dbe04ac7f19538424551e167c3f69a4bfbd01ae5ed3ac53375c5bf86e373d7e381a758a456bf9e8359bcc84
SHA512
c61caf64b78f7607429a50a5dd9cf4d426e6a45e6f3fd752675a449b73c514a9ea5af3b921a59e1392d0749efa016c209b9b956444b346606b21ee14ffb7537b
diff --git a/sys-apps/secilc/secilc-3.8.1.ebuild
b/sys-apps/secilc/secilc-3.8.1.ebuild
new file mode 100644
index 000000000000..6832dcaa8e2f
--- /dev/null
+++ b/sys-apps/secilc/secilc-3.8.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+inherit toolchain-funcs
+
+MY_PV="${PV//_/-}"
+MY_P="${PN}-${MY_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}/${P}/${PN}"
+else
+
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+ S="${WORKDIR}/${MY_P}"
+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
+}