mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
Merge pull request #626 from ajeddeloh/rm-overlay-things
*: remove things that are newer in coreo-overlay
This commit is contained in:
commit
cc2ffb72f6
@ -1,33 +0,0 @@
|
||||
# ChangeLog for app-crypt/sbsigntool
|
||||
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/sbsigntool/ChangeLog,v 1.7 2014/01/14 13:55:54 ago Exp $
|
||||
|
||||
14 Jan 2014; Agostino Sarubbo <ago@gentoo.org> sbsigntool-0.6-r1.ebuild:
|
||||
Stable for x86, wrt bug #495328
|
||||
|
||||
12 Jan 2014; Pacho Ramos <pacho@gentoo.org> sbsigntool-0.6-r1.ebuild:
|
||||
amd64 stable, bug #495328
|
||||
|
||||
*sbsigntool-0.6-r1 (03 Oct 2013)
|
||||
|
||||
03 Oct 2013; Greg Kroah-Hartman <gregkh@gentoo.org>
|
||||
+files/0002-image.c-clear-image-variable.patch,
|
||||
+files/0003-Fix-for-multi-sign.patch, +sbsigntool-0.6-r1.ebuild:
|
||||
patches to fix multi-key signing, fixing bugs with new versions of UEFI
|
||||
firmware. Taken from the openSUSE packages as the upstream Launchpad project
|
||||
is now dead.
|
||||
|
||||
05 Sep 2013; Mike Frysinger <vapier@gentoo.org> sbsigntool-0.6.ebuild:
|
||||
Fix $AR handling #481480 by Agostino Sarubbo.
|
||||
|
||||
28 Aug 2013; Agostino Sarubbo <ago@gentoo.org> sbsigntool-0.6.ebuild:
|
||||
Stable for x86, wrt bug #481396
|
||||
|
||||
17 Aug 2013; Agostino Sarubbo <ago@gentoo.org> sbsigntool-0.6.ebuild:
|
||||
Stable for amd64, wrt bug #481396
|
||||
|
||||
*sbsigntool-0.6 (24 Dec 2012)
|
||||
|
||||
24 Dec 2012; Mike Frysinger <vapier@gentoo.org> +metadata.xml,
|
||||
+sbsigntool-0.6.ebuild:
|
||||
New package #444830 by Maxim Kammerer.
|
@ -1,27 +0,0 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 0002-image.c-clear-image-variable.patch 822 SHA256 7877d69c0a6d014f43e1dc922db3fb503c1c3176dd2665a96f85ddfd73ed7e12 SHA512 004ba118cbe8fe5cc291888966e5994373c0b9d8149bc5c652a72971138fab5e64d721061c69e8b864d6ca5cdb4ffa193520156941b6bd9c998b256f8d72697b WHIRLPOOL 3872d97cde83e9423622f348dc50eb414f8512f95673cbf7e4b908f699455003d57711bda6bd0893f3a21b876a66ec480416bed5df52e5ecb33c00b21cbbb6c9
|
||||
AUX 0003-Fix-for-multi-sign.patch 1452 SHA256 803f97f6c01a573367371f9ffd4c53aab5916ea3218fdc515429ca559f5dad31 SHA512 2aba55a116536e7f41e4aac2fd33eeb92cf89b14bcdd8b93b6e9dc9bdaf2f0162134e56f7d365640445bf801ad8590f6d49f14cdf80b791324647067d52ae435 WHIRLPOOL a83c8dde50cf82559408be58482f73aa1c3460a63424578decfc36033b5c368f8ad219b1412a7eb0a478e91b8654e7a7392dc886a496f9efea6f12dcd2f0e379
|
||||
DIST sbsigntool_0.6.orig.tar.gz 212375 SHA256 84fb0c8f6fb1e79aa418a4f70a3139b38d5630043b28291c875f383e9b4294b8 SHA512 ed314d1cb7278cf5f27d4c3cd17f2195678419a7f9e47770429b6f95df35f7df035331e60c45970183ddd9b150a9b752f876c777929598b0525872b3255af95c WHIRLPOOL 3b86b9861f5e26586e8a9eb9bbf48adf1a12714b294f0acd605d53e37c27192006c6ecc81d31bf4f200f8e88508f38a52ef93e9e01e301c4245a11894227cecc
|
||||
EBUILD sbsigntool-0.6-r1.ebuild 1151 SHA256 639b4edebf714b1c12eafce03c53961fda89e3488b3bcd0d483c100fb0459b70 SHA512 4ceb4e52b9bedbd1c8e548b3b27a7360f1ca8a0e4dda647897d0a7b19f475ccce696ca92db1bd34a9202af5b5b8091447bfcc1d8213849fdabaa1f13ed0c7bfd WHIRLPOOL 1cc2fd6a4eadc7c6de4d39115e7f5195302a78be3ab672e2b1895a93f91167a081f43aa74d0774328b334f21f119b556241eff449a823fa36a71f813fd408f8b
|
||||
EBUILD sbsigntool-0.6.ebuild 1030 SHA256 8bc44c1f02f282908aa16e638f3d950a270b3997906055bb4d5b24b1f249bace SHA512 40f1746f5e87f8f5fda0fccd3907ee62aab3f6c0268c9cc474b2182f367cf0d28d05bfec7569a73c72c71dc7071e942a3841cac2f4dde671664cef72053ab2ff WHIRLPOOL e25a70fbadd8cded0c5daa1a28a0518bd3c13d4f182498a7c784fed88bc0972dd54a03fe4fe243eef4fdd9a1f21d3f66a9f93597a097a224f1d00ecde938cc1c
|
||||
MISC ChangeLog 1296 SHA256 e43b8ad6d0b157b04ce9d2aedbc27ace4e2d7b1d74203e431700227e6301ea74 SHA512 8e365b7d6858a39baf2bfe5f4c5f8ed48587c004801e52c1406adaef0382de780008773538954f96033c8e4e3c77cccab970f6b3c3846f0fdc7f514dfa51529a WHIRLPOOL 7bdc2c38f447adef46eb0967fb264b067b8be8c1c2423807c0549cb5d796877998aff404afebb470dfa2dcfd2bec8a30f1d25f53fda9dd22c0f4d68e273f41e8
|
||||
MISC metadata.xml 240 SHA256 060d4d570194ff567e10d66246f85d4b9fee1efb17d111aeb9f03345f6e20efd SHA512 41a5c4b9e67d814937a0524714617a059c1351a00ac12d9344373f43b41d074e24fab5598e44c8a22f1848bfa12b8fc76cd5674ca62cd1f917b3235c77721971 WHIRLPOOL da0b560d9528cfe4fcff409de2d9749cf9ae8b7a04468b42463e8097b89e152a67a0da0ea7e6db1186f852687979c2e843e487a5eb76e663717148a796aa093d
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJS1UHrAAoJELp701BxlEWfYJMP/25zmGEaSRVtpesZ2OhvUSfp
|
||||
G+GlDZxKHCK6yq+/eOpRkm8zKnr3RomNiCN91RNYXmkmueO+FGt+Rs8r5GirVd03
|
||||
iraLslXIzlT79oft6OKdOPVKmWxtVBpdIyUJRR159J86hV5VLWHSeOLqOCN30Uhl
|
||||
JBk85iim/3/cGoJhNGrPQG/2Uv+r+90sS/kzjrpWvM7WCeY3GvOF6b4asRQf1hqI
|
||||
kbTpZtIN5t5eJb1wPXDq1MRL7upQutMCajZL5FYoYJvy5J693ZWLK2nV2ueipBAS
|
||||
a0iPd8ZWxYuc8jQlYu/DyscD+wZeoQ56bhmRzwS/3ukipBrGgUuffAcehFumGOhG
|
||||
MtZ4iCUpoBityyA/JqXmZGyLqF5JnvfGB1C7BmnW9HeMZkQ6PFFnZnft/q2c9S0x
|
||||
cS9uzgUBOLBwfbvaqRPv5iiR7w4aXjDoMZvceSgUfFwxLG5puwb+cOTyK6EybNRB
|
||||
hj+OcnqdYN9mVbNxkI4ynFcODXhtaD/di2zgG42G713iJzlXZa5DvfbaB/pRF+yy
|
||||
hJ65o3njE+1mdlsq5zLAAfRBOM/PvtUz2X8gqKgyph5rqebeXxDbbn9dOb7WKFTW
|
||||
7udikXc767F6QIEuM/1kd63q2pw1JbnbPN9mqEY8KqUcpsmPKdBeM4wzfaUuJ22D
|
||||
O7CfSgXtIT0edtHNtU6L
|
||||
=sTMV
|
||||
-----END PGP SIGNATURE-----
|
@ -1,29 +0,0 @@
|
||||
From 21e984fa9d93a760cc03f5d9d13d023809227df2 Mon Sep 17 00:00:00 2001
|
||||
From: James Bottomley <JBottomley@Parallels.com>
|
||||
Date: Thu, 11 Apr 2013 21:12:17 -0700
|
||||
Subject: image.c: clear image variable
|
||||
|
||||
Not zeroing the image after talloc occasionally leads to a segfault because
|
||||
the programme thinks it has a signature when in reality it just has a junk
|
||||
pointer and segfaults.
|
||||
|
||||
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
||||
---
|
||||
src/image.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/image.c b/src/image.c
|
||||
index cc55791..10eba0e 100644
|
||||
--- a/src/image.c
|
||||
+++ b/src/image.c
|
||||
@@ -401,6 +401,7 @@ struct image *image_load(const char *filename)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
+ memset(image, 0, sizeof(*image));
|
||||
rc = fileio_read_file(image, filename, &image->buf, &image->size);
|
||||
if (rc)
|
||||
goto err;
|
||||
--
|
||||
1.8.2.1
|
||||
|
@ -1,39 +0,0 @@
|
||||
From e58a528ef57e53008222f238cce7c326a14572e2 Mon Sep 17 00:00:00 2001
|
||||
From: James Bottomley <JBottomley@Parallels.com>
|
||||
Date: Mon, 30 Sep 2013 19:25:37 -0700
|
||||
Subject: [PATCH 4/4] Fix for multi-sign
|
||||
|
||||
The new Tianocore multi-sign code fails now for images signed with
|
||||
sbsigntools. The reason is that we don't actually align the signature table,
|
||||
we just slap it straight after the binary data. Unfortunately, the new
|
||||
multi-signature code checks that our alignment offsets are correct and fails
|
||||
the signature for this reason. Fix by adding junk to the end of the image to
|
||||
align the signature section.
|
||||
|
||||
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
|
||||
---
|
||||
src/image.c | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/image.c b/src/image.c
|
||||
index 10eba0e..519e288 100644
|
||||
--- a/src/image.c
|
||||
+++ b/src/image.c
|
||||
@@ -385,7 +385,13 @@ static int image_find_regions(struct image *image)
|
||||
|
||||
/* record the size of non-signature data */
|
||||
r = &image->checksum_regions[image->n_checksum_regions - 1];
|
||||
- image->data_size = (r->data - (void *)image->buf) + r->size;
|
||||
+ /*
|
||||
+ * The new Tianocore multisign does a stricter check of the signatures
|
||||
+ * in particular, the signature table must start at an aligned offset
|
||||
+ * fix this by adding bytes to the end of the text section (which must
|
||||
+ * be included in the hash)
|
||||
+ */
|
||||
+ image->data_size = align_up((r->data - (void *)image->buf) + r->size, 8);
|
||||
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
1.8.4
|
||||
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>vapier@gentoo.org</email>
|
||||
<description>do whatever</description>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/sbsigntool/sbsigntool-0.6-r1.ebuild,v 1.3 2014/01/14 13:55:54 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utilities for signing and verifying files for UEFI Secure Boot"
|
||||
HOMEPAGE="https://launchpad.net/ubuntu/+source/sbsigntool"
|
||||
SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/openssl
|
||||
sys-apps/util-linux"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/help2man
|
||||
sys-boot/gnu-efi
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
local iarch
|
||||
case ${ARCH} in
|
||||
ia64) iarch=ia64 ;;
|
||||
x86) iarch=ia32 ;;
|
||||
amd64) iarch=x86_64 ;;
|
||||
*) die "unsupported architecture: ${ARCH}" ;;
|
||||
esac
|
||||
sed -i "/^EFI_ARCH=/s:=.*:=${iarch}:" configure || die
|
||||
sed -i 's/-m64$/& -march=x86-64/' tests/Makefile.in || die
|
||||
sed -i "/^AR /s:=.*:= $(tc-getAR):" lib/ccan/Makefile.in || die #481480
|
||||
epatch "${FILESDIR}"/0002-image.c-clear-image-variable.patch
|
||||
epatch "${FILESDIR}"/0003-Fix-for-multi-sign.patch
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/sbsigntool/sbsigntool-0.6.ebuild,v 1.4 2013/09/05 07:31:21 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Utilities for signing and verifying files for UEFI Secure Boot"
|
||||
HOMEPAGE="https://launchpad.net/ubuntu/+source/sbsigntool"
|
||||
SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${PV}.orig.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-libs/openssl
|
||||
sys-apps/util-linux"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/help2man
|
||||
sys-boot/gnu-efi
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
local iarch
|
||||
case ${ARCH} in
|
||||
ia64) iarch=ia64 ;;
|
||||
x86) iarch=ia32 ;;
|
||||
amd64) iarch=x86_64 ;;
|
||||
*) die "unsupported architecture: ${ARCH}" ;;
|
||||
esac
|
||||
sed -i "/^EFI_ARCH=/s:=.*:=${iarch}:" configure || die
|
||||
sed -i 's/-m64$/& -march=x86-64/' tests/Makefile.in || die
|
||||
sed -i "/^AR /s:=.*:= $(tc-getAR):" lib/ccan/Makefile.in || die #481480
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=prepare
|
||||
DEPEND=dev-libs/openssl sys-apps/util-linux sys-apps/help2man sys-boot/gnu-efi virtual/pkgconfig
|
||||
DESCRIPTION=Utilities for signing and verifying files for UEFI Secure Boot
|
||||
EAPI=4
|
||||
HOMEPAGE=https://launchpad.net/ubuntu/+source/sbsigntool
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=dev-libs/openssl sys-apps/util-linux
|
||||
SLOT=0
|
||||
SRC_URI=https://launchpad.net/ubuntu/+archive/primary/+files/sbsigntool_0.6.orig.tar.gz
|
||||
_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=67d8413dba828ac50bc52f74898ed8ba
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=prepare
|
||||
DEPEND=dev-libs/openssl sys-apps/util-linux sys-apps/help2man sys-boot/gnu-efi virtual/pkgconfig
|
||||
DESCRIPTION=Utilities for signing and verifying files for UEFI Secure Boot
|
||||
EAPI=4
|
||||
HOMEPAGE=https://launchpad.net/ubuntu/+source/sbsigntool
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=dev-libs/openssl sys-apps/util-linux
|
||||
SLOT=0
|
||||
SRC_URI=https://launchpad.net/ubuntu/+archive/primary/+files/sbsigntool_0.6.orig.tar.gz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=427c30edc6a836c466889f579e58235b
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install setup
|
||||
DEPEND=selinux? ( sys-libs/libselinux ) selinux? ( virtual/pkgconfig ) app-arch/xz-utils
|
||||
DESCRIPTION=Standard Linux networking tools
|
||||
EAPI=5
|
||||
HOMEPAGE=http://net-tools.sourceforge.net/
|
||||
IUSE=+arp +hostname ipv6 nis nls plipconfig selinux slattach static
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=selinux? ( sys-libs/libselinux ) hostname? ( !sys-apps/coreutils[hostname] ) !<sys-apps/openrc-0.9.9.3
|
||||
REQUIRED_USE=nis? ( hostname )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/net-tools-1.60_p20160215155418.tar.xz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=1ace897348dd58b93e29eae1c67d2373
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=configure install prepare setup
|
||||
DEPEND=selinux? ( sys-libs/libselinux ) selinux? ( virtual/pkgconfig ) app-arch/xz-utils
|
||||
DESCRIPTION=Standard Linux networking tools
|
||||
EAPI=5
|
||||
HOMEPAGE=http://net-tools.sourceforge.net/
|
||||
IUSE=+arp +hostname ipv6 nis nls plipconfig selinux slattach static
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=selinux? ( sys-libs/libselinux ) hostname? ( !sys-apps/coreutils[hostname] ) !<sys-apps/openrc-0.9.9.3
|
||||
REQUIRED_USE=nis? ( hostname )
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/net-tools-1.60_p20161110235919.tar.xz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=6fe516c36ce82c2de7a3f970eb1ae385
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=configure install setup unpack
|
||||
DEPEND=selinux? ( sys-libs/libselinux ) selinux? ( virtual/pkgconfig ) app-arch/xz-utils nls? ( sys-devel/gettext ) dev-vcs/git
|
||||
DESCRIPTION=Standard Linux networking tools
|
||||
EAPI=5
|
||||
HOMEPAGE=http://net-tools.sourceforge.net/
|
||||
IUSE=+arp +hostname ipv6 nis nls plipconfig selinux slattach static
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=selinux? ( sys-libs/libselinux ) hostname? ( !sys-apps/coreutils[hostname] ) !<sys-apps/openrc-0.9.9.3
|
||||
REQUIRED_USE=nis? ( hostname )
|
||||
SLOT=0
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 git-2 195a672bfaf52d868442171c9469bbb6 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=96f7ca9982c16fb5f3bc4e731e7e9d0b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile install postinst prepare
|
||||
DEPEND=>=sys-libs/libselinux-2.2[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10 >=sys-libs/libsemanage-2.2[python] sys-libs/libcap-ng >=sys-libs/libsepol-2.2 sys-devel/gettext dev-python/ipy dbus? ( sys-apps/dbus dev-libs/dbus-glib ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=SELinux core utilities
|
||||
EAPI=5
|
||||
HOMEPAGE=http://userspace.selinuxproject.org
|
||||
IUSE=audit pam dbus python_targets_python2_7
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libselinux-2.2[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10 >=sys-libs/libsemanage-2.2[python] sys-libs/libcap-ng >=sys-libs/libsepol-2.2 sys-devel/gettext dev-python/ipy dbus? ( sys-apps/dbus dev-libs/dbus-glib ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/sepolgen app-misc/pax-utils
|
||||
SLOT=0
|
||||
SRC_URI=http://userspace.selinuxproject.org/releases/20131030/policycoreutils-2.2.5.tar.gz http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-policycoreutils-2.2.5-gentoo-r1.tar.gz mirror://gentoo/policycoreutils-extra-1.31.tar.bz2
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=7b21163c4c16d0719a6db609af8d43eb
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile install prepare
|
||||
DEPEND=>=sys-libs/libselinux-2.3[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10 >=sys-libs/libsemanage-2.3[python] sys-libs/libcap-ng >=sys-libs/libsepol-2.3 sys-devel/gettext dev-python/ipy dbus? ( sys-apps/dbus dev-libs/dbus-glib ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=SELinux core utilities
|
||||
EAPI=5
|
||||
HOMEPAGE=http://userspace.selinuxproject.org
|
||||
IUSE=audit pam dbus python_targets_python2_7
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libselinux-2.3[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10 >=sys-libs/libsemanage-2.3[python] sys-libs/libcap-ng >=sys-libs/libsepol-2.3 sys-devel/gettext dev-python/ipy dbus? ( sys-apps/dbus dev-libs/dbus-glib ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/sepolgen app-misc/pax-utils
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/policycoreutils-2.3.tar.gz http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-policycoreutils-3.tar.gz mirror://gentoo/policycoreutils-extra-1.33.tar.bz2
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=9be4a0a3a898eef3783ffcd2ea31d410
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile install postinst prepare
|
||||
DEPEND=>=sys-libs/libselinux-2.4[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10 >=sys-libs/libsemanage-2.4[python] sys-libs/libcap-ng >=sys-libs/libsepol-2.4 sys-devel/gettext dev-python/ipy[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dbus? ( sys-apps/dbus dev-libs/dbus-glib ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
|
||||
DESCRIPTION=SELinux core utilities
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=audit pam dbus python_targets_python2_7
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libselinux-2.4[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10 >=sys-libs/libsemanage-2.4[python] sys-libs/libcap-ng >=sys-libs/libsepol-2.4 sys-devel/gettext dev-python/ipy[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dbus? ( sys-apps/dbus dev-libs/dbus-glib ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/sepolgen app-misc/pax-utils
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/policycoreutils-2.4.tar.gz mirror://gentoo/policycoreutils-extra-1.33.tar.bz2
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=e61851bb30bc7ff4cbaf69c35c5f6038
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile install postinst prepare unpack
|
||||
DEPEND=>=sys-libs/libselinux-9999[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10 >=sys-libs/libsemanage-9999[python] sys-libs/libcap-ng >=sys-libs/libsepol-9999 sys-devel/gettext dev-python/ipy[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dbus? ( sys-apps/dbus dev-libs/dbus-glib ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=SELinux core utilities
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=audit pam dbus python_targets_python2_7
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libselinux-9999[python] >=sys-libs/glibc-2.4 >=sys-libs/libcap-1.10-r10 >=sys-libs/libsemanage-9999[python] sys-libs/libcap-ng >=sys-libs/libsepol-9999 sys-devel/gettext dev-python/ipy[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dbus? ( sys-apps/dbus dev-libs/dbus-glib ) audit? ( >=sys-process/audit-1.5.1 ) pam? ( sys-libs/pam ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[xml] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] dev-python/sepolgen app-misc/pax-utils
|
||||
SLOT=0
|
||||
SRC_URI=mirror://gentoo/policycoreutils-extra-1.33.tar.bz2
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 git-r3 52a888802d25387c2c74cb845d1219bc ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=8d0be9d31b8c7a5237b57c9c81266631
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.2 >=dev-libs/libpcre-8.30-r2[static-libs?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 )
|
||||
DESCRIPTION=SELinux userland library
|
||||
EAPI=5
|
||||
HOMEPAGE=http://userspace.selinuxproject.org
|
||||
IUSE=python static-libs python_targets_python2_7 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=public-domain
|
||||
RDEPEND=>=sys-libs/libsepol-2.2 >=dev-libs/libpcre-8.30-r2[static-libs?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] )
|
||||
SLOT=0
|
||||
SRC_URI=http://userspace.selinuxproject.org/releases/20131030/libselinux-2.2.2.tar.gz http://dev.gentoo.org/~swift/patches/libselinux/patchbundle-libselinux-2.2.2-r5.tar.gz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=a535c8830dc88a769f3627aa0ea71aa0
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) ruby? ( ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ) virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 )
|
||||
DESCRIPTION=SELinux userland library
|
||||
EAPI=5
|
||||
HOMEPAGE=http://userspace.selinuxproject.org
|
||||
IUSE=python ruby static-libs ruby_targets_ruby19 ruby_targets_ruby20 python_targets_python2_7 python_targets_python3_4 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=public-domain
|
||||
RDEPEND=>=sys-libs/libsepol-2.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) ruby? ( ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) )
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/libselinux-2.3.tar.gz http://dev.gentoo.org/~swift/patches/libselinux/patchbundle-libselinux-4.tar.gz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=b74cf9adfcc10aa2d80e03a78052b35b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) ruby? ( ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ) virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 )
|
||||
DESCRIPTION=SELinux userland library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python ruby static-libs ruby_targets_ruby19 ruby_targets_ruby20 python_targets_python2_7 python_targets_python3_4 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=public-domain
|
||||
RDEPEND=>=sys-libs/libsepol-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) ruby? ( ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) )
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libselinux-2.4.tar.gz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=62413a029dcc23d8e942cf900647d4a3
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test unpack
|
||||
DEPEND=>=sys-libs/libsepol-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) ruby? ( ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) ) virtual/pkgconfig python? ( >=dev-lang/swig-2.0.9 ) >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=SELinux userland library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python ruby static-libs ruby_targets_ruby19 ruby_targets_ruby20 python_targets_python2_7 python_targets_python3_4 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
LICENSE=public-domain
|
||||
RDEPEND=>=sys-libs/libsepol-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/libpcre-8.33-r1[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] python? ( python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) ruby? ( ruby_targets_ruby19? ( dev-lang/ruby:1.9 ) ruby_targets_ruby20? ( dev-lang/ruby:2.0 ) )
|
||||
SLOT=0
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 git-r3 52a888802d25387c2c74cb845d1219bc ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=7d90fe5ffd45e9267cb4a1343a916e18
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.2 >=sys-libs/libselinux-2.2.2-r1 dev-libs/ustr sys-process/audit sys-devel/bison sys-devel/flex python? ( >=dev-lang/swig-2.0.4-r1 virtual/pkgconfig python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] )
|
||||
DESCRIPTION=SELinux kernel and policy management library
|
||||
EAPI=5
|
||||
HOMEPAGE=http://userspace.selinuxproject.org
|
||||
IUSE=python python_targets_python2_7 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libsepol-2.2 >=sys-libs/libselinux-2.2.2-r1 dev-libs/ustr sys-process/audit
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=http://userspace.selinuxproject.org/releases/20131030/libsemanage-2.2.tar.gz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=1d4264d89c75d93af7d682ef201e9041
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-2.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/bison sys-devel/flex python? ( >=dev-lang/swig-2.0.4-r1 virtual/pkgconfig python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] )
|
||||
DESCRIPTION=SELinux kernel and policy management library
|
||||
EAPI=5
|
||||
HOMEPAGE=http://userspace.selinuxproject.org
|
||||
IUSE=python python_targets_python2_7 python_targets_python3_4 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libsepol-2.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-2.3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/libsemanage-2.3.tar.gz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=6884905896051f2ea6819b39bd62d98f
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/bison sys-devel/flex python? ( >=dev-lang/swig-2.0.4-r1 virtual/pkgconfig python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] )
|
||||
DESCRIPTION=SELinux kernel and policy management library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python python_targets_python2_7 python_targets_python3_4 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libsepol-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libsemanage-2.4.tar.gz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=e402a0d91038def9cc9e8338770992ca
|
@ -1,14 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test
|
||||
DEPEND=>=sys-libs/libsepol-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/bison sys-devel/flex python? ( >=dev-lang/swig-2.0.4-r1 virtual/pkgconfig python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] )
|
||||
DESCRIPTION=SELinux kernel and policy management library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python python_targets_python2_7 python_targets_python3_4 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
KEYWORDS=amd64 ~arm ~arm64 ~mips x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libsepol-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-2.4[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/libsemanage-2.4.tar.gz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=735647b46803cadb1de5eebcd4d0dee9
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare test unpack
|
||||
DEPEND=>=sys-libs/libsepol-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] sys-devel/bison sys-devel/flex python? ( >=dev-lang/swig-2.0.4-r1 virtual/pkgconfig python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,python_targets_python3_4(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-)] ) >=dev-vcs/git-1.8.2.1
|
||||
DESCRIPTION=SELinux kernel and policy management library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://github.com/SELinuxProject/selinux/wiki
|
||||
IUSE=python python_targets_python2_7 python_targets_python3_4 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/libsepol-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-libs/libselinux-9999[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=sys-process/audit-2.2.2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >=dev-libs/ustr-1.0.4-r2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 227b041a120d309fdefbebb3b8c1dfa9 git-r3 52a888802d25387c2c74cb845d1219bc ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 97f470f374f2e94ccab04a2fb21d811e multilib-build eed53a6313267c9fbcd35fc384bd0087 multilib-minimal 9139c3a57e077cb8e0d0f73ceb080b89 python-r1 e9350ec46bb5c9f3504b4fbe8b8d8987 python-utils-r1 c9de01becf9df3f8c10aeec3dc693f5d toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=ba03367813bbb8259686ff3ebedea317
|
@ -1,2 +0,0 @@
|
||||
DIST net-tools-1.60_p20160215155418.tar.xz 227284 SHA256 9c9aee20e3b09213ab0b27c62329fafcb25e156143fc3999c16e8dcee72304b2 SHA512 3fac6e00f061daf5c9ed1c8038d14635333a6149b09ad1493db35e4f931095915ad47468c42cc10299a4df1b5c946d6609a92a00c326a50a4da166670f6608e4 WHIRLPOOL b04de5acd5cb17177d105168d8dd5d4e1cbb108d946bd656b162b11081098b9254993883088df851c3f2fc4eab2dbc18892cff96f20f1e2748663ab6f17ffac0
|
||||
DIST net-tools-1.60_p20161110235919.tar.xz 227552 SHA256 d9b52abb6bbf3305fde1fe414059602371a7819b214206312f6b16a2fde46fcd SHA512 06c2900305a5b11035bdb9d94e9d0a50c2ca832e14598d00d6907d99a4a3c981169475bbe916805888f9746a7d787829f20e6a4dec283731a2c85a72875b8e01 WHIRLPOOL 413553072466cee79c1f231742d6256f97d9a9e84647ee27aed97cf01eee16fd621c67fa67523174bcc0dd0c5f6181d2f6fcc698e3268fc9996eb2cbc7db1070
|
@ -1,33 +0,0 @@
|
||||
From ea3935bd7c0f36c86c40e5785326698fa3336c6a Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Mon, 14 Nov 2016 22:48:42 -0500
|
||||
Subject: [PATCH] iptunnel: fix building w/older linux headers
|
||||
|
||||
While linux-4.8+ headers work, older ones are missing includes.
|
||||
Dropping netinet/ip.h uncovered that mess, so add linux/ip.h.
|
||||
|
||||
URL: https://bugs.gentoo.org/599542
|
||||
Reported-by: Conrad Kostecki <ck@bl4ckb0x.de>
|
||||
---
|
||||
iptunnel.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/iptunnel.c b/iptunnel.c
|
||||
index 247ae10..d6e47e6 100644
|
||||
--- a/iptunnel.c
|
||||
+++ b/iptunnel.c
|
||||
@@ -29,7 +29,12 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <net/if.h>
|
||||
#include <net/if_arp.h>
|
||||
+/* We only care about linux/if_tunnel.h. Unfortunately, older Linux headers
|
||||
+ * (pre linux-4.8) did not include all the proper headers leading to missing
|
||||
+ * structs and types.
|
||||
+ */
|
||||
#include <linux/types.h>
|
||||
+#include <linux/ip.h>
|
||||
#include <linux/if_tunnel.h>
|
||||
|
||||
#include "config.h"
|
||||
--
|
||||
2.9.0
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="arp">build the arp and rarp tools (for manipulating the ARP cache)</flag>
|
||||
<flag name="hostname">build the hostname and dnsdomainname tools</flag>
|
||||
<flag name="plipconfig">build the plipconfig tool (for working with old PLIP hardware)</flag>
|
||||
<flag name="slattach">build the slattach tool (for working with old serial ports)</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">net-tools</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/net-tools/code"
|
||||
EGIT_PROJECT="${PN}"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Standard Linux networking tools"
|
||||
HOMEPAGE="http://net-tools.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+arp +hostname ipv6 nis nls plipconfig selinux slattach static"
|
||||
REQUIRED_USE="nis? ( hostname )"
|
||||
|
||||
RDEPEND="selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
selinux? ( virtual/pkgconfig )
|
||||
app-arch/xz-utils"
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
DEPEND+=" nls? ( sys-devel/gettext )"
|
||||
fi
|
||||
RDEPEND+="
|
||||
hostname? ( !sys-apps/coreutils[hostname] )
|
||||
!<sys-apps/openrc-0.9.9.3"
|
||||
|
||||
maint_pkg_create() {
|
||||
cd /usr/local/src/net-tools
|
||||
#git-update
|
||||
local stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d%H%M%S)
|
||||
local pv="${PV/_p*}_p${stamp}"; pv=${pv/9999/1.60}
|
||||
local p="${PN}-${pv}"
|
||||
git archive --prefix="${p}/" master | tar xf - -C "${T}"
|
||||
pushd "${T}" >/dev/null
|
||||
emake -C "${p}/po" dist
|
||||
sed -i "/^RELEASE/s:=.*:=${pv}:" */Makefile || die
|
||||
tar cf - ${p}/ | xz > ${p}.tar.xz
|
||||
popd >/dev/null
|
||||
|
||||
du -b "${T}"/*.tar.xz
|
||||
}
|
||||
|
||||
pkg_setup() { [[ -n ${VAPIER_LOVES_YOU} ]] && maint_pkg_create ; }
|
||||
|
||||
set_opt() {
|
||||
local opt=$1 ans
|
||||
shift
|
||||
ans=$("$@" && echo y || echo n)
|
||||
einfo "Setting option ${opt} to ${ans}"
|
||||
sed -i \
|
||||
-e "/^bool.* ${opt} /s:[yn]$:${ans}:" \
|
||||
config.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Clear out env vars from the user. #599602
|
||||
unset BASEDIR BINDIR SBINDIR
|
||||
|
||||
set_opt I18N use nls
|
||||
set_opt HAVE_AFINET6 use ipv6
|
||||
set_opt HAVE_HWIB has_version '>=sys-kernel/linux-headers-2.6'
|
||||
set_opt HAVE_HWTR has_version '<sys-kernel/linux-headers-3.5'
|
||||
set_opt HAVE_HWSTRIP has_version '<sys-kernel/linux-headers-3.6'
|
||||
set_opt HAVE_SELINUX use selinux
|
||||
set_opt HAVE_ARP_TOOLS use arp
|
||||
set_opt HAVE_HOSTNAME_TOOLS use hostname
|
||||
set_opt HAVE_HOSTNAME_SYMLINKS use nis
|
||||
set_opt HAVE_PLIP_TOOLS use plipconfig
|
||||
set_opt HAVE_SERIAL_TOOLS use slattach
|
||||
if use static ; then
|
||||
append-flags -static
|
||||
append-ldflags -static
|
||||
fi
|
||||
tc-export AR CC
|
||||
yes "" | ./configure.sh config.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We need to use emake by hand to pass ED. #567300
|
||||
emake DESTDIR="${ED}" install
|
||||
dodoc README THANKS TODO
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/net-tools/code"
|
||||
EGIT_PROJECT="${PN}"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Standard Linux networking tools"
|
||||
HOMEPAGE="http://net-tools.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+arp +hostname ipv6 nis nls plipconfig selinux slattach static"
|
||||
REQUIRED_USE="nis? ( hostname )"
|
||||
|
||||
RDEPEND="selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
selinux? ( virtual/pkgconfig )
|
||||
app-arch/xz-utils"
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
DEPEND+=" nls? ( sys-devel/gettext )"
|
||||
fi
|
||||
RDEPEND+="
|
||||
hostname? ( !sys-apps/coreutils[hostname] )
|
||||
!<sys-apps/openrc-0.9.9.3"
|
||||
|
||||
maint_pkg_create() {
|
||||
cd /usr/local/src/net-tools
|
||||
#git-update
|
||||
local stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d%H%M%S)
|
||||
local pv="${PV/_p*}_p${stamp}"; pv=${pv/9999/1.60}
|
||||
local p="${PN}-${pv}"
|
||||
git archive --prefix="${p}/" master | tar xf - -C "${T}"
|
||||
pushd "${T}" >/dev/null
|
||||
emake -C "${p}/po" dist
|
||||
sed -i "/^RELEASE/s:=.*:=${pv}:" */Makefile || die
|
||||
tar cf - ${p}/ | xz > ${p}.tar.xz
|
||||
popd >/dev/null
|
||||
|
||||
du -b "${T}"/*.tar.xz
|
||||
}
|
||||
|
||||
pkg_setup() { [[ -n ${VAPIER_LOVES_YOU} ]] && maint_pkg_create ; }
|
||||
|
||||
set_opt() {
|
||||
local opt=$1 ans
|
||||
shift
|
||||
ans=$("$@" && echo y || echo n)
|
||||
einfo "Setting option ${opt} to ${ans}"
|
||||
sed -i \
|
||||
-e "/^bool.* ${opt} /s:[yn]$:${ans}:" \
|
||||
config.in || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-fix-building-w-older-linux-headers.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Clear out env vars from the user. #599602
|
||||
unset BASEDIR BINDIR SBINDIR
|
||||
|
||||
set_opt I18N use nls
|
||||
set_opt HAVE_AFINET6 use ipv6
|
||||
set_opt HAVE_HWIB has_version '>=sys-kernel/linux-headers-2.6'
|
||||
set_opt HAVE_HWTR has_version '<sys-kernel/linux-headers-3.5'
|
||||
set_opt HAVE_HWSTRIP has_version '<sys-kernel/linux-headers-3.6'
|
||||
set_opt HAVE_SELINUX use selinux
|
||||
set_opt HAVE_ARP_TOOLS use arp
|
||||
set_opt HAVE_HOSTNAME_TOOLS use hostname
|
||||
set_opt HAVE_HOSTNAME_SYMLINKS use nis
|
||||
set_opt HAVE_PLIP_TOOLS use plipconfig
|
||||
set_opt HAVE_SERIAL_TOOLS use slattach
|
||||
if use static ; then
|
||||
append-flags -static
|
||||
append-ldflags -static
|
||||
fi
|
||||
tc-export AR CC
|
||||
yes "" | ./configure.sh config.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We need to use emake by hand to pass ED. #567300
|
||||
emake DESTDIR="${ED}" install
|
||||
dodoc README THANKS TODO
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/net-tools/code"
|
||||
EGIT_PROJECT="${PN}"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Standard Linux networking tools"
|
||||
HOMEPAGE="http://net-tools.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+arp +hostname ipv6 nis nls plipconfig selinux slattach static"
|
||||
REQUIRED_USE="nis? ( hostname )"
|
||||
|
||||
RDEPEND="selinux? ( sys-libs/libselinux )"
|
||||
DEPEND="${RDEPEND}
|
||||
selinux? ( virtual/pkgconfig )
|
||||
app-arch/xz-utils"
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
DEPEND+=" nls? ( sys-devel/gettext )"
|
||||
fi
|
||||
RDEPEND+="
|
||||
hostname? ( !sys-apps/coreutils[hostname] )
|
||||
!<sys-apps/openrc-0.9.9.3"
|
||||
|
||||
maint_pkg_create() {
|
||||
cd /usr/local/src/net-tools
|
||||
#git-update
|
||||
local stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d%H%M%S)
|
||||
local pv="${PV/_p*}_p${stamp}"; pv=${pv/9999/1.60}
|
||||
local p="${PN}-${pv}"
|
||||
git archive --prefix="${p}/" master | tar xf - -C "${T}"
|
||||
pushd "${T}" >/dev/null
|
||||
emake -C "${p}/po" dist
|
||||
sed -i "/^RELEASE/s:=.*:=${pv}:" */Makefile || die
|
||||
tar cf - ${p}/ | xz > ${p}.tar.xz
|
||||
popd >/dev/null
|
||||
|
||||
du -b "${T}"/*.tar.xz
|
||||
}
|
||||
|
||||
pkg_setup() { [[ -n ${VAPIER_LOVES_YOU} ]] && maint_pkg_create ; }
|
||||
|
||||
set_opt() {
|
||||
local opt=$1 ans
|
||||
shift
|
||||
ans=$("$@" && echo y || echo n)
|
||||
einfo "Setting option ${opt} to ${ans}"
|
||||
sed -i \
|
||||
-e "/^bool.* ${opt} /s:[yn]$:${ans}:" \
|
||||
config.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Clear out env vars from the user. #599602
|
||||
unset BASEDIR BINDIR SBINDIR
|
||||
|
||||
set_opt I18N use nls
|
||||
set_opt HAVE_AFINET6 use ipv6
|
||||
set_opt HAVE_HWIB has_version '>=sys-kernel/linux-headers-2.6'
|
||||
set_opt HAVE_HWTR has_version '<sys-kernel/linux-headers-3.5'
|
||||
set_opt HAVE_HWSTRIP has_version '<sys-kernel/linux-headers-3.6'
|
||||
set_opt HAVE_SELINUX use selinux
|
||||
set_opt HAVE_ARP_TOOLS use arp
|
||||
set_opt HAVE_HOSTNAME_TOOLS use hostname
|
||||
set_opt HAVE_HOSTNAME_SYMLINKS use nis
|
||||
set_opt HAVE_PLIP_TOOLS use plipconfig
|
||||
set_opt HAVE_SERIAL_TOOLS use slattach
|
||||
if use static ; then
|
||||
append-flags -static
|
||||
append-ldflags -static
|
||||
fi
|
||||
tc-export AR CC
|
||||
yes "" | ./configure.sh config.in || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# We need to use emake by hand to pass ED. #567300
|
||||
emake DESTDIR="${ED}" install
|
||||
dodoc README THANKS TODO
|
||||
}
|
@ -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,43 +0,0 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
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 1031 SHA256 06b7505520a24771b371e3e969ec42a0d0235618c091f82d3c41fbcd313246ea SHA512 61c998ee18c95ff4b69b6c6d8b3b255801d8e15da326b5f0800adc76e0c264965303e0af56dc10b31ed484baa7b1f2d425f02e0454912480ad0ed6e3cc80ffed WHIRLPOOL d25970c2f991f0c6022a92248f749effe1d987425788353083ad8eb1d6aba29d97a6daed2115692c462cb66e8c441752466670c6b099a649b5ed177112970543
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQJ8BAEBCgBmBQJVfySwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
|
||||
OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiZdoP/RMFcNOoP+7m2UQ0NvvLC+/6
|
||||
jxN5f+2hmhbNIzq6ebvbWYcJxPI0juRokV2QnVJNSHQFCBoRWp8bjwSlEeLZzAJ6
|
||||
MQLZ3UOCyqQ4wM897g3d85FAaBPRT1RHLyNo/GsuhgRhIRtPpfYVr+qnbB3C+XDC
|
||||
faik+Pe/4cdjAewp7a6WN7MXiG91P9t9/qNpJSTLm1H70CzCgDLrp/+3Yp2TOgkl
|
||||
XtuYJ+Uy1u/zljxWOGgMKU4Vrz6eU48THFo6MpfatkWX4hkQt/TowCHFmQi6djRV
|
||||
/jsIUybwCDo+CadMaqfhtFQvBHMju6zcD/bCyp2y2VdFlhCeUp1qVF0iO6VD5xXo
|
||||
2DCPb7QQMAKtFmb2GI0KoaTFjt4Z5kFPfuwfqCmHlIf6a3nijVHFNVrz5nhK0gqx
|
||||
ed1TEaN++f3gXor1xEUtCyqIUSyIsDSi1OlpstVudLnFf0guphSmKZHN33vfb2ou
|
||||
AMYx/3TOW8SLZdt1bqyzlwHTKzTUUuhB9eHHkrhbdT8pWZVi2YS+MzeLwJF4FzI3
|
||||
SsOD9P/bSBiA0ZIsBCHUVScc1jbw44sBkA9ASazvXqwwQZoZvrFnO2TmCM8KrB0G
|
||||
pIRGQwk0VsBE9V16IctG6Oq9RWzZL0BHgGc2lVf9mzMTzcnDBP67iAwib8nTq47y
|
||||
2cXhVWXMXttYpsJHgcOK
|
||||
=/8mn
|
||||
-----END PGP SIGNATURE-----
|
@ -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 */
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>selinux</herd>
|
||||
<longdescription>
|
||||
Policycoreutils contains the policy core utilities that are required
|
||||
for basic operation of a SELinux system. These utilities include
|
||||
load_policy to load policies, setfiles to label filesystems, newrole
|
||||
to switch roles, and run_init to run /etc/init.d scripts in the proper
|
||||
context.
|
||||
|
||||
Gentoo-specific tools include rlpkg for relabeling packages by name,
|
||||
avc_toggle to toggle between enforcing and permissive modes, and
|
||||
avc_enforcing to query the current mode of the system, enforcing or
|
||||
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>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="cpe">cpe:/a:redhat:policycoreutils</remote-id>
|
||||
<remote-id type="github">SELinuxProject/selinux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,156 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-apps/policycoreutils/policycoreutils-2.2.5-r4.ebuild,v 1.2 2014/05/10 12:54:21 swift Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils
|
||||
|
||||
EXTRAS_VER="1.31"
|
||||
SEMNG_VER="2.2"
|
||||
SELNX_VER="2.2"
|
||||
SEPOL_VER="2.2"
|
||||
|
||||
IUSE="audit pam dbus"
|
||||
|
||||
DESCRIPTION="SELinux core utilities"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz
|
||||
http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${P}-gentoo-r1.tar.gz
|
||||
mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
COMMON_DEPS=">=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}
|
||||
sys-devel/gettext
|
||||
dev-python/ipy
|
||||
dbus? (
|
||||
sys-apps/dbus
|
||||
dev-libs/dbus-glib
|
||||
)
|
||||
audit? ( >=sys-process/audit-1.5.1 )
|
||||
pam? ( sys-libs/pam )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
### libcgroup -> seunshare
|
||||
### dbus -> restorecond
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${COMMON_DEPS}
|
||||
dev-python/sepolgen
|
||||
app-misc/pax-utils"
|
||||
|
||||
DEPEND="${COMMON_DEPS}"
|
||||
|
||||
S1="${WORKDIR}/${P}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
|
||||
src_prepare() {
|
||||
# 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_MULTI_MSG="Applying policycoreutils patches ... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
|
||||
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() {
|
||||
local use_audit="n";
|
||||
local use_pam="n";
|
||||
local use_dbus="n";
|
||||
local use_sesandbox="n";
|
||||
|
||||
use audit && use_audit="y";
|
||||
use pam && use_pam="y";
|
||||
use dbus && use_dbus="y";
|
||||
|
||||
building() {
|
||||
emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
|
||||
}
|
||||
S="${S1}" # Regular policycoreutils
|
||||
python_foreach_impl building
|
||||
S="${S2}" # Extra set
|
||||
python_foreach_impl building
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local use_audit="n";
|
||||
local use_pam="n";
|
||||
local use_dbus="n";
|
||||
local use_sesandbox="n";
|
||||
|
||||
use audit && use_audit="y";
|
||||
use pam && use_pam="y";
|
||||
use dbus && use_dbus="y";
|
||||
|
||||
# Python scripts are present in many places. There are no extension modules.
|
||||
installation-policycoreutils() {
|
||||
einfo "Installing policycoreutils"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="${use_dbus}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
|
||||
}
|
||||
|
||||
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"
|
||||
|
||||
# compatibility symlinks
|
||||
dosym /sbin/setfiles /usr/sbin/setfiles
|
||||
dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
|
||||
|
||||
# location for permissive definitions
|
||||
dodir /var/lib/selinux
|
||||
keepdir /var/lib/selinux
|
||||
|
||||
# Set version-specific scripts
|
||||
for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
|
||||
python_replicate_script "${ED}/usr/bin/${pyscript}"
|
||||
done
|
||||
for pyscript in semanage rlpkg; do
|
||||
python_replicate_script "${ED}/usr/sbin/${pyscript}"
|
||||
done
|
||||
|
||||
dodir /usr/share/doc/${PF}/mcstrans/examples
|
||||
cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Previous versions of policycoreutils optionally installed sesandbox support."
|
||||
elog "However, due to the possible unsafe state of seunshare (CVE-2014-3215) and the"
|
||||
elog "fact that sesandbox (called 'sandbox' upstream but collides with Portage sandbox)"
|
||||
elog "has not been supported in Gentoo for a while (for one, our policies do not provide"
|
||||
elog "sandboxing support) we have discontinued providing the sandbox related files."
|
||||
}
|
@ -1,154 +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.3-r3.ebuild,v 1.2 2015/02/06 06:04:27 perfinion Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
EXTRAS_VER="1.33"
|
||||
SEMNG_VER="2.3"
|
||||
SELNX_VER="2.3"
|
||||
SEPOL_VER="2.3"
|
||||
PATCHBUNDLE="3"
|
||||
|
||||
IUSE="audit pam dbus"
|
||||
|
||||
DESCRIPTION="SELinux core utilities"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/${MY_P}.tar.gz
|
||||
http://dev.gentoo.org/~swift/patches/policycoreutils/patchbundle-${PN}-${PATCHBUNDLE}.tar.gz
|
||||
mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
COMMON_DEPS=">=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}
|
||||
sys-devel/gettext
|
||||
dev-python/ipy
|
||||
dbus? (
|
||||
sys-apps/dbus
|
||||
dev-libs/dbus-glib
|
||||
)
|
||||
audit? ( >=sys-process/audit-1.5.1 )
|
||||
pam? ( sys-libs/pam )
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
### libcgroup -> seunshare
|
||||
### dbus -> restorecond
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${COMMON_DEPS}
|
||||
dev-python/sepolgen
|
||||
app-misc/pax-utils"
|
||||
|
||||
DEPEND="${COMMON_DEPS}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
S1="${WORKDIR}/${MY_P}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
|
||||
src_prepare() {
|
||||
# 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_MULTI_MSG="Applying policycoreutils patches ... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
|
||||
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() {
|
||||
local use_audit="n";
|
||||
local use_pam="n";
|
||||
local use_dbus="n";
|
||||
local use_sesandbox="n";
|
||||
|
||||
use audit && use_audit="y";
|
||||
use pam && use_pam="y";
|
||||
use dbus && use_dbus="y";
|
||||
|
||||
building() {
|
||||
emake -C "${BUILD_DIR}" AUDIT_LOG_PRIVS="y" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" CC="$(tc-getCC)" PYLIBVER="${EPYTHON}" || die
|
||||
}
|
||||
S="${S1}" # Regular policycoreutils
|
||||
python_foreach_impl building
|
||||
S="${S2}" # Extra set
|
||||
python_foreach_impl building
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local use_audit="n";
|
||||
local use_pam="n";
|
||||
local use_dbus="n";
|
||||
local use_sesandbox="n";
|
||||
|
||||
use audit && use_audit="y";
|
||||
use pam && use_pam="y";
|
||||
use dbus && use_dbus="y";
|
||||
|
||||
# Python scripts are present in many places. There are no extension modules.
|
||||
installation-policycoreutils() {
|
||||
einfo "Installing policycoreutils"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" AUDITH="${use_audit}" PAMH="${use_pam}" INOTIFYH="${use_dbus}" SESANDBOX="${use_sesandbox}" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install || return 1
|
||||
python_optimize
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="${use_dbus}" SHLIBDIR="${D}$(get_libdir)/rc" install || return 1
|
||||
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"
|
||||
|
||||
# compatibility symlinks
|
||||
dosym /sbin/setfiles /usr/sbin/setfiles
|
||||
dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
|
||||
|
||||
# location for permissive definitions
|
||||
dodir /var/lib/selinux
|
||||
keepdir /var/lib/selinux
|
||||
|
||||
# Set version-specific scripts
|
||||
for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
|
||||
python_replicate_script "${ED}/usr/bin/${pyscript}"
|
||||
done
|
||||
for pyscript in semanage rlpkg; do
|
||||
python_replicate_script "${ED}/usr/sbin/${pyscript}"
|
||||
done
|
||||
|
||||
dodir /usr/share/doc/${PF}/mcstrans/examples
|
||||
cp -dR "${S1}"/mcstrans/share/examples/* "${D}/usr/share/doc/${PF}/mcstrans/examples"
|
||||
}
|
@ -1,147 +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
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
EXTRAS_VER="1.33"
|
||||
SEMNG_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
SEPOL_VER="${PV}"
|
||||
|
||||
IUSE="audit pam dbus"
|
||||
|
||||
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
|
||||
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}
|
||||
sys-devel/gettext
|
||||
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_DEPS}"
|
||||
|
||||
### libcgroup -> seunshare
|
||||
### dbus -> restorecond
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/sepolgen
|
||||
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
|
||||
|
||||
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)" \
|
||||
PAMH="$(usex pam)" \
|
||||
INOTIFYH="$(usex dbus)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
PYLIBVER="${EPYTHON}" \
|
||||
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}" AUDITH="$(usex audit)" PAMH="$(usex pam)" INOTIFYH="$(usex dbus)" SESANDBOX="n" AUDIT_LOG_PRIV="y" PYLIBVER="${EPYTHON}" install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="$(usex dbus)" SHLIBDIR="${D}$(get_libdir)/rc" 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"
|
||||
|
||||
# compatibility symlinks
|
||||
dosym /sbin/setfiles /usr/sbin/setfiles
|
||||
dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
|
||||
|
||||
# location for policy definitions
|
||||
dodir /var/lib/selinux
|
||||
keepdir /var/lib/selinux
|
||||
|
||||
# Set version-specific scripts
|
||||
for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
|
||||
python_replicate_script "${ED}/usr/bin/${pyscript}"
|
||||
done
|
||||
for pyscript in semanage rlpkg; do
|
||||
python_replicate_script "${ED}/usr/sbin/${pyscript}"
|
||||
done
|
||||
|
||||
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
|
||||
elog "The selinux_gentoo init script will be removed in future versions since it is not needed with OpenRC 0.13."
|
||||
}
|
@ -1,181 +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-9999.ebuild,v 1.1 2015/06/09 15:38:25 swift Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
MY_RELEASEDATE="20150202"
|
||||
|
||||
EXTRAS_VER="1.33"
|
||||
SEMNG_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
SEPOL_VER="${PV}"
|
||||
|
||||
IUSE="audit pam dbus"
|
||||
|
||||
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="mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
S1="${WORKDIR}/${MY_P}/${PN}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
else
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${MY_P}.tar.gz
|
||||
mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
S1="${WORKDIR}/${MY_P}"
|
||||
S2="${WORKDIR}/policycoreutils-extra"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
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}
|
||||
sys-devel/gettext
|
||||
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_DEPS}"
|
||||
|
||||
### libcgroup -> seunshare
|
||||
### dbus -> restorecond
|
||||
|
||||
# pax-utils for scanelf used by rlpkg
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/sepolgen
|
||||
app-misc/pax-utils"
|
||||
|
||||
src_unpack() {
|
||||
# Override default one because we need the SRC_URI ones even in case of 9999 ebuilds
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
if [ -n ${A} ] ; then
|
||||
S="${S2}"
|
||||
unpack ${A};
|
||||
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
|
||||
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"
|
||||
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"
|
||||
|
||||
epatch_user
|
||||
|
||||
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)" \
|
||||
PAMH="$(usex pam)" \
|
||||
INOTIFYH="$(usex dbus)" \
|
||||
SESANDBOX="n" \
|
||||
CC="$(tc-getCC)" \
|
||||
PYLIBVER="${EPYTHON}" \
|
||||
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}" \
|
||||
AUDITH="$(usex audit)" \
|
||||
PAMH="$(usex pam)" \
|
||||
INOTIFYH="$(usex dbus)" \
|
||||
SESANDBOX="n" \
|
||||
AUDIT_LOG_PRIV="y" \
|
||||
PYLIBVER="${EPYTHON}" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
install
|
||||
python_optimize
|
||||
}
|
||||
|
||||
installation-extras() {
|
||||
einfo "Installing policycoreutils-extra"
|
||||
emake -C "${BUILD_DIR}" DESTDIR="${D}" INOTIFYH="$(usex dbus)" SHLIBDIR="${D}$(get_libdir)/rc" 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"
|
||||
|
||||
# compatibility symlinks
|
||||
dosym /sbin/setfiles /usr/sbin/setfiles
|
||||
dosym /$(get_libdir)/rc/runscript_selinux.so /$(get_libdir)/rcscripts/runscript_selinux.so
|
||||
|
||||
# location for policy definitions
|
||||
dodir /var/lib/selinux
|
||||
keepdir /var/lib/selinux
|
||||
|
||||
# Set version-specific scripts
|
||||
for pyscript in audit2allow sepolgen-ifgen sepolicy chcat; do
|
||||
python_replicate_script "${ED}/usr/bin/${pyscript}"
|
||||
done
|
||||
for pyscript in semanage rlpkg; do
|
||||
python_replicate_script "${ED}/usr/sbin/${pyscript}"
|
||||
done
|
||||
|
||||
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
|
||||
elog "The selinux_gentoo init script will be removed in future versions since it is not needed with OpenRC 0.13."
|
||||
}
|
@ -1,648 +0,0 @@
|
||||
# ChangeLog for sys-libs/libselinux
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/ChangeLog,v 1.144 2015/06/09 15:35:39 swift Exp $
|
||||
|
||||
*libselinux-9999 (09 Jun 2015)
|
||||
|
||||
09 Jun 2015; Sven Vermeulen <swift@gentoo.org> +libselinux-9999.ebuild:
|
||||
Adding libselinux-9999 to better support upstream integrations
|
||||
|
||||
10 May 2015; Jason Zaman <perfinion@gentoo.org> libselinux-2.4.ebuild:
|
||||
stabilize selinux 2.4 userland
|
||||
|
||||
18 Apr 2015; Jason Zaman <perfinion@gentoo.org> -libselinux-2.3-r1.ebuild,
|
||||
-libselinux-2.4_rc6.ebuild, -libselinux-2.4_rc7.ebuild:
|
||||
Drop old RCs
|
||||
|
||||
08 Apr 2015; Michał Górny <mgorny@gentoo.org> libselinux-2.2.2-r5.ebuild,
|
||||
libselinux-2.3-r1.ebuild, libselinux-2.3-r2.ebuild, libselinux-2.4.ebuild,
|
||||
libselinux-2.4_rc6.ebuild, libselinux-2.4_rc7.ebuild:
|
||||
Drop old Python implementations
|
||||
|
||||
04 Mar 2015; Sven Vermeulen <swift@gentoo.org> libselinux-2.4.ebuild:
|
||||
Fix build failure on x32 (bug #541618)
|
||||
|
||||
*libselinux-2.4 (04 Feb 2015)
|
||||
|
||||
04 Feb 2015; Jason Zaman <perfinion@gentoo.org> +libselinux-2.4.ebuild:
|
||||
Version bump
|
||||
|
||||
26 Jan 2015; Agostino Sarubbo <ago@gentoo.org> libselinux-2.3-r2.ebuild:
|
||||
Stable for x86, wrt bug #535682
|
||||
|
||||
22 Jan 2015; Agostino Sarubbo <ago@gentoo.org> libselinux-2.3-r2.ebuild:
|
||||
Stable for amd64, wrt bug #535682
|
||||
|
||||
*libselinux-2.4_rc7 (06 Dec 2014)
|
||||
|
||||
06 Dec 2014; Jason Zaman <perfinion@gentoo.org> +libselinux-2.4_rc7.ebuild,
|
||||
-libselinux-2.4_rc2.ebuild, -libselinux-2.4_rc5.ebuild:
|
||||
version bump and ebuild clean up, drop old RC
|
||||
|
||||
*libselinux-2.3-r2 (04 Dec 2014)
|
||||
|
||||
04 Dec 2014; Jason Zaman <perfinion@gentoo.org> +libselinux-2.3-r2.ebuild,
|
||||
libselinux-2.4_rc6.ebuild:
|
||||
Call python_optimize, bug 531638
|
||||
|
||||
*libselinux-2.4_rc6 (14 Nov 2014)
|
||||
|
||||
14 Nov 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.4_rc6.ebuild:
|
||||
Bump to rc6, add python3_4 to PYTHON_COMPAT (fixes bug 529176); rc6 also fixes
|
||||
unconfined issue when USE=-unconfined is set
|
||||
|
||||
*libselinux-2.4_rc5 (29 Oct 2014)
|
||||
|
||||
29 Oct 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.4_rc5.ebuild,
|
||||
-libselinux-2.4_rc4.ebuild:
|
||||
Bump to 2.4_rc5
|
||||
|
||||
*libselinux-2.4_rc4 (07 Oct 2014)
|
||||
|
||||
07 Oct 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.4_rc4.ebuild:
|
||||
Bump to 2.4-rc4
|
||||
|
||||
*libselinux-2.4_rc2 (21 Sep 2014)
|
||||
|
||||
21 Sep 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
+files/0005-use-ruby-include-with-rubylibver.patch,
|
||||
+files/0006-build-related-fixes-bug-500674.patch, +libselinux-2.4_rc2.ebuild,
|
||||
libselinux-2.3-r1.ebuild:
|
||||
Noved to github; also add in masked 2.4 series
|
||||
|
||||
16 Sep 2014; Brian Dolbec <dolsen@gentoo.org> libselinux-2.3-r1.ebuild:
|
||||
Add python-3.4 target, needed for dep of portage. Tested and
|
||||
confirmed working by perfinion.
|
||||
|
||||
05 Aug 2014; Sven Vermeulen <swift@gentoo.org> -libselinux-2.2.2-r4.ebuild,
|
||||
-libselinux-2.3.ebuild, -libselinux-2.3_rc1-r1.ebuild,
|
||||
-libselinux-2.3_rc1.ebuild:
|
||||
Remove obsoleted ebuilds
|
||||
|
||||
30 Jul 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.3-r1.ebuild:
|
||||
Fix bug #514194 - Stabilization of SELinux userspace 2.3
|
||||
|
||||
14 Jul 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.2.2-r5.ebuild:
|
||||
Stabilize (fix segfault with setfiles)
|
||||
|
||||
09 Jul 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.2.2-r5.ebuild:
|
||||
Fix bug #516608 - Backport pcre version fix from libselinux-2.3
|
||||
|
||||
*libselinux-2.3-r1 (09 Jul 2014)
|
||||
|
||||
09 Jul 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.3-r1.ebuild:
|
||||
Fix bug #516608 (segfault with setfiles)
|
||||
|
||||
18 Jun 2014; Michał Górny <mgorny@gentoo.org> libselinux-2.3.ebuild:
|
||||
Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug
|
||||
#513718.
|
||||
|
||||
07 Jun 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.3.ebuild:
|
||||
Update libpcre and libsepol deps to include MULTILIB_USEDEP
|
||||
|
||||
10 May 2014; Sven Vermeulen <swift@gentoo.org>
|
||||
-files/libselinux-2.1.9-mountsys.patch,
|
||||
-files/libselinux-2.1.9-support_ruby19.patch,
|
||||
-files/libselinux-2.1.12-mountsys.patch:
|
||||
Removing unused patches in files dir
|
||||
|
||||
10 May 2014; Sven Vermeulen <swift@gentoo.org> -libselinux-2.1.13-r1.ebuild,
|
||||
-libselinux-2.1.13-r2.ebuild, -libselinux-2.1.13-r3.ebuild,
|
||||
-libselinux-2.1.13-r4.ebuild, -libselinux-2.2-r1.ebuild,
|
||||
-libselinux-2.2.1-r1.ebuild, -libselinux-2.2.2-r1.ebuild,
|
||||
-libselinux-2.2.2-r2.ebuild:
|
||||
Spring cleanup
|
||||
|
||||
*libselinux-2.3 (09 May 2014)
|
||||
|
||||
09 May 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.3.ebuild:
|
||||
Bump to 2.3
|
||||
|
||||
30 Apr 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.2.2-r5.ebuild:
|
||||
Fix bug #509004 by stabilizing r5 (enable ruby bindings)
|
||||
|
||||
*libselinux-2.2.2-r5 (29 Apr 2014)
|
||||
*libselinux-2.3_rc1-r1 (29 Apr 2014)
|
||||
|
||||
29 Apr 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.2.2-r5.ebuild,
|
||||
+libselinux-2.3_rc1-r1.ebuild:
|
||||
Add USE=ruby support, now without ruby-ng eclass calls, fixes bug #509004
|
||||
|
||||
*libselinux-2.3_rc1 (28 Apr 2014)
|
||||
|
||||
28 Apr 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.3_rc1.ebuild:
|
||||
2.3-rc1 release
|
||||
|
||||
21 Apr 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.2.2-r4.ebuild:
|
||||
Stabilize 2.2.2-r4
|
||||
|
||||
23 Mar 2014; Sven Vermeulen <swift@gentoo.org> -libselinux-2.2.2-r3.ebuild,
|
||||
-files/libselinux-2.2.2-build.patch:
|
||||
Dropping incorrect builds
|
||||
|
||||
*libselinux-2.2.2-r4 (23 Mar 2014)
|
||||
|
||||
23 Mar 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.2.2-r4.ebuild:
|
||||
Fix bug #504832 - audit2why.so failures due to dynamic linking
|
||||
|
||||
*libselinux-2.2.2-r3 (08 Mar 2014)
|
||||
|
||||
08 Mar 2014; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libselinux-2.2.2-build.patch, +libselinux-2.2.2-r3.ebuild:
|
||||
Clean up linking behavior #500674 by SpanKY.
|
||||
|
||||
04 Mar 2014; Samuli Suominen <ssuominen@gentoo.org>
|
||||
libselinux-2.2.2-r2.ebuild:
|
||||
Fix installation of python site-packages w/ multilib-strict by passing LIBDIR
|
||||
to "make install" phase wrt #502954
|
||||
|
||||
*libselinux-2.2.2-r2 (04 Mar 2014)
|
||||
|
||||
04 Mar 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.2.2-r2.ebuild:
|
||||
Fix bug #502544 - Honor multilib dir in pkgconfig file
|
||||
|
||||
*libselinux-2.2.2-r1 (02 Feb 2014)
|
||||
|
||||
02 Feb 2014; Sven Vermeulen <swift@gentoo.org> +libselinux-2.2.2-r1.ebuild:
|
||||
Fix bug #480960 (multilib support). Drop ruby eclass as it messes with
|
||||
defaults and I do not understand it. Bump to 2.2.2 release
|
||||
|
||||
02 Feb 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.2.1-r1.ebuild:
|
||||
Support python 3.3, see bug 499604
|
||||
|
||||
02 Feb 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.2.1-r1.ebuild:
|
||||
Stabilize for amd64 and x86
|
||||
|
||||
20 Jan 2014; Sven Vermeulen <swift@gentoo.org> libselinux-2.2-r1.ebuild:
|
||||
Stabilize for x86 and amd64
|
||||
|
||||
23 Dec 2013; Sven Vermeulen <swift@gentoo.org> -libselinux-2.1.12.ebuild,
|
||||
-libselinux-2.1.12-r1.ebuild, -libselinux-2.1.12-r2.ebuild,
|
||||
-libselinux-2.1.12-r3.ebuild:
|
||||
Cleaning old version
|
||||
|
||||
*libselinux-2.2.1-r1 (10 Dec 2013)
|
||||
|
||||
10 Dec 2013; Sven Vermeulen <swift@gentoo.org> +libselinux-2.2.1-r1.ebuild:
|
||||
Adding 2.2.1 release
|
||||
|
||||
*libselinux-2.2-r1 (04 Nov 2013)
|
||||
|
||||
04 Nov 2013; Sven Vermeulen <swift@gentoo.org> +libselinux-2.2-r1.ebuild:
|
||||
New libselinux release
|
||||
|
||||
27 Oct 2013; Sven Vermeulen <swift@gentoo.org> libselinux-2.1.13-r4.ebuild:
|
||||
Fix bug 488102 - Only call ruby-ng pkg_setup if USE=ruby is set
|
||||
|
||||
05 Sep 2013; Michał Górny <mgorny@gentoo.org> libselinux-2.1.13-r4.ebuild:
|
||||
Clean up PYTHON_COMPAT from old implementations.
|
||||
|
||||
20 Aug 2013; Sven Vermeulen <swift@gentoo.org> libselinux-2.1.13-r4.ebuild:
|
||||
Stabilize, the issue with file_contexts.local is important to get in stable
|
||||
|
||||
10 Aug 2013; Sven Vermeulen <swift@gentoo.org> libselinux-2.1.13-r4.ebuild:
|
||||
Create (parent) directories for local file
|
||||
|
||||
*libselinux-2.1.13-r4 (28 Jul 2013)
|
||||
|
||||
28 Jul 2013; Sven Vermeulen <swift@gentoo.org> +libselinux-2.1.13-r4.ebuild:
|
||||
Migrate to python-r1, fix bug #473502
|
||||
|
||||
07 Jul 2013; Sven Vermeulen <swift@gentoo.org> -libselinux-2.1.9.ebuild,
|
||||
-libselinux-2.1.9-r1.ebuild, -libselinux-2.1.9-r2.ebuild,
|
||||
-libselinux-2.1.9-r3.ebuild:
|
||||
Summer cleaning
|
||||
|
||||
*libselinux-2.1.13-r3 (23 Jun 2013)
|
||||
|
||||
23 Jun 2013; Sven Vermeulen <swift@gentoo.org> +libselinux-2.1.13-r3.ebuild:
|
||||
Fix bug 473714 (add libpthread in Libs)
|
||||
|
||||
16 Jun 2013; Sven Vermeulen <swift@gentoo.org> libselinux-2.1.13-r2.ebuild:
|
||||
Stabilization
|
||||
|
||||
*libselinux-2.1.13-r2 (25 Apr 2013)
|
||||
|
||||
25 Apr 2013; Sven Vermeulen <swift@gentoo.org> +libselinux-2.1.13-r1.ebuild,
|
||||
+libselinux-2.1.13-r2.ebuild:
|
||||
Fix bug #467258 - add selinux_current_policy_path
|
||||
|
||||
*libselinux-2.1.13-r1 (25 Apr 2013)
|
||||
|
||||
25 Apr 2013; Sven Vermeulen <swift@gentoo.org> +libselinux-2.1.13-r1.ebuild:
|
||||
New upstream release
|
||||
|
||||
16 Apr 2013; Sven Vermeulen <swift@gentoo.org> libselinux-2.1.12-r3.ebuild:
|
||||
Stabilize libselinux-2.1.12-r3
|
||||
|
||||
*libselinux-2.1.12-r3 (29 Mar 2013)
|
||||
|
||||
29 Mar 2013; Sven Vermeulen <swift@gentoo.org> +libselinux-2.1.12-r3.ebuild:
|
||||
Fix error return codes (bug #462626) and Python3 failure if built with swig-1
|
||||
(bug #463410)
|
||||
|
||||
30 Dec 2012; Sven Vermeulen libselinux-2.1.12-r2.ebuild:
|
||||
Stabilize
|
||||
|
||||
*libselinux-2.1.12-r2 (03 Dec 2012)
|
||||
|
||||
03 Dec 2012; <swift@gentoo.org> +libselinux-2.1.12-r2.ebuild:
|
||||
Fix bugs #444372 and #443928
|
||||
|
||||
17 Nov 2012; <swift@gentoo.org> libselinux-2.1.12-r1.ebuild:
|
||||
Stabilize
|
||||
|
||||
17 Nov 2012; <swift@gentoo.org> libselinux-2.1.9-r3.ebuild:
|
||||
Stabilize
|
||||
|
||||
*libselinux-2.1.12-r1 (29 Oct 2012)
|
||||
|
||||
29 Oct 2012; <swift@gentoo.org> +libselinux-2.1.12-r1.ebuild:
|
||||
Adding support for static-libs and RDEPEND on libpcre[static-libs] when
|
||||
needed. See bug #436752. Also updates patching method and adds
|
||||
Requires.private towards libpcre.
|
||||
|
||||
13 Oct 2012; <swift@gentoo.org> libselinux-2.1.12.ebuild:
|
||||
Supporting user-provided patches using epatch_user
|
||||
|
||||
*libselinux-2.1.12 (09 Oct 2012)
|
||||
*libselinux-2.1.9-r3 (09 Oct 2012)
|
||||
|
||||
09 Oct 2012; <swift@gentoo.org> +libselinux-2.1.9-r3.ebuild,
|
||||
+files/libselinux-2.1.9-support_ruby19.patch, +libselinux-2.1.12.ebuild,
|
||||
+files/libselinux-2.1.12-mountsys.patch:
|
||||
Introducing upstream version and fix for ruby19
|
||||
|
||||
06 Oct 2012; <swift@gentoo.org> libselinux-2.1.9-r2.ebuild:
|
||||
Stabilize
|
||||
|
||||
03 Oct 2012; Mike Frysinger <vapier@gentoo.org> libselinux-2.1.9-r2.ebuild:
|
||||
Fix /usr/lib handling in utils subdir too.
|
||||
|
||||
*libselinux-2.1.9-r2 (08 Sep 2012)
|
||||
|
||||
08 Sep 2012; <swift@gentoo.org> +libselinux-2.1.9-r2.ebuild:
|
||||
Fix bugs #429456 and #417303
|
||||
|
||||
06 Aug 2012; Patrick Lauer <patrick@gentoo.org> libselinux-2.1.9-r1.ebuild:
|
||||
Restricting python ABIs that don't work
|
||||
|
||||
10 Jul 2012; <swift@gentoo.org> libselinux-2.1.9-r1.ebuild:
|
||||
Stabilization
|
||||
|
||||
26 Jun 2012; Mike Gilbert <floppym@gentoo.org> libselinux-2.1.9-r1.ebuild,
|
||||
libselinux-2.1.9.ebuild:
|
||||
Restrict pypy per Arfrever.
|
||||
|
||||
13 May 2012; <swift@gentoo.org> -libselinux-2.1.0.ebuild:
|
||||
Removing obsoleted ebuild
|
||||
|
||||
*libselinux-2.1.9-r1 (13 May 2012)
|
||||
|
||||
13 May 2012; <swift@gentoo.org> +libselinux-2.1.9-r1.ebuild,
|
||||
+files/libselinux-2.1.9-mountsys.patch:
|
||||
Mount /sys before trying to mount /sys/fs/selinux from within the policy load
|
||||
functions, bug #414779
|
||||
|
||||
29 Apr 2012; <swift@gentoo.org> libselinux-2.1.9.ebuild:
|
||||
Stabilization
|
||||
|
||||
*libselinux-2.1.9 (31 Mar 2012)
|
||||
|
||||
31 Mar 2012; <swift@gentoo.org> +libselinux-2.1.9.ebuild:
|
||||
Bump to version 2.1.9
|
||||
|
||||
12 Nov 2011; <swift@gentoo.org> -libselinux-2.0.94.ebuild,
|
||||
-libselinux-2.0.98.ebuild:
|
||||
Remove deprecated ebuilds
|
||||
|
||||
23 Oct 2011; <swift@gentoo.org> libselinux-2.1.0.ebuild:
|
||||
Stabilization (tracker #384231)
|
||||
|
||||
12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
-libselinux-2.0.71.ebuild, -libselinux-2.0.85.ebuild,
|
||||
-files/libselinux-2.0.85-headers.patch, -files/compat.py:
|
||||
Removed deprecated versions
|
||||
|
||||
*libselinux-2.1.0 (03 Aug 2011)
|
||||
|
||||
03 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+libselinux-2.1.0.ebuild:
|
||||
Bump to 20110727 SELinux userspace release
|
||||
|
||||
*libselinux-2.0.98 (15 Jul 2011)
|
||||
|
||||
15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+libselinux-2.0.98.ebuild:
|
||||
Bump to 2.0.98 - proxy for SwifT
|
||||
|
||||
28 May 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
libselinux-2.0.94.ebuild:
|
||||
Stable amd64 x86
|
||||
|
||||
13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
|
||||
Updated metadata.xml to reflect new selinux herd.
|
||||
|
||||
06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
libselinux-2.0.94.ebuild:
|
||||
Add "python" USE flag.
|
||||
|
||||
05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
libselinux-2.0.94.ebuild:
|
||||
Set SUPPORT_PYTHON_ABIS (bug #353763). Respect AR and CC.
|
||||
|
||||
*libselinux-2.0.94 (05 Feb 2011)
|
||||
|
||||
05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+libselinux-2.0.94.ebuild:
|
||||
New upstream release.
|
||||
|
||||
29 Sep 2010; Mike Frysinger <vapier@gentoo.org> libselinux-2.0.85.ebuild,
|
||||
+files/libselinux-2.0.85-headers.patch:
|
||||
Fix by Chris Richards for building with glibc-2.12 #338302.
|
||||
|
||||
16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
|
||||
Delete calls to deprecated python_version().
|
||||
|
||||
02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
libselinux-2.0.71.ebuild, libselinux-2.0.85.ebuild:
|
||||
Add python_need_rebuild.
|
||||
|
||||
*libselinux-2.0.85 (02 Aug 2009)
|
||||
|
||||
02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libselinux-2.0.85.ebuild:
|
||||
New upstream release.
|
||||
|
||||
18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
-libselinux-1.34.14.ebuild, libselinux-2.0.71.ebuild:
|
||||
Mark stable. Remove old ebuilds.
|
||||
|
||||
*libselinux-2.0.71 (03 Oct 2008)
|
||||
|
||||
03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libselinux-2.0.71.ebuild:
|
||||
Initial commit of 2.0 libselinux.
|
||||
|
||||
29 May 2008; Ali Polatel <hawking@gentoo.org> libselinux-1.34.14.ebuild:
|
||||
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
|
||||
|
||||
13 May 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
-libselinux-1.28-r1.ebuild, -libselinux-1.30.ebuild,
|
||||
-libselinux-1.34.0.ebuild, -libselinux-1.34.13.ebuild,
|
||||
libselinux-1.34.14.ebuild:
|
||||
Mark 1.34.14 stable, clear old ebuilds.
|
||||
|
||||
11 May 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
libselinux-1.34.0.ebuild, libselinux-1.34.13.ebuild,
|
||||
libselinux-1.34.14.ebuild:
|
||||
Fix bug #221501.
|
||||
|
||||
*libselinux-1.34.14 (29 Jan 2008)
|
||||
|
||||
29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libselinux-1.34.14.ebuild:
|
||||
New upstream bugfix release.
|
||||
|
||||
*libselinux-1.34.13 (18 Oct 2007)
|
||||
|
||||
18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libselinux-1.34.13.ebuild:
|
||||
New upstream release.
|
||||
|
||||
04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
libselinux-1.34.0.ebuild:
|
||||
Mark stable.
|
||||
|
||||
16 Feb 2007; Stephen Bennett <spb@gentoo.org> libselinux-1.34.0.ebuild:
|
||||
Add missing swig depend. Bug #167007
|
||||
|
||||
*libselinux-1.34.0 (15 Feb 2007)
|
||||
|
||||
15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libselinux-1.34.0.ebuild:
|
||||
New upstream release.
|
||||
|
||||
23 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
libselinux-1.30.29.ebuild:
|
||||
Fix depend for glibc
|
||||
|
||||
09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
libselinux-1.30.29.ebuild:
|
||||
Stable to make repoman happy.
|
||||
|
||||
*libselinux-1.30.29 (05 Oct 2006)
|
||||
|
||||
05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libselinux-1.30.29.ebuild:
|
||||
Add SVN snapshot.
|
||||
|
||||
31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
|
||||
Mark stable, long overdue.
|
||||
|
||||
07 Apr 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.30.ebuild:
|
||||
Split python wrapper compile into a separate emake to ensure the main
|
||||
library is built before trying to build the wrapper. Fixes bug #129074.
|
||||
|
||||
22 Mar 2006; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.24.ebuild,
|
||||
-libselinux-1.28.ebuild, libselinux-1.28-r1.ebuild:
|
||||
Mark 1.28-r1 stable, clean out old ebuilds.
|
||||
|
||||
*libselinux-1.30 (18 Mar 2006)
|
||||
|
||||
18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.30.ebuild:
|
||||
New upstream release.
|
||||
|
||||
22 Feb 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
|
||||
Alpha stable
|
||||
|
||||
*libselinux-1.28-r1 (20 Feb 2006)
|
||||
|
||||
20 Feb 2006; Chris PeBenito <pebenito@gentoo.org> +files/compat.py,
|
||||
+libselinux-1.28-r1.ebuild:
|
||||
Add python-selinux compatability aliases to swig wrapper.
|
||||
|
||||
19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libselinux-1.28.ebuild:
|
||||
Marked stable on mips.
|
||||
|
||||
09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
|
||||
Move python_version out of global scope.
|
||||
|
||||
29 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
|
||||
Add python version handling to fix #120829, and add -fPIC to LDFLAGS to
|
||||
hopefully fix #119271.
|
||||
|
||||
17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
|
||||
Mark stable, x86, amd64, ppc, sparc.
|
||||
|
||||
14 Jan 2006; Stephen Bennett <spb@gentoo.org> libselinux-1.28.ebuild:
|
||||
Added ~alpha
|
||||
|
||||
15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.28.ebuild:
|
||||
Tighten up versioning to try to prevent mismatch problems as seen in #112348.
|
||||
|
||||
*libselinux-1.28 (09 Dec 2005)
|
||||
|
||||
09 Dec 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
-files/libselinux-1.22.diff, -libselinux-1.22-r1.ebuild,
|
||||
+libselinux-1.28.ebuild:
|
||||
New upstream release.
|
||||
|
||||
09 Sep 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.24.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libselinux-1.24 (25 Jun 2005)
|
||||
|
||||
25 Jun 2005; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.20.ebuild,
|
||||
-libselinux-1.22.ebuild, +libselinux-1.24.ebuild:
|
||||
New upstream release.
|
||||
|
||||
13 May 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
libselinux-1.22-r1.ebuild:
|
||||
Mark stable.
|
||||
|
||||
10 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
|
||||
mips stable
|
||||
|
||||
*libselinux-1.22-r1 (08 May 2005)
|
||||
|
||||
08 May 2005; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/libselinux-1.22.diff, +libselinux-1.22-r1.ebuild:
|
||||
A couple fixes, including one for bug #91921.
|
||||
|
||||
01 May 2005; Stephen Bennett <spb@gentoo.org> libselinux-1.22.ebuild:
|
||||
Mark ~mips.
|
||||
|
||||
01 May 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.22.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libselinux-1.22 (13 Mar 2005)
|
||||
|
||||
13 Mar 2005; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.22.ebuild:
|
||||
New upstream release.
|
||||
|
||||
13 Feb 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.20.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libselinux-1.20 (07 Jan 2005)
|
||||
|
||||
07 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.18.ebuild,
|
||||
+libselinux-1.20.ebuild:
|
||||
New upstream release. Mark 1.18 stable.
|
||||
|
||||
03 Jan 2005; Chris PeBenito <pebenito@gentoo.org> libselinux-1.16.ebuild,
|
||||
libselinux-1.18.ebuild:
|
||||
Switch to libc virtual for DEP since uclibc now has xattr support.
|
||||
|
||||
*libselinux-1.18 (14 Nov 2004)
|
||||
|
||||
14 Nov 2004; Chris PeBenito <pebenito@gentoo.org>
|
||||
+files/selinuxconfig.c.diff, +libselinux-1.18.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*libselinux-1.16 (07 Sep 2004)
|
||||
|
||||
07 Sep 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.16.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*libselinux-1.14 (02 Jul 2004)
|
||||
|
||||
02 Jul 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.14.ebuild:
|
||||
New upstream version.
|
||||
|
||||
11 Jun 2004; Chris PeBenito <pebenito@gentoo.org> -libselinux-1.10.ebuild,
|
||||
libselinux-1.12.ebuild:
|
||||
Mark stable
|
||||
|
||||
*libselinux-1.12 (14 May 2004)
|
||||
|
||||
14 May 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.12.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*libselinux-1.10 (17 Apr 2004)
|
||||
|
||||
17 Apr 2004; Chris PeBenito <pebenito@gentoo.org> +libselinux-1.10.ebuild:
|
||||
New upstream version.
|
||||
|
||||
08 Apr 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
|
||||
Mark stable for 2004.1
|
||||
|
||||
*libselinux-1.8 (12 Mar 2004)
|
||||
|
||||
12 Mar 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.8.ebuild:
|
||||
New upstream release.
|
||||
|
||||
*libselinux-1.6 (24 Feb 2004)
|
||||
|
||||
24 Feb 2004; Chris PeBenito <pebenito@gentoo.org> libselinux-1.6.ebuild:
|
||||
New upstream release.
|
||||
|
||||
16 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libselinux-1.4 (06 Dec 2003)
|
||||
|
||||
06 Dec 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.4.ebuild:
|
||||
New upstream version.
|
||||
|
||||
29 Oct 2003; Joshua Brindle <method@gentoo.org> libselinux-1.2-r2.ebuild:
|
||||
added sparc
|
||||
|
||||
*libselinux-1.2-r2 (20 Oct 2003)
|
||||
|
||||
20 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r2.ebuild,
|
||||
files/libselinux-1.2-attr.diff:
|
||||
Compile against sys-apps/attr only if linux-headers are older than 2.4.20.
|
||||
|
||||
*libselinux-1.2-r1 (07 Oct 2003)
|
||||
|
||||
07 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2-r1.ebuild,
|
||||
files/libselinux-1.2-gentoo.diff:
|
||||
Move libraries to /lib, to fix problems with having a separate /usr during
|
||||
booting.
|
||||
|
||||
*libselinux-1.2 (03 Oct 2003)
|
||||
|
||||
03 Oct 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.2.ebuild,
|
||||
files/libselinux-1.2-const.diff:
|
||||
New upstream version.
|
||||
|
||||
22 Sep 2003; <paul@gentoo.org> metadata.xml:
|
||||
Fix metadata.xml
|
||||
|
||||
21 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild:
|
||||
Add a dep for portage. The newer versions have labelling support for the old
|
||||
API.
|
||||
|
||||
18 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
|
||||
metadata.xml:
|
||||
Fix license, this is public-domain, not GPL-2. Use package description in RPM
|
||||
spec file as metadata.xml long description.
|
||||
|
||||
15 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
|
||||
libselinux-1.1-r1.ebuild, files/libselinux-1.0-gentoo.diff:
|
||||
Mark stable
|
||||
|
||||
*libselinux-1.1-r1 (14 Aug 2003)
|
||||
|
||||
14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1-r1.ebuild,
|
||||
libselinux-1.1.ebuild, files/libselinux-1.1-linkfix.diff:
|
||||
Add fix for a random linking problem that causes libselinux to work
|
||||
incorrectly.
|
||||
|
||||
*libselinux-1.1 (14 Aug 2003)
|
||||
|
||||
14 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.1.ebuild,
|
||||
files/libselinux-1.1-gentoo.diff:
|
||||
New upstream version
|
||||
|
||||
04 Aug 2003; Chris PeBenito <pebenito@gentoo.org>
|
||||
files/libselinux-1.0-gentoo.diff:
|
||||
Add on a NSA nullbyte patch to the gentoo patch
|
||||
|
||||
*libselinux-1.0 (03 Aug 2003)
|
||||
|
||||
03 Aug 2003; Chris PeBenito <pebenito@gentoo.org> libselinux-1.0.ebuild,
|
||||
metadata.xml, files/libselinux-1.0-gentoo.diff:
|
||||
Initial commit
|
@ -1,35 +0,0 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
AUX 0005-use-ruby-include-with-rubylibver.patch 634 SHA256 ca87111f9eb48b45b7271f4863ad4fbae99b64fd28a457cb15920250b0ded834 SHA512 6755c06e39a924dacc8cd21e8b56138938b55a54e76baddd2243bb4ec2cb99a92ca9d825f2f789ea84e87b1d795334a6b936e627d45b097ff724f00eb566c118 WHIRLPOOL 76a35b23454c941c32efdb2ed87a3fa3b044929d24acdcec53ab36f7d300bc94d6d8165a7b55483cc26ad21b4415aa47cb1540c07c498d3eeef2717f60a8ec3c
|
||||
AUX 0006-build-related-fixes-bug-500674.patch 2846 SHA256 68084a13ed0366c279e37c6ce24703d0ddcbc46b2b4b88bb8af286b77df4212d SHA512 7eff094adfc4d276e72705735b3f73b2b8a4f78be153db749939cbf6c8df2246cf45d4eda0041696642ae22d3e1715f1fdc8b6351c13eb6003e48043fa38200b WHIRLPOOL dc2b99d5345e21f18de44dc56cb7996c5b567c932e4d3a2e6808a21233f582868333cc0d7c0eb2299b8d71a0cd46d2c0e88bfc6d351211b6374762b7863d72f6
|
||||
DIST libselinux-2.2.2.tar.gz 171013 SHA256 30ab363416806da907b86b97f1d31c252473e3200358bb1570f563c8312b5a3e SHA512 1270cba11ec0795a2cea3706ac5547655d0e65dcd2141932000526f3d0c781b6ae114051b2bb53950b8ef207a318335329280b9fc9fd81796e8e4a27cf6ae841 WHIRLPOOL a444e44225ced35b126bbd2e8924aaf5c9f4da7abb9663d20a32b97babe750245c22d75e2238de0958b73295cf582b8aec39e23312886b96417120c600ed37dc
|
||||
DIST libselinux-2.3.tar.gz 171254 SHA256 0b1e0b43ecd84a812713d09564019b08e7c205d89072b5cbcd07b052cd8e77b2 SHA512 8cfcd20ab0b43ffbb32389e0498b21e43cde643dcdf471a2354f1ca557f11641d250871ed5e71b9dde4c5f47ac1048746fe514f8f6cfad668fa179ed5136e802 WHIRLPOOL e975a391559aca3f8b251d2aa484cf8e344d09caa43ff56dd929e75a0ad195cf8d9a88b950679f589f4deb74aea0d22be4e7ad00b11eacc080288df0b5ac7ccb
|
||||
DIST libselinux-2.4.tar.gz 165931 SHA256 46043091f4c5ba4f43e8d3715f30d665a2d571c9126c1f03945c9ea4ed380f7b SHA512 f7c7ceabcc6ca7bb5cb24fd04b8ea4771af7e509a11ce601fb50d52bd14b291ab6136b7f5193912d02b61b132a2fdd1666f229478598d0b20b99bdea0f5e69d6 WHIRLPOOL d1499818fc885c3bd07785d41466b4ea4bcf56fafe8cbc9bd1a517fe0d2d528b10911fa6df08756ca63aebc411fd69c7f01283685c8a858a81301e203dfd3ec2
|
||||
DIST patchbundle-libselinux-2.2.2-r5.tar.gz 2304 SHA256 ad77f499c05ec3b5707cb9db518a891dd9c84ccb77db07e686c87e5799e1802c SHA512 a01db39a7aade27b0127dd0e2f3185587ff4d913b7b1be7beac36dc2d3e1007de5e6bae8a11bc84567385420fff064ba54892d8e113c8fd54ad3c598dde7648d WHIRLPOOL 5886d9de6fcf073d54ca5e0eac3f8b4754c44382e7044debb223f94ecc81ea0e26b7638037eef17eb6f8ce4cc5046a4bb9f93b9b7767480908ee5b2ced0413ac
|
||||
DIST patchbundle-libselinux-4.tar.gz 2631 SHA256 91bf43c84ce3d3178c8d21fdcf97380a635fa2465d1611fe4e0e3838a586c78c SHA512 bd2f9762f095e3dbc67e77ee04968cb8e87d460fdf10feff91cb1ce6027e19a660bb57617887e44608d39720e8f95500c451c4b284d58c0a756a04b08fa305c2 WHIRLPOOL 07a6a69d33c46c443907aae2ae4f3646a0360565e28d0a50cbcf81f8b5d8c259812d3e086841fc21c2a8104ce9863fc6c9c1d32e28ea08ebc7baf2d45af3509f
|
||||
EBUILD libselinux-2.2.2-r5.ebuild 2525 SHA256 1dd1041a0d3a310b8f9e37996dd8fbcc81f7ebdcde9b2ff6e073f88238493224 SHA512 02044a7244c47a9f36be9b8572f9ac0e992f1e0c68d8a658e2ccaa9d3b6c2d88d63ddae9071517cf011ab572a476847363670728f0a8b2cfd7d259ce95904242 WHIRLPOOL 27e0e4b5955bbd3b5bb217d8013f61fea766531205d9d2d5af431835bf623d0b0d8cb1360a0f7dd55f0cd2c8a2f0451878d1e3c76c9df8d80c12aa3867bbada3
|
||||
EBUILD libselinux-2.3-r2.ebuild 3970 SHA256 967b3f19eee57afc9c5202f391c3ce56b0e02da7e3fe71661a16adfe5bf27d88 SHA512 105767af31686286fdd19dc26a5695c593fa6607b947beff211b4953420afdd7fbca08832bff2a3d27826a1f0c84c4e6c9b0ca2b2a071b590bdc906d63d816bf WHIRLPOOL e50c5e10d69e0ac964572bb2798b6cc8bfa21f84faa2737680798cb38717250ee8eb3b099db8a2bbfadfbb8bdf089af691bcbabc459348cd1df09bde0de987f1
|
||||
EBUILD libselinux-2.4.ebuild 4022 SHA256 08ee10428e7e67ec7163257f01d3fe84960c78ee3bca780ae51ee15b66ecb588 SHA512 9cd6749ed3e4048dc3df8cfd8d2a434b7ffdd8587966df5c1a601582afbce400d1a3e8d5d9af835f81e09b75c9b706550da68019ceb5e9b6afdd1fe77e0ef43c WHIRLPOOL ecc28319c32c64b22c7b2168be6ca542a9d272b4061562b6d00b4cbf9202468a674f6e2c5763afe47504434b7d6c284e859bac53fe0a77662564516e9f2d6b8d
|
||||
EBUILD libselinux-9999.ebuild 4309 SHA256 cf461b2942bd4fddca4c089cd7a6429380b6427820caf9ed1a6ae146a02a31b1 SHA512 99f32876ad848d56e1cdc248583f57cf296689a89cae727e86d03b81dfef83a168f568d10db77d17bd0b9a28c2383d914bf7d6c6a829c83a033bd0f939810c09 WHIRLPOOL cd97fb9b7e3140f226b92bedd49795d462de43bc27ecac934798634d95df17481177fbd2924e2f18be8a407e8cb07c93afe9b06972088b5c49f3549b2f532aed
|
||||
MISC ChangeLog 21667 SHA256 3c8ecd29df3b5dd6b0b751dde592c1be7ad4d3c58fc6abc4ff5ddf1fa0dff484 SHA512 d9599d12aa78d4b97f74d989132b5def6d3ad3f34792457795bea1b3bdc1a06f0532cafb3d932339dbf7576fa68bd2422af1e5f5cccb36f74d0ca09dfc6145e1 WHIRLPOOL e5901ad1fbcf84db8c915e51d56da7f72d3703410113e82cddaf08979bf79a4886a5618cfa922a1f564ad2fb14694e6f46a97b3519a31e33d983f84e2ca414fe
|
||||
MISC metadata.xml 493 SHA256 dca22a8d4937b58859c409d8844957d119d7b67626ad6fb78710cf8f0eb8d746 SHA512 9791ff1b9f5a01451a2e2e2f2abbb21d27e44dfd2663b081e0c06c61172043997cd65ac891da74e9ae90d48ddb06ec41ab69146e584d1eb1d627d84a1b1af58a WHIRLPOOL c458ad5c3943f92d09bd5df029fda4ef436ac34c1d2f2f3597c88de41d9d09c6182c602ca4d0f138cf9ae13b41b6a53ac06a6846fe3356b02be8c881bd6e9f2c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0
|
||||
|
||||
iQJ8BAEBCgBmBQJVfyvsXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
|
||||
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
|
||||
OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiTJEP/Ro3thaEYBwVvkTWO/GQZwQv
|
||||
NxRB9/Jz/8GvK8AYILnWt/k9UyMaVN115t3p/ul/GqJi9qCIgESUXi8BQk9ZZTdi
|
||||
Kbhp4Kc6+c37p0UIQFqndI46cY9pmt3kPgiRqTLGnIik4+pZIi16Q8wt/uFEn+xH
|
||||
KT7YSEGnY48m6BK+I3zkUCmS7Gm9jPIEMPzHlhes+nTapwPlk62RJWEbfrS6eLXY
|
||||
xiXzQvSw/yquULiAL3av4BGgWg7VeZGgXSfpbWa5IOhKUokqDBMGZUH9ymd0OV6M
|
||||
+wZmE0l+6ojBtCj0Ke8HnYQqpwKNaudukSYJerqnr4Lh/MpVUHkaajH3hUavjWij
|
||||
F3JifJ1E3VgA6ay1Q44XSo7bcMgwCy4/Su/cKSr+AdBJaLiwMLpcVat1R+1ih95A
|
||||
W3UeHUXQ40BrHXPUgFNDzpkYh4VONk/m+GSy6b4tPRyJuMDB0HnfE3FoiXPjBzf5
|
||||
dNKznyYV6LZ8hV7ziS4toC2hPS4uEsQZS6ImHfySKOCvuvynf/+r3BtBktIWHI6D
|
||||
jccEpWNwsDGx95JWtqGfQ3+IB3MLeALbsFH2AY2n/HjYiJrUXrgAbz9R/IfFArrn
|
||||
tIaoSI6RDcnHuO8qrjmJstUgwEUBrZ/LNZgrEbQdM7pZkcow8rhctLx/+LCzv0xw
|
||||
GLNreFQ1lB4iUUTR4ko1
|
||||
=rhsU
|
||||
-----END PGP SIGNATURE-----
|
@ -1,12 +0,0 @@
|
||||
diff -uNr libselinux-2.2.2.orig/src/Makefile libselinux-2.2.2/src/Makefile
|
||||
--- libselinux-2.2.2.orig/src/Makefile 2013-11-06 20:56:30.000000000 +0100
|
||||
+++ libselinux-2.2.2/src/Makefile 2013-11-25 21:02:05.327561766 +0100
|
||||
@@ -16,7 +16,7 @@
|
||||
PYLIBDIR ?= $(LIBDIR)/$(PYLIBVER)
|
||||
RUBYLIBVER ?= $(shell $(RUBY) -e 'print RUBY_VERSION.split(".")[0..1].join(".")')
|
||||
RUBYPLATFORM ?= $(shell $(RUBY) -e 'print RUBY_PLATFORM')
|
||||
-RUBYINC ?= $(shell pkg-config --cflags ruby)
|
||||
+RUBYINC ?= $(shell pkg-config --cflags ruby-$(RUBYLIBVER))
|
||||
RUBYINSTALL ?= $(LIBDIR)/ruby/site_ruby/$(RUBYLIBVER)/$(RUBYPLATFORM)
|
||||
LIBBASE ?= $(shell basename $(LIBDIR))
|
||||
|
@ -1,67 +0,0 @@
|
||||
https://bugs.gentoo.org/500674
|
||||
|
||||
random fixes:
|
||||
- make sure PCRE_CFLAGS get used
|
||||
- use PCRE_LIBS via pkg-config
|
||||
- move LDFLAGS to before objects, not after
|
||||
- do not hardcode -L$(LIBDIR) (let the toolchain handle it)
|
||||
- do not hardcode -I$(INCLUDEDIR) (let the toolchain handle it)
|
||||
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -75,7 +75,7 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi
|
||||
-fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const \
|
||||
-Werror -Wno-aggregate-return -Wno-redundant-decls
|
||||
|
||||
-override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $(EMFLAGS)
|
||||
+override CFLAGS += -I../include $(PCRE_CFLAGS) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $(EMFLAGS)
|
||||
|
||||
SWIG_CFLAGS += -Wno-error -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-parameter \
|
||||
-Wno-shadow -Wno-uninitialized -Wno-missing-prototypes -Wno-missing-declarations
|
||||
@@ -104,17 +104,17 @@ $(SWIGRUBYLOBJ): $(SWIGRUBYCOUT)
|
||||
$(CC) $(CFLAGS) $(SWIG_CFLAGS) $(RUBYINC) -fPIC -DSHARED -c -o $@ $<
|
||||
|
||||
$(SWIGSO): $(SWIGLOBJ)
|
||||
- $(CC) $(CFLAGS) -shared -o $@ $< -L. -lselinux $(LDFLAGS) -L$(LIBDIR)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lselinux
|
||||
|
||||
$(SWIGRUBYSO): $(SWIGRUBYLOBJ)
|
||||
- $(CC) $(CFLAGS) -shared -o $@ $^ -L. -lselinux $(LDFLAGS) -L$(LIBDIR)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux
|
||||
|
||||
$(LIBA): $(OBJS)
|
||||
$(AR) rcs $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LIBSO): $(LOBJS)
|
||||
- $(CC) $(CFLAGS) -shared -o $@ $^ -lpcre -ldl $(LDFLAGS) -L$(LIBDIR) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -ldl $(PCRE_LIBS) -Wl,-soname,$(LIBSO),-z,defs,-z,relro
|
||||
ln -sf $@ $(TARGET)
|
||||
|
||||
$(LIBPC): $(LIBPC).in ../VERSION
|
||||
@@ -127,7 +127,7 @@ $(AUDIT2WHYLOBJ): audit2why.c
|
||||
$(CC) $(filter-out -Werror, $(CFLAGS)) $(PYINC) -fPIC -DSHARED -c -o $@ $<
|
||||
|
||||
$(AUDIT2WHYSO): $(AUDIT2WHYLOBJ)
|
||||
- $(CC) $(CFLAGS) -shared -o $@ $^ -L. $(LDFLAGS) -lselinux $(LIBDIR)/libsepol.a -L$(LIBDIR)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lselinux $(LIBDIR)/libsepol.a
|
||||
|
||||
%.o: %.c policy.h
|
||||
$(CC) $(CFLAGS) $(TLSFLAGS) -c -o $@ $<
|
||||
--- a/utils/Makefile
|
||||
+++ b/utils/Makefile
|
||||
@@ -24,11 +24,12 @@ CFLAGS ?= -O -Wall -W -Wundef -Wformat-y2k -Wformat-security -Winit-self -Wmissi
|
||||
-fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const \
|
||||
-Werror -Wno-aggregate-return -Wno-redundant-decls
|
||||
override CFLAGS += -I../include -D_GNU_SOURCE $(EMFLAGS)
|
||||
-LDLIBS += -L../src -lselinux -L$(LIBDIR)
|
||||
+LDLIBS += -L../src -lselinux
|
||||
|
||||
TARGETS=$(patsubst %.c,%,$(wildcard *.c))
|
||||
|
||||
-sefcontext_compile: LDLIBS += -lpcre
|
||||
+sefcontext_compile: CFLAGS += $(PCRE_CFLAGS)
|
||||
+sefcontext_compile: LDLIBS += $(PCRE_LIBS)
|
||||
|
||||
ifeq ($(DISABLE_AVC),y)
|
||||
UNUSED_TARGETS+=compute_av compute_create compute_member compute_relabel
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.2.2-r5.ebuild,v 1.5 2015/04/08 18:28:33 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
SEPOL_VER="2.2"
|
||||
|
||||
DESCRIPTION="SELinux userland library"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz
|
||||
http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${P}-r5.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="python static-libs"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
|
||||
>=dev-libs/libpcre-8.30-r2[static-libs?]
|
||||
python? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
python? ( >=dev-lang/swig-2.0.9 )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_MULTI_MSG="Applying libselinux patches ... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export PKG_CONFIG RANLIB
|
||||
local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
|
||||
local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
|
||||
export PCRE_{CFLAGS,LIBS}
|
||||
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
PYINC="-I${PYTHON_INCLUDEDIR}" \
|
||||
PYTHONLIBDIR="${PYTHON_LIBPATH}" \
|
||||
PYPREFIX="${EPYTHON##*/}" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
pywrap
|
||||
}
|
||||
python_foreach_impl building
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}"/usr/lib*/*.a
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Fix bug 473502
|
||||
for POLTYPE in ${POLICY_TYPES};
|
||||
do
|
||||
mkdir -p /etc/selinux/${POLTYPE}/contexts/files
|
||||
touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local
|
||||
# Fix bug 516608
|
||||
for EXPRFILE in file_contexts file_contexts.homedirs file_contexts.local ; do
|
||||
sefcontext_compile /etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE};
|
||||
done
|
||||
done
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.3-r2.ebuild,v 1.4 2015/04/08 18:28:33 mgorny Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
PATCHBUNDLE="4"
|
||||
|
||||
# No, I am not calling ruby-ng
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
SEPOL_VER="2.3"
|
||||
|
||||
DESCRIPTION="SELinux userland library"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/${MY_P}.tar.gz
|
||||
http://dev.gentoo.org/~swift/patches/${PN}/patchbundle-${PN}-${PATCHBUNDLE}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="python ruby static-libs ruby_targets_ruby19 ruby_targets_ruby20"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libpcre-8.33-r1[static-libs?,${MULTILIB_USEDEP}]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? (
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9 )
|
||||
ruby_targets_ruby20? ( dev-lang/ruby:2.0 )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
python? ( >=dev-lang/swig-2.0.9 )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_MULTI_MSG="Applying libselinux patches ... " \
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_SOURCE="${WORKDIR}/gentoo-patches" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export PKG_CONFIG RANLIB
|
||||
local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
|
||||
local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
|
||||
export PCRE_{CFLAGS,LIBS}
|
||||
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
PYINC="-I${PYTHON_INCLUDEDIR}" \
|
||||
PYTHONLIBDIR="${PYTHON_LIBPATH}" \
|
||||
PYPREFIX="${EPYTHON##*/}" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
pywrap
|
||||
}
|
||||
python_foreach_impl building
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use ruby; then
|
||||
building() {
|
||||
einfo "Calling rubywrap for ${1}"
|
||||
# Clean up .lo file to force rebuild
|
||||
test -f src/selinuxswig_ruby_wrap.lo && rm src/selinuxswig_ruby_wrap.lo
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
RUBY=${1} \
|
||||
RUBYINSTALL=$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]') \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
rubywrap
|
||||
}
|
||||
for RUBYTARGET in ${USE_RUBY}; do
|
||||
use ruby_targets_${RUBYTARGET} || continue
|
||||
|
||||
building ${RUBYTARGET}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
|
||||
python_optimize # bug 531638
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use ruby; then
|
||||
installation() {
|
||||
einfo "Calling install-rubywrap for ${1}"
|
||||
# Forcing (re)build here as otherwise the resulting SO file is used for all ruby versions
|
||||
rm src/selinuxswig_ruby_wrap.lo
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" \
|
||||
RUBY=${1} \
|
||||
RUBYINSTALL="${D}/$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]')" \
|
||||
install-rubywrap
|
||||
}
|
||||
for RUBYTARGET in ${USE_RUBY}; do
|
||||
use ruby_targets_${RUBYTARGET} || continue
|
||||
|
||||
installation ${RUBYTARGET}
|
||||
done
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}"/usr/lib*/*.a
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Fix bug 473502
|
||||
for POLTYPE in ${POLICY_TYPES};
|
||||
do
|
||||
mkdir -p /etc/selinux/${POLTYPE}/contexts/files
|
||||
touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local
|
||||
# Fix bug 516608
|
||||
for EXPRFILE in file_contexts file_contexts.homedirs file_contexts.local ; do
|
||||
sefcontext_compile /etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE};
|
||||
done
|
||||
done
|
||||
}
|
@ -1,142 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-2.4.ebuild,v 1.4 2015/05/10 09:01:52 perfinion Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
# No, I am not calling ruby-ng
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
SEPOL_VER="${PV}"
|
||||
|
||||
DESCRIPTION="SELinux userland library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="python ruby static-libs ruby_targets_ruby19 ruby_targets_ruby20"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libpcre-8.33-r1[static-libs?,${MULTILIB_USEDEP}]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? (
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9 )
|
||||
ruby_targets_ruby20? ( dev-lang/ruby:2.0 )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
python? ( >=dev-lang/swig-2.0.9 )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/0005-use-ruby-include-with-rubylibver.patch"
|
||||
epatch "${FILESDIR}/0006-build-related-fixes-bug-500674.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export PKG_CONFIG RANLIB
|
||||
local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
|
||||
local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
|
||||
export PCRE_{CFLAGS,LIBS}
|
||||
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
PYINC="-I${PYTHON_INCLUDEDIR}" \
|
||||
PYTHONLIBDIR="${PYTHON_LIBPATH}" \
|
||||
PYPREFIX="${EPYTHON##*/}" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
pywrap
|
||||
}
|
||||
python_foreach_impl building
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use ruby; then
|
||||
building() {
|
||||
einfo "Calling rubywrap for ${1}"
|
||||
# Clean up .lo file to force rebuild
|
||||
test -f src/selinuxswig_ruby_wrap.lo && rm src/selinuxswig_ruby_wrap.lo
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
RUBY=${1} \
|
||||
RUBYINSTALL=$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]') \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
rubywrap
|
||||
}
|
||||
for RUBYTARGET in ${USE_RUBY}; do
|
||||
use ruby_targets_${RUBYTARGET} || continue
|
||||
|
||||
building ${RUBYTARGET}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
|
||||
python_optimize # bug 531638
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use ruby; then
|
||||
installation() {
|
||||
einfo "Calling install-rubywrap for ${1}"
|
||||
# Forcing (re)build here as otherwise the resulting SO file is used for all ruby versions
|
||||
rm src/selinuxswig_ruby_wrap.lo
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" \
|
||||
RUBY=${1} \
|
||||
RUBYINSTALL="${D}/$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]')" \
|
||||
install-rubywrap
|
||||
}
|
||||
for RUBYTARGET in ${USE_RUBY}; do
|
||||
use ruby_targets_${RUBYTARGET} || continue
|
||||
|
||||
installation ${RUBYTARGET}
|
||||
done
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}"/usr/lib*/*.a
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Fix bug 473502
|
||||
for POLTYPE in ${POLICY_TYPES};
|
||||
do
|
||||
mkdir -p /etc/selinux/${POLTYPE}/contexts/files
|
||||
touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local
|
||||
# Fix bug 516608
|
||||
for EXPRFILE in file_contexts file_contexts.homedirs file_contexts.local ; do
|
||||
sefcontext_compile /etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE};
|
||||
done
|
||||
done
|
||||
}
|
@ -1,152 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libselinux/libselinux-9999.ebuild,v 1.1 2015/06/09 15:35:39 swift Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
# No, I am not calling ruby-ng
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
SEPOL_VER="${PV}"
|
||||
MY_RELEASEDATE="20150202"
|
||||
|
||||
DESCRIPTION="SELinux userland library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="python ruby static-libs ruby_targets_ruby19 ruby_targets_ruby20"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libpcre-8.33-r1[static-libs?,${MULTILIB_USEDEP}]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
ruby? (
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9 )
|
||||
ruby_targets_ruby20? ( dev-lang/ruby:2.0 )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
python? ( >=dev-lang/swig-2.0.9 )"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
# If needed for live builds, place them in /etc/portage/patches
|
||||
epatch "${FILESDIR}/0005-use-ruby-include-with-rubylibver.patch"
|
||||
epatch "${FILESDIR}/0006-build-related-fixes-bug-500674.patch"
|
||||
fi
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
tc-export PKG_CONFIG RANLIB
|
||||
local PCRE_CFLAGS=$(${PKG_CONFIG} libpcre --cflags)
|
||||
local PCRE_LIBS=$(${PKG_CONFIG} libpcre --libs)
|
||||
export PCRE_{CFLAGS,LIBS}
|
||||
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -pthread" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
PYINC="-I${PYTHON_INCLUDEDIR}" \
|
||||
PYTHONLIBDIR="${PYTHON_LIBPATH}" \
|
||||
PYPREFIX="${EPYTHON##*/}" \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
pywrap
|
||||
}
|
||||
python_foreach_impl building
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use ruby; then
|
||||
building() {
|
||||
einfo "Calling rubywrap for ${1}"
|
||||
# Clean up .lo file to force rebuild
|
||||
test -f src/selinuxswig_ruby_wrap.lo && rm src/selinuxswig_ruby_wrap.lo
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
RUBY=${1} \
|
||||
RUBYINSTALL=$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]') \
|
||||
LDFLAGS="-fPIC ${LDFLAGS} -lpthread" \
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
rubywrap
|
||||
}
|
||||
for RUBYTARGET in ${USE_RUBY}; do
|
||||
use ruby_targets_${RUBYTARGET} || continue
|
||||
|
||||
building ${RUBYTARGET}
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(DESTDIR)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" install-pywrap
|
||||
python_optimize # bug 531638
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
|
||||
if multilib_is_native_abi && use ruby; then
|
||||
installation() {
|
||||
einfo "Calling install-rubywrap for ${1}"
|
||||
# Forcing (re)build here as otherwise the resulting SO file is used for all ruby versions
|
||||
rm src/selinuxswig_ruby_wrap.lo
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" emake DESTDIR="${D}" \
|
||||
RUBY=${1} \
|
||||
RUBYINSTALL="${D}/$(${1} -e 'print RbConfig::CONFIG["vendorarchdir"]')" \
|
||||
install-rubywrap
|
||||
}
|
||||
for RUBYTARGET in ${USE_RUBY}; do
|
||||
use ruby_targets_${RUBYTARGET} || continue
|
||||
|
||||
installation ${RUBYTARGET}
|
||||
done
|
||||
fi
|
||||
|
||||
use static-libs || rm "${D}"/usr/lib*/*.a
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Fix bug 473502
|
||||
for POLTYPE in ${POLICY_TYPES};
|
||||
do
|
||||
mkdir -p /etc/selinux/${POLTYPE}/contexts/files
|
||||
touch /etc/selinux/${POLTYPE}/contexts/files/file_contexts.local
|
||||
# Fix bug 516608
|
||||
for EXPRFILE in file_contexts file_contexts.homedirs file_contexts.local ; do
|
||||
sefcontext_compile /etc/selinux/${POLTYPE}/contexts/files/${EXPRFILE};
|
||||
done
|
||||
done
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>selinux</herd>
|
||||
<longdescription>
|
||||
Libselinux provides an API for SELinux applications to get and set
|
||||
process and file security contexts and to obtain security policy
|
||||
decisions. Required for any applications that use the SELinux API.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">SELinuxProject/selinux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,105 +0,0 @@
|
||||
# ChangeLog for sys-libs/libsemanage
|
||||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
|
||||
# (auto-generated from git log)
|
||||
|
||||
*libsemanage-9999 (09 Aug 2015)
|
||||
*libsemanage-2.4-r1 (09 Aug 2015)
|
||||
*libsemanage-2.3-r4 (09 Aug 2015)
|
||||
*libsemanage-2.2-r2 (09 Aug 2015)
|
||||
|
||||
09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org>
|
||||
+files/0001-libsemanage-do-not-copy-contexts-in-semanage_migrate.patch,
|
||||
+libsemanage-2.2-r2.ebuild, +libsemanage-2.3-r4.ebuild,
|
||||
+libsemanage-2.4-r1.ebuild, +libsemanage-9999.ebuild, +metadata.xml:
|
||||
proj/gentoo: Initial commit
|
||||
|
||||
This commit represents a new era for Gentoo:
|
||||
Storing the gentoo-x86 tree in Git, as converted from CVS.
|
||||
|
||||
This commit is the start of the NEW history.
|
||||
Any historical data is intended to be grafted onto this point.
|
||||
|
||||
Creation process:
|
||||
1. Take final CVS checkout snapshot
|
||||
2. Remove ALL ChangeLog* files
|
||||
3. Transform all Manifests to thin
|
||||
4. Remove empty Manifests
|
||||
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
|
||||
5.1. Do not touch files with -kb/-ko keyword flags.
|
||||
|
||||
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
||||
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration
|
||||
tests
|
||||
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this
|
||||
project
|
||||
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo
|
||||
developer, wrote Git features for the migration
|
||||
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve
|
||||
cvs2svn
|
||||
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
|
||||
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014
|
||||
work in migration
|
||||
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
|
||||
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on
|
||||
the bikeshed
|
||||
|
||||
24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
|
||||
Use https by default
|
||||
|
||||
Convert all URLs for sites supporting encrypted connections from http to
|
||||
https
|
||||
|
||||
Signed-off-by: Justin Lecher <jlec@gentoo.org>
|
||||
|
||||
24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml:
|
||||
Revert DOCTYPE SYSTEM https changes in metadata.xml
|
||||
|
||||
repoman does not yet accept the https version.
|
||||
This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450.
|
||||
|
||||
Bug: https://bugs.gentoo.org/552720
|
||||
|
||||
*libsemanage-2.4-r2 (04 Sep 2015)
|
||||
|
||||
04 Sep 2015; Jason Zaman <perfinion@gentoo.org>
|
||||
+files/0002-libsemanage-Add-policy-binary-and-file_contexts.loca.patch,
|
||||
+files/0003-libsemanage-Add-file_contexts-and-seusers-to-the-sto.patch,
|
||||
+files/0004-libsemanage-save-homedir_template-in-the-policy-stor.patch,
|
||||
+files/0005-libsemanage-store-users_extra-in-the-policy-store.patch,
|
||||
+libsemanage-2.4-r2.ebuild:
|
||||
add patches to fix missing homedir contexts
|
||||
|
||||
Gentoo-Bug: https://bugs.gentoo.org/558686
|
||||
|
||||
Package-Manager: portage-2.2.20.1
|
||||
|
||||
10 Oct 2015; Jason Zaman <perfinion@gentoo.org> libsemanage-2.4-r2.ebuild:
|
||||
Stabilize 2.4-r2
|
||||
|
||||
fixes bug with contexts being empty after some operations
|
||||
|
||||
Package-Manager: portage-2.2.20.1
|
||||
|
||||
21 Dec 2015; Jason Zaman <perfinion@gentoo.org> metadata.xml:
|
||||
migrate selinux herd to project
|
||||
|
||||
Package-Manager: portage-2.2.24
|
||||
|
||||
24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml:
|
||||
Set appropriate maintainer types in metadata.xml (GLEP 67)
|
||||
|
||||
17 Feb 2016; Mike Frysinger <vapier@gentoo.org>
|
||||
+files/libsemanage-2.4-build-paths.patch, libsemanage-2.4-r2.ebuild,
|
||||
libsemanage-9999.ebuild:
|
||||
fix bad -I/-L flag usage
|
||||
|
||||
17 Feb 2016; Mike Frysinger <vapier@gentoo.org> libsemanage-2.4-r2.ebuild,
|
||||
libsemanage-9999.ebuild:
|
||||
improve ROOT handling in pkg_postinst
|
||||
|
||||
Also ignore errors when /etc/selinux/config doesn't exist.
|
||||
|
||||
18 Feb 2016; Mike Frysinger <vapier@gentoo.org> libsemanage-2.4-r2.ebuild,
|
||||
libsemanage-9999.ebuild:
|
||||
selinux: initial arm/arm64/mips support
|
||||
|
@ -1,414 +0,0 @@
|
||||
# ChangeLog for sys-libs/libsemanage
|
||||
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-libs/libsemanage/ChangeLog,v 1.94 2015/06/09 15:36:24 swift Exp $
|
||||
|
||||
*libsemanage-9999 (09 Jun 2015)
|
||||
|
||||
09 Jun 2015; Sven Vermeulen <swift@gentoo.org> +libsemanage-9999.ebuild:
|
||||
Adding libsemanage-9999 to better support upstream integrations
|
||||
|
||||
10 May 2015; Jason Zaman <perfinion@gentoo.org> libsemanage-2.4-r1.ebuild:
|
||||
stabilize selinux 2.4 userland
|
||||
|
||||
09 May 2015; Jason Zaman <perfinion@gentoo.org> -libsemanage-2.4.ebuild:
|
||||
drop broken
|
||||
|
||||
*libsemanage-2.4-r1 (23 Apr 2015)
|
||||
|
||||
23 Apr 2015; Jason Zaman <perfinion@gentoo.org>
|
||||
+files/0001-libsemanage-do-not-copy-contexts-in-semanage_migrate.patch,
|
||||
+libsemanage-2.4-r1.ebuild,
|
||||
-files/0002-semanage_migrate_store-Python3-support.patch:
|
||||
rev bump with migration patch
|
||||
|
||||
18 Apr 2015; Jason Zaman <perfinion@gentoo.org> -libsemanage-2.3-r3.ebuild,
|
||||
-libsemanage-2.4_rc6-r2.ebuild, -libsemanage-2.4_rc7.ebuild:
|
||||
Drop old RCs
|
||||
|
||||
08 Apr 2015; Michał Górny <mgorny@gentoo.org> libsemanage-2.2-r2.ebuild,
|
||||
libsemanage-2.3-r3.ebuild, libsemanage-2.3-r4.ebuild, libsemanage-2.4.ebuild,
|
||||
libsemanage-2.4_rc6-r2.ebuild, libsemanage-2.4_rc7.ebuild:
|
||||
Drop old Python implementations
|
||||
|
||||
*libsemanage-2.4 (04 Feb 2015)
|
||||
|
||||
04 Feb 2015; Jason Zaman <perfinion@gentoo.org> +libsemanage-2.4.ebuild:
|
||||
Version bump
|
||||
|
||||
26 Jan 2015; Agostino Sarubbo <ago@gentoo.org> libsemanage-2.3-r4.ebuild:
|
||||
Stable for x86, wrt bug #535684
|
||||
|
||||
22 Jan 2015; Agostino Sarubbo <ago@gentoo.org> libsemanage-2.3-r4.ebuild:
|
||||
Stable for amd64, wrt bug #535684
|
||||
|
||||
*libsemanage-2.4_rc7 (06 Dec 2014)
|
||||
|
||||
06 Dec 2014; Jason Zaman <perfinion@gentoo.org> +libsemanage-2.4_rc7.ebuild,
|
||||
-libsemanage-2.3-r2.ebuild, -libsemanage-2.4_rc2.ebuild,
|
||||
-libsemanage-2.4_rc5.ebuild, -libsemanage-2.4_rc6-r1.ebuild,
|
||||
-libsemanage-2.4_rc6.ebuild:
|
||||
version bump and ebuild clean up, drop old RC
|
||||
|
||||
*libsemanage-2.3-r4 (04 Dec 2014)
|
||||
|
||||
04 Dec 2014; Jason Zaman <perfinion@gentoo.org> +libsemanage-2.3-r4.ebuild,
|
||||
libsemanage-2.4_rc6-r2.ebuild:
|
||||
Call python_optimize, bug 531638
|
||||
|
||||
*libsemanage-2.4_rc6-r2 (27 Nov 2014)
|
||||
|
||||
27 Nov 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.4_rc6-r2.ebuild:
|
||||
Migrate store as soon as possible, but do not reload policy (bug 530864)
|
||||
|
||||
*libsemanage-2.4_rc6-r1 (22 Nov 2014)
|
||||
|
||||
22 Nov 2014; Jason Zaman <perfinion@gentoo.org>
|
||||
+files/0002-semanage_migrate_store-Python3-support.patch,
|
||||
+libsemanage-2.4_rc6-r1.ebuild:
|
||||
python3 support for semanage_migrate_store. bug 529252
|
||||
|
||||
*libsemanage-2.4_rc6 (14 Nov 2014)
|
||||
|
||||
14 Nov 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.4_rc6.ebuild:
|
||||
Bump to rc6, add python3_4 to PYTHON_COMPAT (fixes bug 529176); rc6 also fixes
|
||||
unconfined issue when USE=-unconfined is set
|
||||
|
||||
01 Nov 2014; Sven Vermeulen <swift@gentoo.org> libsemanage-2.3-r3.ebuild:
|
||||
Stabilize libsemanage-2.3-r3 (fix for bug #520608)
|
||||
|
||||
*libsemanage-2.4_rc5 (29 Oct 2014)
|
||||
|
||||
29 Oct 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.4_rc5.ebuild,
|
||||
-libsemanage-2.4_rc4.ebuild:
|
||||
Bump to 2.4_rc5
|
||||
|
||||
*libsemanage-2.4_rc4 (07 Oct 2014)
|
||||
|
||||
07 Oct 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.4_rc4.ebuild:
|
||||
Bump to 2.4-rc4
|
||||
|
||||
*libsemanage-2.4_rc2 (21 Sep 2014)
|
||||
|
||||
21 Sep 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.4_rc2.ebuild,
|
||||
libsemanage-2.3-r2.ebuild, libsemanage-2.3-r3.ebuild:
|
||||
Noved to github; also add in masked 2.4 series
|
||||
|
||||
16 Sep 2014; Brian Dolbec <dolsen@gentoo.org> libsemanage-2.3-r3.ebuild:
|
||||
Add python-3.4 target. Tested and confirmed working by perfinion.
|
||||
|
||||
*libsemanage-2.3-r3 (23 Aug 2014)
|
||||
|
||||
23 Aug 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.3-r3.ebuild:
|
||||
Fix bug #520608 - Install .so in correct multilib location
|
||||
|
||||
05 Aug 2014; Sven Vermeulen <swift@gentoo.org> -libsemanage-2.2.ebuild,
|
||||
-libsemanage-2.3-r1.ebuild, -libsemanage-2.3.ebuild:
|
||||
Remove obsoleted ebuilds
|
||||
|
||||
05 Aug 2014; Sven Vermeulen <swift@gentoo.org> libsemanage-2.2-r2.ebuild:
|
||||
Stabilize latest libsemanage-2.2
|
||||
|
||||
30 Jul 2014; Sven Vermeulen <swift@gentoo.org> libsemanage-2.3-r2.ebuild:
|
||||
Fix bug #514194 - Stabilization of SELinux userspace 2.3
|
||||
|
||||
18 Jun 2014; Michał Górny <mgorny@gentoo.org> libsemanage-2.3-r2.ebuild:
|
||||
Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug
|
||||
#513718.
|
||||
|
||||
*libsemanage-2.3-r2 (02 Jun 2014)
|
||||
|
||||
02 Jun 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.3-r2.ebuild:
|
||||
Update multilib support in libsemanage with thanks to Arfrever
|
||||
|
||||
*libsemanage-2.3-r1 (01 Jun 2014)
|
||||
|
||||
01 Jun 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.3-r1.ebuild:
|
||||
Fixing multilib support (bug #506460) with thanks to Sven Eden. Package has
|
||||
dep on audit-2.2.2 which is p.masked so added same package to p.mask combo
|
||||
|
||||
10 May 2014; Sven Vermeulen <swift@gentoo.org> -libsemanage-2.1.10.ebuild,
|
||||
-libsemanage-2.2-r1.ebuild, -libsemanage-2.3_rc1.ebuild:
|
||||
Spring cleanup
|
||||
|
||||
*libsemanage-2.3 (09 May 2014)
|
||||
|
||||
09 May 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.3.ebuild:
|
||||
Bump to 2.3
|
||||
|
||||
*libsemanage-2.3_rc1 (28 Apr 2014)
|
||||
|
||||
28 Apr 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.3_rc1.ebuild:
|
||||
2.3-rc1 release
|
||||
|
||||
*libsemanage-2.2-r2 (23 Mar 2014)
|
||||
|
||||
23 Mar 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.2-r2.ebuild:
|
||||
Fix bug #502078 - have SHLIBS use PREFIX, not DESTDIR
|
||||
|
||||
02 Feb 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.2-r1.ebuild:
|
||||
Support multilib
|
||||
|
||||
*libsemanage-2.2-r1 (02 Feb 2014)
|
||||
|
||||
02 Feb 2014; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.2-r1.ebuild:
|
||||
Removing ruby support for libsemanage for now (libselinux has it removed as
|
||||
we)
|
||||
|
||||
01 Feb 2014; Sven Vermeulen <swift@gentoo.org> libsemanage-2.2.ebuild:
|
||||
Adding python3_3 to supported Pythons, see bug #499606
|
||||
|
||||
20 Jan 2014; Sven Vermeulen <swift@gentoo.org> libsemanage-2.2.ebuild:
|
||||
Fix bug #497754 - Add in dep on virtual/pgkconfig
|
||||
|
||||
20 Jan 2014; Sven Vermeulen <swift@gentoo.org> libsemanage-2.2.ebuild:
|
||||
Stabilize for amd64 and x86
|
||||
|
||||
23 Dec 2013; Sven Vermeulen <swift@gentoo.org> -libsemanage-2.1.9.ebuild:
|
||||
Cleanup old version
|
||||
|
||||
10 Nov 2013; Sven Vermeulen <swift@gentoo.org> libsemanage-2.2.ebuild:
|
||||
Adding dependency to audit (bug #490488)
|
||||
|
||||
*libsemanage-2.2 (04 Nov 2013)
|
||||
|
||||
04 Nov 2013; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.2.ebuild:
|
||||
New libsemanage release
|
||||
|
||||
07 Jul 2013; Sven Vermeulen <swift@gentoo.org> -libsemanage-2.1.6.ebuild,
|
||||
-libsemanage-2.1.6-r2.ebuild:
|
||||
Summer cleaning
|
||||
|
||||
16 Jun 2013; Sven Vermeulen <swift@gentoo.org> libsemanage-2.1.10.ebuild:
|
||||
Stabilization
|
||||
|
||||
*libsemanage-2.1.10 (25 Apr 2013)
|
||||
|
||||
25 Apr 2013; Sven Vermeulen <swift@gentoo.org> +libsemanage-2.1.10.ebuild:
|
||||
New upstream release
|
||||
|
||||
07 Feb 2013; Sven Vermeulen <swift@gentoo.org> libsemanage-2.1.9.ebuild:
|
||||
Python 2.6 is not supported with libsemanage, see bug #445216
|
||||
|
||||
17 Nov 2012; <swift@gentoo.org> libsemanage-2.1.9.ebuild:
|
||||
Stabilization
|
||||
|
||||
13 Oct 2012; <swift@gentoo.org> libsemanage-2.1.9.ebuild:
|
||||
Supporting user-provided patches using epatch_user
|
||||
|
||||
*libsemanage-2.1.9 (09 Oct 2012)
|
||||
|
||||
09 Oct 2012; <swift@gentoo.org> +libsemanage-2.1.9.ebuild:
|
||||
Introduce new upstream version
|
||||
|
||||
26 Jun 2012; Mike Gilbert <floppym@gentoo.org> libsemanage-2.1.6-r2.ebuild,
|
||||
libsemanage-2.1.6.ebuild:
|
||||
Restrict pypy per Arfrever.
|
||||
|
||||
*libsemanage-2.1.6-r2 (25 Jun 2012)
|
||||
|
||||
25 Jun 2012; <swift@gentoo.org> +libsemanage-2.1.6-r2.ebuild:
|
||||
Fix python3 support
|
||||
|
||||
13 May 2012; <swift@gentoo.org> -libsemanage-2.1.0.ebuild:
|
||||
Removing obsoleted ebuild
|
||||
|
||||
29 Apr 2012; <swift@gentoo.org> libsemanage-2.1.6.ebuild:
|
||||
Stabilization
|
||||
|
||||
05 Apr 2012; <swift@gentoo.org> libsemanage-2.1.0.ebuild,
|
||||
libsemanage-2.1.6.ebuild:
|
||||
Depending on swig-2.0.4-r1 to fix build failures as per bug #409959
|
||||
|
||||
*libsemanage-2.1.6 (31 Mar 2012)
|
||||
|
||||
31 Mar 2012; <swift@gentoo.org> +libsemanage-2.1.6.ebuild:
|
||||
Bump to version 2.1.6
|
||||
|
||||
12 Nov 2011; <swift@gentoo.org> -libsemanage-2.0.45.ebuild,
|
||||
-libsemanage-2.0.46.ebuild:
|
||||
Remove deprecated ebuilds
|
||||
|
||||
23 Oct 2011; <swift@gentoo.org> libsemanage-2.1.0.ebuild:
|
||||
Stabilization (tracker #384231)
|
||||
|
||||
17 Sep 2011; <swift@gentoo.org> libsemanage-2.0.45.ebuild,
|
||||
libsemanage-2.0.46.ebuild:
|
||||
Adding dependencies on bison and flex as per bug #382583
|
||||
|
||||
17 Sep 2011; <swift@gentoo.org> libsemanage-2.1.0.ebuild:
|
||||
Add dependency for flex and bison
|
||||
|
||||
12 Aug 2011; Anthony G. Basile <blueness@gentoo.org> ChangeLog:
|
||||
Fix failed gpg signing of Manifest
|
||||
|
||||
12 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
-libsemanage-2.0.27.ebuild, -libsemanage-2.0.33.ebuild,
|
||||
-libsemanage-2.0.33-r1.ebuild, -files/libsemanage-2.0.33-bzip.diff:
|
||||
Removed deprecated versions
|
||||
|
||||
*libsemanage-2.1.0 (03 Aug 2011)
|
||||
|
||||
03 Aug 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+libsemanage-2.1.0.ebuild:
|
||||
Bump to 20110727 SELinux userspace release
|
||||
|
||||
*libsemanage-2.0.46 (15 Jul 2011)
|
||||
|
||||
15 Jul 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+libsemanage-2.0.46.ebuild:
|
||||
Bump to 2.0.46 - proxy for SwifT
|
||||
|
||||
30 Jun 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
libsemanage-2.0.45.ebuild:
|
||||
Only build libsemanage for python-2, fixes bug #369089
|
||||
|
||||
28 May 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
libsemanage-2.0.27.ebuild, libsemanage-2.0.33.ebuild:
|
||||
Make RDEPEND explicit
|
||||
|
||||
28 May 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
libsemanage-2.0.45.ebuild:
|
||||
Stable amd64 x86
|
||||
|
||||
13 Feb 2011; Anthony G. Basile <blueness@gentoo.org> metadata.xml:
|
||||
Updated metadata.xml to reflect new selinux herd.
|
||||
|
||||
06 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
libsemanage-2.0.45.ebuild:
|
||||
Add "python" and "ruby" USE flags.
|
||||
|
||||
05 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
libsemanage-2.0.45.ebuild:
|
||||
Set SUPPORT_PYTHON_ABIS (bug #353764). Respect AR and CC.
|
||||
|
||||
*libsemanage-2.0.45 (05 Feb 2011)
|
||||
|
||||
05 Feb 2011; Anthony G. Basile <blueness@gentoo.org>
|
||||
+libsemanage-2.0.45.ebuild:
|
||||
New upstream release.
|
||||
|
||||
16 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
|
||||
libsemanage-2.0.27.ebuild, libsemanage-2.0.33.ebuild,
|
||||
libsemanage-2.0.33-r1.ebuild:
|
||||
Delete calls to deprecated python_version().
|
||||
|
||||
*libsemanage-2.0.33-r1 (24 Aug 2009)
|
||||
|
||||
24 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsemanage-2.0.33-r1.ebuild, +files/libsemanage-2.0.33-bzip.diff:
|
||||
Add patch to make bzip2 compression configurable.
|
||||
|
||||
03 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
libsemanage-2.0.33.ebuild:
|
||||
Fix libsepol dependency.
|
||||
|
||||
02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
libsemanage-2.0.27.ebuild, libsemanage-2.0.33.ebuild:
|
||||
Add python_need_rebuild to libsemanage.
|
||||
|
||||
*libsemanage-2.0.33 (02 Aug 2009)
|
||||
|
||||
02 Aug 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsemanage-2.0.33.ebuild:
|
||||
New upstream release.
|
||||
|
||||
18 Jul 2009; Chris PeBenito <pebenito@gentoo.org>
|
||||
-libsemanage-1.10.9.ebuild, libsemanage-2.0.27.ebuild:
|
||||
Mark stable. Remove old ebuilds.
|
||||
|
||||
*libsemanage-2.0.27 (03 Oct 2008)
|
||||
|
||||
03 Oct 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsemanage-2.0.27.ebuild:
|
||||
Initial commit of 2.0 libsemanage.
|
||||
|
||||
10 Sep 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
libsemanage-1.10.9.ebuild:
|
||||
Tests cannot be run in the ebuild, they are supposed to be ran on the full
|
||||
SELinux userland repo.
|
||||
|
||||
29 May 2008; Ali Polatel <hawking@gentoo.org> libsemanage-1.10.9.ebuild:
|
||||
python_mod_optimize is ROOT aware. Fixed python_mod_cleanup.
|
||||
|
||||
26 May 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
libsemanage-1.10.9.ebuild:
|
||||
Fix libsepol dependency.
|
||||
|
||||
13 May 2008; Chris PeBenito <pebenito@gentoo.org> -libsemanage-1.4.ebuild,
|
||||
-libsemanage-1.6.ebuild, -libsemanage-1.10.0.ebuild,
|
||||
-libsemanage-1.10.5.ebuild, libsemanage-1.10.9.ebuild:
|
||||
Mark 1.10.9 stable, clear old ebuilds.
|
||||
|
||||
*libsemanage-1.10.9 (29 Jan 2008)
|
||||
|
||||
29 Jan 2008; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsemanage-1.10.9.ebuild:
|
||||
New upstream bugfix release.
|
||||
|
||||
*libsemanage-1.10.5 (18 Oct 2007)
|
||||
|
||||
18 Oct 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsemanage-1.10.5.ebuild:
|
||||
New upstream release.
|
||||
|
||||
04 Jun 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
libsemanage-1.10.0.ebuild:
|
||||
Mark stable.
|
||||
|
||||
*libsemanage-1.10.0 (15 Feb 2007)
|
||||
|
||||
15 Feb 2007; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsemanage-1.10.0.ebuild:
|
||||
New upstream release.
|
||||
|
||||
09 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
libsemanage-1.6.17-r1.ebuild:
|
||||
Stable to make repoman happy.
|
||||
|
||||
*libsemanage-1.6.17-r1 (08 Oct 2006)
|
||||
|
||||
08 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
-libsemanage-1.6.17.ebuild, +libsemanage-1.6.17-r1.ebuild:
|
||||
Install semanage.conf since this is masked on example policy-based profiles.
|
||||
|
||||
*libsemanage-1.6.17 (05 Oct 2006)
|
||||
|
||||
05 Oct 2006; Chris PeBenito <pebenito@gentoo.org>
|
||||
+libsemanage-1.6.17.ebuild:
|
||||
Add SVN snapshot.
|
||||
|
||||
31 Jul 2006; Chris PeBenito <pebenito@gentoo.org> libsemanage-1.6.ebuild:
|
||||
Mark stable, long overdue.
|
||||
|
||||
27 Apr 2006; Alec Warner <antarus@gentoo.org>
|
||||
files/digest-libsemanage-1.4, Manifest:
|
||||
Fixing SHA256 digest, pass four
|
||||
|
||||
*libsemanage-1.6 (18 Mar 2006)
|
||||
|
||||
18 Mar 2006; Chris PeBenito <pebenito@gentoo.org> +libsemanage-1.6.ebuild:
|
||||
New upstream release.
|
||||
|
||||
22 Feb 2006; Stephen Bennett <spb@gentoo.org> libsemanage-1.4.ebuild:
|
||||
Alpha stable
|
||||
|
||||
19 Feb 2006; Joshua Kinard <kumba@gentoo.org> libsemanage-1.4.ebuild:
|
||||
Marked stable on mips.
|
||||
|
||||
09 Feb 2006; Chris PeBenito <pebenito@gentoo.org> libsemanage-1.4.ebuild:
|
||||
Set python version to fix compiles on non 2.4 pythons.
|
||||
|
||||
17 Jan 2006; Chris PeBenito <pebenito@gentoo.org> libsemanage-1.4.ebuild:
|
||||
Mark stable, x86, amd64, ppc, sparc.
|
||||
|
||||
14 Jan 2006; Stephen Bennett <spb@gentoo.org> libsemanage-1.4.ebuild:
|
||||
Added ~alpha
|
||||
|
||||
15 Dec 2005; Chris PeBenito <pebenito@gentoo.org> libsemanage-1.4.ebuild:
|
||||
Tighten up versioning to try to prevent mismatch problems as seen in #112348.
|
||||
|
||||
*libsemanage-1.4 (09 Dec 2005)
|
||||
|
||||
09 Dec 2005; Chris PeBenito <pebenito@gentoo.org> +metadata.xml,
|
||||
+libsemanage-1.4.ebuild:
|
||||
Initial commit.
|
@ -1,17 +0,0 @@
|
||||
AUX 0001-libsemanage-do-not-copy-contexts-in-semanage_migrate.patch 7190 SHA256 5746fe5b4f85bb2ca4fdd50b29de98a8561c6a88e66dfb067c3e393eb1399b4d SHA512 ad9923ccad7a0d975b850eaeb5a801b3f933c0a26112226fa19112dd8aa07de9766845dfec44680799a577175c3a564e9c222f7b0968871fd1f69c3140ab569b WHIRLPOOL dda70c907d5ec766886f08e43da0a417ac67652f1682e629c06ce175f37d3db63e9ab257874435a26f4bc1ae7436421a5414b89b997f181a4ff9fe6434c77a2d
|
||||
AUX 0002-libsemanage-Add-policy-binary-and-file_contexts.loca.patch 11042 SHA256 2b8cac510621efcfeacc0f59d89cd471b9b248d2d9fe455bcf9b9af2a94e9fb8 SHA512 6537ea1d3d9eee3882b26e29271068a72a0c0e7812ac85393e95164a71fb94e441fcd5e49020470ee5e5f8e308ecfe8d66abf0cd3f956124a4692312d50807b3 WHIRLPOOL 3bb3c108ea673b80704ed957f774c71a6ae6239595f2387abfee8c7612b79d8be94aad9431aced93d655c3402149109dbb9faf0d2df534b5b67f5cfa7ad63176
|
||||
AUX 0003-libsemanage-Add-file_contexts-and-seusers-to-the-sto.patch 8839 SHA256 3ec6094a5395774ee737400698bbccf49ab6cc48999b37765de0565e78006534 SHA512 5b597efb663a1c1b736a6da43b29831bd49ae59be60939691c16d2a167730b809f9b61d25ac36e29faa97dd4efeaa8b2ea9189f8afecf3a7a8eb8289ca892b9f WHIRLPOOL 7d675e98c7e2ecea1c4ec40ccbd8f90970b282b969cf1786fdff84007b4c987e13adff42705c4a5bb6a3b7906acae785335c6d50fd1192860a6f71a82445b610
|
||||
AUX 0004-libsemanage-save-homedir_template-in-the-policy-stor.patch 2163 SHA256 0491b38cd5c31b204e46459527e35d94827e7c787eefe76daf6096b2989abd70 SHA512 ca844ad1720868ab695a365a9cd3e0c18bc47366761719c7fbbfd154cd40d0652a86d4f11eceb231ce855825c844f37b23afd2f6ffb0d2403ee33e9945a24aac WHIRLPOOL 77601baba57c58c9da52544753e58f19ba11f3aeb7edbeec7c475d7bf626044d7e09b3cb1bcc62bfbf648fe8a41dac58452dc1a82dc0e271351e3ac17cac7385
|
||||
AUX 0005-libsemanage-store-users_extra-in-the-policy-store.patch 2057 SHA256 f8fc94ca7cf650093e0197359a450dfd8d79fdae45f6158504ea6f50b417abe1 SHA512 be33c38bea905209ab32da082711a25ffe07fbf3de22167a16582b2527526099449c466e340de4c3a56959d68ebf6db676382bd392698f672d7cbc5d3d3d211c WHIRLPOOL a8c64b41f299cbe5791f747bbda50d4d2246af733cf9bac34ab285b4ca50dfbd7c54f23675e01e02120562bb0cd1573df254d09ad0cfb1b35a2637f06e18d5af
|
||||
AUX libsemanage-2.4-build-paths.patch 1322 SHA256 2c0b7a433b450a1af1fe700be31b64add02694fb5b850dcee859a140320be697 SHA512 dc667b90503847702c80e456549c2d4f94b6e4aa56d0babcb15dfd16a8f0f77db6807858eb8ddd204af8856bdcff0e34fb23f77f88b37a02f74f823d97dafb61 WHIRLPOOL 8fc48dc15f123d5001b5ee96be8b86a9c28f55d682db4d4aa495ccd1c3edf5774b318fa93036024fb1bed7d10c7cfa52cbbf7c4ea70d854a177d487a3478212b
|
||||
DIST libsemanage-2.2.tar.gz 138208 SHA256 11f60bfa0f1c6063cd9bd99ce0cb4acc9d6d9e9b8d7743d39e847bcd7803bd75 SHA512 09032b1b322fec7346164939ade118034812cb538ebc72121640d4ac5c89d2a66b59caa465027cfbebb590dee039a26d4345eafedf365d7f6ad0b5e90377d50f WHIRLPOOL 49170c5ee9ff57dcc4a15aa72386f37993f76436f0da25808c60dab2d03ba52932d0d4fa753c326900d83d2fae30f8bcf659251f17327783f2e2be3deb4842f4
|
||||
DIST libsemanage-2.3.tar.gz 138231 SHA256 03e09e35e611c286e446bef92b6023ef2623815996f5a53394bb02e49a312e4b SHA512 defe3bbdbe51abdaa13a39f693c33446d8a1a8509ac1eb25c7770da2df6487bcb0ca31259d02b4531d4c81db5e221e94e95bec97f6a1a155e1de2f65e6f0da34 WHIRLPOOL 943d4d300aa8ad49c411b10b41c0c3e751c46dbcbbe129bdd1d2e975e231c58391d6ecdee6b27699fff9f6e6facf5b48fc8d57c2ff68692694c7de430750fac9
|
||||
DIST libsemanage-2.4.tar.gz 151173 SHA256 1a4cace4ef16786531ec075c0e7b2f961e2fee5dc86c5f983a689058899a6484 SHA512 54f993253b22207b053daf4d34e72c65c72279866416089b6c0f047ef77bca3e307eac0ce6dfe40bd14e2e47e79841b358d5607501779f38d9b5f7c35f3b7729 WHIRLPOOL 7303c06515ed59b5756a87d08aff07671e51d26ce9fa452ca75643dd0ce4658571dc69d86434c943d691a4ab0d90cbdccdaa27e5aaec5fdf8057cf2d5d30631e
|
||||
EBUILD libsemanage-2.2-r2.ebuild 3087 SHA256 220e52e62caa7cc9e471c9138f2fa323824948a661f27af7ab2df28303cd1595 SHA512 3c77b723a72eae33084ef2205d368707f77479889df640fb4de0b41edd5aaa13d19f7180bc058fb5dc89d86475ef9b896396741a51365c2cba889a90f767ee5d WHIRLPOOL 78195b55c58444efb4d31204cd8e6fc6fdaafc70929cff4921c6927256986aba0f213abd9210b56dd04158f1f88ae514dc5bc3beb1fb09aa3e380b50730beb55
|
||||
EBUILD libsemanage-2.3-r4.ebuild 3446 SHA256 aab0dcacf8b625fe3c8911ff25a730668e5c0eaa0f81480a8002e739b235be46 SHA512 c9ee98a0f09ae07fa6cc7303125fa9238652b44a18a46f1c0a90a0030a83cbfb11b82a6a6bcd7e1187bcbac447d8cff3289e6e0ceaf0543f67e22a4ceed33383 WHIRLPOOL 0c1cae9d29af978acaef1316e5b7c5f369d6f5631fb3d8de44f68e7cf2a7da732f1cf749b3009b7dcb4f488e650b61d8e9fd8019c0c602b1262dea81fa199707
|
||||
EBUILD libsemanage-2.4-r1.ebuild 4561 SHA256 1dcb6f99c02dde224171c0ced2e4396b61489fd007c2ef02ac2a3dbe2cf29be2 SHA512 edd3612e2f26fc26dcad3e55736ff9c769875c6f3e83fc361b6c7d993698875523970bc7b15749c5f1223d7228c4067b92249d02e705f7affcac77a8547e216d WHIRLPOOL a9c7eb7e2d9ade49be9fb37d8dc4748265632f2ac7e0309366e42f0c30973c4100f66339a041aecaee2595bf9bd6cc73c5287955058ef01151a31d090aa755a8
|
||||
EBUILD libsemanage-2.4-r2.ebuild 4986 SHA256 7a3b685213f8862a583904dad20d5111ffdde327e71be07439f52a39e465bcfc SHA512 c72cda7c1e450ff4f5f7f1f61a44fc15db13d45ebd4941ad66d4cfb2b5ba0a5cd77e51ee2848e5876d5cb598fbd1e45a1cd72b67b2a276447fa44060da2fd0b9 WHIRLPOOL 68163b67c7933cf54aa959f0453921020ff098c6023220ec5198589aa12af001ccb17b19efa0b3b864fdb326c25b3003f126b980e3bbb82b112bce846e1c1d92
|
||||
EBUILD libsemanage-9999.ebuild 4938 SHA256 d55d959b381ce0a455bf2acaea8de1e02c3c3205827be866d7429b0a25c30b76 SHA512 9aea270542082fa5f4bddc3d334b28b4e176fec25c20b5aca4c55c5fcbec0f4c0fb491afee0a7e70d5560a184b9d0e1bc853a6feb9c0cc73e145d67da0e81c68 WHIRLPOOL 164192695ec874d7f5de3a7cc8d3ae03186033508023aa9dc0bd670307f75a2de3ac9c3d1e4acbaa47c505939a5612227a8643ad4810f16371cfe0d4964305dc
|
||||
MISC ChangeLog 3845 SHA256 e5844bbeed53d655be76d3fbb7f53090e8506f01a20df0e27ef152cd5903a2cc SHA512 9fc9fe8974752bc7ad4e5738ce3c412b2eaeb9f8fd6f12d24306d46dafa1b3cc653c6eccae84aaa6b647618401da5f7be6660330a23f3ec84754687432fe67e9 WHIRLPOOL 1a355df35f1979007dea881b8ba4a0d3cfbe5c73e2d4c3d4aeb8cbc4f08af861327abde728fdd2c885d0c6510bfa6749fd623b350340417ecfc93c078ce4f413
|
||||
MISC ChangeLog-2015 13938 SHA256 d7938bb036a37dc37a0d2654be04c655b30cf54cb8c4f019e4f6549ffe3179da SHA512 e006775684003b4a7bd9e77f9fdf173bc1402e3cf05aad684b2e31c1942e8d2a268e7ffa19164a94e04e07f7977c1fdefbaaabf021f4ea4e6e8e8e463f69be3c WHIRLPOOL e87415fff3ee0136db7905a45881fdeed6a46b5dbbbf487fc62adba321a99f747f4eb5c549feb8093ffa22bc8369a60e5370638674a4db2c0aa2a4c020cf4230
|
||||
MISC metadata.xml 406 SHA256 0209a41b2fe792b837de815e5e6b2a34fd06890b015a0cb578961d4c63b50381 SHA512 742aba47cdd9ad8f97fcb03a01cc2552c6e1d715f6b717c9dff2ae86ab34b850745888e4f2e3963ec2c258cf16a33cb161205f4ea72563446eada82f6c298479 WHIRLPOOL e00029ce45c8ffa5247ab3a4bcd7afc3f36e4d4a61038ec2075bba0e984cbe6a68a2ffe79a7aee9b3954bbabce5c985376889ce9187613f32bf898bb3300a59b
|
@ -1,208 +0,0 @@
|
||||
From 9caebebd598de737f27cdc8d5253a2cebd67d5a9 Mon Sep 17 00:00:00 2001
|
||||
From: Jason Zaman <jason@perfinion.com>
|
||||
Date: Wed, 22 Apr 2015 18:27:09 +0400
|
||||
Subject: [PATCH] libsemanage: do not copy contexts in semanage_migrate_store
|
||||
|
||||
The modules from the old store were previously copied to the new one
|
||||
using setfscreatecon and shutil.copy2(). Now that refpolicy has rules
|
||||
about the new policy location[1], copying the contexts is redundant.
|
||||
|
||||
More importantly, the setcreatefscon caused a constraint violation[2]
|
||||
which made the migration fail. In python3, shutil.copy2() copies xattrs
|
||||
as well which again causes problems. shutil.copy() is enough for our
|
||||
needs here as it will copy the file and permissions in both py2 and 3.
|
||||
We do not need the extra things that copy2() does (mtime, xattr, etc).
|
||||
|
||||
[1] http://oss.tresys.com/pipermail/refpolicy/2014-December/007511.html
|
||||
|
||||
[2]
|
||||
type=AVC msg=audit(1429438272.872:1869): avc: denied { create } for pid=28739 comm="semanage_migrat" name="strict" scontext=staff_u:sysadm_r:semanage_t tcontext=system_u:object_r:semanage_store_t tclass=dir permissive=0
|
||||
constrain dir { create relabelfrom relabelto } ((u1 == u2 -Fail-) or (t1 == can_change_object_identity -Fail-) ); Constraint DENIED
|
||||
allow semanage_t semanage_store_t:dir create;
|
||||
|
||||
Signed-off-by: Jason Zaman <jason@perfinion.com>
|
||||
---
|
||||
libsemanage/utils/semanage_migrate_store | 77 ++++++++------------------------
|
||||
1 file changed, 18 insertions(+), 59 deletions(-)
|
||||
|
||||
diff --git a/libsemanage/utils/semanage_migrate_store b/libsemanage/utils/semanage_migrate_store
|
||||
index 03b492e..2f85e9c 100755
|
||||
--- a/libsemanage/utils/semanage_migrate_store
|
||||
+++ b/libsemanage/utils/semanage_migrate_store
|
||||
@@ -8,7 +8,6 @@ import shutil
|
||||
import sys
|
||||
from optparse import OptionParser
|
||||
|
||||
-import bz2
|
||||
import ctypes
|
||||
|
||||
sepol = ctypes.cdll.LoadLibrary('libsepol.so')
|
||||
@@ -21,41 +20,20 @@ except:
|
||||
exit(1)
|
||||
|
||||
|
||||
-
|
||||
-
|
||||
-# For some reason this function doesn't exist in libselinux :\
|
||||
-def copy_with_context(src, dst):
|
||||
+def copy_file(src, dst):
|
||||
if DEBUG:
|
||||
print("copying %s to %s" % (src, dst))
|
||||
try:
|
||||
- con = selinux.lgetfilecon_raw(src)[1]
|
||||
- except:
|
||||
- print("Could not get file context of %s" % src, file=sys.stderr)
|
||||
- exit(1)
|
||||
-
|
||||
- try:
|
||||
- selinux.setfscreatecon_raw(con)
|
||||
- except:
|
||||
- print("Could not set fs create context: %s" %con, file=sys.stderr)
|
||||
- exit(1)
|
||||
-
|
||||
- try:
|
||||
- shutil.copy2(src, dst)
|
||||
+ shutil.copy(src, dst)
|
||||
except OSError as the_err:
|
||||
(err, strerr) = the_err.args
|
||||
print("Could not copy %s to %s, %s" %(src, dst, strerr), file=sys.stderr)
|
||||
exit(1)
|
||||
|
||||
- try:
|
||||
- selinux.setfscreatecon_raw(None)
|
||||
- except:
|
||||
- print("Could not reset fs create context. May need to relabel system.", file=sys.stderr)
|
||||
|
||||
-def create_dir_from(src, dst, mode):
|
||||
+def create_dir(dst, mode):
|
||||
if DEBUG: print("Making directory %s" % dst)
|
||||
try:
|
||||
- con = selinux.lgetfilecon_raw(src)[1]
|
||||
- selinux.setfscreatecon_raw(con)
|
||||
os.makedirs(dst, mode)
|
||||
except OSError as the_err:
|
||||
(err, stderr) = the_err.args
|
||||
@@ -65,28 +43,18 @@ def create_dir_from(src, dst, mode):
|
||||
print("Error creating %s" % dst, file=sys.stderr)
|
||||
exit(1)
|
||||
|
||||
- try:
|
||||
- selinux.setfscreatecon_raw(None)
|
||||
- except:
|
||||
- print("Could not reset fs create context. May need to relabel system.", file=sys.stderr)
|
||||
|
||||
-def create_file_from(src, dst):
|
||||
+def create_file(dst):
|
||||
if DEBUG: print("Making file %s" % dst)
|
||||
try:
|
||||
- con = selinux.lgetfilecon_raw(src)[1]
|
||||
- selinux.setfscreatecon_raw(con)
|
||||
open(dst, 'a').close()
|
||||
except OSError as the_err:
|
||||
(err, stderr) = the_err.args
|
||||
print("Error creating %s" % dst, file=sys.stderr)
|
||||
exit(1)
|
||||
|
||||
- try:
|
||||
- selinux.setfscreatecon_raw(None)
|
||||
- except:
|
||||
- print("Could not reset fs create context. May need to relabel system.", file=sys.stderr)
|
||||
|
||||
-def copy_module(store, name, con, base):
|
||||
+def copy_module(store, name, base):
|
||||
if DEBUG: print("Install module %s" % name)
|
||||
(file, ext) = os.path.splitext(name)
|
||||
if ext != ".pp":
|
||||
@@ -94,8 +62,6 @@ def copy_module(store, name, con, base):
|
||||
print("warning: %s has invalid extension, skipping" % name, file=sys.stderr)
|
||||
return
|
||||
try:
|
||||
- selinux.setfscreatecon_raw(con)
|
||||
-
|
||||
if base:
|
||||
root = oldstore_path(store)
|
||||
else:
|
||||
@@ -105,7 +71,7 @@ def copy_module(store, name, con, base):
|
||||
|
||||
os.mkdir("%s/%s" % (bottomdir, file))
|
||||
|
||||
- copy_with_context(os.path.join(root, name), "%s/%s/hll" % (bottomdir, file))
|
||||
+ copy_file(os.path.join(root, name), "%s/%s/hll" % (bottomdir, file))
|
||||
|
||||
# This is the ext file that will eventually be used to choose a compiler
|
||||
efile = open("%s/%s/lang_ext" % (bottomdir, file), "w+", 0o600)
|
||||
@@ -116,15 +82,11 @@ def copy_module(store, name, con, base):
|
||||
print("Error installing module %s" % name, file=sys.stderr)
|
||||
exit(1)
|
||||
|
||||
- try:
|
||||
- selinux.setfscreatecon_raw(None)
|
||||
- except:
|
||||
- print("Could not reset fs create context. May need to relabel system.", file=sys.stderr)
|
||||
|
||||
-def disable_module(file, root, name, disabledmodules):
|
||||
+def disable_module(file, name, disabledmodules):
|
||||
if DEBUG: print("Disabling %s" % name)
|
||||
(disabledname, disabledext) = os.path.splitext(file)
|
||||
- create_file_from(os.path.join(root, name), "%s/%s" % (disabledmodules, disabledname))
|
||||
+ create_file("%s/%s" % (disabledmodules, disabledname))
|
||||
|
||||
def migrate_store(store):
|
||||
|
||||
@@ -138,17 +100,14 @@ def migrate_store(store):
|
||||
print("Migrating from %s to %s" % (oldstore, newstore))
|
||||
|
||||
# Build up new directory structure
|
||||
- create_dir_from(oldstore, "%s/%s" % (newroot_path(), store), 0o755)
|
||||
- create_dir_from(oldstore, newstore, 0o700)
|
||||
- create_dir_from(oldstore, newmodules, 0o700)
|
||||
- create_dir_from(oldstore, bottomdir, 0o700)
|
||||
- create_dir_from(oldstore, disabledmodules, 0o700)
|
||||
-
|
||||
- # use whatever the file context of bottomdir is for the module directories
|
||||
- con = selinux.lgetfilecon_raw(bottomdir)[1]
|
||||
+ create_dir("%s/%s" % (newroot_path(), store), 0o755)
|
||||
+ create_dir(newstore, 0o700)
|
||||
+ create_dir(newmodules, 0o700)
|
||||
+ create_dir(bottomdir, 0o700)
|
||||
+ create_dir(disabledmodules, 0o700)
|
||||
|
||||
# Special case for base since it was in a different location
|
||||
- copy_module(store, "base.pp", con, 1)
|
||||
+ copy_module(store, "base.pp", 1)
|
||||
|
||||
# Dir structure built, start copying files
|
||||
for root, dirs, files in os.walk(oldstore):
|
||||
@@ -161,7 +120,7 @@ def migrate_store(store):
|
||||
newname = "seusers.local"
|
||||
else:
|
||||
newname = name
|
||||
- copy_with_context(os.path.join(root, name), os.path.join(newstore, newname))
|
||||
+ copy_file(os.path.join(root, name), os.path.join(newstore, newname))
|
||||
|
||||
elif root == oldmodules:
|
||||
# This should be the modules directory
|
||||
@@ -171,9 +130,9 @@ def migrate_store(store):
|
||||
print("Error installing module %s, name conflicts with base" % name, file=sys.stderr)
|
||||
exit(1)
|
||||
elif ext == ".disabled":
|
||||
- disable_module(file, root, name, disabledmodules)
|
||||
+ disable_module(file, name, disabledmodules)
|
||||
else:
|
||||
- copy_module(store, name, con, 0)
|
||||
+ copy_module(store, name, 0)
|
||||
|
||||
def rebuild_policy():
|
||||
# Ok, the modules are loaded, lets try to rebuild the policy
|
||||
@@ -287,7 +246,7 @@ if __name__ == "__main__":
|
||||
"preserve_tunables" ]
|
||||
|
||||
|
||||
- create_dir_from(oldroot_path(), newroot_path(), 0o755)
|
||||
+ create_dir(newroot_path(), 0o755)
|
||||
|
||||
stores = None
|
||||
if TYPE is not None:
|
||||
--
|
||||
2.0.5
|
||||
|
@ -1,318 +0,0 @@
|
||||
From 9638af24a1e890d673549f0b25d854458e07032e Mon Sep 17 00:00:00 2001
|
||||
From: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
|
||||
Date: Thu, 2 Jul 2015 09:27:36 -0400
|
||||
Subject: [PATCH] libsemanage: Add policy binary and file_contexts.local to the
|
||||
store
|
||||
|
||||
This patch writes policy.kern and file_contexts.local to the policy store as
|
||||
well as /etc/selinux/. Additionally, policy.kern and file_contexts.local
|
||||
are now parsed from the store rather than the final directory which was
|
||||
the old behavior. This allows all policy related files to be kept in the
|
||||
policy store.
|
||||
|
||||
This patch also renames /var/lib/selinux/tmp to 'final' and changes
|
||||
policy.kern in the store to longer be a symlink.
|
||||
|
||||
Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
|
||||
---
|
||||
libsemanage/src/booleans_policydb.c | 6 ++--
|
||||
libsemanage/src/direct_api.c | 33 +++++++++++++++----
|
||||
libsemanage/src/interfaces_policydb.c | 6 ++--
|
||||
libsemanage/src/nodes_policydb.c | 6 ++--
|
||||
libsemanage/src/ports_policydb.c | 6 ++--
|
||||
libsemanage/src/semanage_store.c | 55 ++++++++++++++++++++++++--------
|
||||
libsemanage/src/semanage_store.h | 5 +++
|
||||
libsemanage/src/users_base_policydb.c | 6 ++--
|
||||
libsemanage/utils/semanage_migrate_store | 3 +-
|
||||
9 files changed, 86 insertions(+), 40 deletions(-)
|
||||
|
||||
diff --git a/libsemanage/src/booleans_policydb.c b/libsemanage/src/booleans_policydb.c
|
||||
index 74af2a3..6869d6c 100644
|
||||
--- a/libsemanage/src/booleans_policydb.c
|
||||
+++ b/libsemanage/src/booleans_policydb.c
|
||||
@@ -55,10 +55,8 @@ int bool_policydb_dbase_init(semanage_handle_t * handle,
|
||||
{
|
||||
|
||||
if (dbase_policydb_init(handle,
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_KERNEL),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL),
|
||||
&SEMANAGE_BOOL_RTABLE,
|
||||
&SEMANAGE_BOOL_POLICYDB_RTABLE,
|
||||
&dconfig->dbase) < 0)
|
||||
diff --git a/libsemanage/src/direct_api.c b/libsemanage/src/direct_api.c
|
||||
index d57f934..3c6b168 100644
|
||||
--- a/libsemanage/src/direct_api.c
|
||||
+++ b/libsemanage/src/direct_api.c
|
||||
@@ -196,10 +196,8 @@ int semanage_direct_connect(semanage_handle_t * sh)
|
||||
goto err;
|
||||
|
||||
if (fcontext_file_dbase_init(sh,
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_FC_LOCAL),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_FC_LOCAL),
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_FC_LOCAL),
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC_LOCAL),
|
||||
semanage_fcontext_dbase_local(sh)) < 0)
|
||||
goto err;
|
||||
|
||||
@@ -1041,7 +1039,7 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
size_t fc_buffer_len = 0;
|
||||
const char *ofilename = NULL;
|
||||
const char *path;
|
||||
- int retval = -1, num_modinfos = 0, i;
|
||||
+ int retval = -1, num_modinfos = 0, i, missing_policy_kern = 0;
|
||||
sepol_policydb_t *out = NULL;
|
||||
struct cil_db *cildb = NULL;
|
||||
semanage_module_info_t *modinfos = NULL;
|
||||
@@ -1143,8 +1141,20 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
modified |= dontaudit_modified;
|
||||
modified |= preserve_tunables_modified;
|
||||
|
||||
+ /* This is for systems that have already migrated with an older version
|
||||
+ * of semanage_migrate_store. The older version did not copy policy.kern so
|
||||
+ * the policy binary must be rebuilt here.
|
||||
+ */
|
||||
+ if (!sh->do_rebuild && !modified) {
|
||||
+ path = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL);
|
||||
+
|
||||
+ if (access(path, F_OK) != 0) {
|
||||
+ missing_policy_kern = 1;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
/* If there were policy changes, or explicitly requested, rebuild the policy */
|
||||
- if (sh->do_rebuild || modified) {
|
||||
+ if (sh->do_rebuild || modified || missing_policy_kern) {
|
||||
/* =================== Module expansion =============== */
|
||||
|
||||
retval = semanage_get_active_modules(sh, &modinfos, &num_modinfos);
|
||||
@@ -1302,6 +1312,17 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
if (retval < 0)
|
||||
goto cleanup;
|
||||
|
||||
+ retval = semanage_copy_policydb(sh);
|
||||
+ if (retval < 0)
|
||||
+ goto cleanup;
|
||||
+
|
||||
+ path = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC_LOCAL);
|
||||
+ if (access(path, F_OK) == 0) {
|
||||
+ retval = semanage_copy_fc_local(sh);
|
||||
+ if (retval < 0)
|
||||
+ goto cleanup;
|
||||
+ }
|
||||
+
|
||||
/* run genhomedircon if its enabled, this should be the last operation
|
||||
* which requires the out policydb */
|
||||
if (!sh->conf->disable_genhomedircon) {
|
||||
diff --git a/libsemanage/src/interfaces_policydb.c b/libsemanage/src/interfaces_policydb.c
|
||||
index 6a42eed..552ce7d 100644
|
||||
--- a/libsemanage/src/interfaces_policydb.c
|
||||
+++ b/libsemanage/src/interfaces_policydb.c
|
||||
@@ -51,10 +51,8 @@ int iface_policydb_dbase_init(semanage_handle_t * handle,
|
||||
{
|
||||
|
||||
if (dbase_policydb_init(handle,
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_KERNEL),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL),
|
||||
&SEMANAGE_IFACE_RTABLE,
|
||||
&SEMANAGE_IFACE_POLICYDB_RTABLE,
|
||||
&dconfig->dbase) < 0)
|
||||
diff --git a/libsemanage/src/nodes_policydb.c b/libsemanage/src/nodes_policydb.c
|
||||
index 56012fb..7224f00 100644
|
||||
--- a/libsemanage/src/nodes_policydb.c
|
||||
+++ b/libsemanage/src/nodes_policydb.c
|
||||
@@ -50,10 +50,8 @@ int node_policydb_dbase_init(semanage_handle_t * handle,
|
||||
{
|
||||
|
||||
if (dbase_policydb_init(handle,
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_KERNEL),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL),
|
||||
&SEMANAGE_NODE_RTABLE,
|
||||
&SEMANAGE_NODE_POLICYDB_RTABLE,
|
||||
&dconfig->dbase) < 0)
|
||||
diff --git a/libsemanage/src/ports_policydb.c b/libsemanage/src/ports_policydb.c
|
||||
index b9600f0..37d7deb 100644
|
||||
--- a/libsemanage/src/ports_policydb.c
|
||||
+++ b/libsemanage/src/ports_policydb.c
|
||||
@@ -50,10 +50,8 @@ int port_policydb_dbase_init(semanage_handle_t * handle,
|
||||
{
|
||||
|
||||
if (dbase_policydb_init(handle,
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_KERNEL),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL),
|
||||
&SEMANAGE_PORT_RTABLE,
|
||||
&SEMANAGE_PORT_POLICYDB_RTABLE,
|
||||
&dconfig->dbase) < 0)
|
||||
diff --git a/libsemanage/src/semanage_store.c b/libsemanage/src/semanage_store.c
|
||||
index 6051691..2856aaf 100644
|
||||
--- a/libsemanage/src/semanage_store.c
|
||||
+++ b/libsemanage/src/semanage_store.c
|
||||
@@ -110,10 +110,12 @@ static const char *semanage_sandbox_paths[SEMANAGE_STORE_NUM_PATHS] = {
|
||||
"/disable_dontaudit",
|
||||
"/preserve_tunables",
|
||||
"/modules/disabled",
|
||||
+ "/policy.kern",
|
||||
+ "/file_contexts.local"
|
||||
};
|
||||
|
||||
static char const * const semanage_final_prefix[SEMANAGE_FINAL_NUM] = {
|
||||
- "/tmp",
|
||||
+ "/final",
|
||||
"",
|
||||
};
|
||||
|
||||
@@ -943,9 +945,7 @@ int semanage_make_final(semanage_handle_t *sh)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
- /* Copy in exported databases.
|
||||
- * i = 1 to avoid copying the top level directory.
|
||||
- */
|
||||
+ // Build final directory structure
|
||||
int i;
|
||||
for (i = 1; i < SEMANAGE_FINAL_PATH_NUM; i++) {
|
||||
if (strlen(semanage_final_path(SEMANAGE_FINAL_TMP, i)) >= sizeof(fn)) {
|
||||
@@ -959,12 +959,6 @@ int semanage_make_final(semanage_handle_t *sh)
|
||||
status = -1;
|
||||
goto cleanup;
|
||||
}
|
||||
-
|
||||
- semanage_copy_file(
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX, i),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP, i),
|
||||
- sh->conf->file_mode);
|
||||
- /* ignore errors, these files may not exist */
|
||||
}
|
||||
|
||||
cleanup:
|
||||
@@ -2019,8 +2013,7 @@ int semanage_read_policydb(semanage_handle_t * sh, sepol_policydb_t * in)
|
||||
FILE *infile = NULL;
|
||||
|
||||
if ((kernel_filename =
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_KERNEL)) == NULL) {
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_KERNEL)) == NULL) {
|
||||
goto cleanup;
|
||||
}
|
||||
if ((infile = fopen(kernel_filename, "r")) == NULL) {
|
||||
@@ -2061,7 +2054,7 @@ int semanage_write_policydb(semanage_handle_t * sh, sepol_policydb_t * out)
|
||||
FILE *outfile = NULL;
|
||||
|
||||
if ((kernel_filename =
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_KERNEL)) == NULL) {
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL)) == NULL) {
|
||||
goto cleanup;
|
||||
}
|
||||
if ((outfile = fopen(kernel_filename, "wb")) == NULL) {
|
||||
@@ -2921,3 +2914,39 @@ int semanage_nc_sort(semanage_handle_t * sh, const char *buf, size_t buf_len,
|
||||
|
||||
return 0;
|
||||
}
|
||||
+
|
||||
+int semanage_copy_policydb(semanage_handle_t *sh)
|
||||
+{
|
||||
+ const char *src = NULL;
|
||||
+ const char *dst = NULL;
|
||||
+ int rc = -1;
|
||||
+
|
||||
+ src = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL);
|
||||
+ dst = semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_KERNEL);
|
||||
+
|
||||
+ rc = semanage_copy_file(src, dst, sh->conf->file_mode);
|
||||
+ if (rc != 0) {
|
||||
+ goto cleanup;
|
||||
+ }
|
||||
+
|
||||
+cleanup:
|
||||
+ return rc;
|
||||
+}
|
||||
+
|
||||
+int semanage_copy_fc_local(semanage_handle_t *sh)
|
||||
+{
|
||||
+ const char *src = NULL;
|
||||
+ const char *dst = NULL;
|
||||
+ int rc = -1;
|
||||
+
|
||||
+ src = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC_LOCAL);
|
||||
+ dst = semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_FC_LOCAL);
|
||||
+
|
||||
+ rc = semanage_copy_file(src, dst, sh->conf->file_mode);
|
||||
+ if (rc != 0) {
|
||||
+ goto cleanup;
|
||||
+ }
|
||||
+
|
||||
+cleanup:
|
||||
+ return rc;
|
||||
+}
|
||||
diff --git a/libsemanage/src/semanage_store.h b/libsemanage/src/semanage_store.h
|
||||
index 62c7079..ade43f2 100644
|
||||
--- a/libsemanage/src/semanage_store.h
|
||||
+++ b/libsemanage/src/semanage_store.h
|
||||
@@ -55,6 +55,8 @@ enum semanage_sandbox_defs {
|
||||
SEMANAGE_DISABLE_DONTAUDIT,
|
||||
SEMANAGE_PRESERVE_TUNABLES,
|
||||
SEMANAGE_MODULES_DISABLED,
|
||||
+ SEMANAGE_STORE_KERNEL,
|
||||
+ SEMANAGE_STORE_FC_LOCAL,
|
||||
SEMANAGE_STORE_NUM_PATHS
|
||||
};
|
||||
|
||||
@@ -148,4 +150,7 @@ int semanage_nc_sort(semanage_handle_t * sh,
|
||||
size_t buf_len,
|
||||
char **sorted_buf, size_t * sorted_buf_len);
|
||||
|
||||
+int semanage_copy_policydb(semanage_handle_t *sh);
|
||||
+int semanage_copy_fc_local(semanage_handle_t *sh);
|
||||
+
|
||||
#endif
|
||||
diff --git a/libsemanage/src/users_base_policydb.c b/libsemanage/src/users_base_policydb.c
|
||||
index 0a6ab9c..b42279c 100644
|
||||
--- a/libsemanage/src/users_base_policydb.c
|
||||
+++ b/libsemanage/src/users_base_policydb.c
|
||||
@@ -50,10 +50,8 @@ int user_base_policydb_dbase_init(semanage_handle_t * handle,
|
||||
{
|
||||
|
||||
if (dbase_policydb_init(handle,
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_KERNEL),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_KERNEL),
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL),
|
||||
&SEMANAGE_USER_BASE_RTABLE,
|
||||
&SEMANAGE_USER_BASE_POLICYDB_RTABLE,
|
||||
&dconfig->dbase) < 0)
|
||||
diff --git a/libsemanage/utils/semanage_migrate_store b/libsemanage/utils/semanage_migrate_store
|
||||
index 2f85e9c..b170eda 100755
|
||||
--- a/libsemanage/utils/semanage_migrate_store
|
||||
+++ b/libsemanage/utils/semanage_migrate_store
|
||||
@@ -243,7 +243,8 @@ if __name__ == "__main__":
|
||||
"users.local",
|
||||
"users_extra.local",
|
||||
"disable_dontaudit",
|
||||
- "preserve_tunables" ]
|
||||
+ "preserve_tunables",
|
||||
+ "policy.kern" ]
|
||||
|
||||
|
||||
create_dir(newroot_path(), 0o755)
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,265 +0,0 @@
|
||||
From d56c2b434e99f60612c1290e82021ecbcbfaf5e6 Mon Sep 17 00:00:00 2001
|
||||
From: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
|
||||
Date: Tue, 21 Jul 2015 15:08:15 -0400
|
||||
Subject: [PATCH] libsemanage: Add file_contexts and seusers to the store
|
||||
|
||||
This patch writes file_contexts and seusers to the policy store as well as
|
||||
/etc/selinux/. Additionally, file_contexts and seusers are now parsed from the
|
||||
store rather than the final directory which was the old behavior. This allows
|
||||
all policy related files to be kept in the policy store.
|
||||
|
||||
Signed-off-by: Yuli Khodorkovskiy <ykhodorkovskiy@tresys.com>
|
||||
---
|
||||
libsemanage/src/direct_api.c | 69 +++++++++++++++++++++++++-------
|
||||
libsemanage/src/semanage_store.c | 49 ++++-------------------
|
||||
libsemanage/src/semanage_store.h | 5 ++-
|
||||
libsemanage/utils/semanage_migrate_store | 3 +-
|
||||
4 files changed, 66 insertions(+), 60 deletions(-)
|
||||
|
||||
diff --git a/libsemanage/src/direct_api.c b/libsemanage/src/direct_api.c
|
||||
index 3c6b168..b11f2ba 100644
|
||||
--- a/libsemanage/src/direct_api.c
|
||||
+++ b/libsemanage/src/direct_api.c
|
||||
@@ -248,18 +248,14 @@ int semanage_direct_connect(semanage_handle_t * sh)
|
||||
goto err;
|
||||
|
||||
if (fcontext_file_dbase_init(sh,
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_FC),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_FC),
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_FC),
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC),
|
||||
semanage_fcontext_dbase_policy(sh)) < 0)
|
||||
goto err;
|
||||
|
||||
if (seuser_file_dbase_init(sh,
|
||||
- semanage_final_path(SEMANAGE_FINAL_SELINUX,
|
||||
- SEMANAGE_SEUSERS),
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_SEUSERS),
|
||||
+ semanage_path(SEMANAGE_ACTIVE, SEMANAGE_STORE_SEUSERS),
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_SEUSERS),
|
||||
semanage_seuser_dbase_policy(sh)) < 0)
|
||||
goto err;
|
||||
|
||||
@@ -602,7 +598,7 @@ static int semanage_direct_update_seuser(semanage_handle_t * sh, cil_db_t *cildb
|
||||
}
|
||||
|
||||
if (size > 0) {
|
||||
- ofilename = semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_SEUSERS);
|
||||
+ ofilename = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_SEUSERS);
|
||||
if (ofilename == NULL) {
|
||||
return -1;
|
||||
}
|
||||
@@ -1039,7 +1035,8 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
size_t fc_buffer_len = 0;
|
||||
const char *ofilename = NULL;
|
||||
const char *path;
|
||||
- int retval = -1, num_modinfos = 0, i, missing_policy_kern = 0;
|
||||
+ int retval = -1, num_modinfos = 0, i, missing_policy_kern = 0,
|
||||
+ missing_seusers = 0, missing_fc = 0, missing = 0;
|
||||
sepol_policydb_t *out = NULL;
|
||||
struct cil_db *cildb = NULL;
|
||||
semanage_module_info_t *modinfos = NULL;
|
||||
@@ -1151,10 +1148,26 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
if (access(path, F_OK) != 0) {
|
||||
missing_policy_kern = 1;
|
||||
}
|
||||
+
|
||||
+ path = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC);
|
||||
+
|
||||
+ if (access(path, F_OK) != 0) {
|
||||
+ missing_fc = 1;
|
||||
+ }
|
||||
+
|
||||
+ path = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_SEUSERS);
|
||||
+
|
||||
+ if (access(path, F_OK) != 0) {
|
||||
+ missing_seusers = 1;
|
||||
+ }
|
||||
}
|
||||
|
||||
+ missing |= missing_policy_kern;
|
||||
+ missing |= missing_fc;
|
||||
+ missing |= missing_seusers;
|
||||
+
|
||||
/* If there were policy changes, or explicitly requested, rebuild the policy */
|
||||
- if (sh->do_rebuild || modified || missing_policy_kern) {
|
||||
+ if (sh->do_rebuild || modified || missing) {
|
||||
/* =================== Module expansion =============== */
|
||||
|
||||
retval = semanage_get_active_modules(sh, &modinfos, &num_modinfos);
|
||||
@@ -1312,15 +1325,41 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
if (retval < 0)
|
||||
goto cleanup;
|
||||
|
||||
- retval = semanage_copy_policydb(sh);
|
||||
- if (retval < 0)
|
||||
+ retval = semanage_copy_file(semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL),
|
||||
+ semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_KERNEL),
|
||||
+ sh->conf->file_mode);
|
||||
+ if (retval < 0) {
|
||||
goto cleanup;
|
||||
+ }
|
||||
|
||||
path = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC_LOCAL);
|
||||
if (access(path, F_OK) == 0) {
|
||||
- retval = semanage_copy_fc_local(sh);
|
||||
- if (retval < 0)
|
||||
+ retval = semanage_copy_file(semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC_LOCAL),
|
||||
+ semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_FC_LOCAL),
|
||||
+ sh->conf->file_mode);
|
||||
+ if (retval < 0) {
|
||||
goto cleanup;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ path = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC);
|
||||
+ if (access(path, F_OK) == 0) {
|
||||
+ retval = semanage_copy_file(semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC),
|
||||
+ semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_FC),
|
||||
+ sh->conf->file_mode);
|
||||
+ if (retval < 0) {
|
||||
+ goto cleanup;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ path = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_SEUSERS);
|
||||
+ if (access(path, F_OK) == 0) {
|
||||
+ retval = semanage_copy_file(semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_SEUSERS),
|
||||
+ semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_SEUSERS),
|
||||
+ sh->conf->file_mode);
|
||||
+ if (retval < 0) {
|
||||
+ goto cleanup;
|
||||
+ }
|
||||
}
|
||||
|
||||
/* run genhomedircon if its enabled, this should be the last operation
|
||||
diff --git a/libsemanage/src/semanage_store.c b/libsemanage/src/semanage_store.c
|
||||
index 2856aaf..fa0876f 100644
|
||||
--- a/libsemanage/src/semanage_store.c
|
||||
+++ b/libsemanage/src/semanage_store.c
|
||||
@@ -111,7 +111,9 @@ static const char *semanage_sandbox_paths[SEMANAGE_STORE_NUM_PATHS] = {
|
||||
"/preserve_tunables",
|
||||
"/modules/disabled",
|
||||
"/policy.kern",
|
||||
- "/file_contexts.local"
|
||||
+ "/file_contexts.local",
|
||||
+ "/file_contexts",
|
||||
+ "/seusers"
|
||||
};
|
||||
|
||||
static char const * const semanage_final_prefix[SEMANAGE_FINAL_NUM] = {
|
||||
@@ -666,7 +668,7 @@ static int semanage_filename_select(const struct dirent *d)
|
||||
|
||||
/* Copies a file from src to dst. If dst already exists then
|
||||
* overwrite it. Returns 0 on success, -1 on error. */
|
||||
-static int semanage_copy_file(const char *src, const char *dst, mode_t mode)
|
||||
+int semanage_copy_file(const char *src, const char *dst, mode_t mode)
|
||||
{
|
||||
int in, out, retval = 0, amount_read, n, errsv = errno;
|
||||
char tmp[PATH_MAX];
|
||||
@@ -1425,11 +1427,11 @@ int semanage_split_fc(semanage_handle_t * sh)
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
- fc = open(semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_FC),
|
||||
+ fc = open(semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC),
|
||||
O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
|
||||
if (fc < 0) {
|
||||
ERR(sh, "Could not open %s for writing.",
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_FC));
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC));
|
||||
goto cleanup;
|
||||
}
|
||||
hd = open(semanage_path(SEMANAGE_TMP, SEMANAGE_HOMEDIR_TMPL),
|
||||
@@ -1454,8 +1456,7 @@ int semanage_split_fc(semanage_handle_t * sh)
|
||||
} else {
|
||||
if (write(fc, buf, strlen(buf)) < 0) {
|
||||
ERR(sh, "Write to %s failed.",
|
||||
- semanage_final_path(SEMANAGE_FINAL_TMP,
|
||||
- SEMANAGE_FC));
|
||||
+ semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC));
|
||||
goto cleanup;
|
||||
}
|
||||
}
|
||||
@@ -2914,39 +2915,3 @@ int semanage_nc_sort(semanage_handle_t * sh, const char *buf, size_t buf_len,
|
||||
|
||||
return 0;
|
||||
}
|
||||
-
|
||||
-int semanage_copy_policydb(semanage_handle_t *sh)
|
||||
-{
|
||||
- const char *src = NULL;
|
||||
- const char *dst = NULL;
|
||||
- int rc = -1;
|
||||
-
|
||||
- src = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_KERNEL);
|
||||
- dst = semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_KERNEL);
|
||||
-
|
||||
- rc = semanage_copy_file(src, dst, sh->conf->file_mode);
|
||||
- if (rc != 0) {
|
||||
- goto cleanup;
|
||||
- }
|
||||
-
|
||||
-cleanup:
|
||||
- return rc;
|
||||
-}
|
||||
-
|
||||
-int semanage_copy_fc_local(semanage_handle_t *sh)
|
||||
-{
|
||||
- const char *src = NULL;
|
||||
- const char *dst = NULL;
|
||||
- int rc = -1;
|
||||
-
|
||||
- src = semanage_path(SEMANAGE_TMP, SEMANAGE_STORE_FC_LOCAL);
|
||||
- dst = semanage_final_path(SEMANAGE_FINAL_TMP, SEMANAGE_FC_LOCAL);
|
||||
-
|
||||
- rc = semanage_copy_file(src, dst, sh->conf->file_mode);
|
||||
- if (rc != 0) {
|
||||
- goto cleanup;
|
||||
- }
|
||||
-
|
||||
-cleanup:
|
||||
- return rc;
|
||||
-}
|
||||
diff --git a/libsemanage/src/semanage_store.h b/libsemanage/src/semanage_store.h
|
||||
index ade43f2..acb6e3f 100644
|
||||
--- a/libsemanage/src/semanage_store.h
|
||||
+++ b/libsemanage/src/semanage_store.h
|
||||
@@ -57,6 +57,8 @@ enum semanage_sandbox_defs {
|
||||
SEMANAGE_MODULES_DISABLED,
|
||||
SEMANAGE_STORE_KERNEL,
|
||||
SEMANAGE_STORE_FC_LOCAL,
|
||||
+ SEMANAGE_STORE_FC,
|
||||
+ SEMANAGE_STORE_SEUSERS,
|
||||
SEMANAGE_STORE_NUM_PATHS
|
||||
};
|
||||
|
||||
@@ -150,7 +152,6 @@ int semanage_nc_sort(semanage_handle_t * sh,
|
||||
size_t buf_len,
|
||||
char **sorted_buf, size_t * sorted_buf_len);
|
||||
|
||||
-int semanage_copy_policydb(semanage_handle_t *sh);
|
||||
-int semanage_copy_fc_local(semanage_handle_t *sh);
|
||||
+int semanage_copy_file(const char *src, const char *dst, mode_t mode);
|
||||
|
||||
#endif
|
||||
diff --git a/libsemanage/utils/semanage_migrate_store b/libsemanage/utils/semanage_migrate_store
|
||||
index b170eda..6443002 100755
|
||||
--- a/libsemanage/utils/semanage_migrate_store
|
||||
+++ b/libsemanage/utils/semanage_migrate_store
|
||||
@@ -244,7 +244,8 @@ if __name__ == "__main__":
|
||||
"users_extra.local",
|
||||
"disable_dontaudit",
|
||||
"preserve_tunables",
|
||||
- "policy.kern" ]
|
||||
+ "policy.kern",
|
||||
+ "file_contexts"]
|
||||
|
||||
|
||||
create_dir(newroot_path(), 0o755)
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,54 +0,0 @@
|
||||
From 75dd8c062d1f6f0e0a7a9f1856c0957b423e8a02 Mon Sep 17 00:00:00 2001
|
||||
From: Steve Lawrence <slawrence@tresys.com>
|
||||
Date: Thu, 3 Sep 2015 09:28:08 -0400
|
||||
Subject: [PATCH 1/3] libsemanage: save homedir_template in the policy store
|
||||
for genhomedircon
|
||||
|
||||
We don't currently store homedir_template in the policy store, which
|
||||
means genhomedircon only has a template file to use if the
|
||||
homedir_template was generated from the file contexts in the same
|
||||
transaction. But homedir_template isn't always generated, as in the
|
||||
case with setsebool -P. In this and other cases, genhomedircon will not
|
||||
have a template file resulting in an empty file_contexts.homedir file.
|
||||
|
||||
This commit changes this so that homedir_template is always stored in
|
||||
the policy store so it can be used by genhomedircon regardless of how
|
||||
policy was built. Also add the homedir_template file to the migration
|
||||
script.
|
||||
|
||||
Signed-off by: Steve Lawrence <slawrence@tresys.com>
|
||||
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
|
||||
---
|
||||
libsemanage/src/direct_api.c | 1 -
|
||||
libsemanage/utils/semanage_migrate_store | 3 ++-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libsemanage/src/direct_api.c b/libsemanage/src/direct_api.c
|
||||
index 90a7b22..6e49cae 100644
|
||||
--- a/libsemanage/src/direct_api.c
|
||||
+++ b/libsemanage/src/direct_api.c
|
||||
@@ -1415,7 +1415,6 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
|
||||
/* remove files that are automatically generated and no longer needed */
|
||||
unlink(semanage_path(SEMANAGE_TMP, SEMANAGE_FC_TMPL));
|
||||
- unlink(semanage_path(SEMANAGE_TMP, SEMANAGE_HOMEDIR_TMPL));
|
||||
unlink(semanage_path(SEMANAGE_TMP, SEMANAGE_USERS_EXTRA));
|
||||
|
||||
if (sh->do_rebuild || modified || bools_modified || fcontexts_modified) {
|
||||
diff --git a/libsemanage/utils/semanage_migrate_store b/libsemanage/utils/semanage_migrate_store
|
||||
index 539f469..297c71b 100755
|
||||
--- a/libsemanage/utils/semanage_migrate_store
|
||||
+++ b/libsemanage/utils/semanage_migrate_store
|
||||
@@ -251,7 +251,8 @@ if __name__ == "__main__":
|
||||
"disable_dontaudit",
|
||||
"preserve_tunables",
|
||||
"policy.kern",
|
||||
- "file_contexts"]
|
||||
+ "file_contexts",
|
||||
+ "homedir_template"]
|
||||
|
||||
|
||||
create_dir(newroot_path(), 0o755)
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,57 +0,0 @@
|
||||
From dbc639a35af71eec1a1b386b74a822d794bb59df Mon Sep 17 00:00:00 2001
|
||||
From: Steve Lawrence <slawrence@tresys.com>
|
||||
Date: Thu, 3 Sep 2015 13:07:36 -0400
|
||||
Subject: [PATCH 2/3] libsemanage: store users_extra in the policy store
|
||||
|
||||
users_extra is needed by genhomedircon and when listing seusers, so it
|
||||
must be kept in the policy store. Also move the FC_TMPL unlink() closer
|
||||
to where the FC_TMPL is created; not a functional change, but eaiser to
|
||||
follow.
|
||||
|
||||
Signed-off-by: Steve Lawrence <slawrence@tresys.com>
|
||||
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
|
||||
---
|
||||
libsemanage/src/direct_api.c | 7 +++----
|
||||
libsemanage/utils/semanage_migrate_store | 1 +
|
||||
2 files changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/libsemanage/src/direct_api.c b/libsemanage/src/direct_api.c
|
||||
index 6e49cae..68dd0d1 100644
|
||||
--- a/libsemanage/src/direct_api.c
|
||||
+++ b/libsemanage/src/direct_api.c
|
||||
@@ -1272,6 +1272,9 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
if (retval < 0)
|
||||
goto cleanup;
|
||||
|
||||
+ /* remove FC_TMPL now that it is now longer needed */
|
||||
+ unlink(semanage_path(SEMANAGE_TMP, SEMANAGE_FC_TMPL));
|
||||
+
|
||||
pfcontexts->dtable->drop_cache(pfcontexts->dbase);
|
||||
|
||||
/* SEUsers */
|
||||
@@ -1413,10 +1416,6 @@ static int semanage_direct_commit(semanage_handle_t * sh)
|
||||
sepol_policydb_free(out);
|
||||
out = NULL;
|
||||
|
||||
- /* remove files that are automatically generated and no longer needed */
|
||||
- unlink(semanage_path(SEMANAGE_TMP, SEMANAGE_FC_TMPL));
|
||||
- unlink(semanage_path(SEMANAGE_TMP, SEMANAGE_USERS_EXTRA));
|
||||
-
|
||||
if (sh->do_rebuild || modified || bools_modified || fcontexts_modified) {
|
||||
retval = semanage_install_sandbox(sh);
|
||||
}
|
||||
diff --git a/libsemanage/utils/semanage_migrate_store b/libsemanage/utils/semanage_migrate_store
|
||||
index 297c71b..b5eefaa 100755
|
||||
--- a/libsemanage/utils/semanage_migrate_store
|
||||
+++ b/libsemanage/utils/semanage_migrate_store
|
||||
@@ -247,6 +247,7 @@ if __name__ == "__main__":
|
||||
"file_contexts.local",
|
||||
"seusers",
|
||||
"users.local",
|
||||
+ "users_extra",
|
||||
"users_extra.local",
|
||||
"disable_dontaudit",
|
||||
"preserve_tunables",
|
||||
--
|
||||
2.4.6
|
||||
|
@ -1,35 +0,0 @@
|
||||
there's no point in using -I/-L flags to the system paths and this breaks
|
||||
cross-compiling. just drop them.
|
||||
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -60,7 +60,7 @@
|
||||
SWIG_CFLAGS += -Wno-error -Wno-unused-but-set-variable -Wno-unused-variable -Wno-shadow \
|
||||
-Wno-unused-parameter
|
||||
|
||||
-override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE
|
||||
+override CFLAGS += -I../include -D_GNU_SOURCE
|
||||
RANLIB=ranlib
|
||||
|
||||
SWIG = swig -Wall -python -o $(SWIGCOUT) -outdir ./
|
||||
@@ -82,17 +82,17 @@
|
||||
$(CC) $(CFLAGS) $(SWIG_CFLAGS) $(RUBYINC) -fPIC -DSHARED -c -o $@ $<
|
||||
|
||||
$(SWIGSO): $(SWIGLOBJ)
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage -L$(LIBDIR)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< -L. -lsemanage
|
||||
|
||||
$(SWIGRUBYSO): $(SWIGRUBYLOBJ)
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lsemanage -L$(LIBDIR)
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -L. -lsemanage
|
||||
|
||||
$(LIBA): $(OBJS)
|
||||
$(AR) rcs $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LIBSO): $(LOBJS)
|
||||
- $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -laudit -lselinux -lbz2 -lustr -L$(LIBDIR) -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $^ -lsepol -laudit -lselinux -lbz2 -lustr -Wl,-soname,$(LIBSO),--version-script=libsemanage.map,-z,defs
|
||||
ln -sf $@ $(TARGET)
|
||||
|
||||
$(LIBPC): $(LIBPC).in ../VERSION
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
SEPOL_VER="2.2"
|
||||
SELNX_VER="2.2.2-r1"
|
||||
|
||||
DESCRIPTION="SELinux kernel and policy management library"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="http://userspace.selinuxproject.org/releases/20131030/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}
|
||||
>=sys-libs/libselinux-${SELNX_VER}
|
||||
dev-libs/ustr
|
||||
sys-process/audit"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
python? (
|
||||
>=dev-lang/swig-2.0.4-r1
|
||||
virtual/pkgconfig
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
echo "# Set this to true to save the linked policy." >> "${S}/src/semanage.conf"
|
||||
echo "# This is normally only useful for analysis" >> "${S}/src/semanage.conf"
|
||||
echo "# or debugging of policy." >> "${S}/src/semanage.conf"
|
||||
echo "save-linked=false" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Set this to 0 to disable assertion checking." >> "${S}/src/semanage.conf"
|
||||
echo "# This should speed up building the kernel policy" >> "${S}/src/semanage.conf"
|
||||
echo "# from policy modules, but may leave you open to" >> "${S}/src/semanage.conf"
|
||||
echo "# dangerous rules which assertion checking" >> "${S}/src/semanage.conf"
|
||||
echo "# would catch." >> "${S}/src/semanage.conf"
|
||||
echo "expand-check=1" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Modules in the module store can be compressed" >> "${S}/src/semanage.conf"
|
||||
echo "# with bzip2. Set this to the bzip2 blocksize" >> "${S}/src/semanage.conf"
|
||||
echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf"
|
||||
echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf"
|
||||
echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-blocksize=0" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
||||
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake AR="$(tc-getAR)" CC="$(tc-getCC)" all || die
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake CC="$(tc-getCC)" PYINC="-I${PYTHON_INCLUDEDIR}" PYTHONLBIDIR="${PYTHON_LIBPATH}" PYPREFIX="${EPYTHON##*/}" "$@"
|
||||
}
|
||||
python_foreach_impl building swigify
|
||||
python_foreach_impl building pywrap
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
LIBDIR="\$(PREFIX)/$(get_libdir)" SHLIBDIR="\$(PREFIX)/$(get_libdir)" \
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation() {
|
||||
emake DESTDIR="${D}" install-pywrap
|
||||
}
|
||||
python_foreach_impl installation
|
||||
fi
|
||||
}
|
@ -1,104 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
SEPOL_VER="2.3"
|
||||
SELNX_VER="2.3"
|
||||
|
||||
DESCRIPTION="SELinux kernel and policy management library"
|
||||
HOMEPAGE="http://userspace.selinuxproject.org"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20140506/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libselinux-${SELNX_VER}[${MULTILIB_USEDEP}]
|
||||
>=sys-process/audit-2.2.2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/ustr-1.0.4-r2[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
python? (
|
||||
>=dev-lang/swig-2.0.4-r1
|
||||
virtual/pkgconfig
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
echo "# Set this to true to save the linked policy." >> "${S}/src/semanage.conf"
|
||||
echo "# This is normally only useful for analysis" >> "${S}/src/semanage.conf"
|
||||
echo "# or debugging of policy." >> "${S}/src/semanage.conf"
|
||||
echo "save-linked=false" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Set this to 0 to disable assertion checking." >> "${S}/src/semanage.conf"
|
||||
echo "# This should speed up building the kernel policy" >> "${S}/src/semanage.conf"
|
||||
echo "# from policy modules, but may leave you open to" >> "${S}/src/semanage.conf"
|
||||
echo "# dangerous rules which assertion checking" >> "${S}/src/semanage.conf"
|
||||
echo "# would catch." >> "${S}/src/semanage.conf"
|
||||
echo "expand-check=1" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Modules in the module store can be compressed" >> "${S}/src/semanage.conf"
|
||||
echo "# with bzip2. Set this to the bzip2 blocksize" >> "${S}/src/semanage.conf"
|
||||
echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf"
|
||||
echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf"
|
||||
echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-blocksize=0" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
||||
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building_py() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake CC="$(tc-getCC)" PYINC="-I${PYTHON_INCLUDEDIR}" PYTHONLBIDIR="${PYTHON_LIBPATH}" PYPREFIX="${EPYTHON##*/}" "$@"
|
||||
python_optimize # bug 531638
|
||||
}
|
||||
python_foreach_impl building_py swigify
|
||||
python_foreach_impl building_py pywrap
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
LIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
SHLIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
DESTDIR="${ED}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation_py() {
|
||||
emake DESTDIR="${ED}" LIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
SHLIBDIR="${ED}/usr/$(get_libdir)" install-pywrap
|
||||
}
|
||||
python_foreach_impl installation_py
|
||||
fi
|
||||
}
|
@ -1,127 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
SEPOL_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
|
||||
DESCRIPTION="SELinux kernel and policy management library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libselinux-${SELNX_VER}[${MULTILIB_USEDEP}]
|
||||
>=sys-process/audit-2.2.2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/ustr-1.0.4-r2[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
python? (
|
||||
>=dev-lang/swig-2.0.4-r1
|
||||
virtual/pkgconfig
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
echo "# Set this to true to save the linked policy." >> "${S}/src/semanage.conf"
|
||||
echo "# This is normally only useful for analysis" >> "${S}/src/semanage.conf"
|
||||
echo "# or debugging of policy." >> "${S}/src/semanage.conf"
|
||||
echo "save-linked=false" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Set this to 0 to disable assertion checking." >> "${S}/src/semanage.conf"
|
||||
echo "# This should speed up building the kernel policy" >> "${S}/src/semanage.conf"
|
||||
echo "# from policy modules, but may leave you open to" >> "${S}/src/semanage.conf"
|
||||
echo "# dangerous rules which assertion checking" >> "${S}/src/semanage.conf"
|
||||
echo "# would catch." >> "${S}/src/semanage.conf"
|
||||
echo "expand-check=1" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Modules in the module store can be compressed" >> "${S}/src/semanage.conf"
|
||||
echo "# with bzip2. Set this to the bzip2 blocksize" >> "${S}/src/semanage.conf"
|
||||
echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf"
|
||||
echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf"
|
||||
echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-blocksize=0" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
||||
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
||||
|
||||
epatch "${FILESDIR}/0001-libsemanage-do-not-copy-contexts-in-semanage_migrate.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building_py() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake CC="$(tc-getCC)" PYINC="-I${PYTHON_INCLUDEDIR}" PYTHONLBIDIR="${PYTHON_LIBPATH}" PYPREFIX="${EPYTHON##*/}" "$@"
|
||||
}
|
||||
python_foreach_impl building_py swigify
|
||||
python_foreach_impl building_py pywrap
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
LIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
SHLIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
DESTDIR="${ED}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation_py() {
|
||||
emake DESTDIR="${ED}" LIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
SHLIBDIR="${ED}/usr/$(get_libdir)" install-pywrap
|
||||
python_optimize # bug 531638
|
||||
}
|
||||
python_foreach_impl installation_py
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Migrate the SELinux semanage configuration store if not done already
|
||||
local selinuxtype=$(awk -F'=' '/SELINUXTYPE=/ {print $2}' /etc/selinux/config);
|
||||
if [ -n "${selinuxtype}" ] && [ ! -d /var/lib/selinux/${mcs}/active ] ; then
|
||||
ewarn "Since the 2.4 SELinux userspace, the policy module store is moved"
|
||||
ewarn "from /etc/selinux to /var/lib/selinux. The migration will be run now."
|
||||
ewarn "If there are any issues, it can be done manually by running:"
|
||||
ewarn "/usr/libexec/selinux/semanage_migrate_store"
|
||||
ewarn "For more information, please see"
|
||||
ewarn "- https://github.com/SELinuxProject/selinux/wiki/Policy-Store-Migration"
|
||||
fi
|
||||
|
||||
# Run the store migration without rebuilds
|
||||
for POLICY_TYPE in ${POLICY_TYPES} ; do
|
||||
if [ ! -d "${ROOT}/var/lib/selinux/${POLICY_TYPE}/active" ] ; then
|
||||
einfo "Migrating store ${POLICY_TYPE} (without policy rebuild)."
|
||||
/usr/libexec/selinux/semanage_migrate_store -n -s "${POLICY_TYPE}" || die "Failed to migrate store ${POLICY_TYPE}"
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,132 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
|
||||
SEPOL_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
|
||||
DESCRIPTION="SELinux kernel and policy management library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libselinux-${SELNX_VER}[${MULTILIB_USEDEP}]
|
||||
>=sys-process/audit-2.2.2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/ustr-1.0.4-r2[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
python? (
|
||||
>=dev-lang/swig-2.0.4-r1
|
||||
virtual/pkgconfig
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
echo "# Set this to true to save the linked policy." >> "${S}/src/semanage.conf"
|
||||
echo "# This is normally only useful for analysis" >> "${S}/src/semanage.conf"
|
||||
echo "# or debugging of policy." >> "${S}/src/semanage.conf"
|
||||
echo "save-linked=false" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Set this to 0 to disable assertion checking." >> "${S}/src/semanage.conf"
|
||||
echo "# This should speed up building the kernel policy" >> "${S}/src/semanage.conf"
|
||||
echo "# from policy modules, but may leave you open to" >> "${S}/src/semanage.conf"
|
||||
echo "# dangerous rules which assertion checking" >> "${S}/src/semanage.conf"
|
||||
echo "# would catch." >> "${S}/src/semanage.conf"
|
||||
echo "expand-check=1" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Modules in the module store can be compressed" >> "${S}/src/semanage.conf"
|
||||
echo "# with bzip2. Set this to the bzip2 blocksize" >> "${S}/src/semanage.conf"
|
||||
echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf"
|
||||
echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf"
|
||||
echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-blocksize=0" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
||||
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
||||
|
||||
epatch "${FILESDIR}/0001-libsemanage-do-not-copy-contexts-in-semanage_migrate.patch" \
|
||||
"${FILESDIR}/0002-libsemanage-Add-policy-binary-and-file_contexts.loca.patch" \
|
||||
"${FILESDIR}/0003-libsemanage-Add-file_contexts-and-seusers-to-the-sto.patch" \
|
||||
"${FILESDIR}/0004-libsemanage-save-homedir_template-in-the-policy-stor.patch" \
|
||||
"${FILESDIR}/0005-libsemanage-store-users_extra-in-the-policy-store.patch"
|
||||
epatch "${FILESDIR}"/${PN}-2.4-build-paths.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building_py() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake CC="$(tc-getCC)" PYINC="-I${PYTHON_INCLUDEDIR}" PYTHONLBIDIR="${PYTHON_LIBPATH}" PYPREFIX="${EPYTHON##*/}" "$@"
|
||||
}
|
||||
python_foreach_impl building_py swigify
|
||||
python_foreach_impl building_py pywrap
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
LIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
SHLIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
DESTDIR="${ED}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation_py() {
|
||||
emake DESTDIR="${ED}" LIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
SHLIBDIR="${ED}/usr/$(get_libdir)" install-pywrap
|
||||
python_optimize # bug 531638
|
||||
}
|
||||
python_foreach_impl installation_py
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Migrate the SELinux semanage configuration store if not done already
|
||||
local selinuxtype=$(awk -F'=' '/SELINUXTYPE=/ {print $2}' "${EROOT}"/etc/selinux/config 2>/dev/null)
|
||||
if [ -n "${selinuxtype}" ] && [ ! -d "${EROOT}"/var/lib/selinux/${mcs}/active ] ; then
|
||||
ewarn "Since the 2.4 SELinux userspace, the policy module store is moved"
|
||||
ewarn "from /etc/selinux to /var/lib/selinux. The migration will be run now."
|
||||
ewarn "If there are any issues, it can be done manually by running:"
|
||||
ewarn "/usr/libexec/selinux/semanage_migrate_store"
|
||||
ewarn "For more information, please see"
|
||||
ewarn "- https://github.com/SELinuxProject/selinux/wiki/Policy-Store-Migration"
|
||||
fi
|
||||
|
||||
# Run the store migration without rebuilds
|
||||
for POLICY_TYPE in ${POLICY_TYPES} ; do
|
||||
if [ ! -d "${EROOT}/var/lib/selinux/${POLICY_TYPE}/active" ] ; then
|
||||
einfo "Migrating store ${POLICY_TYPE} (without policy rebuild)."
|
||||
/usr/libexec/selinux/semanage_migrate_store -n -s "${POLICY_TYPE}" || die "Failed to migrate store ${POLICY_TYPE}"
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,138 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit multilib python-r1 toolchain-funcs eutils multilib-minimal
|
||||
|
||||
MY_P="${P//_/-}"
|
||||
MY_RELEASEDATE="20150202"
|
||||
|
||||
SEPOL_VER="${PV}"
|
||||
SELNX_VER="${PV}"
|
||||
|
||||
DESCRIPTION="SELinux kernel and policy management library"
|
||||
HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki"
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git"
|
||||
S="${WORKDIR}/${MY_P}/${PN}"
|
||||
else
|
||||
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20150202/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="python"
|
||||
|
||||
RDEPEND=">=sys-libs/libsepol-${SEPOL_VER}[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/libselinux-${SELNX_VER}[${MULTILIB_USEDEP}]
|
||||
>=sys-process/audit-2.2.2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/ustr-1.0.4-r2[${MULTILIB_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
python? (
|
||||
>=dev-lang/swig-2.0.4-r1
|
||||
virtual/pkgconfig
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
# tests are not meant to be run outside of the
|
||||
# full SELinux userland repo
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
echo "# Set this to true to save the linked policy." >> "${S}/src/semanage.conf"
|
||||
echo "# This is normally only useful for analysis" >> "${S}/src/semanage.conf"
|
||||
echo "# or debugging of policy." >> "${S}/src/semanage.conf"
|
||||
echo "save-linked=false" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Set this to 0 to disable assertion checking." >> "${S}/src/semanage.conf"
|
||||
echo "# This should speed up building the kernel policy" >> "${S}/src/semanage.conf"
|
||||
echo "# from policy modules, but may leave you open to" >> "${S}/src/semanage.conf"
|
||||
echo "# dangerous rules which assertion checking" >> "${S}/src/semanage.conf"
|
||||
echo "# would catch." >> "${S}/src/semanage.conf"
|
||||
echo "expand-check=1" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Modules in the module store can be compressed" >> "${S}/src/semanage.conf"
|
||||
echo "# with bzip2. Set this to the bzip2 blocksize" >> "${S}/src/semanage.conf"
|
||||
echo "# 1-9 when compressing. The higher the number," >> "${S}/src/semanage.conf"
|
||||
echo "# the more memory is traded off for disk space." >> "${S}/src/semanage.conf"
|
||||
echo "# Set to 0 to disable bzip2 compression." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-blocksize=0" >> "${S}/src/semanage.conf"
|
||||
echo >> "${S}/src/semanage.conf"
|
||||
echo "# Reduce memory usage for bzip2 compression and" >> "${S}/src/semanage.conf"
|
||||
echo "# decompression of modules in the module store." >> "${S}/src/semanage.conf"
|
||||
echo "bzip-small=true" >> "${S}/src/semanage.conf"
|
||||
|
||||
if [[ ${PV} != 9999 ]] ; then
|
||||
# If wanted for live builds, please use /etc/portage/patches
|
||||
epatch "${FILESDIR}/0001-libsemanage-do-not-copy-contexts-in-semanage_migrate.patch"
|
||||
fi
|
||||
epatch "${FILESDIR}"/${PN}-2.4-build-paths.patch
|
||||
|
||||
epatch_user
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
all
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
building_py() {
|
||||
python_export PYTHON_INCLUDEDIR PYTHON_LIBPATH
|
||||
emake CC="$(tc-getCC)" PYINC="-I${PYTHON_INCLUDEDIR}" PYTHONLBIDIR="${PYTHON_LIBPATH}" PYPREFIX="${EPYTHON##*/}" "$@"
|
||||
}
|
||||
python_foreach_impl building_py swigify
|
||||
python_foreach_impl building_py pywrap
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake \
|
||||
LIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
SHLIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
DESTDIR="${ED}" install
|
||||
|
||||
if multilib_is_native_abi && use python; then
|
||||
installation_py() {
|
||||
emake DESTDIR="${ED}" LIBDIR="${ED}/usr/$(get_libdir)" \
|
||||
SHLIBDIR="${ED}/usr/$(get_libdir)" install-pywrap
|
||||
python_optimize # bug 531638
|
||||
}
|
||||
python_foreach_impl installation_py
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Migrate the SELinux semanage configuration store if not done already
|
||||
local selinuxtype=$(awk -F'=' '/SELINUXTYPE=/ {print $2}' "${EROOT}"/etc/selinux/config 2>/dev/null)
|
||||
if [ -n "${selinuxtype}" ] && [ ! -d "${EROOT}"/var/lib/selinux/${mcs}/active ] ; then
|
||||
ewarn "Since the 2.4 SELinux userspace, the policy module store is moved"
|
||||
ewarn "from /etc/selinux to /var/lib/selinux. The migration will be run now."
|
||||
ewarn "If there are any issues, it can be done manually by running:"
|
||||
ewarn "/usr/libexec/selinux/semanage_migrate_store"
|
||||
ewarn "For more information, please see"
|
||||
ewarn "- https://github.com/SELinuxProject/selinux/wiki/Policy-Store-Migration"
|
||||
fi
|
||||
|
||||
# Run the store migration without rebuilds
|
||||
for POLICY_TYPE in ${POLICY_TYPES} ; do
|
||||
if [ ! -d "${EROOT}/var/lib/selinux/${POLICY_TYPE}/active" ] ; then
|
||||
einfo "Migrating store ${POLICY_TYPE} (without policy rebuild)."
|
||||
/usr/libexec/selinux/semanage_migrate_store -n -s "${POLICY_TYPE}" || die "Failed to migrate store ${POLICY_TYPE}"
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>selinux@gentoo.org</email>
|
||||
<name>SELinux Team</name>
|
||||
</maintainer>
|
||||
<longdescription>SELinux policy management libraries</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">SELinuxProject/selinux</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user