forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.5, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST secilc-2.5.tar.gz 174642 SHA256 4303d911c06ee5c207e00f778ca786c1a6efa2554a562f5d014dbc0d2f4cc4a4 SHA512 7f7b6fb72bee7018f7a591e6a7d8f58a81ed0e1ec914e0792ccd57a550756a5e21c6359e35ad2fe29225a0bd352637d01288721de3b95a9a175bb3ab052620b9 WHIRLPOOL e674039433041f527a1346ad64887254fa4d7f37f3125b08edcf1e16e23f1d40e1b1151cf6e10d4875d849c43a6b39af0069185303f23b5f331b39c1433deb0e | ||
DIST secilc-2.6.tar.gz 174543 SHA256 a84838c15bb7b0141238b48294b15ff0e1618107f547541a0067d1ddabcc9502 SHA512 5d59320d599d15754d76d36d981a1927d9633db9813f0248c29c9ff38bc59bf394910f4d56444a97df910b48e59f128d9997a85b6bd2ee8e0dd3ae31a9a2b7d0 WHIRLPOOL 34933ef3b67e6c665f7ef239beba577928a9d99d01d3b801931dfc44a0a602822361f3ec63dd03e8becde3dd5f1092d3f7b915ac83ecfb77fb5a9cfa107fa4b6 | ||
DIST secilc-2.7-rc1.tar.gz 175035 SHA256 9defac555414311f8e795899286728d4f62dcb8f425eae7a01ee8d1e52a4ac01 SHA512 698a63bd7a20624535212115d48dbe0e20acd4788825074c048169a8d7a2d19b6d30647c75cb12d067f6961ddecdc3f6fd6f0bece5a52bd19bc44c569fb627a1 WHIRLPOOL 6277e1f85cac9ce53642c55c2bead675081491cd9810b67b69f6f0808aa9db27c33fcc8633424113446060bfe547fea6ccf733b51ca0690446d94474eb180e0e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="20170609" | ||
|
||
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 | ||
} |