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 64954139694 for ; Sat, 22 Jul 2017 11:09:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6E911FC044; Sat, 22 Jul 2017 11:08:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 7C2391FC046 for ; Sat, 22 Jul 2017 11:08:58 +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 63FFF341931 for ; Sat, 22 Jul 2017 11:08:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A48C74C9 for ; Sat, 22 Jul 2017 11:08:54 +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: <1500720360.55910f5648aed5c4e26a30beed59325c933f57d6.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.7_rc5.ebuild X-VCS-Directories: sys-apps/checkpolicy/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 55910f5648aed5c4e26a30beed59325c933f57d6 X-VCS-Branch: master Date: Sat, 22 Jul 2017 11:08:54 +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-Archives-Salt: d0f4b9f3-d02b-456c-9703-ae41340b9a49 X-Archives-Hash: af165aef438baa87f406959d53b88b42 commit: 55910f5648aed5c4e26a30beed59325c933f57d6 Author: Jason Zaman gentoo org> AuthorDate: Sat Jul 22 10:19:31 2017 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Jul 22 10:46:00 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55910f56 sys-apps/checkpolicy: bump to 2.7_rc5 Package-Manager: Portage-2.3.6, Repoman-2.3.1 sys-apps/checkpolicy/Manifest | 1 + sys-apps/checkpolicy/checkpolicy-2.7_rc5.ebuild | 58 +++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/sys-apps/checkpolicy/Manifest b/sys-apps/checkpolicy/Manifest index d66b14cb391..1144e9ddd11 100644 --- a/sys-apps/checkpolicy/Manifest +++ b/sys-apps/checkpolicy/Manifest @@ -2,3 +2,4 @@ DIST checkpolicy-2.5.tar.gz 69857 SHA256 33af9f3eb19135a7e6536ecd3fbb96863230000 DIST checkpolicy-2.6.tar.gz 69748 SHA256 0bebd18688ca8027b1b3b4ff1532c0626f1fe49883ae6cb74d9d385940e74157 SHA512 1d8361a5735410909be7fe5a54740e0e1b6339d0fbad9965f3ae2902e7eaaec7531fec1dd73bb57b28ad933773778ab50b97db3d92aacf5fac3b63d1ed364b46 WHIRLPOOL ac5407796114f54b11fb96220dad47706a111d99ad072bfb29868fd4646106c647b33631fa4b6d250e3f01550f79e369a8de14523dab861d1c13e45c91041ac2 DIST checkpolicy-2.7-rc1.tar.gz 65984 SHA256 b86211596b6a57363cee52fcbf3a647ee36fd4c7b208211cb27020f952123e9d SHA512 fc833821b7ee4edc191b14cbf94b4d252b5380c7a5e917c16ce8840ec10b42ff23673342d63a9d8cf1f95b995e64b4687c01902d74b93a5a6ffeb4f1c9e9547a WHIRLPOOL c5bc8055ca9525dded2152bc994aa2ff7b6d79505fb94da3acc55b3bb80eac4367367d63e5837c0f93997b475f19d519387b6ad0e5933a5bb0a255fd6747bcab DIST checkpolicy-2.7-rc4.tar.gz 65985 SHA256 1a5e9c680c5b7904bfce983b4d5ffe209ccae3d3a650f7dd0b59c47d12728065 SHA512 d1d3e60e82e1a16a6c1032e275611fff7429eee3bd0386f1be5ffcdece02ff50258aa833f4ffaf77b5d032172940022577b156eb481f5b8a18859438d28dee65 WHIRLPOOL 83facd22a68811f13a29a162cc0a818520089725a74c9981dbf001837f05f8f122c1b9dde7f7780c317f46f3e49d396dbe65117585cb7c53e6649e0620290217 +DIST checkpolicy-2.7-rc5.tar.gz 65985 SHA256 13818b6b98e97082f7d8a58a953f225ea7ff8825a05cd677045e4cf289f8efbe SHA512 e4e1af0c8ccd90402bfab47ba4825e5f41228029e37d893bbd5f03b76ca3a12f3c43b51082d5485279b9845bfa6cf3a46ccfc3138939ad7a8aa26f2f4e9971e2 WHIRLPOOL 60cb47cfb9188edcf460858df8c0d30795588e2e4ca4c609414d73b91b5f345a8ace84394c0f9facba4d913c877197397f461964cd9df145166573214247eb1b diff --git a/sys-apps/checkpolicy/checkpolicy-2.7_rc5.ebuild b/sys-apps/checkpolicy/checkpolicy-2.7_rc5.ebuild new file mode 100644 index 00000000000..7498b6b9e16 --- /dev/null +++ b/sys-apps/checkpolicy/checkpolicy-2.7_rc5.ebuild @@ -0,0 +1,58 @@ +# 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="20170718" + +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://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${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}" \ + LIBSEPOLA="/usr/$(get_libdir)/libsepol.a" \ + 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." +}