From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-962987-garchives=archives.gentoo.org@lists.gentoo.org>
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 BD868139694
	for <garchives@archives.gentoo.org>; Sat, 22 Jul 2017 11:09:07 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1DC7D1FC04A;
	Sat, 22 Jul 2017 11:09:00 +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 E11F41FC04A
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Jul 2017 11:08:59 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 C55F7341940
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Jul 2017 11:08:58 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 93CE374CC
	for <gentoo-commits@lists.gentoo.org>; Sat, 22 Jul 2017 11:08:54 +0000 (UTC)
From: "Jason Zaman" <perfinion@gentoo.org>
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" <perfinion@gentoo.org>
Message-ID: <1500720372.86ff7992f1ad0a6d1ed3ba5dcf487424e1c3738a.perfinion@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/semodule-utils/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-apps/semodule-utils/Manifest sys-apps/semodule-utils/semodule-utils-2.7_rc5.ebuild
X-VCS-Directories: sys-apps/semodule-utils/
X-VCS-Committer: perfinion
X-VCS-Committer-Name: Jason Zaman
X-VCS-Revision: 86ff7992f1ad0a6d1ed3ba5dcf487424e1c3738a
X-VCS-Branch: master
Date: Sat, 22 Jul 2017 11:08:54 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: d931f7d7-10be-4cca-95aa-070bdb121484
X-Archives-Hash: 0451c2f262a196dcf5d15c1f7e368546

commit:     86ff7992f1ad0a6d1ed3ba5dcf487424e1c3738a
Author:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 22 10:20:21 2017 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sat Jul 22 10:46:12 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86ff7992

sys-apps/semodule-utils: bump to 2.7_rc5

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-apps/semodule-utils/Manifest                   |  1 +
 .../semodule-utils/semodule-utils-2.7_rc5.ebuild   | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/sys-apps/semodule-utils/Manifest b/sys-apps/semodule-utils/Manifest
index a53a22a10e5..52f272fecca 100644
--- a/sys-apps/semodule-utils/Manifest
+++ b/sys-apps/semodule-utils/Manifest
@@ -1,2 +1,3 @@
 DIST semodule-utils-2.7-rc1.tar.gz 15446 SHA256 929b469e5c8ab806f0acd233352a52b257c5b59b3a75ae950d290138f2d2eef9 SHA512 4bc0c05e36dc01d53c178c507461e64d8842aa808758370d3920d18bd26410cfceed75ec70c6441f1d40e5ca594e13c12c99bb592b5a018bae9fff47e1177e57 WHIRLPOOL c1101fe791d48a8caea9be20ee15801696dba942084a1f9678e1a86e2f1079e69d19598121d63ebcc4b631ae92635da83499e9a571c99754db4ed432a155d0a6
 DIST semodule-utils-2.7-rc4.tar.gz 15445 SHA256 91a76625538d0e5faea3828b5401c1fbce634cfb8101262006063a91c0fbf26c SHA512 a4bd50d69cfb7484057169c1e0292edaa455436d2e8853f4e5a10e241b8508d2ff162a2f2f8857545a70b459f40b4d400b7ef8b4edcd6eb34e1096fd7e18c7c1 WHIRLPOOL cacb8dea0881d9ab3d49df0cd704e5d17f20976c009189243b6a8998a6a89240d47c06d7bc80e12dcd71c862141819532ac5ac089d58cf31925d5cbd0faaca53
+DIST semodule-utils-2.7-rc5.tar.gz 15448 SHA256 2f056cf4075805f63c89c82a455455dc3540ebe5779234e37e9b9e7bc9a1f22c SHA512 025e2a3d55271273de98c53bd5682cb96868d5e73c3879765bccb7f489614b00335d9c1b11c90760cd5a116da01d5c9eddbab61cf07c30e08f7fb16de8a4bb69 WHIRLPOOL a4a45311ad5c91ca382d8655caa23dd625753a55c3ca7385380acdf2bd19d84149da39088ec490e755064e6976165f0d2591a19d7f1fa000aa03ba3501c6fac7

diff --git a/sys-apps/semodule-utils/semodule-utils-2.7_rc5.ebuild b/sys-apps/semodule-utils/semodule-utils-2.7_rc5.ebuild
new file mode 100644
index 00000000000..7e76534ec49
--- /dev/null
+++ b/sys-apps/semodule-utils/semodule-utils-2.7_rc5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+MY_RELEASEDATE="20170718"
+SEPOL_VER="${PV}"
+SELNX_VER="${PV}"
+
+MY_P="${P//_/-}"
+IUSE=""
+
+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
+
+DESCRIPTION="SELinux policy module utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libsepol-${SEPOL_VER}:="
+
+RDEPEND="${DEPEND}
+	!<sys-apps/policycoreutils-2.7_pre"
+
+src_prepare() {
+	default
+
+	sed -i 's/-Werror//g' "${S}"/*/Makefile || die "Failed to remove Werror"
+}
+
+src_compile() {
+	emake \
+		CC="$(tc-getCC)" \
+		LIBDIR="\$(PREFIX)/$(get_libdir)"
+}
+
+src_install() {
+	emake DESTDIR="${D}" \
+		LIBDIR="\$(PREFIX)/$(get_libdir)" \
+		LIBSEPOLA="/usr/$(get_libdir)/libsepol.a" \
+		install
+}