summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2021-03-18 00:58:17 +0000
committerJason Zaman <perfinion@gentoo.org>2021-04-02 21:15:23 -0700
commit2f458387411e29c4d0af3228a34c62873c672bba (patch)
treed9359076a14b3a56559c0394fa9aa59f0dc7e1f1
parentsys-apps/checkpolicy: Version updated to 3.2. (diff)
downloadgentoo-2f458387411e29c4d0af3228a34c62873c672bba.tar.gz
gentoo-2f458387411e29c4d0af3228a34c62873c672bba.tar.bz2
gentoo-2f458387411e29c4d0af3228a34c62873c672bba.zip
sys-apps/checkpolicy: Sync live ebuild.
Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
-rw-r--r--sys-apps/checkpolicy/checkpolicy-9999.ebuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/sys-apps/checkpolicy/checkpolicy-9999.ebuild b/sys-apps/checkpolicy/checkpolicy-9999.ebuild
index 90907ec9a0d..f2cee807536 100644
--- a/sys-apps/checkpolicy/checkpolicy-9999.ebuild
+++ b/sys-apps/checkpolicy/checkpolicy-9999.ebuild
@@ -5,34 +5,27 @@ EAPI="7"
inherit toolchain-funcs
-MY_P="${P//_/-}"
-MY_RELEASEDATE="20200710"
-
-SEPOL_VER="${PV}"
-SEMNG_VER="${PV}"
-
DESCRIPTION="SELinux policy compiler"
HOMEPAGE="http://userspace.selinuxproject.org"
if [[ ${PV} == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
- S="${WORKDIR}/${MY_P}/${PN}"
+ S="${WORKDIR}/${P}/${PN}"
else
- SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz"
+ SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
- S="${WORKDIR}/${MY_P}"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="debug"
-DEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
+DEPEND=">=sys-libs/libsepol-${PV}"
BDEPEND="sys-devel/flex
sys-devel/bison"
-RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
+RDEPEND=">=sys-libs/libsepol-${PV}"
src_compile() {
emake \