Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/checkpolicy/
Date: Sat, 09 Apr 2022 02:55:17
Message-Id: 1649472880.ef50a4c4d4f55d829e9d7a27f36871cc10888528.perfinion@gentoo
1 commit: ef50a4c4d4f55d829e9d7a27f36871cc10888528
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 01:52:56 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 02:54:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef50a4c4
7
8 sys-apps/checkpolicy: Drop old
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 sys-apps/checkpolicy/Manifest | 2 -
14 sys-apps/checkpolicy/checkpolicy-3.1.ebuild | 57 -----------------------------
15 sys-apps/checkpolicy/checkpolicy-3.2.ebuild | 50 -------------------------
16 3 files changed, 109 deletions(-)
17
18 diff --git a/sys-apps/checkpolicy/Manifest b/sys-apps/checkpolicy/Manifest
19 index 4717de90e97c..3010ddb97562 100644
20 --- a/sys-apps/checkpolicy/Manifest
21 +++ b/sys-apps/checkpolicy/Manifest
22 @@ -1,3 +1 @@
23 -DIST checkpolicy-3.1.tar.gz 69072 BLAKE2B 31cb5ef52533b0a62f954e770278fc5766a961d87fb86260b04abe562bcd90d0025b33931c6ad54096c64ab54150c7562c112eac80eb2f60dbcdda57f4cacfe2 SHA512 2276a5a0919286049d2ceba386ef5f6de523745b588bb81cb4fed5eced5fd0b8070249b7a3ae5a85e2abb9369a86318f727d4073aad14ab75c43750a46069168
24 -DIST checkpolicy-3.2.tar.gz 69035 BLAKE2B 263c582c8ed3c38822513899f3591edfc5d0132977451503a8b45d2074b5a1c5ce03973353b3ceaad44da913b4e35546cfef1988b68bd517618efdb942f994ec SHA512 133639595c2acc66c02b5a637c5e0c60d80ce2bae04f4a709d9fafabd31f9497d1a6e3334904b985c2a1bd94a7a7e3df782c2af2ae41d1fd79b69156a835edeb
25 DIST checkpolicy-3.3.tar.gz 69286 BLAKE2B f22cb1b0dae5a89c0abb500c2f091beda7960493bd0dc3b9cb5bc8d2d08d507870e5db46f53ad87d0ddea5e3bbdb6c721a5c5e6824b37f554049000392af6a6d SHA512 40e7ccd804aa19f229eb76bdaeb79c87ed19004ac7b91674ecfb92d543573dc26f9d456ea25ed1e0ef8e1a69538e41c68b386a0743023f3ea83aa4350fc3ce30
26
27 diff --git a/sys-apps/checkpolicy/checkpolicy-3.1.ebuild b/sys-apps/checkpolicy/checkpolicy-3.1.ebuild
28 deleted file mode 100644
29 index 1b8381709ac8..000000000000
30 --- a/sys-apps/checkpolicy/checkpolicy-3.1.ebuild
31 +++ /dev/null
32 @@ -1,57 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="7"
37 -
38 -inherit toolchain-funcs
39 -
40 -MY_P="${P//_/-}"
41 -MY_RELEASEDATE="20200710"
42 -
43 -SEPOL_VER="${PV}"
44 -SEMNG_VER="${PV}"
45 -
46 -DESCRIPTION="SELinux policy compiler"
47 -HOMEPAGE="http://userspace.selinuxproject.org"
48 -
49 -if [[ ${PV} == 9999 ]] ; then
50 - inherit git-r3
51 - EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
52 - S="${WORKDIR}/${MY_P}/${PN}"
53 -else
54 - SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz"
55 - KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
56 - S="${WORKDIR}/${MY_P}"
57 -fi
58 -
59 -LICENSE="GPL-2"
60 -SLOT="0"
61 -IUSE="debug"
62 -
63 -DEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
64 -BDEPEND="sys-devel/flex
65 - sys-devel/bison"
66 -
67 -RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}"
68 -
69 -src_compile() {
70 - emake \
71 - CC="$(tc-getCC)" \
72 - YACC="bison -y" \
73 - LIBDIR="\$(PREFIX)/$(get_libdir)"
74 -}
75 -
76 -src_install() {
77 - default
78 -
79 - if use debug; then
80 - dobin "${S}/test/dismod"
81 - dobin "${S}/test/dispol"
82 - fi
83 -}
84 -
85 -pkg_postinst() {
86 - if ! tc-is-cross-compiler; then
87 - einfo "This checkpolicy can compile version `checkpolicy -V | cut -f 1 -d ' '` policy."
88 - fi
89 -}
90
91 diff --git a/sys-apps/checkpolicy/checkpolicy-3.2.ebuild b/sys-apps/checkpolicy/checkpolicy-3.2.ebuild
92 deleted file mode 100644
93 index bba94c05097a..000000000000
94 --- a/sys-apps/checkpolicy/checkpolicy-3.2.ebuild
95 +++ /dev/null
96 @@ -1,50 +0,0 @@
97 -# Copyright 1999-2021 Gentoo Authors
98 -# Distributed under the terms of the GNU General Public License v2
99 -
100 -EAPI="7"
101 -
102 -inherit toolchain-funcs
103 -
104 -DESCRIPTION="SELinux policy compiler"
105 -HOMEPAGE="http://userspace.selinuxproject.org"
106 -
107 -if [[ ${PV} == 9999 ]] ; then
108 - inherit git-r3
109 - EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
110 - S="${WORKDIR}/${P}/${PN}"
111 -else
112 - SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz"
113 - KEYWORDS="amd64 arm arm64 ~mips ~riscv x86"
114 -fi
115 -
116 -LICENSE="GPL-2"
117 -SLOT="0"
118 -IUSE="debug"
119 -
120 -DEPEND=">=sys-libs/libsepol-${PV}"
121 -BDEPEND="sys-devel/flex
122 - sys-devel/bison"
123 -
124 -RDEPEND=">=sys-libs/libsepol-${PV}"
125 -
126 -src_compile() {
127 - emake \
128 - CC="$(tc-getCC)" \
129 - YACC="bison -y" \
130 - LIBDIR="\$(PREFIX)/$(get_libdir)"
131 -}
132 -
133 -src_install() {
134 - default
135 -
136 - if use debug; then
137 - dobin "${S}/test/dismod"
138 - dobin "${S}/test/dispol"
139 - fi
140 -}
141 -
142 -pkg_postinst() {
143 - if ! tc-is-cross-compiler; then
144 - einfo "This checkpolicy can compile version `checkpolicy -V | cut -f 1 -d ' '` policy."
145 - fi
146 -}