1 |
swift 12/12/30 15:12:00 |
2 |
|
3 |
Modified: policycoreutils-2.1.13-r5.ebuild ChangeLog |
4 |
Added: policycoreutils-2.1.13-r6.ebuild |
5 |
Log: |
6 |
Stabilize r5, get r6 available as well which fixes rlpkg to include zfs support |
7 |
|
8 |
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0xCDBA2FDB) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 sys-apps/policycoreutils/policycoreutils-2.1.13-r5.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r5.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r5.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r5.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: policycoreutils-2.1.13-r5.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r5.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- policycoreutils-2.1.13-r5.ebuild 17 Nov 2012 16:57:22 -0000 1.1 |
24 |
+++ policycoreutils-2.1.13-r5.ebuild 30 Dec 2012 15:12:00 -0000 1.2 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2012 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r5.ebuild,v 1.1 2012/11/17 16:57:22 swift Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r5.ebuild,v 1.2 2012/12/30 15:12:00 swift Exp $ |
30 |
|
31 |
EAPI="4" |
32 |
PYTHON_DEPEND="2:2.7" |
33 |
@@ -15,7 +15,7 @@ |
34 |
SELNX_VER="2.1.12" |
35 |
SEPOL_VER="2.1.8" |
36 |
|
37 |
-IUSE="audit pam dbus sesandbox" |
38 |
+IUSE="audit pam dbus" |
39 |
|
40 |
DESCRIPTION="SELinux core utilities" |
41 |
HOMEPAGE="http://userspace.selinuxproject.org" |
42 |
@@ -25,7 +25,7 @@ |
43 |
|
44 |
LICENSE="GPL-2" |
45 |
SLOT="0" |
46 |
-KEYWORDS="~amd64 ~x86" |
47 |
+KEYWORDS="amd64 x86" |
48 |
|
49 |
COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python] |
50 |
>=sys-libs/glibc-2.4 |
51 |
@@ -35,7 +35,6 @@ |
52 |
>=sys-libs/libsepol-${SEPOL_VER} |
53 |
sys-devel/gettext |
54 |
dev-python/ipy |
55 |
- sesandbox? ( dev-libs/libcgroup ) |
56 |
dbus? ( |
57 |
sys-apps/dbus |
58 |
dev-libs/dbus-glib |
59 |
@@ -85,7 +84,6 @@ |
60 |
use audit && use_audit="y"; |
61 |
use pam && use_pam="y"; |
62 |
use dbus && use_dbus="y"; |
63 |
- use sesandbox && use_sesandbox="y"; |
64 |
|
65 |
python_copy_sources semanage sandbox |
66 |
building() { |
67 |
@@ -106,7 +104,6 @@ |
68 |
use audit && use_audit="y"; |
69 |
use pam && use_pam="y"; |
70 |
use dbus && use_dbus="y"; |
71 |
- use sesandbox && use_sesandbox="y"; |
72 |
|
73 |
# Python scripts are present in many places. There are no extension modules. |
74 |
installation() { |
75 |
|
76 |
|
77 |
|
78 |
1.110 sys-apps/policycoreutils/ChangeLog |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/ChangeLog?rev=1.110&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/ChangeLog?rev=1.110&content-type=text/plain |
82 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/ChangeLog?r1=1.109&r2=1.110 |
83 |
|
84 |
Index: ChangeLog |
85 |
=================================================================== |
86 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v |
87 |
retrieving revision 1.109 |
88 |
retrieving revision 1.110 |
89 |
diff -u -r1.109 -r1.110 |
90 |
--- ChangeLog 17 Nov 2012 16:57:22 -0000 1.109 |
91 |
+++ ChangeLog 30 Dec 2012 15:12:00 -0000 1.110 |
92 |
@@ -1,6 +1,13 @@ |
93 |
# ChangeLog for sys-apps/policycoreutils |
94 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
95 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.109 2012/11/17 16:57:22 swift Exp $ |
96 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.110 2012/12/30 15:12:00 swift Exp $ |
97 |
+ |
98 |
+*policycoreutils-2.1.13-r6 (30 Dec 2012) |
99 |
+ |
100 |
+ 30 Dec 2012; Sven Vermeulen +policycoreutils-2.1.13-r6.ebuild, |
101 |
+ policycoreutils-2.1.13-r5.ebuild: |
102 |
+ Stabilize r5, get r6 available as well which fixes rlpkg to include zfs |
103 |
+ support |
104 |
|
105 |
*policycoreutils-2.1.13-r5 (17 Nov 2012) |
106 |
|
107 |
|
108 |
|
109 |
|
110 |
1.1 sys-apps/policycoreutils/policycoreutils-2.1.13-r6.ebuild |
111 |
|
112 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r6.ebuild?rev=1.1&view=markup |
113 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r6.ebuild?rev=1.1&content-type=text/plain |
114 |
|
115 |
Index: policycoreutils-2.1.13-r6.ebuild |
116 |
=================================================================== |
117 |
# Copyright 1999-2012 Gentoo Foundation |
118 |
# Distributed under the terms of the GNU General Public License v2 |
119 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.1.13-r6.ebuild,v 1.1 2012/12/30 15:12:00 swift Exp $ |
120 |
|
121 |
EAPI="4" |
122 |
PYTHON_DEPEND="2:2.7" |
123 |
PYTHON_USE_WITH="xml" |
124 |
SUPPORT_PYTHON_ABIS="1" |
125 |
RESTRICT_PYTHON_ABIS="*-jython *-pypy-* 3.*" |
126 |
|
127 |
inherit multilib python toolchain-funcs eutils |
128 |
|
129 |
EXTRAS_VER="1.23" |
130 |
SEMNG_VER="2.1.9" |
131 |
SELNX_VER="2.1.12" |
132 |
SEPOL_VER="2.1.8" |
133 |
|
134 |
IUSE="audit pam dbus sesandbox" |
135 |
|
136 |
DESCRIPTION="SELinux core utilities" |
137 |
HOMEPAGE="http://userspace.selinuxproject.org" |
138 |
SRC_URI="http://userspace.selinuxproject.org/releases/20120924/${P}.tar.gz |
139 |
http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r4.tar.gz |
140 |
mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2" |
141 |
|
142 |
LICENSE="GPL-2" |
143 |
SLOT="0" |
144 |
KEYWORDS="~amd64 ~x86" |
145 |
|
146 |
COMMON_DEPS=">=sys-libs/libselinux-${SELNX_VER}[python] |
147 |
>=sys-libs/glibc-2.4 |
148 |
>=sys-libs/libcap-1.10-r10 |
149 |
>=sys-libs/libsemanage-${SEMNG_VER}[python] |
150 |
sys-libs/libcap-ng |
151 |
>=sys-libs/libsepol-${SEPOL_VER} |
152 |
sys-devel/gettext |
153 |
dev-python/ipy |
154 |
sesandbox? ( dev-libs/libcgroup ) |
155 |
dbus? ( |
156 |
sys-apps/dbus |
157 |
dev-libs/dbus-glib |
158 |
) |
159 |
audit? ( >=sys-process/audit-1.5.1 ) |
160 |
pam? ( sys-libs/pam )" |
161 |
|
162 |
### libcgroup -> seunshare |
163 |
### dbus -> restorecond |
164 |
|
165 |
# pax-utils for scanelf used by rlpkg |
166 |
RDEPEND="${COMMON_DEPS} |
167 |
dev-python/sepolgen |
168 |
app-misc/pax-utils" |
169 |
|
170 |
DEPEND="${COMMON_DEPS}" |
171 |
|
172 |
S2=${WORKDIR}/policycoreutils-extra |
173 |
|
174 |
src_prepare() { |
175 |
# rlpkg is more useful than fixfiles |
176 |
sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \ |
177 |
|| die "fixfiles sed 1 failed" |
178 |
sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \ |
179 |
|| die "fixfiles sed 2 failed" |
180 |
|
181 |
EPATCH_MULTI_MSG="Applying policycoreutils patches ... " \ |
182 |
EPATCH_SUFFIX="patch" \ |
183 |
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \ |
184 |
EPATCH_FORCE="yes" \ |
185 |
epatch |
186 |
|
187 |
# Overwrite gl.po, id.po and et.po with valid PO file |
188 |
cp "${S}/po/sq.po" "${S}/po/gl.po" || die "failed to copy ${S}/po/sq.po to gl.po" |
189 |
cp "${S}/po/sq.po" "${S}/po/id.po" || die "failed to copy ${S}/po/sq.po to id.po" |
190 |
cp "${S}/po/sq.po" "${S}/po/et.po" || die "failed to copy ${S}/po/sq.po to et.po" |
191 |
|
192 |
epatch_user |
193 |
} |
194 |
|
195 |
src_compile() { |
196 |
local use_audit="n"; |
197 |
local use_pam="n"; |
198 |
local use_dbus="n"; |
199 |
local use_sesandbox="n"; |
200 |
|
201 |
use audit && use_audit="y"; |
202 |
use pam && use_pam="y"; |
203 |
use dbus && use_dbus="y"; |
204 |
use sesandbox && use_sesandbox="y"; |
205 |
|
206 |
python_copy_sources semanage sandbox |
207 |
building() { |
208 |
einfo "Compiling policycoreutils" |
209 |
emake -C "${S}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die |
210 |
einfo "Compiling policycoreutils-extra " |
211 |
emake -C "${S2}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="python$(python_get_version)" || die |
212 |
} |
213 |
python_execute_function -s --source-dir semanage building |
214 |
} |
215 |
|
216 |
src_install() { |
217 |
local use_audit="n"; |
218 |
local use_pam="n"; |
219 |
local use_dbus="n"; |
220 |
local use_sesandbox="n"; |
221 |
|
222 |
use audit && use_audit="y"; |
223 |
use pam && use_pam="y"; |
224 |
use dbus && use_dbus="y"; |
225 |
use sesandbox && use_sesandbox="y"; |
226 |
|
227 |
# Python scripts are present in many places. There are no extension modules. |
228 |
installation() { |
229 |
einfo "Installing policycoreutils" |
230 |
emake -C "${S}" DESTDIR="${T}/images/${PYTHON_ABI}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="python$(python_get_version)" install || return 1 |
231 |
|
232 |
einfo "Installing policycoreutils-extra" |
233 |
emake -C "${S2}" DESTDIR="${T}/images/${PYTHON_ABI}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1 |
234 |
} |
235 |
python_execute_function installation |
236 |
python_merge_intermediate_installation_images "${T}/images" |
237 |
|
238 |
# remove redhat-style init script |
239 |
rm -fR "${D}/etc/rc.d" |
240 |
|
241 |
# compatibility symlinks |
242 |
dosym /sbin/setfiles /usr/sbin/setfiles |
243 |
dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so |
244 |
|
245 |
# location for permissive definitions |
246 |
dodir /var/lib/selinux |
247 |
keepdir /var/lib/selinux |
248 |
} |
249 |
|
250 |
pkg_postinst() { |
251 |
python_mod_optimize seobject.py |
252 |
} |
253 |
|
254 |
pkg_postrm() { |
255 |
python_mod_cleanup seobject.py |
256 |
} |