mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
sys-apps/policycoreutils: sync with upstream
Signed-off-by: Mathieu Tortuyaux <mathieu@kinvolk.io>
This commit is contained in:
parent
17d538681e
commit
c172da732c
@ -1,804 +0,0 @@
|
||||
# ChangeLog for sys-apps/policycoreutils
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/ChangeLog,v 1.154 2015/06/09 15:38:25 swift Exp $
|
||||
|
||||
*policycoreutils-9999 (09 Jun 2015)
|
||||
|
||||
09 Jun 2015; Sven Vermeulen <swift@gentoo.org> +policycoreutils-9999.ebuild:
|
||||
Adding policycoreutils-9999 to better support upstream integrations
|
||||
|
||||
10 May 2015; Jason Zaman <perfinion@gentoo.org> policycoreutils-2.4.ebuild:
|
||||
stabilize selinux 2.4 userland
|
||||
|
||||
09 May 2015; Jason Zaman <perfinion@gentoo.org> policycoreutils-2.4.ebuild:
|
||||
ewarn has been moved to libsemanage
|
||||
|
||||
18 Apr 2015; Jason Zaman <perfinion@gentoo.org>
|
||||
-policycoreutils-2.3-r2.ebuild, -policycoreutils-2.4_rc6-r1.ebuild,
|
||||
-policycoreutils-2.4_rc7.ebuild:
|
||||
Drop old RCs
|
||||
|
||||
04 Mar 2015; Sven Vermeulen <swift@gentoo.org> policycoreutils-2.4.ebuild:
|
||||
Fix build failure on x32 (bug #541618)
|
||||
|
||||
06 Feb 2015; Jason Zaman <perfinion@gentoo.org> policycoreutils-2.3-r3.ebuild:
|
||||
Stablize 2.3-r3
|
||||
|
||||
*policycoreutils-2.4 (04 Feb 2015)
|
||||
|
||||
04 Feb 2015; Jason Zaman <perfinion@gentoo.org> +policycoreutils-2.4.ebuild:
|
||||
Version bump
|
||||
|
||||
*policycoreutils-2.4_rc7 (06 Dec 2014)
|
||||
*policycoreutils-2.3-r3 (06 Dec 2014)
|
||||
|
||||
06 Dec 2014; Jason Zaman <perfinion@gentoo.org>
|
||||
+policycoreutils-2.3-r3.ebuild, +policycoreutils-2.4_rc7.ebuild,
|
||||
-policycoreutils-2.4_rc2.ebuild, -policycoreutils-2.4_rc5.ebuild,
|
||||
-policycoreutils-2.4_rc6.ebuild,
|
||||
files/0020-disable-autodetection-of-pam-and-audit.patch,
|
||||
files/0030-make-inotify-check-use-flag-triggered.patch,
|
||||
policycoreutils-2.4_rc6-r1.ebuild:
|
||||
version bump and ebuild clean up, drop old RC
|
||||
|
||||
*policycoreutils-2.4_rc6-r1 (22 Nov 2014)
|
||||
|
||||
22 Nov 2014; Jason Zaman <perfinon@gentoo.org>
|
||||
+files/0001-policycoreutils-pp-add-roletype-statements-for-both-.patch,
|
||||
+policycoreutils-2.4_rc6-r1.ebuild:
|
||||
add patch from upstream to fix missing roletypes
|
||||
|
||||
*policycoreutils-2.4_rc6 (14 Nov 2014)
|
||||
|
||||
14 Nov 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.4_rc6.ebuild:
|
||||
Bump to rc6
|
||||
|
||||
*policycoreutils-2.4_rc5 (29 Oct 2014)
|
||||
|
||||
29 Oct 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.4_rc5.ebuild, -policycoreutils-2.4_rc4.ebuild,
|
||||
policycoreutils-2.4_rc2.ebuild:
|
||||
Bump to 2.4_rc5
|
||||
|
||||
*policycoreutils-2.4_rc4 (07 Oct 2014)
|
||||
|
||||
07 Oct 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.4_rc4.ebuild:
|
||||
Bump to 2.4-rc4
|
||||
|
||||
*policycoreutils-2.4_rc2 (21 Sep 2014)
|
||||
|
||||
21 Sep 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+files/0010-remove-sesandbox-support.patch,
|
||||
+files/0020-disable-autodetection-of-pam-and-audit.patch,
|
||||
+files/0030-make-inotify-check-use-flag-triggered.patch,
|
||||
+files/0040-reverse-access-check-in-run_init.patch,
|
||||
+files/0070-remove-symlink-attempt-fails-with-gentoo-sandbox-approach.patch,
|
||||
+files/0110-build-mcstrans-bug-472912.patch,
|
||||
+files/0120-build-failure-for-mcscolor-for-CONTEXT__CONTAINS.patch,
|
||||
+policycoreutils-2.4_rc2.ebuild, policycoreutils-2.3-r2.ebuild:
|
||||
Noved to github; also add in masked 2.4 series
|
||||
|
||||
05 Aug 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
-policycoreutils-2.2.5-r2.ebuild, -policycoreutils-2.3-r1.ebuild,
|
||||
-policycoreutils-2.3.ebuild, metadata.xml:
|
||||
Remove obsoleted ebuilds
|
||||
|
||||
30 Jul 2014; Sven Vermeulen <swift@gentoo.org> policycoreutils-2.3-r2.ebuild:
|
||||
Fix bug #514194 - Stabilization of SELinux userspace 2.3
|
||||
|
||||
*policycoreutils-2.3-r2 (28 May 2014)
|
||||
|
||||
28 May 2014; Sven Vermeulen <swift@gentoo.org> +policycoreutils-2.3-r2.ebuild:
|
||||
Fix selocal attribute validation
|
||||
|
||||
*policycoreutils-2.3-r1 (26 May 2014)
|
||||
|
||||
26 May 2014; Sven Vermeulen <swift@gentoo.org> +policycoreutils-2.3-r1.ebuild:
|
||||
Fix selocal to support dontaudit as well. Also verify types, attributes and
|
||||
roles before adding them.
|
||||
|
||||
10 May 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
-policycoreutils-2.1.14-r1.ebuild, -policycoreutils-2.1.14-r2.ebuild,
|
||||
-policycoreutils-2.1.14-r3.ebuild, -policycoreutils-2.1.14-r4.ebuild,
|
||||
-policycoreutils-2.1.14-r5.ebuild, -policycoreutils-2.2.1-r1.ebuild,
|
||||
-policycoreutils-2.2.5-r1.ebuild, -policycoreutils-2.2.5-r3.ebuild,
|
||||
-policycoreutils-2.3_rc1.ebuild, -policycoreutils-2.3_rc1-r1.ebuild,
|
||||
-files/policycoreutils-extra-1.21-fix-python3.patch:
|
||||
Spring cleanup
|
||||
|
||||
10 May 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
policycoreutils-2.2.5-r4.ebuild:
|
||||
Stabilize to work around vulnerability CVE-2014-3215
|
||||
|
||||
*policycoreutils-2.3 (09 May 2014)
|
||||
|
||||
09 May 2014; Sven Vermeulen <swift@gentoo.org> +policycoreutils-2.3.ebuild:
|
||||
Bump to 2.3
|
||||
|
||||
*policycoreutils-2.3_rc1-r1 (09 May 2014)
|
||||
|
||||
09 May 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.2.5-r4.ebuild, +policycoreutils-2.3_rc1-r1.ebuild:
|
||||
Do not build seunshare/sesandbox, cfr bug #509896
|
||||
|
||||
*policycoreutils-2.3_rc1 (28 Apr 2014)
|
||||
|
||||
28 Apr 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.3_rc1.ebuild:
|
||||
2.3-rc1 release
|
||||
|
||||
*policycoreutils-2.2.5-r3 (19 Apr 2014)
|
||||
|
||||
19 Apr 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.2.5-r3.ebuild, policycoreutils-2.2.5-r1.ebuild:
|
||||
Fix bug #507992 - Do not push out restorecond init script if restorecond
|
||||
should not be installed
|
||||
|
||||
20 Jan 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
policycoreutils-2.2.5-r2.ebuild:
|
||||
Stabilize for amd64 and x86
|
||||
|
||||
*policycoreutils-2.1.14-r5 (12 Jan 2014)
|
||||
|
||||
12 Jan 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.14-r5.ebuild:
|
||||
Backport BUILD_DIR change to 2.1.14 (needed to have runscript_selinux follow
|
||||
USE flag info)
|
||||
|
||||
*policycoreutils-2.2.5-r2 (12 Jan 2014)
|
||||
|
||||
12 Jan 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.2.5-r2.ebuild:
|
||||
Use python builddir locations for installation, otherwise a non-built
|
||||
directory will be used, dismissing all configuration variables mentioned
|
||||
earlier
|
||||
|
||||
23 Dec 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
-policycoreutils-2.1.13-r3.ebuild, -policycoreutils-2.1.13-r4.ebuild,
|
||||
-policycoreutils-2.1.13-r5.ebuild, -policycoreutils-2.1.13-r6.ebuild,
|
||||
-policycoreutils-2.1.13-r7.ebuild, -policycoreutils-2.1.13-r8.ebuild,
|
||||
-policycoreutils-2.1.13-r9.ebuild, -policycoreutils-2.1.13-r10.ebuild,
|
||||
-policycoreutils-2.1.13-r11.ebuild:
|
||||
Cleanup old versions
|
||||
|
||||
*policycoreutils-2.2.5-r1 (10 Dec 2013)
|
||||
|
||||
10 Dec 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.2.5-r1.ebuild:
|
||||
Adding 2.2.5 release
|
||||
|
||||
*policycoreutils-2.2.1-r1 (04 Nov 2013)
|
||||
|
||||
04 Nov 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.2.1-r1.ebuild:
|
||||
New policycoreutils release
|
||||
|
||||
04 Nov 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
policycoreutils-2.1.14-r4.ebuild:
|
||||
Stabilize
|
||||
|
||||
*policycoreutils-2.1.14-r4 (13 Aug 2013)
|
||||
|
||||
13 Aug 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.14-r4.ebuild:
|
||||
Document setfiles in rlpkg, improve selocal resilience
|
||||
|
||||
07 Jul 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
-policycoreutils-2.1.10-r5.ebuild:
|
||||
Summer cleaning
|
||||
|
||||
*policycoreutils-2.1.14-r3 (07 Jul 2013)
|
||||
|
||||
07 Jul 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.14-r3.ebuild:
|
||||
Switch to python-r1 eclass, add in mcstrans (bug #472912)
|
||||
|
||||
16 Jun 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
policycoreutils-2.1.14-r2.ebuild:
|
||||
Stabilization
|
||||
|
||||
10 May 2013; Sven Vermeulen <swift@gentoo.org> metadata.xml:
|
||||
Add in CPE data for policycoreutils, historical CVEs use redhat as
|
||||
application vendor
|
||||
|
||||
*policycoreutils-2.1.14-r2 (07 May 2013)
|
||||
|
||||
07 May 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.14-r2.ebuild:
|
||||
Fix bugs 467268 (yum bindings), 468832 (key error), 468830 (mls range
|
||||
dependency)
|
||||
|
||||
*policycoreutils-2.1.14-r1 (25 Apr 2013)
|
||||
|
||||
25 Apr 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.14-r1.ebuild:
|
||||
New upstream release
|
||||
|
||||
*policycoreutils-2.1.13-r11 (19 Apr 2013)
|
||||
|
||||
19 Apr 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.13-r11.ebuild:
|
||||
Add selocal command to policycoreutils
|
||||
|
||||
*policycoreutils-2.1.13-r10 (16 Apr 2013)
|
||||
|
||||
16 Apr 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.13-r10.ebuild:
|
||||
Fix bugs #463222 (newrole O_RDWR) and #464808 (hardcoded python3.1 in rlpkg)
|
||||
|
||||
16 Apr 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
-policycoreutils-2.1.10-r1.ebuild, -policycoreutils-2.1.10-r3.ebuild,
|
||||
-policycoreutils-2.1.10-r4.ebuild, -policycoreutils-2.1.10.ebuild:
|
||||
Some cleanup (older release unstables)
|
||||
|
||||
16 Apr 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
policycoreutils-2.1.13-r9.ebuild:
|
||||
Stabilize policycoreutils-2.1.13-r9
|
||||
|
||||
*policycoreutils-2.1.13-r9 (19 Mar 2013)
|
||||
|
||||
19 Mar 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.13-r9.ebuild:
|
||||
Fix bug #457786 - Link runscript_selinux with crypt
|
||||
|
||||
*policycoreutils-2.1.13-r8 (10 Mar 2013)
|
||||
|
||||
10 Mar 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.13-r8.ebuild:
|
||||
Adding selinux_gentoo init script for initramfs and cpu/online support
|
||||
(#456914)
|
||||
|
||||
*policycoreutils-2.1.13-r7 (09 Mar 2013)
|
||||
|
||||
09 Mar 2013; Sven Vermeulen <swift@gentoo.org>
|
||||
+policycoreutils-2.1.13-r7.ebuild:
|
||||
Update policycoreutils-extras to fix build failure when not building with PAM
|
||||
support, see bug #457786
|
||||
|
||||
*policycoreutils-2.1.13-r6 (30 Dec 2012)
|
||||
|
||||
30 Dec 2012; Sven Vermeulen +policycoreutils-2.1.13-r6.ebuild,
|
||||
policycoreutils-2.1.13-r5.ebuild:
|
||||
Stabilize r5, get r6 available as well which fixes rlpkg to include zfs
|
||||
support
|
||||
|
||||
*policycoreutils-2.1.13-r5 (17 Nov 2012)
|
||||
|
||||
17 Nov 2012; <swift@gentoo.org> policycoreutils-2.1.13-r4.ebuild,
|
||||
+policycoreutils-2.1.13-r5.ebuild:
|
||||
Stabilization, move sesandbox support to next release
|
||||
|
||||
*policycoreutils-2.1.13-r4 (14 Oct 2012)
|
||||
|
||||
14 Oct 2012; <swift@gentoo.org> +policycoreutils-2.1.13-r4.ebuild:
|
||||
Remove support for python3 until upstream supports it
|
||||
|
||||
13 Oct 2012; <swift@gentoo.org> policycoreutils-2.1.13-r3.ebuild:
|
||||
Supporting user-provided patches using epatch_user
|
||||
|
||||
*policycoreutils-2.1.13-r3 (09 Oct 2012)
|
||||
|
||||
09 Oct 2012; <swift@gentoo.org> +policycoreutils-2.1.13-r3.ebuild:
|
||||
Introducing new upstream release
|
||||
|
||||
06 Oct 2012; <swift@gentoo.org> policycoreutils-2.1.10-r5.ebuild:
|
||||
Stabilize
|
||||
|
||||
*policycoreutils-2.1.10-r5 (08 Sep 2012)
|
||||
|
||||
08 Sep 2012; <swift@gentoo.org> +policycoreutils-2.1.10-r5.ebuild:
|
||||
Fix bug #427596 and #430806
|
||||
|
||||
10 Jul 2012; <swift@gentoo.org> policycoreutils-2.1.10-r3.ebuild:
|
||||
Stabilization, drop libcgroup dependency along the way
|
||||
|
||||
*policycoreutils-2.1.10-r4 (10 Jul 2012)
|
||||
|
||||
10 Jul 2012; <swift@gentoo.org> +policycoreutils-2.1.10-r4.ebuild:
|
||||
Support refpolicy style audit2allow (#417199)
|
||||
|
||||
26 Jun 2012; Mike Gilbert <floppym@gentoo.org>
|
||||
policycoreutils-2.1.10-r1.ebuild, policycoreutils-2.1.10-r3.ebuild,
|
||||
policycoreutils-2.1.10.ebuild:
|
||||
Restrict pypy per Arfrever.
|
||||
|
||||
*policycoreutils-2.1.10-r3 (25 Jun 2012)
|
||||
|
||||
25 Jun 2012; <swift@gentoo.org>
|
||||
+files/policycoreutils-extra-1.21-fix-python3.patch,
|
||||
+policycoreutils-2.1.10-r3.ebuild:
|
||||
Improve support for python3, fixes bug #416301
|
||||
|
||||
13 May 2012; <swift@gentoo.org> -policycoreutils-2.1.0-r1.ebuild,
|
||||
-policycoreutils-2.1.0-r2.ebuild:
|
||||
Removing obsoleted ebuilds
|
||||
|
||||
*policycoreutils-2.1.10-r1 (29 Apr 2012)
|
||||
|
||||
29 Apr 2012; <swift@gentoo.org> policycoreutils-2.1.10.ebuild,
|
||||
+policycoreutils-2.1.10-r1.ebuild:
|
||||
Remove dependency on libcgroup (but drop sesandbox support along the way)
|
||||
|
||||
29 Apr 2012; <swift@gentoo.org> policycoreutils-2.1.10.ebuild:
|
||||
Stabilization
|
||||
|
||||
*policycoreutils-2.1.10 (31 Mar 2012)
|
||||
|
||||
31 Mar 2012; <swift@gentoo.org> +policycoreutils-2.1.10.ebuild, metadata.xml:
|
||||
Bump to version 2.1.10
|
||||
|
||||
26 Feb 2012; <swift@gentoo.org> policycoreutils-2.1.0-r2.ebuild:
|
||||
Stabilization
|
||||
|
||||
14 Jan 2012; <swift@gentoo.org> +policycoreutils-2.1.0-r2.ebuild,
|
||||
metadata.xml:
|
||||
Mark audit as a local USE flag
|
||||
|
||||
*policycoreutils-2.1.0-r2 (14 Jan 2012)
|
||||
|
||||
14 Jan 2012; <swift@gentoo.org> +policycoreutils-2.1.0-r2.ebuild:
|
||||
Override auto-detection of pam and audit, use USE flags for this
|
||||
|
||||
12 Nov 2011; <swift@gentoo.org> -policycoreutils-2.0.82.ebuild,
|
||||
-policycoreutils-2.0.82-r1.ebuild, -policycoreutils-2.0.85.ebuild,
|
||||
-policycoreutils-2.1.0.ebuild:
|
||||
removing obsoleted ebuilds
|
||||
|
||||
23 Oct 2011; <swift@gentoo.org> policycoreutils-2.1.0-r1.ebuild:
|
||||
Stabilization (tracker #384231)
|
||||
|
||||
23 Oct 2011; <swift@gentoo.org> policycoreutils-2.0.82-r1.ebuild:
|
||||
Stabilize 2.0.82-r1 to fix #372807
|
||||
|
||||
*policycoreutils-2.1.0-r1 (17 Sep 2011)
|
||||
|
||||
17 Sep 2011; <swift@gentoo.org> +policycoreutils-2.1.0-r1.ebuild:
|
||||
Add /var/lib/selinux directory, needed for 'semodule permissive' support (bug
|
||||
#381755)
|
||||
|
||||
02 Sep 2011; <swift@gentoo.org> policycoreutils-2.0.85.ebuild,
|
||||
policycoreutils-2.1.0.ebuild:
|
||||
Update patch locations to dev.g.o instead of files/ folder
|
||||
|
||||
12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
-policycoreutils-2.0.55.ebuild, -policycoreutils-2.0.69.ebuild,
|
||||
-policycoreutils-2.0.69-r1.ebuild, -policycoreutils-2.0.69-r2.ebuild,
|
||||
-files/policycoreutils-2.0.69-setfiles.diff:
|
||||
Removed deprecated versions
|
||||
|
||||
*policycoreutils-2.1.0 (03 Aug 2011)
|
||||
|
||||
03 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+policycoreutils-2.1.0.ebuild:
|
||||
Bump to 20110727 SELinux userspace release
|
||||
|
||||
*policycoreutils-2.0.85 (15 Jul 2011)
|
||||
|
||||
15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+policycoreutils-2.0.85.ebuild,
|
||||
+files/policycoreutils-2.0.85-fix-seunshare-vuln.patch.gz,
|
||||
+files/policycoreutils-2.0.85-sesandbox.patch.gz:
|
||||
Add fix for bug #374897 and initial support for python3
|
||||
|
||||
08 Jul 2011; Samuli Suominen <ssuominen@gentoo.org>
|
||||
policycoreutils-2.0.55.ebuild, policycoreutils-2.0.69.ebuild,
|
||||
policycoreutils-2.0.69-r1.ebuild, policycoreutils-2.0.69-r2.ebuild:
|
||||
Convert from "useq" to "use".
|
||||
|
||||
*policycoreutils-2.0.82-r1 (30 Jun 2011)
|
||||
|
||||
30 Jun 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+policycoreutils-2.0.82-r1.ebuild:
|
||||
Overwrite invalid .po files with valid ones, fixes bug #372807
|
||||
|
||||
16 Jun 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
policycoreutils-2.0.82.ebuild:
|
||||
Drop use_nls dependency on gettext. Its mandatory. See bug #299681.
|
||||
Also put gettext in COMMON_DEPS, it is more than a RDEPEND.
|
||||
|
||||
28 May 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
policycoreutils-2.0.82.ebuild:
|
||||
Stable amd64 x86
|
||||
|
||||
16 Apr 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
|
||||
Updated metadata info.
|
||||
|
||||
08 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
policycoreutils-2.0.82.ebuild:
|
||||
Set SUPPORT_PYTHON_ABIS (bug #353762). Fix dependencies. Fix installation
|
||||
with FEATURES="multilib-strict".
|
||||
|
||||
*policycoreutils-2.0.82 (05 Feb 2011)
|
||||
|
||||
05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+policycoreutils-2.0.82.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*policycoreutils-2.0.69-r2 (05 Feb 2011)
|
||||
|
||||
05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+policycoreutils-2.0.69-r2.ebuild,
|
||||
+files/policycoreutils-2.0.69-setfiles.diff:
|
||||
Fixed bug #300613
|
||||
|
||||
04 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
policycoreutils-2.0.55.ebuild, policycoreutils-2.0.69.ebuild,
|
||||
policycoreutils-2.0.69-r1.ebuild:
|
||||
Delete calls to deprecated python_version().
|
||||
|
||||
*policycoreutils-2.0.69-r1 (20 Sep 2009)
|
||||
|
||||
20 Sep 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-2.0.69-r1.ebuild:
|
||||
Update rlpkg for ext4 and btrfs.
|
||||
|
||||
14 Sep 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-2.0.69.ebuild:
|
||||
Fix libsemanage DEP.
|
||||
|
||||
02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-2.0.55.ebuild, policycoreutils-2.0.69.ebuild:
|
||||
Add python_need_rebuild.
|
||||
|
||||
*policycoreutils-2.0.69 (02 Aug 2009)
|
||||
|
||||
02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-2.0.69.ebuild:
|
||||
New upstream release.
|
||||
|
||||
18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
-policycoreutils-1.34.15.ebuild, policycoreutils-2.0.55.ebuild:
|
||||
Mark stable. Remove old ebuilds.
|
||||
|
||||
*policycoreutils-2.0.55 (03 Oct 2008)
|
||||
|
||||
03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-2.0.55.ebuild:
|
||||
Initial commit of policycoreutils 2.0.
|
||||
|
||||
29 May 2008; Ali Polatel <hawking@gentoo.org>
|
||||
policycoreutils-1.34.15.ebuild:
|
||||
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
|
||||
|
||||
26 May 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.34.15.ebuild:
|
||||
Fix libsemanage dependency.
|
||||
|
||||
13 May 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
-files/policycoreutils-1.28-quietlp.diff,
|
||||
-files/policycoreutils-1.32-quietlp.diff,
|
||||
-files/policycoreutils-unsigned-char-ppc.diff,
|
||||
-policycoreutils-1.28.ebuild, -policycoreutils-1.30-r1.ebuild,
|
||||
-policycoreutils-1.34.1.ebuild, -policycoreutils-1.34.11.ebuild,
|
||||
policycoreutils-1.34.15.ebuild:
|
||||
Mark 1.34.15 stable, clear old ebuilds.
|
||||
|
||||
*policycoreutils-1.34.15 (29 Jan 2008)
|
||||
|
||||
29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.34.15.ebuild:
|
||||
New upstream bugfix release.
|
||||
|
||||
19 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.34.11.ebuild:
|
||||
Fix quoting in unpack.
|
||||
|
||||
*policycoreutils-1.34.11 (18 Oct 2007)
|
||||
|
||||
18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.34.11.ebuild:
|
||||
New upstream release.
|
||||
|
||||
04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.34.1.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*policycoreutils-1.34.1 (15 Feb 2007)
|
||||
|
||||
15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.34.1.ebuild:
|
||||
New upstream release.
|
||||
|
||||
24 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.30.30.ebuild:
|
||||
Fix glibc handling.
|
||||
|
||||
09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.30.30.ebuild:
|
||||
Stable to make repoman happy.
|
||||
|
||||
*policycoreutils-1.30.30 (05 Oct 2006)
|
||||
|
||||
05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/policycoreutils-1.32-quietlp.diff, +policycoreutils-1.30.30.ebuild:
|
||||
Add SVN snapshot and updated extras in preparation for reference policy.
|
||||
|
||||
31 Jul 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.30-r1.ebuild:
|
||||
Mark stable, long overdue.
|
||||
|
||||
*policycoreutils-1.30-r1 (28 Mar 2006)
|
||||
|
||||
28 Mar 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
-policycoreutils-1.30.ebuild, +policycoreutils-1.30-r1.ebuild:
|
||||
Fix install location of python site packages.
|
||||
|
||||
22 Feb 2006; Stephen Bennett <spb@gentoo.org> policycoreutils-1.28.ebuild:
|
||||
Alpha stable
|
||||
|
||||
19 Feb 2006; Joshua Kinard <kumba@gentoo.org> policycoreutils-1.28.ebuild:
|
||||
Marked stable on mips.
|
||||
|
||||
*policycoreutils-1.30 (18 Mar 2006)
|
||||
|
||||
18 Mar 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.30.ebuild:
|
||||
New upstream release.
|
||||
|
||||
05 Feb 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/policycoreutils-unsigned-char-ppc.diff,
|
||||
policycoreutils-1.28.ebuild:
|
||||
Add patch to fix #121689.
|
||||
|
||||
17 Jan 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.28.ebuild:
|
||||
Mark stable, x86, amd64, ppc, sparc.
|
||||
|
||||
14 Jan 2006; Stephen Bennett <spb@gentoo.org> policycoreutils-1.28.ebuild:
|
||||
Added ~alpha
|
||||
|
||||
15 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.22.ebuild, policycoreutils-1.24-r2.ebuild,
|
||||
policycoreutils-1.28.ebuild:
|
||||
Tighten up versioning to try to prevent mismatch problems as seen in #112348.
|
||||
|
||||
*policycoreutils-1.28 (09 Dec 2005)
|
||||
|
||||
09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/policycoreutils-1.28-quietlp.diff, -policycoreutils-1.24-r1.ebuild,
|
||||
+policycoreutils-1.28.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*policycoreutils-1.24-r2 (08 Dec 2005)
|
||||
|
||||
08 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.24-r2.ebuild:
|
||||
Add compatability symlink for genhomedircon.
|
||||
|
||||
*policycoreutils-1.24-r1 (09 Sep 2005)
|
||||
|
||||
09 Sep 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.24-r1.ebuild:
|
||||
Update for fixed selinuxconfig source policy path.
|
||||
|
||||
11 Jul 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.22.ebuild, policycoreutils-1.24.ebuild:
|
||||
Fix RDEPEND for building stages. Libsepol is required now.
|
||||
|
||||
*policycoreutils-1.24 (25 Jun 2005)
|
||||
|
||||
25 Jun 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/policycoreutils-1.24-genhomedircon-quiet.diff,
|
||||
-policycoreutils-1.20-r1.ebuild, +policycoreutils-1.24.ebuild:
|
||||
New upstream release.
|
||||
|
||||
10 May 2005; Stephen Bennett <spb@gentoo.org> policycoreutils-1.22.ebuild:
|
||||
mips stable
|
||||
|
||||
01 May 2005; Stephen Bennett <spb@gentoo.org> policycoreutils-1.22.ebuild:
|
||||
Added ~mips.
|
||||
|
||||
01 May 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.22.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*policycoreutils-1.22 (13 Mar 2005)
|
||||
|
||||
13 Mar 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/policycoreutils-1.22-genhomedircon-quiet.diff,
|
||||
+policycoreutils-1.22.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*policycoreutils-1.20-r1 (13 Feb 2005)
|
||||
|
||||
13 Feb 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
-policycoreutils-1.16.ebuild, +policycoreutils-1.20-r1.ebuild,
|
||||
-policycoreutils-1.20.ebuild:
|
||||
Add back some tools deleted from upstream libselinux.
|
||||
|
||||
*policycoreutils-1.20 (07 Jan 2005)
|
||||
|
||||
07 Jan 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.18-r1.ebuild, +policycoreutils-1.20.ebuild:
|
||||
New upstream release. Mark 1.18-r1 stable.
|
||||
|
||||
*policycoreutils-1.18-r1 (03 Jan 2005)
|
||||
|
||||
03 Jan 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/policycoreutils-nonls.diff, +policycoreutils-1.18-r1.ebuild:
|
||||
Make pam and nls optional for embedded systems use.
|
||||
|
||||
22 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.18.ebuild:
|
||||
Ensure a few dirs and perms during stage1 build.
|
||||
|
||||
15 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.18.ebuild:
|
||||
Fix libsepol dep.
|
||||
|
||||
*policycoreutils-1.18 (14 Nov 2004)
|
||||
|
||||
14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.18.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*policycoreutils-1.16 (07 Sep 2004)
|
||||
|
||||
07 Sep 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/policycoreutils-1.16-genhomedircon-compat.diff,
|
||||
+policycoreutils-1.16.ebuild:
|
||||
New upstream release.
|
||||
|
||||
08 Aug 2004; Tom Martin <slarti@gentoo.org> policycoreutils-1.12-r1.ebuild,
|
||||
policycoreutils-1.12-r2.ebuild, policycoreutils-1.14.ebuild,
|
||||
policycoreutils-1.4-r1.ebuild:
|
||||
Typo in DESCRIPTION: utilites -> utilities. Bug 59717.
|
||||
|
||||
06 Jul 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.14.ebuild:
|
||||
Bump extras to fix free() bug in runscript_selinux.so.
|
||||
|
||||
*policycoreutils-1.12-r2 (06 Jul 2004)
|
||||
|
||||
06 Jul 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/runscript-selinux.diff, +policycoreutils-1.12-r2.ebuild:
|
||||
Fix free() error in runscript_selinux.so.
|
||||
|
||||
03 Jul 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.14.ebuild:
|
||||
Update extras.
|
||||
|
||||
*policycoreutils-1.14 (02 Jul 2004)
|
||||
|
||||
02 Jul 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/policycoreutils-1.14-genhomedircon-compat.diff,
|
||||
+policycoreutils-1.14.ebuild:
|
||||
New upstream version.
|
||||
|
||||
*policycoreutils-1.12-r1 (28 Jun 2004)
|
||||
|
||||
28 Jun 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.12-r1.ebuild:
|
||||
Add toggle_bool to extras.
|
||||
|
||||
11 Jun 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
-policycoreutils-1.10-r1.ebuild, policycoreutils-1.12.ebuild:
|
||||
Mark stable
|
||||
|
||||
*policycoreutils-1.12 (14 May 2004)
|
||||
|
||||
14 May 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.12.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*policycoreutils-1.10-r1 (28 Apr 2004)
|
||||
|
||||
28 Apr 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
+policycoreutils-1.10-r1.ebuild, -policycoreutils-1.10.ebuild,
|
||||
-policycoreutils-1.8.ebuild:
|
||||
Update extras and mark stable.
|
||||
|
||||
*policycoreutils-1.10 (20 Apr 2004)
|
||||
|
||||
08 Apr 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.4-r1.ebuild, policycoreutils-1.8.ebuild:
|
||||
More specific versioning for libselinux.
|
||||
|
||||
08 Apr 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.8.ebuild:
|
||||
Mark stable for 2004.1
|
||||
|
||||
15 Mar 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.8.ebuild:
|
||||
Update extras.
|
||||
|
||||
*policycoreutils-1.8 (12 Mar 2004)
|
||||
|
||||
12 Mar 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.8.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*policycoreutils-1.6 (24 Feb 2004)
|
||||
|
||||
24 Feb 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.4-r1.ebuild, policycoreutils-1.6.ebuild:
|
||||
New upstream release. Mark 1.4-r1 stable.
|
||||
|
||||
*policycoreutils-1.4-r1 (09 Feb 2004)
|
||||
|
||||
09 Feb 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.4-r1.ebuild:
|
||||
Move extras to mirrors, and add runscript_selinux.so.
|
||||
|
||||
31 Jan 2004; Chris PeBenito <pebenito@gentoo.org> files/rlpkg:
|
||||
Switch to portageq from inline python. Add missing quotes for completeness.
|
||||
|
||||
16 Dec 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.4.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*policycoreutils-1.4 (06 Dec 2003)
|
||||
|
||||
06 Dec 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.4.ebuild:
|
||||
New upstream version.
|
||||
|
||||
*policycoreutils-1.2-r2 (23 Nov 2003)
|
||||
|
||||
23 Nov 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.2-r2.ebuild:
|
||||
Bump to add /sbin/seinit.
|
||||
|
||||
29 Oct 2003; Joshua Brindle <method@gentoo.org>
|
||||
policycoreutils-1.2-r1.ebuild:
|
||||
added sparc
|
||||
|
||||
*policycoreutils-1.2-r1 (20 Oct 2003)
|
||||
|
||||
20 Oct 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.2-r1.ebuild:
|
||||
Remove unneeded -lattr linking from Makefiles.
|
||||
|
||||
07 Oct 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.2.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*policycoreutils-1.2 (03 Oct 2003)
|
||||
|
||||
03 Oct 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.2.ebuild, files/policycoreutils-1.2-gentoo.diff:
|
||||
New upstream version.
|
||||
|
||||
29 Sep 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.1-r1.ebuild:
|
||||
Add build USE flag; when asserted, only setfiles is built and merged.
|
||||
|
||||
22 Sep 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.1-r1.ebuild:
|
||||
Move selinux-base-policy RDEPEND to checkpolicy. No longer RDEPEND on
|
||||
checkpolicy.
|
||||
|
||||
22 Sep 2003; <paul@gentoo.org> metadata.xml:
|
||||
Fix metadata.xml
|
||||
|
||||
24 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.1-r1.ebuild, policycoreutils-1.1.ebuild:
|
||||
Mark stable
|
||||
|
||||
*policycoreutils-1.1-r1 (18 Aug 2003)
|
||||
|
||||
18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> metadata.xml,
|
||||
policycoreutils-1.0.ebuild, policycoreutils-1.1-r1.ebuild,
|
||||
files/avc_enforcing, files/avc_toggle,
|
||||
files/policycoreutils-1.1-setfiles.diff:
|
||||
Add setfiles patch for alternate root. Add avc_enforcing and avc_toggle
|
||||
scripts for ease of use for old API users. Use package description from RPM
|
||||
spec file in metadata.xml long description.
|
||||
|
||||
*policycoreutils-1.1 (14 Aug 2003)
|
||||
|
||||
14 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.1.ebuild:
|
||||
New upstream version
|
||||
|
||||
10 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
policycoreutils-1.0.ebuild, files/rlpkg:
|
||||
Add mkinitrd RDEP, add rlpkg.
|
||||
|
||||
*policycoreutils-1.0 (03 Aug 2003)
|
||||
|
||||
03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> metadata.xml,
|
||||
policycoreutils-1.0.ebuild, files/policycoreutils-1.0-gentoo.diff:
|
||||
Initial commit
|
@ -1,41 +1,3 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 0001-policycoreutils-pp-add-roletype-statements-for-both-.patch 2157 SHA256 799b93fde622a168e0c7b1a0a1ec1a0a65873379e1245ec42859c00a06ca1372 SHA512 fb96bcf8bf045092be98dfce3c2d010984428f2a302e53c72af236eb1466465a27c6fba00e0912cafb28159e3d233fd82220c2456a2b8df36ba2d1286b9752fa WHIRLPOOL e1a829e0710e045c7a7ba622f4c79e8ff9d59c370b838e45ccca95416845d92a6d690cd65be2c99aa020ec7a6db2692988db7b5d72823d42f977124b35abcb17
|
||||
AUX 0010-remove-sesandbox-support.patch 747 SHA256 af6969721dede49f4de4e1db8e98e8400a8f0e3ec0b55aee9295aea0d6ba3b9a SHA512 b7b54191d2b8703393dd23a7fcccbdc3e2b7234acd962e994c8549eebae6cae3b6f62055b47a2d5db94510739abfb2fa365090c452422b6fbc02ad625ebe4859 WHIRLPOOL 1ed396c3346123af9fc8a5e911a6c241e2b64d7424b2d5194b0cc7c6b44a960c70afde3d04a508ecf525af038a52c739bc424230db34fcb52096304b2cda2771
|
||||
AUX 0020-disable-autodetection-of-pam-and-audit.patch 3924 SHA256 5f322dcc8c24838ec30c1df3aa69876063989fd07389c60ef64802c6fe25e91e SHA512 0efcbe36fdaa369cb1837767e872189f9f18b58d738b38c304ef31c568e60d602cfb5f87328a3b1f209840e2ab102f2d0ee8c4e918b2866c0ca978f33252ad33 WHIRLPOOL 669a451f98f39607e6a5a235e67ab432e480327dfe8204c2fcbb7455f571da4a64e91d76926c34e7fc25cec393ed6fbabb33e46c00e4f7a30848f304ed96b61f
|
||||
AUX 0030-make-inotify-check-use-flag-triggered.patch 650 SHA256 1cf0d985c865d9afe134e598c50b40420e4a48f4fde6e5d1916a880b8c393a75 SHA512 9ae10652ae14abd8930690363d41d9cacf0d0003ff21cf75dfc52a4ab7a4ab3d1fa9f1dc6994de9ae874483297478d79ee071dae766dfabf07ba70092bd11ba4 WHIRLPOOL ebf776adb8115db80418313ee8ad80f8d03b71358b1aa790ac690cd81b3646f0818da6bbf5d2f570c4be4150e6a2b475ff848622239f65e1479f29c9eb6a44f1
|
||||
AUX 0040-reverse-access-check-in-run_init.patch 500 SHA256 5e1bb9b3124efee30502992cb16720f44d8abd3eeacaa8b70cea5cfa116dc9dc SHA512 2935f303a84f5a18d58eb98bab2101772d6b787a2fe8299cbba1deb0dacc313ae04c60bb731fae255e24c52b5923aa861925c31be8898aa37d2d7687a7725040 WHIRLPOOL 3022f8703ea851c2b90e93965dce0669a2d3b33ef61ee09ed9aed775f07858c6b5474b8e0f0e6186609af4e05234c042aa376ea242b4245a95a1cd08ba19cbd3
|
||||
AUX 0070-remove-symlink-attempt-fails-with-gentoo-sandbox-approach.patch 519 SHA256 63d4952efdf1fa8510485900e17f3bcb356086dda9440e3f4dd9fbcad83ec027 SHA512 c49b440ca07003688e115ea792188f37e5456d8afde0ee3be7a49af8c51ca7089e85e64ad237fbdc3c34685a58022f695f00fe443face1052f8181829678a256 WHIRLPOOL 1a246957e0aebf5129117644eb202a123ae8e43cca19b961796cc3940253e92c479819911a681d2434f794693115843cf351f04f9610e46171bef7048b59a8d1
|
||||
AUX 0110-build-mcstrans-bug-472912.patch 2509 SHA256 c89ee8947ba7d04c7df30eef7fee91233188da90718c05a93c07112eb272dd8d SHA512 97a6c17e8232dc62dd5beaf101efa1e0462eedfb9fb4eff93d96171bbd866bd12b19ada1c512eef20ba732813e6f009276debbe5385ece373dd3bad1b7e61765 WHIRLPOOL fdb2509aab5e98ed11a942457711132e5888a25c0426bde59a84fb8bd8dc3f065f0e6daba77730e94a114c1e1431a1cee17a6ccf305946a5abed328f027c0bd1
|
||||
AUX 0120-build-failure-for-mcscolor-for-CONTEXT__CONTAINS.patch 483 SHA256 572d141797d2a164b50b081fd6167f3acd93f62cc878c8859f731580243deb7d SHA512 a8a81158924aa527038696a98503144e50ed941ba1afbf52d26fc5bb9373c7ac6fd3f864070ff717c5b45ddba0470bc43b142f02da134559af8896c15084234f WHIRLPOOL 17836a74dcd4ce605891f6bd1eeeca61d6ed1534d3f6d3e1c65d1ddd7096460cbf75eac868d2c7ef112c85f745c2b1af7ca2abf02644351c3ebbfbbffc90a99b
|
||||
DIST patchbundle-policycoreutils-2.2.5-gentoo-r1.tar.gz 7287 SHA256 cb6915c46a5e6789f95ac254d34b1d890055b31ded61596ffb5bf925aa8c446a SHA512 be6eeaf4927d80f2c198ecc4fbe88a3e960380a0de532155eff3a12157df0615e7b3ffbc09e984df08fb32ce5b62f75147559a093b620a98d9ff836ad07b18b0 WHIRLPOOL de7e0348abc45713ede926d79f26bb8590c41db6f984ff8f29a01b933f6e3c38531682f10a0d7de73f8b26994ac9a476bd9d54fc36fb45689f7ad9eca5206f09
|
||||
DIST patchbundle-policycoreutils-3.tar.gz 7294 SHA256 44db261c87f583a7620690fc5041d8a21b1c935e741fe7b594aa2cc958e3deb7 SHA512 24e4c73e97441a1042618f6a4179d71672c81f821ffc2f97a54116bf6b33a93bd7f3e2030dbdb362da5e2a7d8936604e5b0283261c7b2447cc4f7594966c73bc WHIRLPOOL d38416ff9707d7d2bbf04f5d582944a87d27de06f3d70677341d38dacc6501dd78ef01fd8a7bb044d49b1f2a8c95181e2cb1b4b81dae49819409dbcf9d7abcb7
|
||||
DIST policycoreutils-2.2.5.tar.gz 4948944 SHA256 bbf850a8c3c2f371f439d6525663eecdd3a737acd594d2f27f8d8f3a07830cc4 SHA512 88a32fbbede56f3e717394f134212ed9df9b06cbb5532168ccc03ef2a465f4320b54a561348ea5c319b5b641f7661565ad29fbdc5aae50190a6d21d076cf2c3f WHIRLPOOL 0eb0e0c7e1fc1514cb28bbda7a10066ad23a9ccfecc92dee606e3f0e71632e07fe1c4ba7ac89993adf15e9520fc9e527e16d623d56b4e96cc882bf82dea4cb14
|
||||
DIST policycoreutils-2.3.tar.gz 4984980 SHA256 864cfaee58b5d2f15b140c354e59666e57143293c89f2b2e85bc0d0e4beefcd2 SHA512 3256849d13856ec47ac85470632a57e26952c5dafffb51df4eb8e32467196ff3ef725cc582798727fe45fd6284c1893d12eae2c89088ae1758ad39faec385659 WHIRLPOOL 1dd9bfd67ebb744b8c47144966f09d8361e9018e8d941355080c274b9ac891c18eb95771f3dc8b136683224bc5f12f3fb58fa00666b5815d65e7141c31d9293d
|
||||
DIST policycoreutils-2.4.tar.gz 5004280 SHA256 b819f876f12473783ccce9f63b9a79cd77177477cd6d46818441f808cc4c3479 SHA512 0eb0ea569c1699ed78e5e9798d9f182b3a8bfa6dcd387bcc78923755b3a1cad982673db88857745154d3769d44402b87e52d5fe3024874001f61f783aa25cce6 WHIRLPOOL d101080973ef6248617b5bca9d8b76e59008061b3411aec4ed95343af09b941a34acb3bb0001da5468595c4c37684ab6f34204e18ccb3cbbd5b3d31df0cb5e7f
|
||||
DIST policycoreutils-extra-1.31.tar.bz2 16080 SHA256 ad0a78d96fd01aa51fe774e1701bd23934cd72182b2bad68112006f0ea17cc7b SHA512 520f93f1a2ce3c60a1d192b09cb9a968d207fbc6ab1f01861be95a50b65264f706335620ccbca48ce38f81581a4cf5128e5db9e5b0564460c9f05f04038abfba WHIRLPOOL 56e713b9bd8f1af1496f383f45f1ef8d373b3f45148237bfd28c016f4becaa87d932b363d165b46c657ea3a08503e7bc60b1c5a5a2a814a659770bedf33d4202
|
||||
DIST policycoreutils-extra-1.33.tar.bz2 16191 SHA256 743c3930277102f5545907314b21e98955e88be7972e30264c6cb5dca370b788 SHA512 3f6f19ae33d5b1043f2979fb3e79bc061767f7051cbd0981e5c5663b4391fa29544b2184b384c9fce7b4100623bc776748d77a01865dcee78b0756d73ee10886 WHIRLPOOL e74b9c3a6dff563b81bf3ce85119fbdfc658191ac063763f2916a7dcd90584f98cbccd1d6cd5ef3aecb00366a82c949c62ab9b907cb98800cb53d3e9ab63b492
|
||||
EBUILD policycoreutils-2.2.5-r4.ebuild 4708 SHA256 2287c153ef9ce72a15e1fb0d681942c79c26393dfa00436b414389334606b5e4 SHA512 d69a0cd51e9e995f59535e6e72a3e62d4a5e3f75aeb8a98f9e6dd6ce7f02b4ca19d479395bcfccdeba7b932c484bc90308a3f563d621c0f3f626c4aa5b927c5a WHIRLPOOL c34a44c55bc221274f3f19e8f72fbf1d649b16978d6d080ff66ba47185b0bc7e069431a818ebce1fd23ef590f656fa23e86ebef42bca870050ff2a792bf20072
|
||||
EBUILD policycoreutils-2.3-r3.ebuild 4388 SHA256 2b87e99e95421c093aed5fca66c6506261ded68dccc11d309f7e106947664093 SHA512 b00da0cb9bae1f3aa4149b178bf904a90133b7aa7985635c342cb0f5a9e135b3ebb82e14cfdc224684820c1d4085cb8532023793440eaa5e1df8f3f130887b35 WHIRLPOOL 3c8fb7ed0c0ca20985b2f6556a95e623cd04bf83c53822cacfd7702bab50ac55f025ddb15d20799292f4dfdeee702112abf80e269b5493eac128eb9f2df3dfa7
|
||||
EBUILD policycoreutils-2.4.ebuild 4495 SHA256 f58265fbd9bd64bba47eef2ef7f65d6a7a62c1fea0b6754f6a48bb879156dc36 SHA512 43a099ac242de40c42132f697e248da84cde5c38ca64be38c4cb8729153a8921597a082d095a6d312b0e6422b6345099460039798c0f626533141e1bf841138b WHIRLPOOL 8d5757ae72043247b9501510bb561d6f8ae516ae54ee97a9b3e9ad68f61626cef9463b73a278d043b472988f7499baf26ef16e3619f7a7efb0e1c9264125f74d
|
||||
EBUILD policycoreutils-9999.ebuild 5262 SHA256 0bf3f18e901197cfecd321bee41a7eff1e041a657a4e1824d3678728e11d1117 SHA512 e00c2cc009bfd413267723f08e265ef3f5746591d639f5273a4d50ffc601cd60f7db63aa54803bcc536cb543ccc4a78033bdd044ad0ae15d72191603de923189 WHIRLPOOL 218f9ee27401591352d69daf1d3a7ccaa596fc2c5ebd32842fcea33d96f15e90de0ce81346bbb671d9b8f9222f91dbad17a9535af35e06d5f453e2323ebaf4db
|
||||
MISC ChangeLog 26573 SHA256 ed7d9b9bc3fd89f29cb06c58cd1274191dd2e530a3b8dd83cb2da259d09d1824 SHA512 5e326782bd849516aa8afeed38c0bb9ec52049fc15dda4ab45d5ea84a54f576bf998b02bbe5f73b8c26c26eb388c064dc1e81fa2208f5989b4203ab4cf7adb6b WHIRLPOOL 8b57bc4114ca783c3bd492bfae5875124fd07c4225e64b5ccd7974d0c6e1e576e88bbbd8dde9ae5c0fb0a8aa7850124074c6bc634da87c0d05678c145be2ef00
|
||||
MISC metadata.xml 971 SHA256 9d2157deddd1a457ff3d7b1232ec23e71367852b743ef6b4b8290349c3c9c698 SHA512 79fbbb6285a75f84fdd103ed704d62ede2695e7b8fe03f989ac4a065261a5e870675c1186173c1d4a65b88ac98f8bc2153146010513926e1a1b53efa52564a03 WHIRLPOOL eadde5fe3a3a2a71031d46f7e7c602f8069138914e62c44dff4be09afb8e23391a36d7c358a011722151437ee51be9f404ee1360a2d918078de3f783ff7e062f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQIcBAEBCAAGBQJVdwhsAAoJEC7dUkA7aK9HC2wQAJHJi9AsOmlUnFokVxMMkXSy
|
||||
SWR7FpmMv+fbqJOL6o1ZX11xBVKN6poqC3blCwr3Pv98iENqCbluJgzANiWFUmTd
|
||||
OS06d4Q0USfUPl3GSylEPRNIbqxoIlD24vdolN7TnU5WfxRvp5klYUAsYoTIQnmy
|
||||
LViUoBZMzgJZnoUbN7by2geHvkb5U8B1aEawkSAZq+s4M/dFlMtkgYD/DNAk/ZFV
|
||||
jNhde9bxcvxmmfV6+er2bUplzeTZtwh8wg/6Toh/dOa0kNCtbVMlzNvU9JbAjlK5
|
||||
r/1UsCE0aHrQvRSt5BNJ1DT7vUzyrYre+Wq11ox1HQBNXdwk/rDtTzRi9U/RVVSM
|
||||
I9f0OC2RSCVX/E39jjI7jwGUeAwgkVXqcOm7I4s6ThSpyZsi+VjdyMRwYJH3jUEN
|
||||
4xfT3hR1nGfPeXkBoGUqVf8n1x3tlzFManweFfxs+HZOBcUkGQh5AcDk4YDihsOM
|
||||
8mZD6R0aGkAOXzfWQMZHLUzwOdd+07FezFFfby7tYtyvbjmU5xosz1PcoyY85Kqm
|
||||
wey41drfr61lLedyufgmW4lAYAtNnUEn3bIeiwuvjSPl+J8BYhjSel/zPsPww0Ti
|
||||
kVyHB0FYagF18FR0Dg3ISYfyWJqjpf+gJQRjRhxPSTGQqcX69oRTjNR6Dds3IJE9
|
||||
UetIWSxlDBewq0kZxEOr
|
||||
=/Evg
|
||||
-----END PGP SIGNATURE-----
|
||||
DIST policycoreutils-3.1.tar.gz 2817914 BLAKE2B ef68bb5f9cf577164ead44803b6be2bd6401c9e923d2c775c7c8c47f0e803749feaec4247fec5cc1cb766314954402fd2506370bb397f746437ecfcf65b384f3 SHA512 0592f218563a99ba95d2cfd07fdc3761b61c1cc3c01a17ab89ad840169e1a7d4083521d5cacc72d1b76911d516bf592db7a3f90d9ef0cc11ceed007e4580e140
|
||||
DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5 SHA512 0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f
|
||||
DIST policycoreutils-3.2.tar.gz 2817961 BLAKE2B 747cbd7b84ffa9153067340f8f1dc5a652eaf85b037a6e10e116d3d0b31c8e7c9794bc6a46ae212848bef4887478ac167e359a387bebac49e0acd08b727808ce SHA512 d16781d2d61b8b78d6fc242f2b5c3a03f47ea524fb61655823b6b0f0327ff376c65fe7bdf7a53f5863c01e599cf4a7050f21fda0fe6a8f2c2c16f89b156a4346
|
||||
|
@ -1,61 +0,0 @@
|
||||
From 7a09af2123bc0d86787ef82fc2ff43810f1712c0 Mon Sep 17 00:00:00 2001
|
||||
From: Steve Lawrence <slawrence@tresys.com>
|
||||
Date: Wed, 19 Nov 2014 11:21:42 -0500
|
||||
Subject: [PATCH 1/2] policycoreutils: pp: add roletype statements for both
|
||||
declared and required type/typeattributes
|
||||
|
||||
Currently, roletype statements are only added for types when they are
|
||||
declared (not required). This means that in policy like:
|
||||
|
||||
require {
|
||||
type foo_t;
|
||||
}
|
||||
type bar_t;
|
||||
role staff_r types foo_t, bar_t;
|
||||
|
||||
only bar_t is associated with staff_r. This patch moves the code that
|
||||
generates roletype statements for types to outside the SCOPE_DECL check
|
||||
so that roletype statements are generated for all types, regardless of
|
||||
the required/declared scope. It further moves the code outside of the
|
||||
type/typeattribute flavor check so that roletype statements are also
|
||||
generated for typeattributes.
|
||||
|
||||
Reported-by: Sven Vermeulen <sven.vermeulen@siphos.be>
|
||||
Signed-off-by: Steve Lawrence <slawrence@tresys.com>
|
||||
Reviewed-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
|
||||
Tested-by: Jason Zaman <jason@perfinion.com>
|
||||
---
|
||||
policycoreutils/hll/pp/pp.c | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/policycoreutils/hll/pp/pp.c b/policycoreutils/hll/pp/pp.c
|
||||
index b1ef27f..4b9f310 100644
|
||||
--- a/policycoreutils/hll/pp/pp.c
|
||||
+++ b/policycoreutils/hll/pp/pp.c
|
||||
@@ -2083,6 +2083,11 @@ static int type_to_cil(int indent, struct policydb *pdb, struct avrule_block *UN
|
||||
cil_println(indent, "(typeattributeset " GEN_REQUIRE_ATTR " %s)", key);
|
||||
}
|
||||
|
||||
+ rc = roletype_role_in_ancestor_to_cil(pdb, decl_stack, key, indent);
|
||||
+ if (rc != 0) {
|
||||
+ goto exit;
|
||||
+ }
|
||||
+
|
||||
switch(type->flavor) {
|
||||
case TYPE_TYPE:
|
||||
if (scope == SCOPE_DECL) {
|
||||
@@ -2090,11 +2095,6 @@ static int type_to_cil(int indent, struct policydb *pdb, struct avrule_block *UN
|
||||
// object_r is implicit in checkmodule, but not with CIL,
|
||||
// create it as part of base
|
||||
cil_println(indent, "(roletype " DEFAULT_OBJECT " %s)", key);
|
||||
-
|
||||
- rc = roletype_role_in_ancestor_to_cil(pdb, decl_stack, key, indent);
|
||||
- if (rc != 0) {
|
||||
- goto exit;
|
||||
- }
|
||||
}
|
||||
|
||||
if (type->flags & TYPE_FLAGS_PERMISSIVE) {
|
||||
--
|
||||
2.0.4
|
||||
|
@ -1,9 +0,0 @@
|
||||
diff -uNr policycoreutils-2.4-rc2.orig/Makefile policycoreutils-2.4-rc2/Makefile
|
||||
--- policycoreutils-2.4-rc2.orig/Makefile 2014-08-28 20:13:23.212622408 +0200
|
||||
+++ policycoreutils-2.4-rc2/Makefile 2014-08-28 20:14:24.136624808 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init sandbox secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui hll
|
||||
+SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui hll
|
||||
|
||||
INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null)
|
||||
|
@ -1,108 +0,0 @@
|
||||
diff -uNr policycoreutils-2.2.1.orig/newrole/Makefile policycoreutils-2.2.1/newrole/Makefile
|
||||
--- policycoreutils-2.2.1.orig/newrole/Makefile 2013-11-04 21:37:27.197018032 +0100
|
||||
+++ policycoreutils-2.2.1/newrole/Makefile 2013-11-04 21:37:47.602018075 +0100
|
||||
@@ -4,8 +4,8 @@
|
||||
MANDIR ?= $(PREFIX)/share/man
|
||||
ETCDIR ?= $(DESTDIR)/etc
|
||||
LOCALEDIR = /usr/share/locale
|
||||
-PAMH = $(shell ls /usr/include/security/pam_appl.h 2>/dev/null)
|
||||
-AUDITH = $(shell ls /usr/include/libaudit.h 2>/dev/null)
|
||||
+PAMH ?= no
|
||||
+AUDITH ?= no
|
||||
# Enable capabilities to permit newrole to generate audit records.
|
||||
# This will make newrole a setuid root program.
|
||||
# The capabilities used are: CAP_AUDIT_WRITE.
|
||||
@@ -24,7 +24,7 @@
|
||||
EXTRA_OBJS =
|
||||
override CFLAGS += -DVERSION=\"$(VERSION)\" $(LDFLAGS) -I$(PREFIX)/include -DUSE_NLS -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\""
|
||||
LDLIBS += -lselinux -L$(PREFIX)/lib
|
||||
-ifeq ($(PAMH), /usr/include/security/pam_appl.h)
|
||||
+ifeq ($(PAMH), yes)
|
||||
override CFLAGS += -DUSE_PAM
|
||||
EXTRA_OBJS += hashtab.o
|
||||
LDLIBS += -lpam -lpam_misc
|
||||
@@ -32,7 +32,7 @@
|
||||
override CFLAGS += -D_XOPEN_SOURCE=500
|
||||
LDLIBS += -lcrypt
|
||||
endif
|
||||
-ifeq ($(AUDITH), /usr/include/libaudit.h)
|
||||
+ifeq ($(AUDITH), yes)
|
||||
override CFLAGS += -DUSE_AUDIT
|
||||
LDLIBS += -laudit
|
||||
endif
|
||||
@@ -49,7 +49,7 @@
|
||||
IS_SUID=y
|
||||
endif
|
||||
ifeq ($(IS_SUID),y)
|
||||
- MODE := 4555
|
||||
+ MODE := 0555
|
||||
LDLIBS += -lcap-ng
|
||||
else
|
||||
MODE := 0555
|
||||
@@ -66,7 +66,7 @@
|
||||
test -d $(MANDIR)/man1 || install -m 755 -d $(MANDIR)/man1
|
||||
install -m $(MODE) newrole $(BINDIR)
|
||||
install -m 644 newrole.1 $(MANDIR)/man1/
|
||||
-ifeq ($(PAMH), /usr/include/security/pam_appl.h)
|
||||
+ifeq ($(PAMH), yes)
|
||||
test -d $(ETCDIR)/pam.d || install -m 755 -d $(ETCDIR)/pam.d
|
||||
ifeq ($(LSPP_PRIV),y)
|
||||
install -m 644 newrole-lspp.pamd $(ETCDIR)/pam.d/newrole
|
||||
diff -uNr policycoreutils-2.2.1.orig/run_init/Makefile policycoreutils-2.2.1/run_init/Makefile
|
||||
--- policycoreutils-2.2.1.orig/run_init/Makefile 2013-11-04 21:37:27.115018032 +0100
|
||||
+++ policycoreutils-2.2.1/run_init/Makefile 2013-11-04 21:37:47.603018075 +0100
|
||||
@@ -5,20 +5,20 @@
|
||||
MANDIR ?= $(PREFIX)/share/man
|
||||
ETCDIR ?= $(DESTDIR)/etc
|
||||
LOCALEDIR ?= /usr/share/locale
|
||||
-PAMH = $(shell ls /usr/include/security/pam_appl.h 2>/dev/null)
|
||||
-AUDITH = $(shell ls /usr/include/libaudit.h 2>/dev/null)
|
||||
+PAMH ?= no
|
||||
+AUDITH ?= no
|
||||
|
||||
CFLAGS ?= -Werror -Wall -W
|
||||
override CFLAGS += -I$(PREFIX)/include -DUSE_NLS -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\""
|
||||
LDLIBS += -lselinux -L$(PREFIX)/lib
|
||||
-ifeq ($(PAMH), /usr/include/security/pam_appl.h)
|
||||
+ifeq ($(PAMH), yes)
|
||||
override CFLAGS += -DUSE_PAM
|
||||
LDLIBS += -lpam -lpam_misc
|
||||
else
|
||||
override CFLAGS += -D_XOPEN_SOURCE=500
|
||||
LDLIBS += -lcrypt
|
||||
endif
|
||||
-ifeq ($(AUDITH), /usr/include/libaudit.h)
|
||||
+ifeq ($(AUDITH), yes)
|
||||
override CFLAGS += -DUSE_AUDIT
|
||||
LDLIBS += -laudit
|
||||
endif
|
||||
@@ -38,7 +38,7 @@
|
||||
install -m 755 open_init_pty $(SBINDIR)
|
||||
install -m 644 run_init.8 $(MANDIR)/man8/
|
||||
install -m 644 open_init_pty.8 $(MANDIR)/man8/
|
||||
-ifeq ($(PAMH), /usr/include/security/pam_appl.h)
|
||||
+ifeq ($(PAMH), yes)
|
||||
install -m 644 run_init.pamd $(ETCDIR)/pam.d/run_init
|
||||
endif
|
||||
|
||||
diff -uNr policycoreutils-2.2.1.orig/setfiles/Makefile policycoreutils-2.2.1/setfiles/Makefile
|
||||
--- policycoreutils-2.2.1.orig/setfiles/Makefile 2013-11-04 21:37:27.198018032 +0100
|
||||
+++ policycoreutils-2.2.1/setfiles/Makefile 2013-11-04 21:37:47.603018075 +0100
|
||||
@@ -3,7 +3,7 @@
|
||||
SBINDIR ?= $(DESTDIR)/sbin
|
||||
MANDIR = $(PREFIX)/share/man
|
||||
LIBDIR ?= $(PREFIX)/lib
|
||||
-AUDITH = $(shell ls /usr/include/libaudit.h 2>/dev/null)
|
||||
+AUDITH ?= no
|
||||
|
||||
PROGRESS_STEP=$(shell grep "^\#define STAR_COUNT" restore.h | awk -S '{ print $$3 }')
|
||||
ABORT_ON_ERRORS=$(shell grep "^\#define ABORT_ON_ERRORS" setfiles.c | awk -S '{ print $$3 }')
|
||||
@@ -12,7 +12,7 @@
|
||||
override CFLAGS += -I$(PREFIX)/include
|
||||
LDLIBS = -lselinux -lsepol -L$(LIBDIR)
|
||||
|
||||
-ifeq ($(AUDITH), /usr/include/libaudit.h)
|
||||
+ifeq ($(AUDITH), yes)
|
||||
override CFLAGS += -DUSE_AUDIT
|
||||
LDLIBS += -laudit
|
||||
endif
|
@ -1,14 +0,0 @@
|
||||
diff -uNr policycoreutils-2.4-rc2.orig/Makefile policycoreutils-2.4-rc2/Makefile
|
||||
--- policycoreutils-2.4-rc2.orig/Makefile 2014-08-28 20:22:45.230644554 +0200
|
||||
+++ policycoreutils-2.4-rc2/Makefile 2014-08-28 20:27:08.642654934 +0200
|
||||
@@ -1,8 +1,8 @@
|
||||
SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui hll
|
||||
|
||||
-INOTIFYH = $(shell ls /usr/include/sys/inotify.h 2>/dev/null)
|
||||
+INOTIFYH ?= no
|
||||
|
||||
-ifeq (${INOTIFYH}, /usr/include/sys/inotify.h)
|
||||
+ifeq (${INOTIFYH}, yes)
|
||||
SUBDIRS += restorecond
|
||||
endif
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -uNr policycoreutils-2.2.1.orig/run_init/run_init.c policycoreutils-2.2.1/run_init/run_init.c
|
||||
--- policycoreutils-2.2.1.orig/run_init/run_init.c 2013-11-04 21:40:27.490018417 +0100
|
||||
+++ policycoreutils-2.2.1/run_init/run_init.c 2013-11-04 21:40:57.088018480 +0100
|
||||
@@ -406,7 +406,7 @@
|
||||
new_context);
|
||||
exit(-1);
|
||||
}
|
||||
- if (! access("/usr/sbin/open_init_pty", X_OK)) {
|
||||
+ if (access("/usr/sbin/open_init_pty", X_OK) != 0) {
|
||||
if (execvp(argv[1], argv + 1)) {
|
||||
perror("execvp");
|
||||
exit(-1);
|
@ -1,11 +0,0 @@
|
||||
diff -uNr policycoreutils-2.2.1.orig/load_policy/Makefile policycoreutils-2.2.1/load_policy/Makefile
|
||||
--- policycoreutils-2.2.1.orig/load_policy/Makefile 2013-11-04 21:41:28.289018546 +0100
|
||||
+++ policycoreutils-2.2.1/load_policy/Makefile 2013-11-04 21:43:31.118018808 +0100
|
||||
@@ -19,7 +19,6 @@
|
||||
test -d $(MANDIR)/man8 || install -m 755 -d $(MANDIR)/man8
|
||||
install -m 644 load_policy.8 $(MANDIR)/man8/
|
||||
-mkdir -p $(USRSBINDIR)
|
||||
- -ln -sf $(SBINDIR)/load_policy $(USRSBINDIR)/load_policy
|
||||
|
||||
clean:
|
||||
-rm -f $(TARGETS) *.o
|
@ -1,64 +0,0 @@
|
||||
diff -uNr policycoreutils-2.4-rc2.orig/Makefile policycoreutils-2.4-rc2/Makefile
|
||||
--- policycoreutils-2.4-rc2.orig/Makefile 2014-08-28 20:31:19.563664821 +0200
|
||||
+++ policycoreutils-2.4-rc2/Makefile 2014-08-28 20:32:25.900667435 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui hll
|
||||
+SUBDIRS = sepolicy setfiles semanage load_policy newrole run_init secon audit2allow sestatus semodule_package semodule semodule_link semodule_expand semodule_deps sepolgen-ifgen setsebool scripts po man gui hll mcstrans
|
||||
|
||||
INOTIFYH ?= n
|
||||
|
||||
diff -uNr policycoreutils-2.4-rc2.orig/mcstrans/src/Makefile policycoreutils-2.4-rc2/mcstrans/src/Makefile
|
||||
--- policycoreutils-2.4-rc2.orig/mcstrans/src/Makefile 2014-08-28 20:31:19.562664821 +0200
|
||||
+++ policycoreutils-2.4-rc2/mcstrans/src/Makefile 2014-08-28 20:33:39.345670329 +0200
|
||||
@@ -1,23 +1,10 @@
|
||||
ARCH = $(shell uname -i)
|
||||
-ifeq "$(ARCH)" "x86_64"
|
||||
- # In case of 64 bit system, use these lines
|
||||
- LIBDIR=/usr/lib64
|
||||
-else
|
||||
-ifeq "$(ARCH)" "i686"
|
||||
- # In case of 32 bit system, use these lines
|
||||
- LIBDIR=/usr/lib
|
||||
-else
|
||||
-ifeq "$(ARCH)" "i386"
|
||||
- # In case of 32 bit system, use these lines
|
||||
- LIBDIR=/usr/lib
|
||||
-endif
|
||||
-endif
|
||||
-endif
|
||||
# Installation directories.
|
||||
PREFIX ?= $(DESTDIR)/usr
|
||||
SBINDIR ?= $(DESTDIR)/sbin
|
||||
INITDIR ?= $(DESTDIR)/etc/rc.d/init.d
|
||||
SYSTEMDDIR ?= $(DESTDIR)/usr/lib/systemd
|
||||
+LIBDIR ?= $(PREFIX)/lib
|
||||
|
||||
PROG_SRC=mcstrans.c mcscolor.c mcstransd.c mls_level.c
|
||||
PROG_OBJS= $(patsubst %.c,%.o,$(PROG_SRC))
|
||||
diff -uNr policycoreutils-2.4-rc2.orig/mcstrans/utils/Makefile policycoreutils-2.4-rc2/mcstrans/utils/Makefile
|
||||
--- policycoreutils-2.4-rc2.orig/mcstrans/utils/Makefile 2014-08-28 20:31:19.556664821 +0200
|
||||
+++ policycoreutils-2.4-rc2/mcstrans/utils/Makefile 2014-08-28 20:34:14.145671701 +0200
|
||||
@@ -3,22 +3,7 @@
|
||||
BINDIR ?= $(PREFIX)/sbin
|
||||
|
||||
ARCH = $(shell uname -i)
|
||||
-ifeq "$(ARCH)" "x86_64"
|
||||
- # In case of 64 bit system, use these lines
|
||||
- LIBDIR=/usr/lib64
|
||||
-else
|
||||
-ifeq "$(ARCH)" "i686"
|
||||
- # In case of 32 bit system, use these lines
|
||||
- LIBDIR=/usr/lib
|
||||
-else
|
||||
-ifeq "$(ARCH)" "i386"
|
||||
- # In case of 32 bit system, use these lines
|
||||
- LIBDIR=/usr/lib
|
||||
-endif
|
||||
-endif
|
||||
-endif
|
||||
-
|
||||
-
|
||||
+LIBDIR ?= $(PREFIX)/lib
|
||||
CFLAGS ?= -Wall
|
||||
override CFLAGS += -I../src -D_GNU_SOURCE
|
||||
LDLIBS += -L../src ../src/mcstrans.o ../src/mls_level.o -lselinux -lpcre $(LIBDIR)/libsepol.a
|
@ -1,11 +0,0 @@
|
||||
diff -uNr policycoreutils-2.4-rc2.orig/mcstrans/src/mcscolor.c policycoreutils-2.4-rc2/mcstrans/src/mcscolor.c
|
||||
--- policycoreutils-2.4-rc2.orig/mcstrans/src/mcscolor.c 2014-08-28 21:26:25.125795076 +0200
|
||||
+++ policycoreutils-2.4-rc2/mcstrans/src/mcscolor.c 2014-08-28 21:27:03.509796589 +0200
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <syslog.h>
|
||||
#include <selinux/selinux.h>
|
||||
#include <selinux/context.h>
|
||||
+#include <selinux/av_permissions.h>
|
||||
#include "mcstrans.h"
|
||||
|
||||
/* Define data structures */
|
@ -0,0 +1,11 @@
|
||||
--- a/newrole/Makefile
|
||||
+++ b/newrole/Makefile
|
||||
@@ -50,7 +50,7 @@ ifeq ($(NAMESPACE_PRIV),y)
|
||||
IS_SUID=y
|
||||
endif
|
||||
ifeq ($(IS_SUID),y)
|
||||
- MODE := 4555
|
||||
+ MODE := 0555
|
||||
override LDLIBS += -lcap-ng
|
||||
else
|
||||
MODE := 0555
|
@ -1,7 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>selinux</herd>
|
||||
<maintainer type="project">
|
||||
<email>selinux@gentoo.org</email>
|
||||
<name>SELinux Team</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Policycoreutils contains the policy core utilities that are required
|
||||
for basic operation of a SELinux system. These utilities include
|
||||
@ -15,9 +18,10 @@
|
||||
permissive.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name='audit'>Enable support for <pkg>sys-process/audit</pkg> and use the audit_* functions (like audit_getuid instead of getuid())</flag>
|
||||
<flag name="audit">Enable support for <pkg>sys-process/audit</pkg> and use the audit_* functions (like audit_getuid instead of getuid())</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:redhat:policycoreutils</remote-id>
|
||||
<remote-id type="cpe">cpe:/a:redhat:policycoreutils</remote-id>
|
||||
<remote-id type="github">SELinuxProject/selinux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,196 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.4.ebuild,v 1.4 2015/05/10 09:08:19 perfinion Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils systemd
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
EXTRAS_VER="1.33"
|
||||
SEMNG_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
SEPOL_VER="${PV}"
|
||||
|
||||
IUSE="audit extra nls pam dbus python"
|
||||
|
||||
DESCRIPTION="SELinux core utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${MY_P}.tar.gz
|
||||
extra? ( mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-${SELNX_VER}[python?]
|
||||
>=sys-libs/glibc-2.4
|
||||
>=sys-libs/libcap-1.10-r10
|
||||
>=sys-libs/libsemanage-${SEMNG_VER}[python?]
|
||||
sys-libs/libcap-ng
|
||||
>=sys-libs/libsepol-${SEPOL_VER}
|
||||
nls? ( sys-devel/gettext )
|
||||
python? (
|
||||
dev-python/ipy[${PYTHON_USEDEP}]
|
||||
)
|
||||
dbus? (
|
||||
sys-apps/dbus
|
||||
dev-libs/dbus-glib
|
||||
)
|
||||
audit? ( >=sys-process/audit-1.5.1 )
|
||||
pam? ( sys-libs/pam )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
### libcgroup -> seunshare
|
||||
### dbus -> restorecond
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${DEPEND}
|
||||
python? (
|
||||
dev-python/sepolgen
|
||||
)
|
||||
app-admin/setools
|
||||
app-misc/pax-utils"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
S1="${WORKDIR}/${MY_P}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/0010-remove-sesandbox-support.patch"
|
||||
epatch "${FILESDIR}/0020-disable-autodetection-of-pam-and-audit.patch"
|
||||
epatch "${FILESDIR}/0030-make-inotify-check-use-flag-triggered.patch"
|
||||
epatch "${FILESDIR}/0040-reverse-access-check-in-run_init.patch"
|
||||
epatch "${FILESDIR}/0070-remove-symlink-attempt-fails-with-gentoo-sandbox-approach.patch"
|
||||
epatch "${FILESDIR}/0110-build-mcstrans-bug-472912.patch"
|
||||
epatch "${FILESDIR}/0120-build-failure-for-mcscolor-for-CONTEXT__CONTAINS.patch"
|
||||
|
||||
# rlpkg is more useful than fixfiles
|
||||
sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 1 failed"
|
||||
sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 2 failed"
|
||||
|
||||
epatch_user
|
||||
|
||||
find -name Makefile -exec sed s/-Werror//g -i '{}' +
|
||||
|
||||
if use python ; then
|
||||
python_copy_sources
|
||||
# Our extra code is outside the regular directory, so set it to the extra
|
||||
# directory. We really should optimize this as it is ugly, but the extra
|
||||
# code is needed for Gentoo at the same time that policycoreutils is present
|
||||
# (so we cannot use an additional package for now).
|
||||
if use extra ; then
|
||||
S="${S2}"
|
||||
python_copy_sources
|
||||
fi
|
||||
else
|
||||
for dir in audit2allow gui scripts \
|
||||
semanage sepolicy sepolgen-ifgen
|
||||
do
|
||||
sed -e "s/ $dir / /" -i Makefile || die
|
||||
done
|
||||
fi
|
||||
use nls || sed -e "s/ po / /" -i Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
building() {
|
||||
emake -C "${BUILD_DIR}" \
|
||||
AUDIT_LOG_PRIVS="y" \
|
||||
AUDITH="$(usex audit)" \
|
||||
PAMH="$(usex pam)" \
|
||||
INOTIFYH="$(usex dbus)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
DESTDIR="${ROOT}" \
|
||||
PYLIBVER="${EPYTHON}" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)"
|
||||
}
|
||||
if use python ; then
|
||||
S="${S1}" # Regular policycoreutils
|
||||
python_foreach_impl building
|
||||
if use extra ; then
|
||||
S="${S2}" # Extra set
|
||||
python_foreach_impl building
|
||||
fi
|
||||
else
|
||||
BUILD_DIR="${S1}"
|
||||
building
|
||||
if use extra ; then
|
||||
BUILD_DIR="${S2}"
|
||||
building
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Python scripts are present in many places. There are no extension modules.
|
||||
installation-policycoreutils() {
|
||||
einfo "Installing policycoreutils"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="$(usex audit)" PAMH="$(usex pam)" INOTIFYH="$(usex dbus)" SESANDBOX="n" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install
|
||||
if use python ; then
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="$(usex dbus)" SHLIBDIR="${D}$(get_libdir)/rc" install
|
||||
if use python ; then
|
||||
python_optimize
|
||||
fi
|
||||
}
|
||||
|
||||
if use python ; then
|
||||
S="${S1}" # policycoreutils
|
||||
python_foreach_impl installation-policycoreutils
|
||||
if use extra ; then
|
||||
S="${S2}" # extras
|
||||
python_foreach_impl installation-extras
|
||||
S="${S1}" # back for later
|
||||
fi
|
||||
else
|
||||
BUILD_DIR="${S1}"
|
||||
installation-policycoreutils
|
||||
if use extra ; then
|
||||
BUILD_DIR="${S2}"
|
||||
installation-extras
|
||||
fi
|
||||
fi
|
||||
|
||||
# remove redhat-style init script
|
||||
rm -fR "${D}/etc/rc.d"
|
||||
|
||||
# compatibility symlinks
|
||||
if use extra ; then
|
||||
dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
|
||||
fi
|
||||
|
||||
# location for policy definitions
|
||||
dodir /usr/lib/selinux/policy
|
||||
dosym ../../usr/lib/selinux/policy /var/lib/selinux
|
||||
|
||||
if use python ; then
|
||||
# Set version-specific scripts
|
||||
for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
|
||||
python_replicate_script "${ED}/usr/bin/${pyscript}"
|
||||
done
|
||||
python_replicate_script "${ED}/usr/sbin/semanage"
|
||||
use extra && python_replicate_script "${ED}/usr/sbin/rlpkg"
|
||||
fi
|
||||
|
||||
dodir /usr/share/doc/${PF}/mcstrans/examples
|
||||
cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# The selinux_gentoo init script is no longer needed with recent OpenRC
|
||||
use extra && elog "The selinux_gentoo init script will be removed in future versions since it is not needed with OpenRC 0.13."
|
||||
}
|
168
sdk_container/src/third_party/coreos-overlay/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
vendored
Normal file
168
sdk_container/src/third_party/coreos-overlay/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
vendored
Normal file
@ -0,0 +1,168 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs bash-completion-r1
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
MY_RELEASEDATE="20200710"
|
||||
EXTRAS_VER="1.37"
|
||||
SEMNG_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
SEPOL_VER="${PV}"
|
||||
|
||||
IUSE="audit pam split-usr"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DESCRIPTION="SELinux core utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
S1="${WORKDIR}/${MY_P}/${PN}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
S="${S1}"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
|
||||
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
KEYWORDS="amd64 ~arm64 ~mips x86"
|
||||
S1="${WORKDIR}/${MY_P}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
S="${S1}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsepol-${SEPOL_VER}:=
|
||||
sys-libs/libcap-ng:=
|
||||
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
|
||||
audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
|
||||
pam? ( sys-libs/pam:= )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
# Avoid dependency loop in the cross-compile case, bug #755173
|
||||
# (Still exists in native)
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${DEPEND}
|
||||
app-misc/pax-utils"
|
||||
|
||||
PDEPEND="sys-apps/semodule-utils
|
||||
sys-apps/selinux-python"
|
||||
|
||||
src_unpack() {
|
||||
# Override default one because we need the SRC_URI ones even in case of 9999 ebuilds
|
||||
default
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
S="${S1}"
|
||||
cd "${S}" || die "Failed to switch to ${S}"
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
# If needed for live ebuilds please use /etc/portage/patches
|
||||
eapply "${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
|
||||
fi
|
||||
|
||||
# rlpkg is more useful than fixfiles
|
||||
sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 1 failed"
|
||||
sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 2 failed"
|
||||
|
||||
eapply_user
|
||||
|
||||
sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove Werror"
|
||||
|
||||
python_copy_sources
|
||||
# Our extra code is outside the regular directory, so set it to the extra
|
||||
# directory. We really should optimize this as it is ugly, but the extra
|
||||
# code is needed for Gentoo at the same time that policycoreutils is present
|
||||
# (so we cannot use an additional package for now).
|
||||
S="${S2}"
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
building() {
|
||||
emake -C "${BUILD_DIR}" \
|
||||
AUDIT_LOG_PRIVS="y" \
|
||||
AUDITH="$(usex audit y n)" \
|
||||
PAMH="$(usex pam y n)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)"
|
||||
}
|
||||
S="${S1}" # Regular policycoreutils
|
||||
python_foreach_impl building
|
||||
S="${S2}" # Extra set
|
||||
python_foreach_impl building
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Python scripts are present in many places. There are no extension modules.
|
||||
installation-policycoreutils() {
|
||||
einfo "Installing policycoreutils"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" \
|
||||
AUDIT_LOG_PRIVS="y" \
|
||||
AUDITH="$(usex audit y n)" \
|
||||
PAMH="$(usex pam y n)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
S="${S1}" # policycoreutils
|
||||
python_foreach_impl installation-policycoreutils
|
||||
S="${S2}" # extras
|
||||
python_foreach_impl installation-extras
|
||||
S="${S1}" # back for later
|
||||
|
||||
# remove redhat-style init script
|
||||
rm -fR "${D}/etc/rc.d" || die
|
||||
|
||||
# compatibility symlinks
|
||||
use split-usr && dosym ../../sbin/setfiles /usr/sbin/setfiles
|
||||
|
||||
bashcomp_alias setsebool getsebool
|
||||
|
||||
# location for policy definitions
|
||||
dodir /var/lib/selinux
|
||||
keepdir /var/lib/selinux
|
||||
|
||||
# Set version-specific scripts
|
||||
for pyscript in rlpkg; do
|
||||
python_replicate_script "${ED}/usr/sbin/${pyscript}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for POLICY_TYPE in ${POLICY_TYPES} ; do
|
||||
# There have been some changes to the policy store, rebuilding now.
|
||||
# https://marc.info/?l=selinux&m=143757277819717&w=2
|
||||
einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
|
||||
semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild policy store ${POLICY_TYPE}"
|
||||
done
|
||||
}
|
162
sdk_container/src/third_party/coreos-overlay/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
vendored
Normal file
162
sdk_container/src/third_party/coreos-overlay/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
vendored
Normal file
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs bash-completion-r1
|
||||
|
||||
EXTRAS_VER="1.37"
|
||||
|
||||
IUSE="audit pam split-usr"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DESCRIPTION="SELinux core utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
S1="${WORKDIR}/${PN}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
S="${S1}"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz
|
||||
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
|
||||
S1="${WORKDIR}/${P}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
S="${S1}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsepol-${PV}:=
|
||||
sys-libs/libcap-ng:=
|
||||
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
|
||||
audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
|
||||
pam? ( sys-libs/pam:= )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
# Avoid dependency loop in the cross-compile case, bug #755173
|
||||
# (Still exists in native)
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${DEPEND}
|
||||
app-misc/pax-utils"
|
||||
|
||||
PDEPEND="sys-apps/semodule-utils
|
||||
sys-apps/selinux-python"
|
||||
|
||||
src_unpack() {
|
||||
# Override default one because we need the SRC_URI ones even in case of 9999 ebuilds
|
||||
default
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
S="${S1}"
|
||||
cd "${S}" || die "Failed to switch to ${S}"
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
# If needed for live ebuilds please use /etc/portage/patches
|
||||
eapply "${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
|
||||
fi
|
||||
|
||||
# rlpkg is more useful than fixfiles
|
||||
sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 1 failed"
|
||||
sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 2 failed"
|
||||
|
||||
eapply_user
|
||||
|
||||
sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove Werror"
|
||||
|
||||
python_copy_sources
|
||||
# Our extra code is outside the regular directory, so set it to the extra
|
||||
# directory. We really should optimize this as it is ugly, but the extra
|
||||
# code is needed for Gentoo at the same time that policycoreutils is present
|
||||
# (so we cannot use an additional package for now).
|
||||
S="${S2}"
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
building() {
|
||||
emake -C "${BUILD_DIR}" \
|
||||
AUDIT_LOG_PRIVS="y" \
|
||||
AUDITH="$(usex audit y n)" \
|
||||
PAMH="$(usex pam y n)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)"
|
||||
}
|
||||
S="${S1}" # Regular policycoreutils
|
||||
python_foreach_impl building
|
||||
S="${S2}" # Extra set
|
||||
python_foreach_impl building
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Python scripts are present in many places. There are no extension modules.
|
||||
installation-policycoreutils() {
|
||||
einfo "Installing policycoreutils"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" \
|
||||
AUDIT_LOG_PRIVS="y" \
|
||||
AUDITH="$(usex audit y n)" \
|
||||
PAMH="$(usex pam y n)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
S="${S1}" # policycoreutils
|
||||
python_foreach_impl installation-policycoreutils
|
||||
S="${S2}" # extras
|
||||
python_foreach_impl installation-extras
|
||||
S="${S1}" # back for later
|
||||
|
||||
# remove redhat-style init script
|
||||
rm -fR "${D}/etc/rc.d" || die
|
||||
|
||||
# compatibility symlinks
|
||||
use split-usr && dosym ../../sbin/setfiles /usr/sbin/setfiles
|
||||
|
||||
bashcomp_alias setsebool getsebool
|
||||
|
||||
# location for policy definitions
|
||||
dodir /var/lib/selinux
|
||||
keepdir /var/lib/selinux
|
||||
|
||||
# Set version-specific scripts
|
||||
for pyscript in rlpkg; do
|
||||
python_replicate_script "${ED}/usr/sbin/${pyscript}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for POLICY_TYPE in ${POLICY_TYPES} ; do
|
||||
# There have been some changes to the policy store, rebuilding now.
|
||||
# https://marc.info/?l=selinux&m=143757277819717&w=2
|
||||
einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
|
||||
semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild policy store ${POLICY_TYPE}"
|
||||
done
|
||||
}
|
162
sdk_container/src/third_party/coreos-overlay/sys-apps/policycoreutils/policycoreutils-9999.ebuild
vendored
Normal file
162
sdk_container/src/third_party/coreos-overlay/sys-apps/policycoreutils/policycoreutils-9999.ebuild
vendored
Normal file
@ -0,0 +1,162 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs bash-completion-r1
|
||||
|
||||
EXTRAS_VER="1.37"
|
||||
|
||||
IUSE="audit pam split-usr"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DESCRIPTION="SELinux core utilities"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
S1="${WORKDIR}/${PN}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
S="${S1}"
|
||||
else
|
||||
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz
|
||||
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
|
||||
S1="${WORKDIR}/${P}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
S="${S1}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
|
||||
>=sys-libs/libsepol-${PV}:=
|
||||
sys-libs/libcap-ng:=
|
||||
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
|
||||
audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
|
||||
pam? ( sys-libs/pam:= )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
# Avoid dependency loop in the cross-compile case, bug #755173
|
||||
# (Still exists in native)
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${DEPEND}
|
||||
app-misc/pax-utils"
|
||||
|
||||
PDEPEND="sys-apps/semodule-utils
|
||||
sys-apps/selinux-python"
|
||||
|
||||
src_unpack() {
|
||||
# Override default one because we need the SRC_URI ones even in case of 9999 ebuilds
|
||||
default
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
S="${S1}"
|
||||
cd "${S}" || die "Failed to switch to ${S}"
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
# If needed for live ebuilds please use /etc/portage/patches
|
||||
eapply "${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
|
||||
fi
|
||||
|
||||
# rlpkg is more useful than fixfiles
|
||||
sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 1 failed"
|
||||
sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
|
||||
|| die "fixfiles sed 2 failed"
|
||||
|
||||
eapply_user
|
||||
|
||||
sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove Werror"
|
||||
|
||||
python_copy_sources
|
||||
# Our extra code is outside the regular directory, so set it to the extra
|
||||
# directory. We really should optimize this as it is ugly, but the extra
|
||||
# code is needed for Gentoo at the same time that policycoreutils is present
|
||||
# (so we cannot use an additional package for now).
|
||||
S="${S2}"
|
||||
python_copy_sources
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
building() {
|
||||
emake -C "${BUILD_DIR}" \
|
||||
AUDIT_LOG_PRIVS="y" \
|
||||
AUDITH="$(usex audit y n)" \
|
||||
PAMH="$(usex pam y n)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)"
|
||||
}
|
||||
S="${S1}" # Regular policycoreutils
|
||||
python_foreach_impl building
|
||||
S="${S2}" # Extra set
|
||||
python_foreach_impl building
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Python scripts are present in many places. There are no extension modules.
|
||||
installation-policycoreutils() {
|
||||
einfo "Installing policycoreutils"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" \
|
||||
AUDIT_LOG_PRIVS="y" \
|
||||
AUDITH="$(usex audit y n)" \
|
||||
PAMH="$(usex pam y n)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" \
|
||||
DESTDIR="${D}" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
S="${S1}" # policycoreutils
|
||||
python_foreach_impl installation-policycoreutils
|
||||
S="${S2}" # extras
|
||||
python_foreach_impl installation-extras
|
||||
S="${S1}" # back for later
|
||||
|
||||
# remove redhat-style init script
|
||||
rm -fR "${D}/etc/rc.d" || die
|
||||
|
||||
# compatibility symlinks
|
||||
use split-usr && dosym ../../sbin/setfiles /usr/sbin/setfiles
|
||||
|
||||
bashcomp_alias setsebool getsebool
|
||||
|
||||
# location for policy definitions
|
||||
dodir /var/lib/selinux
|
||||
keepdir /var/lib/selinux
|
||||
|
||||
# Set version-specific scripts
|
||||
for pyscript in rlpkg; do
|
||||
python_replicate_script "${ED}/usr/sbin/${pyscript}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for POLICY_TYPE in ${POLICY_TYPES} ; do
|
||||
# There have been some changes to the policy store, rebuilding now.
|
||||
# https://marc.info/?l=selinux&m=143757277819717&w=2
|
||||
einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
|
||||
semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild policy store ${POLICY_TYPE}"
|
||||
done
|
||||
}
|
Loading…
Reference in New Issue
Block a user