From: "Jason Zaman" <perfinion@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/checkpolicy/
Date: Mon, 7 Aug 2017 16:48:05 +0000 (UTC) [thread overview]
Message-ID: <1502124404.24e019e2e823018edd734ef7d940a54eebd68c76.perfinion@gentoo> (raw)
commit: 24e019e2e823018edd734ef7d940a54eebd68c76
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 7 14:11:30 2017 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Mon Aug 7 16:46:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e019e2
sys-apps/checkpolicy: bump to 2.7
Package-Manager: Portage-2.3.6, Repoman-2.3.1
sys-apps/checkpolicy/Manifest | 1 +
sys-apps/checkpolicy/checkpolicy-2.7.ebuild | 58 +++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/sys-apps/checkpolicy/Manifest b/sys-apps/checkpolicy/Manifest
index 1144e9ddd11..f285ad6f368 100644
--- a/sys-apps/checkpolicy/Manifest
+++ b/sys-apps/checkpolicy/Manifest
@@ -3,3 +3,4 @@ DIST checkpolicy-2.6.tar.gz 69748 SHA256 0bebd18688ca8027b1b3b4ff1532c0626f1fe49
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
+DIST checkpolicy-2.7.tar.gz 65967 SHA256 5413479f1dcde866c19896b4dbfec315d822aa431606e1d03c944408984c3201 SHA512 fba8a4132f90c98f8222de563dc15aac1b739d3a6207779b6a4715d2813e7553081351c54f42371a1b704a1f5038d40821b61213c4ad53eb705823975858cf7f WHIRLPOOL 71ea60ebcfd2b46ab5c24bb2a5197af8382fe3aa7b38946976ea3dff33a08f809d8b366e58fa2ceca13bdea8c99e9f8b8e5a9b54125664a4cec5e27b6471c1fc
diff --git a/sys-apps/checkpolicy/checkpolicy-2.7.ebuild b/sys-apps/checkpolicy/checkpolicy-2.7.ebuild
new file mode 100644
index 00000000000..a354cf27e26
--- /dev/null
+++ b/sys-apps/checkpolicy/checkpolicy-2.7.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="20170804"
+
+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."
+}
next reply other threads:[~2017-08-07 16:48 UTC|newest]
Thread overview: 80+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-07 16:48 Jason Zaman [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-09 22:01 [gentoo-commits] repo/gentoo:master commit in: sys-apps/checkpolicy/ Jason Zaman
2025-03-09 22:01 Jason Zaman
2025-02-09 22:45 Jason Zaman
2024-12-01 11:54 Sam James
2024-11-05 15:55 Arthur Zamarin
2024-11-05 10:34 Sam James
2024-11-05 10:34 Sam James
2024-11-05 10:31 Sam James
2024-08-12 1:23 Jason Zaman
2024-07-19 19:23 James Le Cuirot
2024-06-30 0:49 Jason Zaman
2024-06-30 0:36 Jason Zaman
2024-02-09 14:41 Kenton Groombridge
2024-01-17 1:33 Kenton Groombridge
2024-01-17 1:33 Kenton Groombridge
2023-04-15 15:13 Kenton Groombridge
2023-04-09 15:14 Kenton Groombridge
2023-03-30 0:09 Kenton Groombridge
2023-03-30 0:09 Kenton Groombridge
2023-03-30 0:09 Kenton Groombridge
2022-07-18 12:49 Sam James
2022-07-18 12:49 Sam James
2022-07-02 17:03 Kenton Groombridge
2022-06-04 1:03 Kenton Groombridge
2022-06-04 1:03 Kenton Groombridge
2022-04-11 4:59 Jason Zaman
2022-04-11 3:44 Jason Zaman
2022-04-09 2:55 Jason Zaman
2021-12-28 1:14 Jason Zaman
2021-11-20 23:20 Sam James
2021-11-20 23:20 Sam James
2021-10-31 2:55 Sam James
2021-07-28 20:08 Sam James
2021-07-04 22:19 Sam James
2021-04-03 4:19 Jason Zaman
2021-04-03 4:19 Jason Zaman
2021-01-03 8:20 Jason Zaman
2020-12-18 3:31 Jason Zaman
2020-12-03 3:12 Jason Zaman
2020-09-15 3:41 Jason Zaman
2020-02-15 13:21 Jason Zaman
2019-12-08 18:39 Jason Zaman
2019-12-08 17:26 Jason Zaman
2019-12-08 17:26 Jason Zaman
2019-12-02 14:50 Jason Zaman
2019-08-17 10:09 Jason Zaman
2019-08-17 10:09 Jason Zaman
2019-03-31 13:46 Jason Zaman
2019-03-31 13:46 Jason Zaman
2019-02-09 11:49 Jason Zaman
2019-02-09 11:49 Jason Zaman
2018-06-26 2:07 Jason Zaman
2018-05-25 7:29 Jason Zaman
2018-05-25 7:29 Jason Zaman
2018-05-13 17:28 Jason Zaman
2018-05-13 17:28 Jason Zaman
2018-04-27 4:45 Jason Zaman
2018-04-27 4:45 Jason Zaman
2018-04-26 11:22 Jason Zaman
2018-04-26 11:22 Jason Zaman
2017-09-23 2:15 Jason Zaman
2017-09-23 2:15 Jason Zaman
2017-08-07 16:48 Jason Zaman
2017-07-22 11:08 Jason Zaman
2017-07-22 11:08 Jason Zaman
2017-07-09 10:03 Jason Zaman
2017-07-09 10:03 Jason Zaman
2017-06-13 15:20 Jason Zaman
2017-06-13 15:20 Jason Zaman
2017-02-23 11:22 Jason Zaman
2016-12-12 14:01 Jason Zaman
2016-10-24 15:39 Jason Zaman
2016-10-07 4:24 Jason Zaman
2016-10-03 7:30 Jason Zaman
2016-09-01 16:31 Jason Zaman
2016-08-07 17:07 Jason Zaman
2016-06-21 15:41 Jason Zaman
2016-03-13 19:47 Sven Vermeulen
2015-12-21 8:57 Jason Zaman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502124404.24e019e2e823018edd734ef7d940a54eebd68c76.perfinion@gentoo \
--to=perfinion@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox