Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/secilc/
Date: Sun, 31 Oct 2021 02:55:10
Message-Id: 1635648624.12e508c658f6a43a73abbf19beb4c0b16c87b5cf.sam@gentoo
1 commit: 12e508c658f6a43a73abbf19beb4c0b16c87b5cf
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Sun Oct 24 11:53:14 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 02:50:24 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12e508c6
7
8 sys-apps/secilc: Version updated to 3.3.
9
10 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 sys-apps/secilc/Manifest | 1 +
14 sys-apps/secilc/secilc-3.3.ebuild | 33 +++++++++++++++++++++++++++++++++
15 2 files changed, 34 insertions(+)
16
17 diff --git a/sys-apps/secilc/Manifest b/sys-apps/secilc/Manifest
18 index e79539ff33b..ec5816a6040 100644
19 --- a/sys-apps/secilc/Manifest
20 +++ b/sys-apps/secilc/Manifest
21 @@ -1,2 +1,3 @@
22 DIST secilc-3.1.tar.gz 176631 BLAKE2B e79818580d2a788d672574ebd77349f0c59b678d2be628479f517412ca876fa225ba0dd63ef3200ed15ff693cd5f4cb4ff537d81666fef3a008ba4b3a7577e0c SHA512 79e3e4910178af49ea164d620aa997adb21dd18581c054a4023dd9116ec9dd203bd12989ef308aa1d253b47fcd251ee2b99c26e143d1db3de22a7f374ff38e0b
23 DIST secilc-3.2.tar.gz 179384 BLAKE2B 89a02ceeaeb221eb5e819f6c6f09cd7e4675971d1870850867f0e258e3cf089c048a2976016c8200cffcb7904aae01d7e9d6a0c086a2a33fb08020df10b92059 SHA512 ef60aaaba3a9b4d8da496ae80203a8c9595dc2f97f767432f6b3323395fda65293540ed9574e8d7d3f40854c3ad38a95a7b96939b6c689f02a3d04834b81ca45
24 +DIST secilc-3.3.tar.gz 181205 BLAKE2B ffccf2e6ea416f6e5a8270a488c6c6ed01b607af20fffed129f5d9b9957f2ab16e90a3fdbd57b597f1195987edf6a2ca1ae561cca62d176a01878fe24900f4b9 SHA512 11b2b6a56d588a71d8cc5b2e69e76579ddd3ea20e036bbfdbeefd8ed64a6dca3c8f963509a96231eb21807a195ec24e4807ef52dc2218ee0410ee0828ad77fa8
25
26 diff --git a/sys-apps/secilc/secilc-3.3.ebuild b/sys-apps/secilc/secilc-3.3.ebuild
27 new file mode 100644
28 index 00000000000..04666a2f99d
29 --- /dev/null
30 +++ b/sys-apps/secilc/secilc-3.3.ebuild
31 @@ -0,0 +1,33 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="7"
36 +inherit toolchain-funcs
37 +
38 +DESCRIPTION="SELinux Common Intermediate Language (CIL) Compiler"
39 +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
40 +
41 +if [[ ${PV} == 9999 ]]; then
42 + inherit git-r3
43 + EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
44 + S="${WORKDIR}/${P}/${PN}"
45 +else
46 + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz"
47 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
48 +fi
49 +
50 +LICENSE="GPL-2"
51 +SLOT="0"
52 +
53 +DEPEND=">=sys-libs/libsepol-${PV}"
54 +RDEPEND="${DEPEND}"
55 +BDEPEND="app-text/xmlto"
56 +
57 +# tests are not meant to be run outside of the
58 +# full SELinux userland repo
59 +RESTRICT="test"
60 +
61 +src_compile() {
62 + tc-export CC
63 + default
64 +}