Gentoo Archives: gentoo-commits

From: Kenton Groombridge <concord@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/secilc/
Date: Sat, 04 Jun 2022 01:03:56
Message-Id: 1654304587.7cf1fdecb5aaaf5eee9ca8c86c13c755985f63e6.concord@gentoo
1 commit: 7cf1fdecb5aaaf5eee9ca8c86c13c755985f63e6
2 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 3 13:30:23 2022 +0000
4 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 4 01:03:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cf1fdec
7
8 sys-apps/secilc: bump to 3.4
9
10 Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org>
11
12 sys-apps/secilc/Manifest | 1 +
13 sys-apps/secilc/secilc-3.4.ebuild | 37 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/sys-apps/secilc/Manifest b/sys-apps/secilc/Manifest
17 index b71bbe80d191..55a992a3750a 100644
18 --- a/sys-apps/secilc/Manifest
19 +++ b/sys-apps/secilc/Manifest
20 @@ -1,2 +1,3 @@
21 DIST secilc-3.3.tar.gz 181205 BLAKE2B ffccf2e6ea416f6e5a8270a488c6c6ed01b607af20fffed129f5d9b9957f2ab16e90a3fdbd57b597f1195987edf6a2ca1ae561cca62d176a01878fe24900f4b9 SHA512 11b2b6a56d588a71d8cc5b2e69e76579ddd3ea20e036bbfdbeefd8ed64a6dca3c8f963509a96231eb21807a195ec24e4807ef52dc2218ee0410ee0828ad77fa8
22 DIST secilc-3.4-rc1.tar.gz 181269 BLAKE2B cc0bd0d6016833d64d615fe0f1ef59ab302b15238f10005412d3c2347056fbc5a0e587ac2e18f62f7cb1402a2749c117ac6b50e97df9677a0afc9b2270d9352d SHA512 d99e76c50395fcb20a4c08156b155f7411eab2ce3374899cc3cf6193d95ed3a5b2dae86d18ddfda838e6701aeddedbdb98f8faedeb4506ac5b19c7957763d22c
23 +DIST secilc-3.4.tar.gz 181312 BLAKE2B cee26f3b6dc3d7a48df3bd3c9e0edf15f92f55b399afe02d7f4efe10cfd1d8ec140aa5ed588003c6ffca95e1abc82a6163f86edc58ea140703f47ca4bf2d5179 SHA512 f29ff42dd60050cdd4367af38b334876817f8e33ed40a9be89304beea840a210bd9a58d658d0b09f98bad54b12b185a0262ca05094b63e7f96c0142729699c3b
24
25 diff --git a/sys-apps/secilc/secilc-3.4.ebuild b/sys-apps/secilc/secilc-3.4.ebuild
26 new file mode 100644
27 index 000000000000..13b261011af0
28 --- /dev/null
29 +++ b/sys-apps/secilc/secilc-3.4.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="7"
35 +inherit toolchain-funcs
36 +
37 +MY_PV="${PV//_/-}"
38 +MY_P="${PN}-${MY_PV}"
39 +
40 +DESCRIPTION="SELinux Common Intermediate Language (CIL) Compiler"
41 +HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
42 +
43 +if [[ ${PV} == 9999 ]]; then
44 + inherit git-r3
45 + EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
46 + S="${WORKDIR}/${P}/${PN}"
47 +else
48 + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz"
49 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
50 + S="${WORKDIR}/${MY_P}"
51 +fi
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +
56 +DEPEND=">=sys-libs/libsepol-${PV}"
57 +RDEPEND="${DEPEND}"
58 +BDEPEND="app-text/xmlto"
59 +
60 +# tests are not meant to be run outside of the
61 +# full SELinux userland repo
62 +RESTRICT="test"
63 +
64 +src_compile() {
65 + tc-export CC
66 + default
67 +}