From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-apps/secilc/Manifest | 8 +++++++ sys-apps/secilc/metadata.xml | 15 +++++++++++++ sys-apps/secilc/secilc-2.6.ebuild | 38 ++++++++++++++++++++++++++++++++ sys-apps/secilc/secilc-2.7.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ sys-apps/secilc/secilc-9999.ebuild | 44 ++++++++++++++++++++++++++++++++++++++ 5 files changed, 149 insertions(+) create mode 100644 sys-apps/secilc/Manifest create mode 100644 sys-apps/secilc/metadata.xml create mode 100644 sys-apps/secilc/secilc-2.6.ebuild create mode 100644 sys-apps/secilc/secilc-2.7.ebuild create mode 100644 sys-apps/secilc/secilc-9999.ebuild (limited to 'sys-apps/secilc') diff --git a/sys-apps/secilc/Manifest b/sys-apps/secilc/Manifest new file mode 100644 index 000000000000..b799caf34091 --- /dev/null +++ b/sys-apps/secilc/Manifest @@ -0,0 +1,8 @@ +DIST secilc-2.6.tar.gz 174543 SHA256 a84838c15bb7b0141238b48294b15ff0e1618107f547541a0067d1ddabcc9502 SHA512 5d59320d599d15754d76d36d981a1927d9633db9813f0248c29c9ff38bc59bf394910f4d56444a97df910b48e59f128d9997a85b6bd2ee8e0dd3ae31a9a2b7d0 WHIRLPOOL 34933ef3b67e6c665f7ef239beba577928a9d99d01d3b801931dfc44a0a602822361f3ec63dd03e8becde3dd5f1092d3f7b915ac83ecfb77fb5a9cfa107fa4b6 +DIST secilc-2.7.tar.gz 175733 SHA256 9ec63dd64645c718f66d33c96299adfe0445b0aa62d7ac8c642f873c570609c5 SHA512 cd828ad34e80151951f94414d27246b480cd4831d1d57cb35d5958ce23c30fe74f26ec1c4b29b51fe382bf03ec3144311b35ca645ffc6b914b7abfe677684c06 WHIRLPOOL 8e6107728df2a454a1482570480df0fedf377710151d046ba87ebcf33f028bf9bedf473cd2d374a834a2ce345e749ad916707ee7bd9caf6581e661d717241359 +EBUILD secilc-2.6.ebuild 856 SHA256 33641e796e6b11dca311df2df8a24162a0b29fb44805be47f77abd11debc95f1 SHA512 062650227a2625af512e415b5f9f85f74f3045962637ae543bfa0657312ae655532deb86932952d025517cdee7b350d294896addcdea55c55f559c23391afbf7 WHIRLPOOL 9ca4ca93ba412feca86b1987391353768d9f52505879a856c5f625b068c6dd8f3fa4fe44690addbb535880d2a01f8872ebd4eea2736d68bc60847af4114b8639 +EBUILD secilc-2.7.ebuild 922 SHA256 6334b0559381ae0429e93330bb698d3242ae6a787091ca1ad4a7a557487c7cb6 SHA512 dc913463e0a5d9c3367712c4e4d7a096b0ae84d0e188086f3328a66d081a92e45f2f12df86e8d5e7e175e9196ac6c3a3acbcf29870ca04f5e23aa8aa46715b28 WHIRLPOOL 7af92ea2d9ac8f2590f43a9dfdbb8207d78feba0f2285a3e60419016c179326321cf52a697acb6c0dc6a7e9a29154b696bba8cfa4155edc5139bb289395dc8fc +EBUILD secilc-9999.ebuild 924 SHA256 c000a10033fdaaf79443e5b8371f4beea9117abbd83e4113453b60466116bdec SHA512 076b8a6a769f675eacc13713ff1421360af94c9a91dca76b6f1d2fffa4270289f61753f638111fd506ecd562883f7c465b0bdf768bed15dabe10888fc084d37b WHIRLPOOL 054b0afa76f916e5447525eaa55ec62f3214433f4bcac3ae8f3089ff28677d8275c83bc37dec757c18a1d90048c910e2324dd76612d2d9603d67c87c8d65ef43 +MISC ChangeLog 3317 SHA256 bbb1b5c18ec3b8f27c69c53c043722ba245f2887cfb4bf5e7a073b9e2af37d8b SHA512 90cc883eae608ce7b29f94b316de1d90a851ae1aa0bebbdc85ca8df358ada894005eace353830277c8530572fb7a1a3cab87e4385d9eb3b14cb50204a006c609 WHIRLPOOL 998e55071042e98d2dcb1b233513c0b0541bd54df3357535013de6206ef9e76781c66a7e6e37e11ca8d3d00ff6755be9b3560cb7c282b6eca678bf058ca98ac3 +MISC ChangeLog-2015 378 SHA256 f0c9286dc915f35b032160fb4300480b1e69f03533f61b0082d15bca1df8845d SHA512 2d45f26f81fb77175c99ef125d27f31876ead319a05eaadb5ae4d673dcebf3191d61cf048207cf4efc84208be3e221cf3ec119a273fb5b1e4a04d6641b5e74c2 WHIRLPOOL bf2f7c89779a51bee170cf5b44d5f248eb1cd210d923161d8de7ad7d9cac26ea47f5d1882e4b627d980fbbd40eabb17de47ba08ec79ee33cc2b95d10d31dfd99 +MISC metadata.xml 529 SHA256 875c9833e8587f5dd895dbd3552b91153422b8d8779d8101d1708cb4f21056fb SHA512 390d766e53aeb5b9e37d8796736b2fd98e06ed4620f8ad2af4fed980ac2468c7cb316caa46358f3247c77d9a1d7a32d30deb3ddb08359265defb265b3fbcb8c7 WHIRLPOOL 52a598cf3e8d036f9b02d010a401c5f7ad7ec7fa41b85ed6c8506e484a1552a4e22a173cb20078077be83f4874163fd7a4aa0b536d5c8b67d3ff98726e6b5e41 diff --git a/sys-apps/secilc/metadata.xml b/sys-apps/secilc/metadata.xml new file mode 100644 index 000000000000..caa92457aea0 --- /dev/null +++ b/sys-apps/secilc/metadata.xml @@ -0,0 +1,15 @@ + + + + + selinux@gentoo.org + SELinux Team + + + The SELinux CIL Compiler is a compiler that converts the CIL language as + described on the CIL design wiki into a kernel binary policy file. + + + SELinuxProject/selinux + + diff --git a/sys-apps/secilc/secilc-2.6.ebuild b/sys-apps/secilc/secilc-2.6.ebuild new file mode 100644 index 000000000000..4dbf6ea81427 --- /dev/null +++ b/sys-apps/secilc/secilc-2.6.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +MY_P="${P//_/-}" +MY_RELEASEDATE="20161014" + +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://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${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" diff --git a/sys-apps/secilc/secilc-2.7.ebuild b/sys-apps/secilc/secilc-2.7.ebuild new file mode 100644 index 000000000000..0990b3608558 --- /dev/null +++ b/sys-apps/secilc/secilc-2.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit toolchain-funcs + +MY_P="${P//_/-}" +MY_RELEASEDATE="20170804" + +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://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${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 +} diff --git a/sys-apps/secilc/secilc-9999.ebuild b/sys-apps/secilc/secilc-9999.ebuild new file mode 100644 index 000000000000..7b5cd2063295 --- /dev/null +++ b/sys-apps/secilc/secilc-9999.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit toolchain-funcs + +MY_P="${P//_/-}" +MY_RELEASEDATE="20170804" + +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://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${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 +} -- cgit v1.2.3