From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4AE91138334 for ; Sat, 9 Feb 2019 11:49:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27B80E0A6F; Sat, 9 Feb 2019 11:49:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5CA8E0A6E for ; Sat, 9 Feb 2019 11:49:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A0FE335DA7 for ; Sat, 9 Feb 2019 11:49:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5B31546 for ; Sat, 9 Feb 2019 11:49:06 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1549712898.4481d04e0380aef6fb5369916b1f077dd58728ac.perfinion@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/checkpolicy/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/checkpolicy/Manifest sys-apps/checkpolicy/checkpolicy-2.9_rc1.ebuild X-VCS-Directories: sys-apps/checkpolicy/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 4481d04e0380aef6fb5369916b1f077dd58728ac X-VCS-Branch: master Date: Sat, 9 Feb 2019 11:49:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2493106b-3d5b-4689-8e71-dbb398e21cdf X-Archives-Hash: efb02698c65ec9b3355f72b2e71f61a8 commit: 4481d04e0380aef6fb5369916b1f077dd58728ac Author: Jason Zaman gentoo org> AuthorDate: Sat Feb 9 11:31:01 2019 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Feb 9 11:48:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4481d04e sys-apps/checkpolicy: bump to 2.9_rc1 Signed-off-by: Jason Zaman gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-apps/checkpolicy/Manifest | 1 + sys-apps/checkpolicy/checkpolicy-2.9_rc1.ebuild | 57 +++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sys-apps/checkpolicy/Manifest b/sys-apps/checkpolicy/Manifest index c7f3020508e..74660debfbe 100644 --- a/sys-apps/checkpolicy/Manifest +++ b/sys-apps/checkpolicy/Manifest @@ -1,2 +1,3 @@ DIST checkpolicy-2.7.tar.gz 65967 BLAKE2B 6918187363cd74a1a23df41f0af23a2231c7087c696d3935db65db4c6750cf7dfa7613b1d569dc76b80f9781fed9f58ef8d41e6ed4325086a10fb322f7f8f754 SHA512 fba8a4132f90c98f8222de563dc15aac1b739d3a6207779b6a4715d2813e7553081351c54f42371a1b704a1f5038d40821b61213c4ad53eb705823975858cf7f DIST checkpolicy-2.8.tar.gz 66243 BLAKE2B cd4b5ead13606df9888260a15d982eb43d59c659a6f021a18c598657b2a07de5e70a9eacee6528855f26256d26b27bd8bec27b95a7366cf2e44ba5d426369582 SHA512 d1a52dffefcc8f9f879214290f01beb5f4978f1764ab6378ee03a62ef924206b9a6f6a512001ae556034ababcd3a0043d455f5aef66b5629a4f152cd2c9f0b7a +DIST checkpolicy-2.9-rc1.tar.gz 66244 BLAKE2B 16f34d8ee46dd1d9a23cdb784e72dba28350293ba44fbd08621be013a1cd5e3509c8cde0e155fd45ca6bd000d69cf7ad7ed787011b6c47851c4f1403b6d5808e SHA512 1ad53f70219c0b57ad19ee1b242709b8e0721dc45a6f73f61553b602247e8a64a1c3896226bac977a795aa7c0fb83fa214d1ad1d6ccb6dc3bbc4228f33fe89b0 diff --git a/sys-apps/checkpolicy/checkpolicy-2.9_rc1.ebuild b/sys-apps/checkpolicy/checkpolicy-2.9_rc1.ebuild new file mode 100644 index 00000000000..529d55147c2 --- /dev/null +++ b/sys-apps/checkpolicy/checkpolicy-2.9_rc1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit toolchain-funcs + +MY_P="${P//_/-}" +MY_RELEASEDATE="20190125" + +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}" +else + SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_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} + >=sys-libs/libsemanage-${SEMNG_VER} + sys-devel/flex + sys-devel/bison" + +RDEPEND=">=sys-libs/libsemanage-${SEMNG_VER}" + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + YACC="bison -y" \ + LIBDIR="\$(PREFIX)/$(get_libdir)" +} + +src_install() { + emake DESTDIR="${D}" \ + install + + if use debug; then + dobin "${S}/test/dismod" + dobin "${S}/test/dispol" + fi +} + +pkg_postinst() { + einfo "This checkpolicy can compile version `checkpolicy -V | cut -f 1 -d ' '` policy." +}