[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2024-06-29 Thread Jason Zaman
commit: c14d8d314cf1ffec2007f9f8acf17f37c7e8a50d
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Jun 30 00:38:49 2024 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jun 30 00:38:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c14d8d31

sys-apps/policycoreutils: bump to 3.7

Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.7.ebuild | 168 +
 2 files changed, 169 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 6983b77d03e7..6bc51afcdd25 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,4 @@
 DIST policycoreutils-3.5.tar.gz 775639 BLAKE2B 
777b8564484e89385db7a184c4cad9a99aabf1fd1ac41abd5826c7e6ad29118ae9d6f0d0fd968b6ced87f2f04bc6d7cd207b67428151522915367f656fb8d3f8
 SHA512 
7978ef6b7a278c6384c9b397734d03c4932c8aefecceaa1e6a1345be27b253dbe276fdcd219ce83ad732c6ed55d53bbc3254e39bccadd67d2cd1152a14749444
 DIST policycoreutils-3.6.tar.gz 755682 BLAKE2B 
a8b180c8006989192d152651dcfa51856956780bfe1139cc1dc0162eb66ba1eef4f7d64f68a48479572b02e2e97a68c7082722a745d22a9453e8378373319e3c
 SHA512 
e1f32e6e0310b879a5aadab157b103314a61bf3b8fd59c1212d701fbf39900e3b9a0b727338988103d784a7e505355a871ba519dd91520b135a3b9dae40bf1b0
+DIST policycoreutils-3.7.tar.gz 757142 BLAKE2B 
95794d48ef80882803199af5330f0ac4f1cee6710562a559e3d8fd94475d117286f8b612ffc5dc9027f4f8f4cd55e82ddb4d328e91d6c9846b18460c9bee159b
 SHA512 
30e3413b15df0bf1a994d2b3a03a719f89b3ee521a708b92fcc684822152145722cb3ef28fd5b7c42b779281b0bd4d69d65c0bc2605eec1af3f388609d985500
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.7.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.7.ebuild
new file mode 100644
index ..6b54ec0947c1
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.7.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit python-r1 toolchain-funcs bash-completion-r1
+
+MY_PV="${PV//_/-}"
+MY_P="${PN}-${MY_PV}"
+EXTRAS_VER="1.37"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="audit pam split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
+   >=sys-libs/libsepol-${PV}:=
+   sys-libs/libcap-ng:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+# Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
+BDEPEND="sys-devel/gettext"
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils"
+
+PDEPEND="sys-apps/semodule-utils
+   sys-apps/selinux-python"
+
+src_unpack() {
+   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
+   default
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   fi
+}
+
+src_prepare() {
+   S="${S1}"
+   cd "${S}" || die "Failed to switch to ${S}"
+   if [[ ${PV} !=  ]] ; then
+   # If needed for live ebuilds please use /etc/portage/patches
+   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
+   fi
+
+   # rlpkg is more useful than fixfiles
+   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 1 failed"
+   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 2 failed"
+
+   eapply_user
+
+   sed -i 's/-Werror//g' "${S1}"/*/Makefile 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2024-06-29 Thread Jason Zaman
commit: d8bd6ae532d7bae3e06e9afaab65eceb59ae639c
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Jun 29 23:46:57 2024 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jun 30 00:34:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8bd6ae5

sys-apps/policycoreutils: update EAPI 7 -> 8

Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 7ac02d3d3f39..6b54ec0947c1 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI="8"
 PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="xml(+)"
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2024-06-06 Thread Kenton Groombridge
commit: 3cc6da709ad4d69b7e5e231fe3b388c8d3a8b1fc
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Thu Jun  6 13:32:09 2024 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Thu Jun  6 13:44:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc6da70

sys-apps/policycoreutils: enable py3.12

Closes: https://bugs.gentoo.org/932011
Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.6.ebuild  | 2 +-
 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
index e2527faa689b..b8f8898a9128 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="xml(+)"
 
 inherit python-r1 toolchain-funcs bash-completion-r1

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index b8625ff49cd8..7ac02d3d3f39 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="xml(+)"
 
 inherit python-r1 toolchain-funcs bash-completion-r1



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2024-06-03 Thread Ben Kohler
commit: 323439c579bb530217935cfdc9e741b0a1cff36e
Author: Ben Kohler  gentoo  org>
AuthorDate: Mon Jun  3 20:39:13 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Mon Jun  3 20:40:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=323439c5

Revert "sys-apps/policycoreutils: enable py3.12"

This reverts commit 0ed838b7233abada1d8a51a5fe0002f43540d8f9.

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
index b8f8898a9128..e2527faa689b 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..11} )
 PYTHON_REQ_USE="xml(+)"
 
 inherit python-r1 toolchain-funcs bash-completion-r1



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2024-06-03 Thread Ben Kohler
commit: 0ed838b7233abada1d8a51a5fe0002f43540d8f9
Author: Ben Kohler  gentoo  org>
AuthorDate: Mon Jun  3 20:23:54 2024 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Mon Jun  3 20:23:54 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ed838b7

sys-apps/policycoreutils: enable py3.12

Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
index e2527faa689b..b8f8898a9128 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 PYTHON_REQ_USE="xml(+)"
 
 inherit python-r1 toolchain-funcs bash-completion-r1



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2024-02-09 Thread Kenton Groombridge
commit: c4719a957590a9b209422d93c8136075c2781af7
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Fri Feb  9 14:38:21 2024 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Fri Feb  9 14:41:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4719a95

sys-apps/policycoreutils: stabilize 3.6 for amd64, arm, arm64, x86

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
index b8625ff49cd8..e2527faa689b 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
@@ -24,7 +24,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 arm arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2024-01-16 Thread Kenton Groombridge
commit: 5b5ba532a660c3e09552473500f03b9c6b380f28
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Wed Jan 17 00:27:38 2024 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Wed Jan 17 01:29:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b5ba532

sys-apps/policycoreutils: bump to 3.6

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.6.ebuild | 168 +
 2 files changed, 169 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index cfc08315c275..6983b77d03e7 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,2 +1,3 @@
 DIST policycoreutils-3.5.tar.gz 775639 BLAKE2B 
777b8564484e89385db7a184c4cad9a99aabf1fd1ac41abd5826c7e6ad29118ae9d6f0d0fd968b6ced87f2f04bc6d7cd207b67428151522915367f656fb8d3f8
 SHA512 
7978ef6b7a278c6384c9b397734d03c4932c8aefecceaa1e6a1345be27b253dbe276fdcd219ce83ad732c6ed55d53bbc3254e39bccadd67d2cd1152a14749444
+DIST policycoreutils-3.6.tar.gz 755682 BLAKE2B 
a8b180c8006989192d152651dcfa51856956780bfe1139cc1dc0162eb66ba1eef4f7d64f68a48479572b02e2e97a68c7082722a745d22a9453e8378373319e3c
 SHA512 
e1f32e6e0310b879a5aadab157b103314a61bf3b8fd59c1212d701fbf39900e3b9a0b727338988103d784a7e505355a871ba519dd91520b135a3b9dae40bf1b0
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.6.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
new file mode 100644
index ..b8625ff49cd8
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.6.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit python-r1 toolchain-funcs bash-completion-r1
+
+MY_PV="${PV//_/-}"
+MY_P="${PN}-${MY_PV}"
+EXTRAS_VER="1.37"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="audit pam split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
+   >=sys-libs/libsepol-${PV}:=
+   sys-libs/libcap-ng:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+# Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
+BDEPEND="sys-devel/gettext"
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils"
+
+PDEPEND="sys-apps/semodule-utils
+   sys-apps/selinux-python"
+
+src_unpack() {
+   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
+   default
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   fi
+}
+
+src_prepare() {
+   S="${S1}"
+   cd "${S}" || die "Failed to switch to ${S}"
+   if [[ ${PV} !=  ]] ; then
+   # If needed for live ebuilds please use /etc/portage/patches
+   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
+   fi
+
+   # rlpkg is more useful than fixfiles
+   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 1 failed"
+   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 2 failed"
+
+   eapply_user
+
+   sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove 
Werror"
+
+   python_copy_sources
+   # Our extra code is outside the regular directory, so set it to the 
extra
+   # directory. We really should optimize this as it is ugly, but the extra
+   # code is needed for Gentoo at the same time that 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2024-01-16 Thread Kenton Groombridge
commit: 42432f8f58e64a9ea77dd3db8c010a2b7f8399ac
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Wed Jan 17 00:26:16 2024 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Wed Jan 17 01:29:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42432f8f

sys-apps/policycoreutils: update live ebuild

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 6df44f548cc8..b8625ff49cd8 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
 PYTHON_REQ_USE="xml(+)"
 
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
+inherit python-r1 toolchain-funcs bash-completion-r1
 
 MY_PV="${PV//_/-}"
 MY_P="${PN}-${MY_PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2023-04-15 Thread Kenton Groombridge
commit: eda5e6eb8d154d9664326ad8faaa5e8577099414
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Sat Apr 15 15:06:00 2023 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Sat Apr 15 15:06:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eda5e6eb

sys-apps/policycoreutils: drop 3.4

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 -
 .../policycoreutils/policycoreutils-3.4.ebuild | 168 -
 2 files changed, 169 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index ea1da874b127..cfc08315c275 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,2 @@
-DIST policycoreutils-3.4.tar.gz 771435 BLAKE2B 
53654ad8f17c8e539c7821ddcc4f40dde1aa214943b5f2876efbfd8e10c90747d21c1530df3d53e51677159026a70691db6282f3bedc79739673380e053f74a2
 SHA512 
ded0d6fb5e3f165a893ee42411ac82616ddf37a02acaca6a8437b8f10ea12e5594bbd7bc7e3ead12df00c018078950f3fbe55604c41b0554257c4ca18f55ebb6
 DIST policycoreutils-3.5.tar.gz 775639 BLAKE2B 
777b8564484e89385db7a184c4cad9a99aabf1fd1ac41abd5826c7e6ad29118ae9d6f0d0fd968b6ced87f2f04bc6d7cd207b67428151522915367f656fb8d3f8
 SHA512 
7978ef6b7a278c6384c9b397734d03c4932c8aefecceaa1e6a1345be27b253dbe276fdcd219ce83ad732c6ed55d53bbc3254e39bccadd67d2cd1152a14749444
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
deleted file mode 100644
index 5d45077b38c6..
--- a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_{9..11} )
-PYTHON_REQ_USE="xml(+)"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-MY_PV="${PV//_/-}"
-MY_P="${PN}-${MY_PV}"
-EXTRAS_VER="1.37"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${P}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 arm arm64 ~mips x86"
-   S1="${WORKDIR}/${MY_P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="audit pam split-usr"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
-   >=sys-libs/libsepol-${PV}:=
-   sys-libs/libcap-ng:=
-   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}"
-
-# Avoid dependency loop in the cross-compile case, bug #755173
-# (Still exists in native)
-BDEPEND="sys-devel/gettext"
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${DEPEND}
-   app-misc/pax-utils"
-
-PDEPEND="sys-apps/semodule-utils
-   sys-apps/selinux-python"
-
-src_unpack() {
-   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
-   default
-   if [[ ${PV} ==  ]] ; then
-   git-r3_src_unpack
-   fi
-}
-
-src_prepare() {
-   S="${S1}"
-   cd "${S}" || die "Failed to switch to ${S}"
-   if [[ ${PV} !=  ]] ; then
-   # If needed for live ebuilds please use /etc/portage/patches
-   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
-   fi
-
-   # rlpkg is more useful than fixfiles
-   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
-   || die "fixfiles sed 1 failed"
-   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
-   || die "fixfiles sed 2 failed"
-
-   eapply_user
-
-   sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove 
Werror"
-
-   python_copy_sources
-   # Our extra code is outside the regular directory, so set it to the 
extra
-   # directory. We really should optimize this as it is ugly, but the extra
-   # code is needed for Gentoo at the same time that 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2023-04-09 Thread Kenton Groombridge
commit: cd52b983962f96e190c6b704bb8609a3ebab4a42
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Sun Apr  9 15:03:30 2023 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Sun Apr  9 15:03:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd52b983

sys-apps/policycoreutils: Stabilize SELinux userspace 3.5

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.5.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.5.ebuild
index 6df44f548cc8..5d45077b38c6 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.5.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.5.ebuild
@@ -24,7 +24,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 arm arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2023-03-29 Thread Kenton Groombridge
commit: e194b8ea675d7d9f583cea5bc5a43864f06f0bd1
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Wed Mar 29 22:32:35 2023 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Thu Mar 30 00:08:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e194b8ea

sys-apps/policycoreutils: drop 3.3

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 -
 .../policycoreutils/policycoreutils-3.3.ebuild | 167 -
 2 files changed, 168 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index da33a6b1b947..ea1da874b127 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,4 +1,3 @@
-DIST policycoreutils-3.3.tar.gz 2818092 BLAKE2B 
0ed9f128a774176ebadb71f448af8dee8c616a706314783b646869e7ea91892e358d5bb03e3aece3d0e6dc3203852e4e2925482727df1e5c71e075236ee43e5c
 SHA512 
db658990355f99a8e43f53d20cc67bf9e557b0a7837d1927c80f325b7f93ad47876382278a980b818484d6e31712a9b03e279f947ebc88c4be60a9f395607f98
 DIST policycoreutils-3.4.tar.gz 771435 BLAKE2B 
53654ad8f17c8e539c7821ddcc4f40dde1aa214943b5f2876efbfd8e10c90747d21c1530df3d53e51677159026a70691db6282f3bedc79739673380e053f74a2
 SHA512 
ded0d6fb5e3f165a893ee42411ac82616ddf37a02acaca6a8437b8f10ea12e5594bbd7bc7e3ead12df00c018078950f3fbe55604c41b0554257c4ca18f55ebb6
 DIST policycoreutils-3.5.tar.gz 775639 BLAKE2B 
777b8564484e89385db7a184c4cad9a99aabf1fd1ac41abd5826c7e6ad29118ae9d6f0d0fd968b6ced87f2f04bc6d7cd207b67428151522915367f656fb8d3f8
 SHA512 
7978ef6b7a278c6384c9b397734d03c4932c8aefecceaa1e6a1345be27b253dbe276fdcd219ce83ad732c6ed55d53bbc3254e39bccadd67d2cd1152a14749444
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
deleted file mode 100644
index f07f5c672c9a..
--- a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_9 )
-PYTHON_REQ_USE="xml(+)"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-EXTRAS_VER="1.37"
-
-IUSE="audit pam split-usr"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 arm arm64 ~mips x86"
-   S1="${WORKDIR}/${P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
-   >=sys-libs/libsepol-${PV}:=
-   sys-libs/libcap-ng:=
-   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}"
-
-# Avoid dependency loop in the cross-compile case, bug #755173
-# (Still exists in native)
-BDEPEND="sys-devel/gettext"
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${DEPEND}
-   app-misc/pax-utils"
-
-PDEPEND="sys-apps/semodule-utils
-   sys-apps/selinux-python"
-
-src_unpack() {
-   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
-   default
-   if [[ ${PV} ==  ]] ; then
-   git-r3_src_unpack
-   fi
-}
-
-src_prepare() {
-   S="${S1}"
-   cd "${S}" || die "Failed to switch to ${S}"
-   if [[ ${PV} !=  ]] ; then
-   # If needed for live ebuilds please use /etc/portage/patches
-   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
-   fi
-
-   # rlpkg is more useful than fixfiles
-   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
-   || die "fixfiles sed 1 failed"
-   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
-   || die "fixfiles sed 2 failed"
-
-   eapply_user
-
-   sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove 
Werror"

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2023-03-29 Thread Kenton Groombridge
commit: 77fd680a378aa2160c14b5e5733666a97c4cef1b
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Wed Mar 29 22:20:25 2023 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Thu Mar 30 00:08:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77fd680a

sys-apps/policycoreutils: bump to 3.5

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.5.ebuild | 168 +
 2 files changed, 169 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 8902061e7b5e..da33a6b1b947 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,4 @@
 DIST policycoreutils-3.3.tar.gz 2818092 BLAKE2B 
0ed9f128a774176ebadb71f448af8dee8c616a706314783b646869e7ea91892e358d5bb03e3aece3d0e6dc3203852e4e2925482727df1e5c71e075236ee43e5c
 SHA512 
db658990355f99a8e43f53d20cc67bf9e557b0a7837d1927c80f325b7f93ad47876382278a980b818484d6e31712a9b03e279f947ebc88c4be60a9f395607f98
 DIST policycoreutils-3.4.tar.gz 771435 BLAKE2B 
53654ad8f17c8e539c7821ddcc4f40dde1aa214943b5f2876efbfd8e10c90747d21c1530df3d53e51677159026a70691db6282f3bedc79739673380e053f74a2
 SHA512 
ded0d6fb5e3f165a893ee42411ac82616ddf37a02acaca6a8437b8f10ea12e5594bbd7bc7e3ead12df00c018078950f3fbe55604c41b0554257c4ca18f55ebb6
+DIST policycoreutils-3.5.tar.gz 775639 BLAKE2B 
777b8564484e89385db7a184c4cad9a99aabf1fd1ac41abd5826c7e6ad29118ae9d6f0d0fd968b6ced87f2f04bc6d7cd207b67428151522915367f656fb8d3f8
 SHA512 
7978ef6b7a278c6384c9b397734d03c4932c8aefecceaa1e6a1345be27b253dbe276fdcd219ce83ad732c6ed55d53bbc3254e39bccadd67d2cd1152a14749444
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.5.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.5.ebuild
new file mode 100644
index ..6df44f548cc8
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.5.ebuild
@@ -0,0 +1,168 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_PV="${PV//_/-}"
+MY_P="${PN}-${MY_PV}"
+EXTRAS_VER="1.37"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="audit pam split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
+   >=sys-libs/libsepol-${PV}:=
+   sys-libs/libcap-ng:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+# Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
+BDEPEND="sys-devel/gettext"
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils"
+
+PDEPEND="sys-apps/semodule-utils
+   sys-apps/selinux-python"
+
+src_unpack() {
+   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
+   default
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   fi
+}
+
+src_prepare() {
+   S="${S1}"
+   cd "${S}" || die "Failed to switch to ${S}"
+   if [[ ${PV} !=  ]] ; then
+   # If needed for live ebuilds please use /etc/portage/patches
+   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
+   fi
+
+   # rlpkg is more useful than fixfiles
+   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 1 failed"
+   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 2 failed"
+
+   eapply_user
+
+   sed -i 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-09-19 Thread Kenton Groombridge
commit: 942fc9d97da6e465797296154b66e86687f30f51
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Mon Sep 19 17:14:48 2022 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Mon Sep 19 17:20:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=942fc9d9

sys-apps/policycoreutils: fix install on merged-usr

Upstream sestatus Makefile installs a compatibility symlink for
the sestatus binary. Remove this symlink when USE=merged-usr to
fix an internal file collision.

Closes: https://bugs.gentoo.org/871501
Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.3.ebuild  | 7 ++-
 sys-apps/policycoreutils/policycoreutils-3.4.ebuild  | 7 ++-
 sys-apps/policycoreutils/policycoreutils-.ebuild | 7 ++-
 3 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
index fb97df7db201..2bcf57dff96c 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
@@ -138,7 +138,12 @@ src_install() {
rm -fR "${D}/etc/rc.d" || die
 
# compatibility symlinks
-   use split-usr && dosym ../../sbin/setfiles /usr/sbin/setfiles
+   if use split-usr; then
+   dosym ../../sbin/setfiles /usr/sbin/setfiles
+   else
+   # remove sestatus symlink
+   rm -f "${D}"/usr/sbin/sestatus || die
+   fi
 
bashcomp_alias setsebool getsebool
 

diff --git a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
index eb49d7350f93..780a80e7b5c5 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
@@ -139,7 +139,12 @@ src_install() {
rm -fR "${D}/etc/rc.d" || die
 
# compatibility symlinks
-   use split-usr && dosym ../../sbin/setfiles /usr/sbin/setfiles
+   if use split-usr; then
+   dosym ../../sbin/setfiles /usr/sbin/setfiles
+   else
+   # remove sestatus symlink
+   rm -f "${D}"/usr/sbin/sestatus || die
+   fi
 
bashcomp_alias setsebool getsebool
 

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 1ac0b78acdaf..add6d6f2b267 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -139,7 +139,12 @@ src_install() {
rm -fR "${D}/etc/rc.d" || die
 
# compatibility symlinks
-   use split-usr && dosym ../../sbin/setfiles /usr/sbin/setfiles
+   if use split-usr; then
+   dosym ../../sbin/setfiles /usr/sbin/setfiles
+   else
+   # remove sestatus symlink
+   rm -f "${D}"/usr/sbin/sestatus || die
+   fi
 
bashcomp_alias setsebool getsebool
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-09-07 Thread Michał Górny
commit: 8536261278c821976bba3a73aca80292df17c184
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Sep  4 19:43:25 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep  7 07:52:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85362612

sys-apps/policycoreutils: Update PYTHON_REQ_USE to xml(+)

Update PYTHON_REQ_USE to specify "xml(+)", as Python 3.11 no longer
features the "xml" flag.

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
index 456189b1aac5..fb97df7db201 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 PYTHON_COMPAT=( python{3_7,3_8,3_9} )
-PYTHON_REQ_USE="xml"
+PYTHON_REQ_USE="xml(+)"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-07-18 Thread Sam James
commit: 5fd360bdc69eb5dde37e0881547a4f28a72bfee0
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 18 12:48:52 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 18 12:48:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fd360bd

sys-apps/policycoreutils: Stabilize 3.4 arm64, #855968

Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
index 5aa60727ccb6..eb49d7350f93 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
@@ -24,7 +24,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 arm ~arm64 ~mips x86"
+   KEYWORDS="amd64 arm arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-07-18 Thread Sam James
commit: 2151067b158763d7afb7f554855811242e0dcb26
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 18 12:48:42 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 18 12:48:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2151067b

sys-apps/policycoreutils: Stabilize 3.4 arm, #855968

Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
index a4a2fe831d8b..5aa60727ccb6 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
@@ -24,7 +24,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
+   KEYWORDS="amd64 arm ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-07-02 Thread Kenton Groombridge
commit: 3a5d8e3aa3c3b9d5fc839f4032d1e61229e25d30
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Sat Jul  2 17:01:19 2022 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Sat Jul  2 17:01:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a5d8e3a

sys-apps/policycoreutils: stabilize 3.4 for amd64, x86

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
index 1ac0b78acdaf..a4a2fe831d8b 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
@@ -24,7 +24,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-06-03 Thread Kenton Groombridge
commit: 632b383d2de03fe42b1eb05097ce1a730cdfc941
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Fri Jun  3 13:45:14 2022 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Sat Jun  4 01:03:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=632b383d

sys-apps/policycoreutils: drop 3.4_rc1

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 -
 .../policycoreutils/policycoreutils-3.4_rc1.ebuild | 163 -
 2 files changed, 164 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 4355a398c140..8902061e7b5e 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,4 +1,3 @@
 DIST policycoreutils-3.3.tar.gz 2818092 BLAKE2B 
0ed9f128a774176ebadb71f448af8dee8c616a706314783b646869e7ea91892e358d5bb03e3aece3d0e6dc3203852e4e2925482727df1e5c71e075236ee43e5c
 SHA512 
db658990355f99a8e43f53d20cc67bf9e557b0a7837d1927c80f325b7f93ad47876382278a980b818484d6e31712a9b03e279f947ebc88c4be60a9f395607f98
-DIST policycoreutils-3.4-rc1.tar.gz 771240 BLAKE2B 
27f730c1f870be9175bef9d8c44ad74f737d5a185d369ceb84c609974423ffea5ce1f8a602af6d25253df963e37c7d2fd5a4cc4877782f6768cfaf5a544c4aa4
 SHA512 
bbe7b126f07b895d6bea4dfdbc6574a3f8ba08466979f8ed5009b54c68eb0c7f1786d175f52925d0e7e983ca799b846f50112b50c5d6d4edc1b03152593b68c1
 DIST policycoreutils-3.4.tar.gz 771435 BLAKE2B 
53654ad8f17c8e539c7821ddcc4f40dde1aa214943b5f2876efbfd8e10c90747d21c1530df3d53e51677159026a70691db6282f3bedc79739673380e053f74a2
 SHA512 
ded0d6fb5e3f165a893ee42411ac82616ddf37a02acaca6a8437b8f10ea12e5594bbd7bc7e3ead12df00c018078950f3fbe55604c41b0554257c4ca18f55ebb6
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.4_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.4_rc1.ebuild
deleted file mode 100644
index 91d0f1ac5ab7..
--- a/sys-apps/policycoreutils/policycoreutils-3.4_rc1.ebuild
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-MY_PV="${PV//_/-}"
-MY_P="${PN}-${MY_PV}"
-EXTRAS_VER="1.37"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${P}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
-   S1="${WORKDIR}/${MY_P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="audit pam split-usr"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
-   >=sys-libs/libsepol-${PV}:=
-   sys-libs/libcap-ng:=
-   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}"
-
-# Avoid dependency loop in the cross-compile case, bug #755173
-# (Still exists in native)
-BDEPEND="sys-devel/gettext"
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${DEPEND}
-   app-misc/pax-utils"
-
-PDEPEND="sys-apps/semodule-utils
-   sys-apps/selinux-python"
-
-src_unpack() {
-   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
-   default
-   if [[ ${PV} ==  ]] ; then
-   git-r3_src_unpack
-   fi
-}
-
-src_prepare() {
-   S="${S1}"
-   cd "${S}" || die "Failed to switch to ${S}"
-   if [[ ${PV} !=  ]] ; then
-   # If needed for live ebuilds please use /etc/portage/patches
-   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
-   fi
-
-   # rlpkg is more useful than fixfiles
-   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
-   || die "fixfiles sed 1 failed"
-   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
-   || die "fixfiles sed 2 failed"
-
-   eapply_user
-
- 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-06-03 Thread Kenton Groombridge
commit: f82348b6f5b39d7903c28b45f125ad80d95035df
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Fri Jun  3 13:30:50 2022 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Sat Jun  4 01:03:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f82348b6

sys-apps/policycoreutils: bump to 3.4

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.4.ebuild | 163 +
 2 files changed, 164 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 71d9b732a14e..4355a398c140 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,4 @@
 DIST policycoreutils-3.3.tar.gz 2818092 BLAKE2B 
0ed9f128a774176ebadb71f448af8dee8c616a706314783b646869e7ea91892e358d5bb03e3aece3d0e6dc3203852e4e2925482727df1e5c71e075236ee43e5c
 SHA512 
db658990355f99a8e43f53d20cc67bf9e557b0a7837d1927c80f325b7f93ad47876382278a980b818484d6e31712a9b03e279f947ebc88c4be60a9f395607f98
 DIST policycoreutils-3.4-rc1.tar.gz 771240 BLAKE2B 
27f730c1f870be9175bef9d8c44ad74f737d5a185d369ceb84c609974423ffea5ce1f8a602af6d25253df963e37c7d2fd5a4cc4877782f6768cfaf5a544c4aa4
 SHA512 
bbe7b126f07b895d6bea4dfdbc6574a3f8ba08466979f8ed5009b54c68eb0c7f1786d175f52925d0e7e983ca799b846f50112b50c5d6d4edc1b03152593b68c1
+DIST policycoreutils-3.4.tar.gz 771435 BLAKE2B 
53654ad8f17c8e539c7821ddcc4f40dde1aa214943b5f2876efbfd8e10c90747d21c1530df3d53e51677159026a70691db6282f3bedc79739673380e053f74a2
 SHA512 
ded0d6fb5e3f165a893ee42411ac82616ddf37a02acaca6a8437b8f10ea12e5594bbd7bc7e3ead12df00c018078950f3fbe55604c41b0554257c4ca18f55ebb6
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.4.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
new file mode 100644
index ..1ac0b78acdaf
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.4.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_PV="${PV//_/-}"
+MY_P="${PN}-${MY_PV}"
+EXTRAS_VER="1.37"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="audit pam split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
+   >=sys-libs/libsepol-${PV}:=
+   sys-libs/libcap-ng:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+# Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
+BDEPEND="sys-devel/gettext"
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils"
+
+PDEPEND="sys-apps/semodule-utils
+   sys-apps/selinux-python"
+
+src_unpack() {
+   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
+   default
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   fi
+}
+
+src_prepare() {
+   S="${S1}"
+   cd "${S}" || die "Failed to switch to ${S}"
+   if [[ ${PV} !=  ]] ; then
+   # If needed for live ebuilds please use /etc/portage/patches
+   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
+   fi
+
+   # rlpkg is more useful than fixfiles
+   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 1 failed"
+   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 2 failed"
+
+   eapply_user
+
+   sed -i 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-06-03 Thread Kenton Groombridge
commit: b2633058258b16b3c66267e9fdfc04d7cfa4b42f
Author: Kenton Groombridge  gentoo  org>
AuthorDate: Fri Jun  3 13:30:04 2022 +
Commit: Kenton Groombridge  gentoo  org>
CommitDate: Sat Jun  4 01:03:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2633058

sys-apps/policycoreutils: update live ebuild

Signed-off-by: Kenton Groombridge  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 91d0f1ac5ab7..1ac0b78acdaf 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 PYTHON_COMPAT=( python3_{8..10} )
-PYTHON_REQ_USE="xml"
+PYTHON_REQ_USE="xml(+)"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-04-10 Thread Jason Zaman
commit: 859c85d9524b3a597531e4b7b139b4fc087184de
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Apr 11 04:26:45 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Apr 11 04:57:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=859c85d9

sys-apps/policycoreutils: bump to 3.4_rc1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.4_rc1.ebuild | 163 +
 2 files changed, 164 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 05b2edfb4b33..71d9b732a14e 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,2 +1,3 @@
 DIST policycoreutils-3.3.tar.gz 2818092 BLAKE2B 
0ed9f128a774176ebadb71f448af8dee8c616a706314783b646869e7ea91892e358d5bb03e3aece3d0e6dc3203852e4e2925482727df1e5c71e075236ee43e5c
 SHA512 
db658990355f99a8e43f53d20cc67bf9e557b0a7837d1927c80f325b7f93ad47876382278a980b818484d6e31712a9b03e279f947ebc88c4be60a9f395607f98
+DIST policycoreutils-3.4-rc1.tar.gz 771240 BLAKE2B 
27f730c1f870be9175bef9d8c44ad74f737d5a185d369ceb84c609974423ffea5ce1f8a602af6d25253df963e37c7d2fd5a4cc4877782f6768cfaf5a544c4aa4
 SHA512 
bbe7b126f07b895d6bea4dfdbc6574a3f8ba08466979f8ed5009b54c68eb0c7f1786d175f52925d0e7e983ca799b846f50112b50c5d6d4edc1b03152593b68c1
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.4_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.4_rc1.ebuild
new file mode 100644
index ..91d0f1ac5ab7
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.4_rc1.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_PV="${PV//_/-}"
+MY_P="${PN}-${MY_PV}"
+EXTRAS_VER="1.37"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="audit pam split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
+   >=sys-libs/libsepol-${PV}:=
+   sys-libs/libcap-ng:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+# Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
+BDEPEND="sys-devel/gettext"
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils"
+
+PDEPEND="sys-apps/semodule-utils
+   sys-apps/selinux-python"
+
+src_unpack() {
+   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
+   default
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   fi
+}
+
+src_prepare() {
+   S="${S1}"
+   cd "${S}" || die "Failed to switch to ${S}"
+   if [[ ${PV} !=  ]] ; then
+   # If needed for live ebuilds please use /etc/portage/patches
+   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
+   fi
+
+   # rlpkg is more useful than fixfiles
+   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 1 failed"
+   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 2 failed"
+
+   eapply_user
+
+   sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove 
Werror"
+
+   python_copy_sources
+   # Our extra code is outside the regular directory, so set it to the 
extra
+   # directory. We really should optimize this as it is ugly, but the extra
+   # code 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-04-10 Thread Jason Zaman
commit: 31aae2e65114d0736505134ae0b51173b91297fd
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Apr 11 00:28:59 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Apr 11 03:43:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31aae2e6

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-.ebuild | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index e6ee13c43070..91d0f1ac5ab7 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -2,16 +2,15 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python{3_7,3_8,3_9} )
+PYTHON_COMPAT=( python3_{8..10} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
+MY_PV="${PV//_/-}"
+MY_P="${PN}-${MY_PV}"
 EXTRAS_VER="1.37"
 
-IUSE="audit pam split-usr"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
 DESCRIPTION="SELinux core utilities"
 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
 
@@ -19,20 +18,22 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;

SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${PN}"
+   S1="${WORKDIR}/${P}/${PN}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
 else
-   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_PV}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
-   S1="${WORKDIR}/${P}"
+   S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
+IUSE="audit pam split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
>=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-04-08 Thread Jason Zaman
commit: 1e96f4dcbf27b8faf16a19b21d15d9ef95935bd9
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Apr  9 01:47:51 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Apr  9 02:54:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e96f4dc

sys-apps/policycoreutils: Drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   2 -
 .../policycoreutils/policycoreutils-3.1-r2.ebuild  | 168 -
 .../policycoreutils/policycoreutils-3.2.ebuild | 162 
 3 files changed, 332 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index ca90fbb5a9d6..05b2edfb4b33 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,4 +1,2 @@
-DIST policycoreutils-3.1.tar.gz 2817914 BLAKE2B 
ef68bb5f9cf577164ead44803b6be2bd6401c9e923d2c775c7c8c47f0e803749feaec4247fec5cc1cb766314954402fd2506370bb397f746437ecfcf65b384f3
 SHA512 
0592f218563a99ba95d2cfd07fdc3761b61c1cc3c01a17ab89ad840169e1a7d4083521d5cacc72d1b76911d516bf592db7a3f90d9ef0cc11ceed007e4580e140
-DIST policycoreutils-3.2.tar.gz 2817961 BLAKE2B 
747cbd7b84ffa9153067340f8f1dc5a652eaf85b037a6e10e116d3d0b31c8e7c9794bc6a46ae212848bef4887478ac167e359a387bebac49e0acd08b727808ce
 SHA512 
d16781d2d61b8b78d6fc242f2b5c3a03f47ea524fb61655823b6b0f0327ff376c65fe7bdf7a53f5863c01e599cf4a7050f21fda0fe6a8f2c2c16f89b156a4346
 DIST policycoreutils-3.3.tar.gz 2818092 BLAKE2B 
0ed9f128a774176ebadb71f448af8dee8c616a706314783b646869e7ea91892e358d5bb03e3aece3d0e6dc3203852e4e2925482727df1e5c71e075236ee43e5c
 SHA512 
db658990355f99a8e43f53d20cc67bf9e557b0a7837d1927c80f325b7f93ad47876382278a980b818484d6e31712a9b03e279f947ebc88c4be60a9f395607f98
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
deleted file mode 100644
index eea202ba8299..
--- a/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python{3_7,3_8,3_9} )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-MY_P="${P//_/-}"
-
-MY_RELEASEDATE="20200710"
-EXTRAS_VER="1.37"
-SEMNG_VER="${PV}"
-SELNX_VER="${PV}"
-SEPOL_VER="${PV}"
-
-IUSE="audit pam split-usr"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${MY_P}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
-   S1="${WORKDIR}/${MY_P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
-   >=sys-libs/libsepol-${SEPOL_VER}:=
-   sys-libs/libcap-ng:=
-   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}"
-
-# Avoid dependency loop in the cross-compile case, bug #755173
-# (Still exists in native)
-BDEPEND="sys-devel/gettext"
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${DEPEND}
-   app-misc/pax-utils"
-
-PDEPEND="sys-apps/semodule-utils
-   sys-apps/selinux-python"
-
-src_unpack() {
-   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
-   default
-   if [[ ${PV} ==  ]] ; then
-   git-r3_src_unpack
-   fi
-}
-
-src_prepare() {
-   S="${S1}"
-   cd "${S}" || die "Failed to switch to ${S}"
-   if [[ ${PV} !=  ]] ; then
-   # If needed for live ebuilds please use /etc/portage/patches
-   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
-   fi
-
-   # rlpkg is more useful than fixfiles
-   sed -i -e '/^all/s/fixfiles//' 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2022-01-02 Thread Jason Zaman
commit: 54a8322d1885f7f1bfe2718fb731d6e195f86466
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Jan  2 23:17:16 2022 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  2 23:24:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a8322d

sys-apps/policycoreutils: Specify policy root path correctly

Commit df72ab351f482dea63d27e447b2a93549a742ecd added support for
rebuilding the policy in a crossdev environment but the root needs to be
specified with -p instead of -S.
The policy dir (-S) defaults to (-p) + /var/lib/selinux/ + (-s).
Thanks to Feandil for reporting this issue.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild | 4 ++--
 sys-apps/policycoreutils/policycoreutils-3.2.ebuild| 4 ++--
 sys-apps/policycoreutils/policycoreutils-3.3.ebuild| 4 ++--
 sys-apps/policycoreutils/policycoreutils-.ebuild   | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
index e995a286771b..eea202ba8299 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -163,6 +163,6 @@ pkg_postinst() {
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2
einfo "Rebuilding store ${POLICY_TYPE} in '${ROOT:-/}' (without 
re-loading)."
-   semodule -S "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
+   semodule -p "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
done
 }

diff --git a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
index 1c90708b2731..456189b1aac5 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -157,6 +157,6 @@ pkg_postinst() {
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2
einfo "Rebuilding store ${POLICY_TYPE} in '${ROOT:-/}' (without 
re-loading)."
-   semodule -S "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
+   semodule -p "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
done
 }

diff --git a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
index 1c90708b2731..456189b1aac5 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -157,6 +157,6 @@ pkg_postinst() {
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2
einfo "Rebuilding store ${POLICY_TYPE} in '${ROOT:-/}' (without 
re-loading)."
-   semodule -S "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
+   semodule -p "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
done
 }

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 6b00366fe883..e6ee13c43070 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -157,6 +157,6 @@ pkg_postinst() {
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2
einfo "Rebuilding store ${POLICY_TYPE} in '${ROOT:-/}' (without 
re-loading)."
-   semodule -S "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
+   semodule -p "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-12-27 Thread Jason Zaman
commit: 17f7dad6dfe975cb98fe248dcef698aa81e1b2e8
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Dec 28 01:11:34 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Dec 28 01:11:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17f7dad6

sys-apps/policycoreutils: stabilize SELinux userspace 3.3

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
index 6b00366fe883..1c90708b2731 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
@@ -25,7 +25,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 arm arm64 ~mips x86"
S1="${WORKDIR}/${P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-12-16 Thread Sam James
commit: df72ab351f482dea63d27e447b2a93549a742ecd
Author: Thilo Fromm  kinvolk  io>
AuthorDate: Thu Dec 16 18:20:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec 17 05:15:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df72ab35

sys-apps/policycoreutils: update the right ROOT store

The policycoreutils ebuild calls 'semodule' in postinst to update
SELinux stores. It does not, however, tells semodule the correct ROOT
to use, so installing policycoreutils in a crossdev environment will
actually update the *host's* store.

This patch adds '-S "${ROOT:-/}"' to the 'semodule' call so the correct
environment is updated.

First seen + fixed in Flatcar Container Linux:
https://github.com/flatcar-linux/coreos-overlay/pull/1502

Signed-off-by: Thilo Fromm  kinvolk.io>
Closes: https://github.com/gentoo/gentoo/pull/23332
Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild | 4 ++--
 sys-apps/policycoreutils/policycoreutils-3.2.ebuild| 4 ++--
 sys-apps/policycoreutils/policycoreutils-3.3.ebuild| 4 ++--
 sys-apps/policycoreutils/policycoreutils-.ebuild   | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
index 62b8f3856614..e995a286771b 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
@@ -162,7 +162,7 @@ pkg_postinst() {
for POLICY_TYPE in ${POLICY_TYPES} ; do
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2
-   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
-   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   einfo "Rebuilding store ${POLICY_TYPE} in '${ROOT:-/}' (without 
re-loading)."
+   semodule -S "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
done
 }

diff --git a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
index 7299c44a1ddd..1c90708b2731 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
@@ -156,7 +156,7 @@ pkg_postinst() {
for POLICY_TYPE in ${POLICY_TYPES} ; do
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2
-   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
-   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   einfo "Rebuilding store ${POLICY_TYPE} in '${ROOT:-/}' (without 
re-loading)."
+   semodule -S "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
done
 }

diff --git a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
index c8fe18af66f9..6b00366fe883 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
@@ -156,7 +156,7 @@ pkg_postinst() {
for POLICY_TYPE in ${POLICY_TYPES} ; do
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2
-   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
-   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   einfo "Rebuilding store ${POLICY_TYPE} in '${ROOT:-/}' (without 
re-loading)."
+   semodule -S "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
done
 }

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index c8fe18af66f9..6b00366fe883 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -156,7 +156,7 @@ pkg_postinst() {
for POLICY_TYPE in ${POLICY_TYPES} ; do
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2
-   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
-   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   einfo "Rebuilding store ${POLICY_TYPE} in '${ROOT:-/}' (without 
re-loading)."
+   semodule -S "${ROOT:-/}" -s "${POLICY_TYPE}" -n -B || die 
"Failed to rebuild policy store ${POLICY_TYPE}"
done
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-11-20 Thread Sam James
commit: 05c6df8744b2808ad76f12065f4291274a35b630
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 20 15:14:43 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 20 23:20:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05c6df87

sys-apps/policycoreutils: Stabilize 3.2 arm64, #825314

Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
index 707a089294f2..7299c44a1ddd 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
@@ -25,7 +25,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 arm ~arm64 ~mips x86"
+   KEYWORDS="amd64 arm arm64 ~mips x86"
S1="${WORKDIR}/${P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-11-20 Thread Sam James
commit: 4a73130309ca248c3b85305aacac8958af60d3d9
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 20 15:14:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 20 23:20:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a731303

sys-apps/policycoreutils: Stabilize 3.2 arm, #825314

Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
index 60b377c9efda..707a089294f2 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
@@ -25,7 +25,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
+   KEYWORDS="amd64 arm ~arm64 ~mips x86"
S1="${WORKDIR}/${P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-10-30 Thread Sam James
commit: e11c9d52b7dee58553322cddd4b77c3163b82181
Author: Jonathan Davies  protonmail  com>
AuthorDate: Sun Oct 24 11:49:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 31 02:50:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11c9d52

sys-apps/policycoreutils: Version updated to 3.3.

Signed-off-by: Jonathan Davies  protonmail.com>
Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.3.ebuild | 162 +
 2 files changed, 163 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index ffa4bcb42aa..ca90fbb5a9d 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,4 @@
 DIST policycoreutils-3.1.tar.gz 2817914 BLAKE2B 
ef68bb5f9cf577164ead44803b6be2bd6401c9e923d2c775c7c8c47f0e803749feaec4247fec5cc1cb766314954402fd2506370bb397f746437ecfcf65b384f3
 SHA512 
0592f218563a99ba95d2cfd07fdc3761b61c1cc3c01a17ab89ad840169e1a7d4083521d5cacc72d1b76911d516bf592db7a3f90d9ef0cc11ceed007e4580e140
 DIST policycoreutils-3.2.tar.gz 2817961 BLAKE2B 
747cbd7b84ffa9153067340f8f1dc5a652eaf85b037a6e10e116d3d0b31c8e7c9794bc6a46ae212848bef4887478ac167e359a387bebac49e0acd08b727808ce
 SHA512 
d16781d2d61b8b78d6fc242f2b5c3a03f47ea524fb61655823b6b0f0327ff376c65fe7bdf7a53f5863c01e599cf4a7050f21fda0fe6a8f2c2c16f89b156a4346
+DIST policycoreutils-3.3.tar.gz 2818092 BLAKE2B 
0ed9f128a774176ebadb71f448af8dee8c616a706314783b646869e7ea91892e358d5bb03e3aece3d0e6dc3203852e4e2925482727df1e5c71e075236ee43e5c
 SHA512 
db658990355f99a8e43f53d20cc67bf9e557b0a7837d1927c80f325b7f93ad47876382278a980b818484d6e31712a9b03e279f947ebc88c4be60a9f395607f98
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-3.3.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
new file mode 100644
index 000..c8fe18af66f
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.3.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python{3_7,3_8,3_9} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+EXTRAS_VER="1.37"
+
+IUSE="audit pam split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
+   >=sys-libs/libsepol-${PV}:=
+   sys-libs/libcap-ng:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+# Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
+BDEPEND="sys-devel/gettext"
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils"
+
+PDEPEND="sys-apps/semodule-utils
+   sys-apps/selinux-python"
+
+src_unpack() {
+   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
+   default
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   fi
+}
+
+src_prepare() {
+   S="${S1}"
+   cd "${S}" || die "Failed to switch to ${S}"
+   if [[ ${PV} !=  ]] ; then
+   # If needed for live ebuilds please use /etc/portage/patches
+   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
+   fi
+
+   # rlpkg is more useful than fixfiles
+   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 1 failed"
+   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 2 failed"
+
+   eapply_user
+
+   sed -i 's/-Werror//g' 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-07-28 Thread Sam James
commit: 0b2477897003176530e5b01f5fd5aa00c8e60719
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 28 20:04:46 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 28 20:07:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b247789

sys-apps/policycoreutils: Stabilize 3.2 x86, #797616

Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
index 317d7990d80..60b377c9efd 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
@@ -25,7 +25,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~mips x86"
S1="${WORKDIR}/${P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-07-04 Thread Sam James
commit: f94b3312eb778cc2033b91c47217edf5285a8c1e
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul  4 22:19:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul  4 22:19:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f94b3312

sys-apps/policycoreutils: Stabilize 3.2 amd64, #797616

Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
index fcc4708f1b9..57b67b7b57e 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
@@ -25,7 +25,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips ~x86"
S1="${WORKDIR}/${P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-04-02 Thread Jason Zaman
commit: a2a3fd90a394dd0387d08cffd0aa29f5a9fca599
Author: Jonathan Davies  protonmail  com>
AuthorDate: Thu Mar 18 00:15:49 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Apr  3 04:15:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a3fd90

sys-apps/policycoreutils: Version updated to 3.2.

Signed-off-by: Jonathan Davies  protonmail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.2.ebuild | 162 +
 2 files changed, 163 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 0065910b908..c58464335d7 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,2 +1,3 @@
 DIST policycoreutils-3.1.tar.gz 2817914 BLAKE2B 
ef68bb5f9cf577164ead44803b6be2bd6401c9e923d2c775c7c8c47f0e803749feaec4247fec5cc1cb766314954402fd2506370bb397f746437ecfcf65b384f3
 SHA512 
0592f218563a99ba95d2cfd07fdc3761b61c1cc3c01a17ab89ad840169e1a7d4083521d5cacc72d1b76911d516bf592db7a3f90d9ef0cc11ceed007e4580e140
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f
+DIST policycoreutils-3.2.tar.gz 2817961 BLAKE2B 
747cbd7b84ffa9153067340f8f1dc5a652eaf85b037a6e10e116d3d0b31c8e7c9794bc6a46ae212848bef4887478ac167e359a387bebac49e0acd08b727808ce
 SHA512 
d16781d2d61b8b78d6fc242f2b5c3a03f47ea524fb61655823b6b0f0327ff376c65fe7bdf7a53f5863c01e599cf4a7050f21fda0fe6a8f2c2c16f89b156a4346

diff --git a/sys-apps/policycoreutils/policycoreutils-3.2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
new file mode 100644
index 000..fcc4708f1b9
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.2.ebuild
@@ -0,0 +1,162 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=( python{3_7,3_8,3_9} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+EXTRAS_VER="1.37"
+
+IUSE="audit pam split-usr"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
+   >=sys-libs/libsepol-${PV}:=
+   sys-libs/libcap-ng:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+# Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
+BDEPEND="sys-devel/gettext"
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils"
+
+PDEPEND="sys-apps/semodule-utils
+   sys-apps/selinux-python"
+
+src_unpack() {
+   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
+   default
+   if [[ ${PV} ==  ]] ; then
+   git-r3_src_unpack
+   fi
+}
+
+src_prepare() {
+   S="${S1}"
+   cd "${S}" || die "Failed to switch to ${S}"
+   if [[ ${PV} !=  ]] ; then
+   # If needed for live ebuilds please use /etc/portage/patches
+   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
+   fi
+
+   # rlpkg is more useful than fixfiles
+   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 1 failed"
+   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
+   || die "fixfiles sed 2 failed"
+
+   eapply_user
+
+   sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove 
Werror"
+
+   python_copy_sources
+   # Our extra code is outside the regular directory, so set it to the 
extra
+   # directory. We really should optimize this as it is ugly, but the extra
+   # code is needed for Gentoo at the same time that 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-04-02 Thread Jason Zaman
commit: f4a7c818157ee4058420732c796a225b1deafda0
Author: Jonathan Davies  protonmail  com>
AuthorDate: Thu Mar 18 00:59:37 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Apr  3 04:15:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4a7c818

sys-apps/policycoreutils: Sync live ebuild.

Signed-off-by: Jonathan Davies  protonmail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 .../policycoreutils/policycoreutils-.ebuild| 22 --
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 44e8c3b34eb..fcc4708f1b9 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,19 +1,13 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
+EAPI="7"
+PYTHON_COMPAT=( python{3_7,3_8,3_9} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
-MY_P="${P//_/-}"
-
-MY_RELEASEDATE="20200710"
 EXTRAS_VER="1.37"
-SEMNG_VER="${PV}"
-SELNX_VER="${PV}"
-SEPOL_VER="${PV}"
 
 IUSE="audit pam split-usr"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -25,14 +19,14 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;

SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${MY_P}/${PN}"
+   S1="${WORKDIR}/${PN}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
 else
-   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${PV}/${P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
-   S1="${WORKDIR}/${MY_P}"
+   S1="${WORKDIR}/${P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
 fi
@@ -40,9 +34,9 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
-   >=sys-libs/libsepol-${SEPOL_VER}:=
+DEPEND=">=sys-libs/libselinux-${PV}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${PV}:=[python(+),${PYTHON_USEDEP}]
+   >=sys-libs/libsepol-${PV}:=
sys-libs/libcap-ng:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/, sys-apps/policycoreutils/files/

2021-02-06 Thread Jason Zaman
commit: 10fc678631a6a54f8183d54c1494aaeb9b08a1da
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Feb  7 04:16:19 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Feb  7 04:16:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10fc6786

sys-apps/policycoreutils: drop old

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jason Zaman  gentoo.org>

 ...policycoreutils-2.7-0001-newrole-not-suid.patch |  13 --
 .../policycoreutils/policycoreutils-3.1-r1.ebuild  | 179 -
 2 files changed, 192 deletions(-)

diff --git 
a/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
 
b/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
deleted file mode 100644
index 6049bbe282a..000
--- 
a/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/policycoreutils/newrole/Makefile 
b/policycoreutils/newrole/Makefile
-index bdefbb8..9cff135 100644
 policycoreutils/newrole/Makefile
-+++ policycoreutils/newrole/Makefile
-@@ -49,7 +49,7 @@ ifeq ($(NAMESPACE_PRIV),y)
-   IS_SUID=y
- endif
- ifeq ($(IS_SUID),y)
--  MODE := 4555
-+  MODE := 0555
-   override LDLIBS += -lcap-ng
- else
-   MODE := 0555

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1-r1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1-r1.ebuild
deleted file mode 100644
index 9381dac4c14..000
--- a/sys-apps/policycoreutils/policycoreutils-3.1-r1.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python{3_7,3_8} )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-MY_P="${P//_/-}"
-
-MY_RELEASEDATE="20200710"
-EXTRAS_VER="1.37"
-SEMNG_VER="${PV}"
-SELNX_VER="${PV}"
-SEPOL_VER="${PV}"
-
-IUSE="audit dbus pam split-usr"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${MY_P}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm64 ~mips x86"
-   S1="${WORKDIR}/${MY_P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
-   sys-libs/libcap-ng:=
-   >=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   dev-python/ipy[${PYTHON_USEDEP}]
-   dbus? (
-   sys-apps/dbus
-   dev-libs/dbus-glib:=
-   )
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}"
-
-# Avoid dependency loop in the cross-compile case, bug #755173
-# (Still exists in native)
-BDEPEND="sys-devel/gettext"
-
-### libcgroup -> seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${DEPEND}
-   app-misc/pax-utils"
-
-PDEPEND="sys-apps/semodule-utils
-   sys-apps/selinux-python"
-
-src_unpack() {
-   # Override default one because we need the SRC_URI ones even in case of 
 ebuilds
-   default
-   if [[ ${PV} ==  ]] ; then
-   git-r3_src_unpack
-   fi
-}
-
-src_prepare() {
-   S="${S1}"
-   cd "${S}" || die "Failed to switch to ${S}"
-   if [[ ${PV} !=  ]] ; then
-   # If needed for live ebuilds please use /etc/portage/patches
-   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
-   fi
-
-   # rlpkg is more useful than fixfiles
-   sed -i -e '/^all/s/fixfiles//' "${S}/scripts/Makefile" \
-   || die "fixfiles sed 1 failed"
-   sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
-   || die "fixfiles sed 2 failed"
-
-   eapply_user
-
-   sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove 
Werror"
-
-   python_copy_sources
-   # Our extra code is outside the regular directory, so set it to the 
extra
-   # directory. We really should optimize this as it is ugly, but the extra
-   # code is needed for Gentoo at the same time that policycoreutils is 
present
-   # (so we cannot use an additional package for 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-02-06 Thread Jason Zaman
commit: f607b35b052d51b12da09473160eee5e5a98f9b0
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Feb  7 04:14:03 2021 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Feb  7 04:14:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f607b35b

sys-apps/policycoreutils: stable amd64 x86

Bug: https://bugs.gentoo.org/768258
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
index b03d06939b1..90e31a89872 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2021-01-03 Thread Jason Zaman
commit: 66d85fcfc1333d05701e3938b0858cd22e36f2a7
Author: David Michael  gmail  com>
AuthorDate: Mon Dec 21 23:53:26 2020 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jan  3 08:19:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66d85fcf

sys-apps/policycoreutils: drop obsolete deps

There are no references to ipy, libcap, libcgroup, inotify, or dbus
in the code.  This drops the unused dbus USE flag.

Also add python3_9

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael  gmail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 ...ls-.ebuild => policycoreutils-3.1-r2.ebuild} | 19 ---
 .../policycoreutils/policycoreutils-.ebuild | 21 +
 2 files changed, 9 insertions(+), 31 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
similarity index 93%
copy from sys-apps/policycoreutils/policycoreutils-.ebuild
copy to sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
index 8f15a3bee23..d93a1a53636 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1
@@ -15,7 +15,7 @@ SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
 
-IUSE="audit dbus pam split-usr"
+IUSE="audit pam split-usr"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
@@ -41,16 +41,10 @@ LICENSE="GPL-2"
 SLOT="0"
 
 DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libcap-1.10-r10:=
>=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
-   sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
+   sys-libs/libcap-ng:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   dev-python/ipy[${PYTHON_USEDEP}]
-   dbus? (
-   sys-apps/dbus
-   dev-libs/dbus-glib:=
-   )
audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
pam? ( sys-libs/pam:= )
${PYTHON_DEPS}"
@@ -59,9 +53,6 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
 # (Still exists in native)
 BDEPEND="sys-devel/gettext"
 
-### libcgroup -> seunshare
-### dbus -> restorecond
-
 # pax-utils for scanelf used by rlpkg
 RDEPEND="${DEPEND}
app-misc/pax-utils"
@@ -110,7 +101,6 @@ src_compile() {
AUDIT_LOG_PRIVS="y" \
AUDITH="$(usex audit y n)" \
PAMH="$(usex pam y n)" \
-   INOTIFYH="$(usex dbus y n)" \
SESANDBOX="n" \
CC="$(tc-getCC)" \
LIBDIR="\$(PREFIX)/$(get_libdir)"
@@ -129,7 +119,6 @@ src_install() {
AUDIT_LOG_PRIVS="y" \
AUDITH="$(usex audit y n)" \
PAMH="$(usex pam y n)" \
-   INOTIFYH="$(usex dbus y n)" \
SESANDBOX="n" \
CC="$(tc-getCC)" \
LIBDIR="\$(PREFIX)/$(get_libdir)" \

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 8f15a3bee23..aed7968c418 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
-PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1
@@ -15,7 +15,7 @@ SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
 
-IUSE="audit dbus pam split-usr"
+IUSE="audit pam split-usr"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
@@ -41,16 +41,10 @@ LICENSE="GPL-2"
 SLOT="0"
 
 DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libcap-1.10-r10:=
>=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
-   sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
+   sys-libs/libcap-ng:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   dev-python/ipy[${PYTHON_USEDEP}]
-   dbus? (
-   sys-apps/dbus
-   dev-libs/dbus-glib:=
-   )
audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
pam? ( sys-libs/pam:= )
${PYTHON_DEPS}"
@@ -59,9 +53,6 @@ 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-12-17 Thread Jason Zaman
commit: 86024992b6dece51a5a53c5897f393fa783083e4
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Dec 18 02:54:08 2020 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri Dec 18 02:54:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86024992

sys-apps/policycoreutils: Drop old

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   3 -
 .../policycoreutils/policycoreutils-2.9.ebuild | 179 -
 .../policycoreutils/policycoreutils-3.0.ebuild | 176 
 3 files changed, 358 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index f5fdac8fb42..0065910b908 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,5 +1,2 @@
-DIST policycoreutils-2.9.tar.gz 2819360 BLAKE2B 
b0af912e3b4fb2c9598b10ce413c8ffb3f5972a4d5d59270cff40abe8d4e385e0664e24a4f533a95ad2d1657644f3368213f955ac63d9f8c46a661417b07c8b3
 SHA512 
d8356115671ba66de05f1c13193ab47fab69cc4d09603a92171ed40afafc084dd191591bf336b7d722de637378ad09622ebb6eca85c06063ca9ddd6db10e02a2
-DIST policycoreutils-3.0.tar.gz 2818089 BLAKE2B 
6e4aa6d6eecf809efaefccbfa16c44050242d129f496594763aacbb9aaeca23d92b27d30a6f9ae0e49513adc0a1bd58499253eb9ffc003547387c04aa643b462
 SHA512 
d8d25db48c1caef69228e87d7ebb2c0f075e44e4ff6bf18a26af341d948b81375b33945128cd0410ffebc64ca478fd19a207295189c716c95e6a3c586e9f053d
 DIST policycoreutils-3.1.tar.gz 2817914 BLAKE2B 
ef68bb5f9cf577164ead44803b6be2bd6401c9e923d2c775c7c8c47f0e803749feaec4247fec5cc1cb766314954402fd2506370bb397f746437ecfcf65b384f3
 SHA512 
0592f218563a99ba95d2cfd07fdc3761b61c1cc3c01a17ab89ad840169e1a7d4083521d5cacc72d1b76911d516bf592db7a3f90d9ef0cc11ceed007e4580e140
-DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3
 DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
deleted file mode 100644
index dbce840c6b6..000
--- a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PYTHON_COMPAT=( python3_6 )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-MY_P="${P//_/-}"
-
-MY_RELEASEDATE="20190315"
-EXTRAS_VER="1.36"
-SEMNG_VER="${PV}"
-SELNX_VER="${PV}"
-SEPOL_VER="${PV}"
-
-IUSE="audit dbus pam split-usr"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${MY_P}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm64 ~mips x86"
-   S1="${WORKDIR}/${MY_P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
-   sys-libs/libcap-ng:=
-   >=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   sys-devel/gettext
-   dev-python/ipy[${PYTHON_USEDEP}]
-   dbus? (
-   sys-apps/dbus
-   dev-libs/dbus-glib:=
-   )
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}
-   ! seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${DEPEND}
-   app-misc/pax-utils
-   !https://marc.info/?l=selinux=143757277819717=2
-   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
-   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
-   done
-}

diff 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-12-03 Thread Sam James
commit: ea04973a947c672bd65b29b0068ed4f7d902e46a
Author: Sam James  gentoo  org>
AuthorDate: Fri Dec  4 05:22:58 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Dec  4 05:23:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea04973a

sys-apps/policycoreutils: Add Python 3.8 to live too

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 742b9fca089..8f15a3bee23 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-12-02 Thread Jason Zaman
commit: 08266283ed7120dce4b04100f65d51c888b66a7f
Author: Jason Zaman  gentoo  org>
AuthorDate: Thu Dec  3 03:27:46 2020 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Dec  3 03:28:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08266283

sys-apps/policycoreutils: Add python3_8 support

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Jason Zaman  gentoo.org>

 .../{policycoreutils-3.1.ebuild => policycoreutils-3.1-r1.ebuild}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1-r1.ebuild
similarity index 99%
rename from sys-apps/policycoreutils/policycoreutils-3.1.ebuild
rename to sys-apps/policycoreutils/policycoreutils-3.1-r1.ebuild
index 35366906fbc..9ce99c44a21 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-12-02 Thread Jason Zaman
commit: fafc0b0d20aa1f142c6f19dae2fcba36f90c1e40
Author: Jason Zaman  gentoo  org>
AuthorDate: Thu Dec  3 02:59:47 2020 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Dec  3 03:08:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fafc0b0d

sys-apps/policycoreutils: stabilize SELinux userspace 3.1

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
index 742b9fca089..35366906fbc 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-11-17 Thread Sam James
commit: 786c8c9d7f05f453634b4ef1d4230e7270af0583
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 17 23:47:28 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 17 23:47:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786c8c9d

sys-apps/policycoreutils: sync live

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.1.ebuild  | 1 +
 sys-apps/policycoreutils/policycoreutils-.ebuild | 5 -
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
index 5af39ecc10d..742b9fca089 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
@@ -56,6 +56,7 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
${PYTHON_DEPS}"
 
 # Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
 BDEPEND="sys-devel/gettext"
 
 ### libcgroup -> seunshare

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 569dc07cfcf..742b9fca089 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -46,7 +46,6 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   sys-devel/gettext
dev-python/ipy[${PYTHON_USEDEP}]
dbus? (
sys-apps/dbus
@@ -56,6 +55,10 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
pam? ( sys-libs/pam:= )
${PYTHON_DEPS}"
 
+# Avoid dependency loop in the cross-compile case, bug #755173
+# (Still exists in native)
+BDEPEND="sys-devel/gettext"
+
 ### libcgroup -> seunshare
 ### dbus -> restorecond
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-11-17 Thread Sam James
commit: 6335739cd5ab878ee213f2890a419d2c7950671a
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 17 23:46:07 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 17 23:47:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6335739c

sys-apps/policycoreutils: update comment

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
index f9081aacc5f..5af39ecc10d 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
@@ -55,7 +55,7 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
pam? ( sys-libs/pam:= )
${PYTHON_DEPS}"
 
-# Avoid dependency loop, bug #755173
+# Avoid dependency loop in the cross-compile case, bug #755173
 BDEPEND="sys-devel/gettext"
 
 ### libcgroup -> seunshare



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-11-17 Thread Sam James
commit: d0abc6b027871117148901f3fe3f532fc4475f4e
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov 17 23:15:01 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov 17 23:15:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0abc6b0

sys-apps/policycoreutils: shift gettext to BDEPEND in 3.1

perfinion is going to review  later for any other
possible fixes, so not closing the bug yet.

Acked-by: Jason Zaman  gentoo.org>
Bug: https://bugs.gentoo.org/755173
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
index 569dc07cfcf..f9081aacc5f 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
@@ -46,7 +46,6 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   sys-devel/gettext
dev-python/ipy[${PYTHON_USEDEP}]
dbus? (
sys-apps/dbus
@@ -56,6 +55,9 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
pam? ( sys-libs/pam:= )
${PYTHON_DEPS}"
 
+# Avoid dependency loop, bug #755173
+BDEPEND="sys-devel/gettext"
+
 ### libcgroup -> seunshare
 ### dbus -> restorecond
 



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/, sys-apps/policycoreutils/files/

2020-09-14 Thread Jason Zaman
commit: cb4e07769b3f0b7ec6ad3f3a9b6b6b3e45705d0a
Author: Jonathan Davies  protonmail  com>
AuthorDate: Tue Sep  1 20:21:30 2020 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Sep 15 03:40:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4e0776

sys-apps/policycoreutils: Version bump to 3.1.

Signed-off-by: Jonathan Davies  protonmail.com>
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest |  2 ++
 .../files/policycoreutils-3.1-0001-newrole-not-suid.patch | 11 +++
 ...policycoreutils-.ebuild => policycoreutils-3.1.ebuild} |  8 
 sys-apps/policycoreutils/policycoreutils-.ebuild  |  8 
 4 files changed, 21 insertions(+), 8 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 86052aaf9b0..f5fdac8fb42 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,5 @@
 DIST policycoreutils-2.9.tar.gz 2819360 BLAKE2B 
b0af912e3b4fb2c9598b10ce413c8ffb3f5972a4d5d59270cff40abe8d4e385e0664e24a4f533a95ad2d1657644f3368213f955ac63d9f8c46a661417b07c8b3
 SHA512 
d8356115671ba66de05f1c13193ab47fab69cc4d09603a92171ed40afafc084dd191591bf336b7d722de637378ad09622ebb6eca85c06063ca9ddd6db10e02a2
 DIST policycoreutils-3.0.tar.gz 2818089 BLAKE2B 
6e4aa6d6eecf809efaefccbfa16c44050242d129f496594763aacbb9aaeca23d92b27d30a6f9ae0e49513adc0a1bd58499253eb9ffc003547387c04aa643b462
 SHA512 
d8d25db48c1caef69228e87d7ebb2c0f075e44e4ff6bf18a26af341d948b81375b33945128cd0410ffebc64ca478fd19a207295189c716c95e6a3c586e9f053d
+DIST policycoreutils-3.1.tar.gz 2817914 BLAKE2B 
ef68bb5f9cf577164ead44803b6be2bd6401c9e923d2c775c7c8c47f0e803749feaec4247fec5cc1cb766314954402fd2506370bb397f746437ecfcf65b384f3
 SHA512 
0592f218563a99ba95d2cfd07fdc3761b61c1cc3c01a17ab89ad840169e1a7d4083521d5cacc72d1b76911d516bf592db7a3f90d9ef0cc11ceed007e4580e140
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3
+DIST policycoreutils-extra-1.37.tar.bz2 8809 BLAKE2B 
a7f6122c2e27f54b018174e962bd7f4c14af04e09bbb5300bde6967ea7f2dc5cd03b5787919a4e7f5288bcbc6747922962b5bd3b588ab1e3a035fbff4910d8f5
 SHA512 
0a85cd7cf279256b5e1927f9dfdd89626a1c8b77b0aeb62b496e7e8d1dccbaa315e39f9308fb2df7270f0bc1c10787b19990e7365cad74b47b61e30394c8b23f

diff --git 
a/sys-apps/policycoreutils/files/policycoreutils-3.1-0001-newrole-not-suid.patch
 
b/sys-apps/policycoreutils/files/policycoreutils-3.1-0001-newrole-not-suid.patch
new file mode 100644
index 000..360a4904978
--- /dev/null
+++ 
b/sys-apps/policycoreutils/files/policycoreutils-3.1-0001-newrole-not-suid.patch
@@ -0,0 +1,11 @@
+--- a/newrole/Makefile
 b/newrole/Makefile
+@@ -50,7 +50,7 @@ ifeq ($(NAMESPACE_PRIV),y)
+   IS_SUID=y
+ endif
+ ifeq ($(IS_SUID),y)
+-  MODE := 4555
++  MODE := 0555
+   override LDLIBS += -lcap-ng
+ else
+   MODE := 0555

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
similarity index 97%
copy from sys-apps/policycoreutils/policycoreutils-.ebuild
copy to sys-apps/policycoreutils/policycoreutils-3.1.ebuild
index d083c523220..569dc07cfcf 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 PYTHON_COMPAT=( python{3_6,3_7} )
 PYTHON_REQ_USE="xml"
 
@@ -9,8 +9,8 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20191204"
-EXTRAS_VER="1.36"
+MY_RELEASEDATE="20200710"
+EXTRAS_VER="1.37"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
@@ -79,7 +79,7 @@ src_prepare() {
cd "${S}" || die "Failed to switch to ${S}"
if [[ ${PV} !=  ]] ; then
# If needed for live ebuilds please use /etc/portage/patches
-   eapply 
"${FILESDIR}/policycoreutils-2.7-0001-newrole-not-suid.patch"
+   eapply 
"${FILESDIR}/policycoreutils-3.1-0001-newrole-not-suid.patch"
fi
 
# rlpkg is more useful than fixfiles

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index d083c523220..569dc07cfcf 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 PYTHON_COMPAT=( python{3_6,3_7} )
 PYTHON_REQ_USE="xml"
 
@@ -9,8 +9,8 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-07-02 Thread Ben Kohler
commit: 8fb84feea50579975071d788f67e4112430d3bd4
Author: Ben Kohler  gentoo  org>
AuthorDate: Thu Jul  2 13:19:29 2020 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Thu Jul  2 13:19:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fb84fee

sys-apps/policycoreutils: adjust dep to allow new libsemanage

Python support is non-optional on this newer libsemanage

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Ben Kohler  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-2.9.ebuild  | 2 +-
 sys-apps/policycoreutils/policycoreutils-3.0.ebuild  | 2 +-
 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
index 39f49dc57c8..dbce840c6b6 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
@@ -42,7 +42,7 @@ SLOT="0"
 
 DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]

diff --git a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
index e8f010e5f5b..5ec0f0d71bf 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
@@ -42,7 +42,7 @@ SLOT="0"
 
 DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 4cd4c8e967f..d083c523220 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -42,7 +42,7 @@ SLOT="0"
 
 DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python(+),${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
>=app-admin/setools-4.2.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-02-11 Thread Agostino Sarubbo
commit: 1099829e4430926d2aeca34ee1300231a801c6ea
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Feb 11 19:49:37 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Feb 11 19:49:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1099829e

sys-apps/policycoreutils: x86 stable wrt bug #706146

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
index 0025283fa0d..e8f010e5f5b 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2020-02-11 Thread Agostino Sarubbo
commit: df05c08d3135a21084db63266dcff69c9fe01468
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Feb 11 19:42:19 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Feb 11 19:43:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df05c08d

sys-apps/policycoreutils: amd64 stable wrt bug #706146

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
index 4cd4c8e967f..0025283fa0d 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips ~x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-12-21 Thread Jason Zaman
commit: 42cca0f5527c1438dc01a4a4306071cff413d4c8
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Dec 16 12:13:19 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Dec 21 14:00:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42cca0f5

sys-apps/policycoreutils: Add support for /usr-merge

Also fix absolute symlink QA warning.

Closes: https://bugs.gentoo.org/690364
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-2.9.ebuild  | 5 +++--
 sys-apps/policycoreutils/policycoreutils-3.0.ebuild  | 8 
 sys-apps/policycoreutils/policycoreutils-.ebuild | 8 
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
index 6b80ee68ca7..44b821afcf4 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
@@ -15,7 +15,7 @@ SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
 
-IUSE="audit pam dbus"
+IUSE="audit dbus pam split-usr"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
@@ -155,7 +155,8 @@ src_install() {
rm -fR "${D}/etc/rc.d" || die
 
# compatibility symlinks
-   dosym /sbin/setfiles /usr/sbin/setfiles
+   use split-usr && dosym ../../sbin/setfiles /usr/sbin/setfiles
+
bashcomp_alias setsebool getsebool
 
# location for policy definitions

diff --git a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
index 44d6a9a3dbe..aa511658dd9 100644
--- a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
@@ -15,7 +15,7 @@ SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
 
-IUSE="audit pam dbus"
+IUSE="audit dbus pam split-usr"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
@@ -61,8 +61,7 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
 
 # pax-utils for scanelf used by rlpkg
 RDEPEND="${DEPEND}
-   app-misc/pax-utils
-   !

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-12-08 Thread Jason Zaman
commit: 887f79ebed1369d15dcdee521f7649bc30c3f61d
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Dec  8 17:55:32 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Dec  8 18:38:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=887f79eb

sys-apps/policycoreutils: drop old

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   2 -
 .../policycoreutils/policycoreutils-2.8-r1.ebuild  | 178 -
 .../policycoreutils/policycoreutils-3.0_rc2.ebuild | 176 
 3 files changed, 356 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 7d4dba86ea7..86052aaf9b0 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,5 +1,3 @@
-DIST policycoreutils-2.8.tar.gz 2796775 BLAKE2B 
36115cc2faf72a4b647312f8faaf4762d7f2fb56bf0531ccadeb46b100c9e577f3148fe6890925d3fed94ac22803dc61729781e54bd0ddeb1539ccce2ec2a29b
 SHA512 
2b4a70836fd8727a16b8f8d4afcc39c9461ab6f5bc1ba5ce5833d41150da921ebb3c9bdbd1cfa7dd31fd382ba18b5433ca9b63bce58bd290db81fa9bedfe29f3
 DIST policycoreutils-2.9.tar.gz 2819360 BLAKE2B 
b0af912e3b4fb2c9598b10ce413c8ffb3f5972a4d5d59270cff40abe8d4e385e0664e24a4f533a95ad2d1657644f3368213f955ac63d9f8c46a661417b07c8b3
 SHA512 
d8356115671ba66de05f1c13193ab47fab69cc4d09603a92171ed40afafc084dd191591bf336b7d722de637378ad09622ebb6eca85c06063ca9ddd6db10e02a2
-DIST policycoreutils-3.0-rc2.tar.gz 2818551 BLAKE2B 
2d589bf66627612ca491c3c9399f815d307e39d5f48c269cc41427718f55dc686e4da0c4e2e806538c06cb9683e09d1de707341b495bf4d943b4baec0e2f
 SHA512 
a2affe9da05a3970db5220879ec6a9ea2c9d8075b4411ba93430fdae93d8414fdab4367e008adc9839c24cb9c3ad2cfcf37aee83dcd2a4da11d030b0bdfae49d
 DIST policycoreutils-3.0.tar.gz 2818089 BLAKE2B 
6e4aa6d6eecf809efaefccbfa16c44050242d129f496594763aacbb9aaeca23d92b27d30a6f9ae0e49513adc0a1bd58499253eb9ffc003547387c04aa643b462
 SHA512 
d8d25db48c1caef69228e87d7ebb2c0f075e44e4ff6bf18a26af341d948b81375b33945128cd0410ffebc64ca478fd19a207295189c716c95e6a3c586e9f053d
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild
deleted file mode 100644
index e34dd69e745..000
--- a/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PYTHON_COMPAT=( python{3_5,3_6} )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-MY_P="${P//_/-}"
-
-MY_RELEASEDATE="20180524"
-EXTRAS_VER="1.36"
-SEMNG_VER="${PV}"
-SELNX_VER="${PV}"
-SEPOL_VER="${PV}"
-
-IUSE="audit pam dbus"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${MY_P}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm64 ~mips x86"
-   S1="${WORKDIR}/${MY_P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
-   sys-libs/libcap-ng:=
-   >=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
-   sys-devel/gettext
-   dev-python/ipy[${PYTHON_USEDEP}]
-   dbus? (
-   sys-apps/dbus
-   dev-libs/dbus-glib:=
-   )
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}
-   ! seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${DEPEND}
-   app-misc/pax-utils
-   !https://marc.info/?l=selinux=143757277819717=2
-   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
-   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
-   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-12-08 Thread Jason Zaman
commit: dfc053aca56d0a8762e7fdfe54fe9221bf6577f0
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Dec  8 14:18:48 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Dec  8 17:26:17 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc053ac

sys-apps/policycoreutils: bump to 3.0

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.0.ebuild | 176 +
 2 files changed, 177 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index e60a04e7e96..7d4dba86ea7 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,4 +1,5 @@
 DIST policycoreutils-2.8.tar.gz 2796775 BLAKE2B 
36115cc2faf72a4b647312f8faaf4762d7f2fb56bf0531ccadeb46b100c9e577f3148fe6890925d3fed94ac22803dc61729781e54bd0ddeb1539ccce2ec2a29b
 SHA512 
2b4a70836fd8727a16b8f8d4afcc39c9461ab6f5bc1ba5ce5833d41150da921ebb3c9bdbd1cfa7dd31fd382ba18b5433ca9b63bce58bd290db81fa9bedfe29f3
 DIST policycoreutils-2.9.tar.gz 2819360 BLAKE2B 
b0af912e3b4fb2c9598b10ce413c8ffb3f5972a4d5d59270cff40abe8d4e385e0664e24a4f533a95ad2d1657644f3368213f955ac63d9f8c46a661417b07c8b3
 SHA512 
d8356115671ba66de05f1c13193ab47fab69cc4d09603a92171ed40afafc084dd191591bf336b7d722de637378ad09622ebb6eca85c06063ca9ddd6db10e02a2
 DIST policycoreutils-3.0-rc2.tar.gz 2818551 BLAKE2B 
2d589bf66627612ca491c3c9399f815d307e39d5f48c269cc41427718f55dc686e4da0c4e2e806538c06cb9683e09d1de707341b495bf4d943b4baec0e2f
 SHA512 
a2affe9da05a3970db5220879ec6a9ea2c9d8075b4411ba93430fdae93d8414fdab4367e008adc9839c24cb9c3ad2cfcf37aee83dcd2a4da11d030b0bdfae49d
+DIST policycoreutils-3.0.tar.gz 2818089 BLAKE2B 
6e4aa6d6eecf809efaefccbfa16c44050242d129f496594763aacbb9aaeca23d92b27d30a6f9ae0e49513adc0a1bd58499253eb9ffc003547387c04aa643b462
 SHA512 
d8d25db48c1caef69228e87d7ebb2c0f075e44e4ff6bf18a26af341d948b81375b33945128cd0410ffebc64ca478fd19a207295189c716c95e6a3c586e9f053d
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-3.0.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
new file mode 100644
index 000..44d6a9a3dbe
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.0.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20191204"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libcap-1.10-r10:=
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   sys-libs/libcap-ng:=
+   >=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+### libcgroup -> seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-12-08 Thread Jason Zaman
commit: 08972c474103d60d3043925bbb515f8eaf25ee28
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Dec  8 14:14:18 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Dec  8 17:25:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08972c47

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index c59a9c0f8ca..44d6a9a3dbe 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20191122"
+MY_RELEASEDATE="20191204"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-12-02 Thread Jason Zaman
commit: 2b1b11fd4a0a0513a850f7ca950a6e632dff8ab9
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Nov 29 10:28:31 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Dec  2 14:49:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b1b11fd

sys-apps/policycoreutils: bump to 3.0_rc2

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-3.0_rc2.ebuild | 176 +
 2 files changed, 177 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 13349b63e59..e60a04e7e96 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,4 @@
 DIST policycoreutils-2.8.tar.gz 2796775 BLAKE2B 
36115cc2faf72a4b647312f8faaf4762d7f2fb56bf0531ccadeb46b100c9e577f3148fe6890925d3fed94ac22803dc61729781e54bd0ddeb1539ccce2ec2a29b
 SHA512 
2b4a70836fd8727a16b8f8d4afcc39c9461ab6f5bc1ba5ce5833d41150da921ebb3c9bdbd1cfa7dd31fd382ba18b5433ca9b63bce58bd290db81fa9bedfe29f3
 DIST policycoreutils-2.9.tar.gz 2819360 BLAKE2B 
b0af912e3b4fb2c9598b10ce413c8ffb3f5972a4d5d59270cff40abe8d4e385e0664e24a4f533a95ad2d1657644f3368213f955ac63d9f8c46a661417b07c8b3
 SHA512 
d8356115671ba66de05f1c13193ab47fab69cc4d09603a92171ed40afafc084dd191591bf336b7d722de637378ad09622ebb6eca85c06063ca9ddd6db10e02a2
+DIST policycoreutils-3.0-rc2.tar.gz 2818551 BLAKE2B 
2d589bf66627612ca491c3c9399f815d307e39d5f48c269cc41427718f55dc686e4da0c4e2e806538c06cb9683e09d1de707341b495bf4d943b4baec0e2f
 SHA512 
a2affe9da05a3970db5220879ec6a9ea2c9d8075b4411ba93430fdae93d8414fdab4367e008adc9839c24cb9c3ad2cfcf37aee83dcd2a4da11d030b0bdfae49d
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-3.0_rc2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-3.0_rc2.ebuild
new file mode 100644
index 000..c59a9c0f8ca
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-3.0_rc2.ebuild
@@ -0,0 +1,176 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{3_5,3_6,3_7} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20191122"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libcap-1.10-r10:=
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   sys-libs/libcap-ng:=
+   >=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}"
+
+### libcgroup -> seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-08-17 Thread Jason Zaman
commit: 59678ea861911516c0349e76af6abd874a015053
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Aug 17 09:30:54 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Aug 17 09:30:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59678ea8

sys-apps/policycoreutils: stable

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild | 4 ++--
 sys-apps/policycoreutils/policycoreutils-2.9.ebuild| 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild
index 26e0853930f..e34dd69e745 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"

diff --git a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
index 463a7f498dc..6b80ee68ca7 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-08-17 Thread Jason Zaman
commit: 57443662e1200e6a2841cfebc4ca8e87cd8a1b39
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Aug 17 09:33:16 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Aug 17 09:33:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57443662

sys-apps/policycoreutils: drop old

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Jason Zaman  gentoo.org>

 sys-apps/policycoreutils/Manifest  |   2 -
 .../policycoreutils/policycoreutils-2.7.ebuild | 181 -
 .../policycoreutils/policycoreutils-2.8.ebuild | 178 
 .../policycoreutils/policycoreutils-2.9_rc1.ebuild | 178 
 4 files changed, 539 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index b4571501e02..13349b63e59 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,5 +1,3 @@
-DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde75780926a1b91263d3881f741399c5630c707f0429b9b144c657b017b7b0c1500b63b6463610dea3caaef8c2f7c3f69fd8f
 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
 DIST policycoreutils-2.8.tar.gz 2796775 BLAKE2B 
36115cc2faf72a4b647312f8faaf4762d7f2fb56bf0531ccadeb46b100c9e577f3148fe6890925d3fed94ac22803dc61729781e54bd0ddeb1539ccce2ec2a29b
 SHA512 
2b4a70836fd8727a16b8f8d4afcc39c9461ab6f5bc1ba5ce5833d41150da921ebb3c9bdbd1cfa7dd31fd382ba18b5433ca9b63bce58bd290db81fa9bedfe29f3
-DIST policycoreutils-2.9-rc1.tar.gz 2797222 BLAKE2B 
25f51cc1b17744e573450245064b8b65e44fff44693d886e89097308c80ed61b2cb46822d581e8b970053a771262722bdb4a59619d6a94e09505b71e476e45b3
 SHA512 
6a3a7d4652b44e54c287b327ad691dd0575c6a45fbf1f4676b8182e05760defc37dfa6aaf2e6ab5a77e124d76d1f699c4859c0595a3f9e8ade04ff5ad186fb32
 DIST policycoreutils-2.9.tar.gz 2819360 BLAKE2B 
b0af912e3b4fb2c9598b10ce413c8ffb3f5972a4d5d59270cff40abe8d4e385e0664e24a4f533a95ad2d1657644f3368213f955ac63d9f8c46a661417b07c8b3
 SHA512 
d8356115671ba66de05f1c13193ab47fab69cc4d09603a92171ed40afafc084dd191591bf336b7d722de637378ad09622ebb6eca85c06063ca9ddd6db10e02a2
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.7.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
deleted file mode 100644
index 39b802e8f62..000
--- a/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
+++ /dev/null
@@ -1,181 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-MY_P="${P//_/-}"
-
-MY_RELEASEDATE="20170804"
-EXTRAS_VER="1.36"
-SEMNG_VER="${PV}"
-SELNX_VER="${PV}"
-SEPOL_VER="${PV}"
-
-IUSE="audit pam dbus"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]] ; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${MY_P}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="amd64 ~arm64 ~mips x86"
-   S1="${WORKDIR}/${MY_P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/glibc-2.4
-   >=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
-   sys-libs/libcap-ng:=
-   >=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
-   sys-devel/gettext
-   dev-python/ipy[${PYTHON_USEDEP}]
-   dbus? (
-   sys-apps/dbus
-   dev-libs/dbus-glib:=
-   )
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}
-   ! seunshare
-### dbus -> restorecond
-
-# pax-utils for scanelf used by rlpkg
-RDEPEND="${DEPEND}
-   app-misc/pax-utils
-   !https://marc.info/?l=selinux=143757277819717=2
-   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
-  

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-03-31 Thread Jason Zaman
commit: 239a4cb3e453d6b235abc1cf6bec0b9a5c273adf
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Mar 30 17:03:26 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Mar 31 13:45:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239a4cb3

sys-apps/policycoreutils: update live ebuild

Signed-off-by: Jason Zaman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 09b451dfda9..463a7f498dc 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20190125"
+MY_RELEASEDATE="20190315"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-03-31 Thread Jason Zaman
commit: c48e2ee7c29f0d7fcead91f55be73a99dc990920
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Mar 30 17:06:05 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Mar 31 13:45:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c48e2ee7

sys-apps/policycoreutils: bump to 2.9

Signed-off-by: Jason Zaman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.9.ebuild | 178 +
 2 files changed, 179 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 4f9013884de..b4571501e02 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,4 +1,5 @@
 DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde75780926a1b91263d3881f741399c5630c707f0429b9b144c657b017b7b0c1500b63b6463610dea3caaef8c2f7c3f69fd8f
 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
 DIST policycoreutils-2.8.tar.gz 2796775 BLAKE2B 
36115cc2faf72a4b647312f8faaf4762d7f2fb56bf0531ccadeb46b100c9e577f3148fe6890925d3fed94ac22803dc61729781e54bd0ddeb1539ccce2ec2a29b
 SHA512 
2b4a70836fd8727a16b8f8d4afcc39c9461ab6f5bc1ba5ce5833d41150da921ebb3c9bdbd1cfa7dd31fd382ba18b5433ca9b63bce58bd290db81fa9bedfe29f3
 DIST policycoreutils-2.9-rc1.tar.gz 2797222 BLAKE2B 
25f51cc1b17744e573450245064b8b65e44fff44693d886e89097308c80ed61b2cb46822d581e8b970053a771262722bdb4a59619d6a94e09505b71e476e45b3
 SHA512 
6a3a7d4652b44e54c287b327ad691dd0575c6a45fbf1f4676b8182e05760defc37dfa6aaf2e6ab5a77e124d76d1f699c4859c0595a3f9e8ade04ff5ad186fb32
+DIST policycoreutils-2.9.tar.gz 2819360 BLAKE2B 
b0af912e3b4fb2c9598b10ce413c8ffb3f5972a4d5d59270cff40abe8d4e385e0664e24a4f533a95ad2d1657644f3368213f955ac63d9f8c46a661417b07c8b3
 SHA512 
d8356115671ba66de05f1c13193ab47fab69cc4d09603a92171ed40afafc084dd191591bf336b7d722de637378ad09622ebb6eca85c06063ca9ddd6db10e02a2
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.9.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
new file mode 100644
index 000..463a7f498dc
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.9.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{3_5,3_6} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20190315"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libcap-1.10-r10:=
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   sys-libs/libcap-ng:=
+   >=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}
+   ! seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-02-09 Thread Jason Zaman
commit: 6289b701121497a05ac7c04c482674521977111e
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Feb  9 11:31:28 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Feb  9 11:48:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6289b701

sys-apps/policycoreutils: bump to 2.9_rc1

Signed-off-by: Jason Zaman  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.9_rc1.ebuild | 178 +
 2 files changed, 179 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 5c36cdf671f..4f9013884de 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,4 @@
 DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde75780926a1b91263d3881f741399c5630c707f0429b9b144c657b017b7b0c1500b63b6463610dea3caaef8c2f7c3f69fd8f
 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
 DIST policycoreutils-2.8.tar.gz 2796775 BLAKE2B 
36115cc2faf72a4b647312f8faaf4762d7f2fb56bf0531ccadeb46b100c9e577f3148fe6890925d3fed94ac22803dc61729781e54bd0ddeb1539ccce2ec2a29b
 SHA512 
2b4a70836fd8727a16b8f8d4afcc39c9461ab6f5bc1ba5ce5833d41150da921ebb3c9bdbd1cfa7dd31fd382ba18b5433ca9b63bce58bd290db81fa9bedfe29f3
+DIST policycoreutils-2.9-rc1.tar.gz 2797222 BLAKE2B 
25f51cc1b17744e573450245064b8b65e44fff44693d886e89097308c80ed61b2cb46822d581e8b970053a771262722bdb4a59619d6a94e09505b71e476e45b3
 SHA512 
6a3a7d4652b44e54c287b327ad691dd0575c6a45fbf1f4676b8182e05760defc37dfa6aaf2e6ab5a77e124d76d1f699c4859c0595a3f9e8ade04ff5ad186fb32
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.9_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.9_rc1.ebuild
new file mode 100644
index 000..09b451dfda9
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.9_rc1.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{3_5,3_6} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20190125"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libcap-1.10-r10:=
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   sys-libs/libcap-ng:=
+   >=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}
+   ! seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2019-02-09 Thread Jason Zaman
commit: 284bd4850721b6db49fa87b046271acc6920d043
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Feb  9 11:28:44 2019 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Feb  9 11:47:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284bd485

sys-apps/policycoreutils: update live ebuild

Signed-off-by: Jason Zaman  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/policycoreutils/policycoreutils-.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 26e0853930f..09b451dfda9 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20180524"
+MY_RELEASEDATE="20190125"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
@@ -29,7 +29,7 @@ if [[ ${PV} ==  ]]; then
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
 else
-   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
SRC_URI="https://github.com/SELinuxProject/selinux/releases/download/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
KEYWORDS="~amd64 ~arm64 ~mips ~x86"
S1="${WORKDIR}/${MY_P}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-12-27 Thread Jason Zaman
commit: 4e8309033b3b953e4bbb939aea1499fedbbc3d5b
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Dec 25 10:40:52 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Dec 27 10:06:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e830903

sys-apps/policycoreutils: drop  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../{policycoreutils-.ebuild => policycoreutils-2.8-r1.ebuild}  | 6 +++---
 sys-apps/policycoreutils/policycoreutils-.ebuild| 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild
similarity index 97%
copy from sys-apps/policycoreutils/policycoreutils-.ebuild
copy to sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild
index 307c82a9c3e..26e0853930f 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.8-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python{3_5,3_6} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1
@@ -45,7 +45,7 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
sys-devel/gettext
dev-python/ipy[${PYTHON_USEDEP}]
dbus? (

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 307c82a9c3e..26e0853930f 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python{3_5,3_6} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1
@@ -45,7 +45,7 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
+   >=app-admin/setools-4.2.0[${PYTHON_USEDEP}]
sys-devel/gettext
dev-python/ipy[${PYTHON_USEDEP}]
dbus? (



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-06-25 Thread Jason Zaman
commit: ea29dc218ecee4080045863ae84ffc945205c82c
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Jun 26 02:03:10 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Jun 26 02:07:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea29dc21

sys-apps/policycoreutils: stable 2.8

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sys-apps/policycoreutils/policycoreutils-2.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.8.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8.ebuild
index 307c82a9c3e..1a29b60298c 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.8.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.8.ebuild
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]]; then
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-05-25 Thread Jason Zaman
commit: 14b309091c2db83eaf80f6c694c15fa6e7863df9
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri May 25 04:33:08 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri May 25 07:27:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14b30909

sys-apps/policycoreutils: bump to 2.8

Package-Manager: Portage-2.3.39, Repoman-2.3.9

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.8.ebuild | 178 +
 2 files changed, 179 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 6c37aae88be..ef0fdb84067 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -2,4 +2,5 @@ DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde757
 DIST policycoreutils-2.8-rc1.tar.gz 2797172 BLAKE2B 
f75549e05af02038481807e78267b0af2df4d2c8ab5568e9f4be853c742e358ce3c6fd4a4f2f56e022aa76235b41a80676eee342cd79f43be2270b5753151a71
 SHA512 
252b1a2784221cd1b960d584e17c3c116b46a36ef4900510f8caf34908784dd1d19d2a5d2c394aaa4d920485183365af2ab23056eb5867ccbaf284e2ca8612cd
 DIST policycoreutils-2.8-rc2.tar.gz 2796955 BLAKE2B 
9a62c08b6fe4e53b1338d671d3fd51600e9fac18ca036a48bab7445b86883a7fb093cde0a99023e8fb9c8579f69075e0b3032217b4cdfa254ca3bab143150deb
 SHA512 
ce807e6175c92649cb4218444ff49d4f70ba1feb99ca01412f05a3d713a0a5f3c5dae0cd284b077a8c8e03a68d4dd023302863f3922f7748798205c5d5d73021
 DIST policycoreutils-2.8-rc3.tar.gz 2797294 BLAKE2B 
74be15f5a189c310570d64215e900885924a82cc2ae47e585ed093e36300614fc36b43bd391a72a45eeb4e814b29a6f11bc86cdd16ed2b2d3cbb0647d9f07686
 SHA512 
6100fdde5eb492a21028c470712dccffd25caf1cf2cabe5653df02126c19c7173cfd293b1e1ce3215bf7c59c32fed36e053348b1d5fb5916a24547d8e9c8794c
+DIST policycoreutils-2.8.tar.gz 2796775 BLAKE2B 
36115cc2faf72a4b647312f8faaf4762d7f2fb56bf0531ccadeb46b100c9e577f3148fe6890925d3fed94ac22803dc61729781e54bd0ddeb1539ccce2ec2a29b
 SHA512 
2b4a70836fd8727a16b8f8d4afcc39c9461ab6f5bc1ba5ce5833d41150da921ebb3c9bdbd1cfa7dd31fd382ba18b5433ca9b63bce58bd290db81fa9bedfe29f3
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.8.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8.ebuild
new file mode 100644
index 000..307c82a9c3e
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.8.ebuild
@@ -0,0 +1,178 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20180524"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/libcap-1.10-r10:=
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   sys-libs/libcap-ng:=
+   >=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}
+   ! seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-05-25 Thread Jason Zaman
commit: a057e0ae457b4b591c26aa8261decba82c54700f
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri May 25 06:55:46 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri May 25 07:28:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a057e0ae

sys-apps/policycoreutils: drop old

Package-Manager: Portage-2.3.39, Repoman-2.3.9

 sys-apps/policycoreutils/Manifest  |   3 -
 .../policycoreutils/policycoreutils-2.8_rc1.ebuild | 179 -
 .../policycoreutils/policycoreutils-2.8_rc2.ebuild | 179 -
 .../policycoreutils/policycoreutils-2.8_rc3.ebuild | 179 -
 4 files changed, 540 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index ef0fdb84067..5c36cdf671f 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,6 +1,3 @@
 DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde75780926a1b91263d3881f741399c5630c707f0429b9b144c657b017b7b0c1500b63b6463610dea3caaef8c2f7c3f69fd8f
 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
-DIST policycoreutils-2.8-rc1.tar.gz 2797172 BLAKE2B 
f75549e05af02038481807e78267b0af2df4d2c8ab5568e9f4be853c742e358ce3c6fd4a4f2f56e022aa76235b41a80676eee342cd79f43be2270b5753151a71
 SHA512 
252b1a2784221cd1b960d584e17c3c116b46a36ef4900510f8caf34908784dd1d19d2a5d2c394aaa4d920485183365af2ab23056eb5867ccbaf284e2ca8612cd
-DIST policycoreutils-2.8-rc2.tar.gz 2796955 BLAKE2B 
9a62c08b6fe4e53b1338d671d3fd51600e9fac18ca036a48bab7445b86883a7fb093cde0a99023e8fb9c8579f69075e0b3032217b4cdfa254ca3bab143150deb
 SHA512 
ce807e6175c92649cb4218444ff49d4f70ba1feb99ca01412f05a3d713a0a5f3c5dae0cd284b077a8c8e03a68d4dd023302863f3922f7748798205c5d5d73021
-DIST policycoreutils-2.8-rc3.tar.gz 2797294 BLAKE2B 
74be15f5a189c310570d64215e900885924a82cc2ae47e585ed093e36300614fc36b43bd391a72a45eeb4e814b29a6f11bc86cdd16ed2b2d3cbb0647d9f07686
 SHA512 
6100fdde5eb492a21028c470712dccffd25caf1cf2cabe5653df02126c19c7173cfd293b1e1ce3215bf7c59c32fed36e053348b1d5fb5916a24547d8e9c8794c
 DIST policycoreutils-2.8.tar.gz 2796775 BLAKE2B 
36115cc2faf72a4b647312f8faaf4762d7f2fb56bf0531ccadeb46b100c9e577f3148fe6890925d3fed94ac22803dc61729781e54bd0ddeb1539ccce2ec2a29b
 SHA512 
2b4a70836fd8727a16b8f8d4afcc39c9461ab6f5bc1ba5ce5833d41150da921ebb3c9bdbd1cfa7dd31fd382ba18b5433ca9b63bce58bd290db81fa9bedfe29f3
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.8_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8_rc1.ebuild
deleted file mode 100644
index aebedfb6cd4..000
--- a/sys-apps/policycoreutils/policycoreutils-2.8_rc1.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-PYTHON_REQ_USE="xml"
-
-inherit multilib python-r1 toolchain-funcs bash-completion-r1
-
-MY_P="${P//_/-}"
-
-MY_RELEASEDATE="20180419"
-EXTRAS_VER="1.36"
-SEMNG_VER="${PV}"
-SELNX_VER="${PV}"
-SEPOL_VER="${PV}"
-
-IUSE="audit pam dbus"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DESCRIPTION="SELinux core utilities"
-HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   S1="${WORKDIR}/${MY_P}/${PN}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-else
-   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
-   S1="${WORKDIR}/${MY_P}"
-   S2="${WORKDIR}/policycoreutils-extra"
-   S="${S1}"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/glibc-2.4
-   >=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
-   sys-libs/libcap-ng:=
-   >=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
-   sys-devel/gettext
-   dev-python/ipy[${PYTHON_USEDEP}]
-   dbus? (
-   sys-apps/dbus
-   dev-libs/dbus-glib:=
-   )
-   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
-   pam? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-05-21 Thread Jason Zaman
commit: 13fb518c8fcb2cb1cac035e341bf1859714ce13c
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon May 21 06:52:14 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon May 21 09:55:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13fb518c

sys-apps/policycoreutils: supports musl now, drop dep on glibc

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/policycoreutils/policycoreutils-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 869c231e497..61c30a89194 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -41,7 +41,6 @@ LICENSE="GPL-2"
 SLOT="0"
 
 DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
-   >=sys-libs/glibc-2.4
>=sys-libs/libcap-1.10-r10:=
>=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-05-13 Thread Jason Zaman
commit: ce8316e40150d8f60af5fb1339a730ccdcc6336e
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun May 13 16:40:38 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun May 13 17:27:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce8316e4

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index bdd5ccc8ac3..869c231e497 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20180426"
+MY_RELEASEDATE="20180510"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-05-13 Thread Jason Zaman
commit: a4d5168a959b4e4ec088c080da01d64e9223fef2
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun May 13 16:49:22 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun May 13 17:28:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d5168a

sys-apps/policycoreutils: bump to 2.8_rc3

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.8_rc3.ebuild | 179 +
 2 files changed, 180 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index e35d1626290..6c37aae88be 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,4 +1,5 @@
 DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde75780926a1b91263d3881f741399c5630c707f0429b9b144c657b017b7b0c1500b63b6463610dea3caaef8c2f7c3f69fd8f
 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
 DIST policycoreutils-2.8-rc1.tar.gz 2797172 BLAKE2B 
f75549e05af02038481807e78267b0af2df4d2c8ab5568e9f4be853c742e358ce3c6fd4a4f2f56e022aa76235b41a80676eee342cd79f43be2270b5753151a71
 SHA512 
252b1a2784221cd1b960d584e17c3c116b46a36ef4900510f8caf34908784dd1d19d2a5d2c394aaa4d920485183365af2ab23056eb5867ccbaf284e2ca8612cd
 DIST policycoreutils-2.8-rc2.tar.gz 2796955 BLAKE2B 
9a62c08b6fe4e53b1338d671d3fd51600e9fac18ca036a48bab7445b86883a7fb093cde0a99023e8fb9c8579f69075e0b3032217b4cdfa254ca3bab143150deb
 SHA512 
ce807e6175c92649cb4218444ff49d4f70ba1feb99ca01412f05a3d713a0a5f3c5dae0cd284b077a8c8e03a68d4dd023302863f3922f7748798205c5d5d73021
+DIST policycoreutils-2.8-rc3.tar.gz 2797294 BLAKE2B 
74be15f5a189c310570d64215e900885924a82cc2ae47e585ed093e36300614fc36b43bd391a72a45eeb4e814b29a6f11bc86cdd16ed2b2d3cbb0647d9f07686
 SHA512 
6100fdde5eb492a21028c470712dccffd25caf1cf2cabe5653df02126c19c7173cfd293b1e1ce3215bf7c59c32fed36e053348b1d5fb5916a24547d8e9c8794c
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.8_rc3.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8_rc3.ebuild
new file mode 100644
index 000..869c231e497
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.8_rc3.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20180510"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/glibc-2.4
+   >=sys-libs/libcap-1.10-r10:=
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   sys-libs/libcap-ng:=
+   >=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}
+   ! seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-04-26 Thread Jason Zaman
commit: 068ff922dae3acd96760e54f6462d8719300576b
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Apr 27 03:53:56 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri Apr 27 04:44:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=068ff922

sys-apps/policycoreutils: bump to 2.8_rc2

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.8_rc2.ebuild | 179 +
 2 files changed, 180 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 14e6468a22d..e35d1626290 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,4 @@
 DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde75780926a1b91263d3881f741399c5630c707f0429b9b144c657b017b7b0c1500b63b6463610dea3caaef8c2f7c3f69fd8f
 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
 DIST policycoreutils-2.8-rc1.tar.gz 2797172 BLAKE2B 
f75549e05af02038481807e78267b0af2df4d2c8ab5568e9f4be853c742e358ce3c6fd4a4f2f56e022aa76235b41a80676eee342cd79f43be2270b5753151a71
 SHA512 
252b1a2784221cd1b960d584e17c3c116b46a36ef4900510f8caf34908784dd1d19d2a5d2c394aaa4d920485183365af2ab23056eb5867ccbaf284e2ca8612cd
+DIST policycoreutils-2.8-rc2.tar.gz 2796955 BLAKE2B 
9a62c08b6fe4e53b1338d671d3fd51600e9fac18ca036a48bab7445b86883a7fb093cde0a99023e8fb9c8579f69075e0b3032217b4cdfa254ca3bab143150deb
 SHA512 
ce807e6175c92649cb4218444ff49d4f70ba1feb99ca01412f05a3d713a0a5f3c5dae0cd284b077a8c8e03a68d4dd023302863f3922f7748798205c5d5d73021
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.8_rc2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8_rc2.ebuild
new file mode 100644
index 000..bdd5ccc8ac3
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.8_rc2.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20180426"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/glibc-2.4
+   >=sys-libs/libcap-1.10-r10:=
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   sys-libs/libcap-ng:=
+   >=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}
+   ! seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-04-26 Thread Jason Zaman
commit: 505b336739103145ef1893e6e3167e25998c814f
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Apr 27 03:50:52 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri Apr 27 04:44:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=505b3367

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index aebedfb6cd4..bdd5ccc8ac3 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20180419"
+MY_RELEASEDATE="20180426"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-04-26 Thread Jason Zaman
commit: 0ba333cf4279ddb85e45e03d172e00f0b0e0c00d
Author: Jason Zaman  gentoo  org>
AuthorDate: Wed Apr 25 12:19:45 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Apr 26 11:21:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ba333cf

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/policycoreutils/policycoreutils-.ebuild | 12 +---
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index bd07eea3a4b..aebedfb6cd4 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20170804"
+MY_RELEASEDATE="20180419"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
@@ -21,7 +21,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DESCRIPTION="SELinux core utilities"
 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
 
-if [[ ${PV} ==  ]] ; then
+if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;

SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]] ; then
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
@@ -114,7 +114,6 @@ src_compile() {
INOTIFYH="$(usex dbus y n)" \
SESANDBOX="n" \
CC="$(tc-getCC)" \
-   PYLIBVER="${EPYTHON}" \
LIBDIR="\$(PREFIX)/$(get_libdir)"
}
S="${S1}" # Regular policycoreutils
@@ -128,11 +127,12 @@ src_install() {
installation-policycoreutils() {
einfo "Installing policycoreutils"
emake -C "${BUILD_DIR}" DESTDIR="${D}" \
+   AUDIT_LOG_PRIVS="y" \
AUDITH="$(usex audit y n)" \
PAMH="$(usex pam y n)" \
INOTIFYH="$(usex dbus y n)" \
SESANDBOX="n" \
-   AUDIT_LOG_PRIV="y" \
+   CC="$(tc-getCC)" \
LIBDIR="\$(PREFIX)/$(get_libdir)" \
install
python_optimize
@@ -142,8 +142,6 @@ src_install() {
einfo "Installing policycoreutils-extra"
emake -C "${BUILD_DIR}" \
DESTDIR="${D}" \
-   INOTIFYH="$(usex dbus)" \
-   SHLIBDIR="${D}$(get_libdir)/rc" \
install
python_optimize
}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-04-26 Thread Jason Zaman
commit: 7dc6b54ec3e70aa941e9c4ed57f1c11fa758aeba
Author: Jason Zaman  gentoo  org>
AuthorDate: Thu Apr 26 10:50:11 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Apr 26 11:22:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc6b54e

sys-apps/policycoreutils: bump to 2.8_rc1

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.8_rc1.ebuild | 179 +
 2 files changed, 180 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 38aec9564a6..14e6468a22d 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,2 +1,3 @@
 DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde75780926a1b91263d3881f741399c5630c707f0429b9b144c657b017b7b0c1500b63b6463610dea3caaef8c2f7c3f69fd8f
 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
+DIST policycoreutils-2.8-rc1.tar.gz 2797172 BLAKE2B 
f75549e05af02038481807e78267b0af2df4d2c8ab5568e9f4be853c742e358ce3c6fd4a4f2f56e022aa76235b41a80676eee342cd79f43be2270b5753151a71
 SHA512 
252b1a2784221cd1b960d584e17c3c116b46a36ef4900510f8caf34908784dd1d19d2a5d2c394aaa4d920485183365af2ab23056eb5867ccbaf284e2ca8612cd
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/policycoreutils-2.8_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.8_rc1.ebuild
new file mode 100644
index 000..aebedfb6cd4
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.8_rc1.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20180419"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
+   >=sys-libs/glibc-2.4
+   >=sys-libs/libcap-1.10-r10:=
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
+   sys-libs/libcap-ng:=
+   >=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}
+   ! seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2018-03-02 Thread Jason Zaman
commit: d1a6928afabf5c810b5724b2011ed37f0fae1044
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Mar  2 15:10:18 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri Mar  2 15:10:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1a6928a

sys-apps/policycoreutils: add python3_6 compat

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/policycoreutils/policycoreutils-2.7.ebuild  | 4 ++--
 sys-apps/policycoreutils/policycoreutils-.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.7.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
index 2f74519d79b..67a003d2f99 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 9996621df2c..bd07eea3a4b 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 PYTHON_REQ_USE="xml"
 
 inherit multilib python-r1 toolchain-funcs bash-completion-r1



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/files/, sys-apps/policycoreutils/

2018-03-01 Thread Jason Zaman
commit: bdc01316917d5975eff7b9a767b9c2fe7f2e3196
Author: Jason Zaman  gentoo  org>
AuthorDate: Thu Mar  1 15:43:53 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri Mar  2 06:06:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdc01316

sys-apps/policycoreutils: drop 2.6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sys-apps/policycoreutils/Manifest  |   2 -
 .../files/0010-remove-sesandbox-support.patch  |   9 -
 ...20-disable-autodetection-of-pam-and-audit.patch | 108 
 ...030-make-inotify-check-use-flag-triggered.patch |  14 --
 ...ttempt-fails-with-gentoo-sandbox-approach.patch |  11 --
 .../files/0110-build-mcstrans-bug-472912.patch |  64 ---
 ...ailure-for-mcscolor-for-CONTEXT__CONTAINS.patch |  11 --
 .../policycoreutils/policycoreutils-2.6-r1.ebuild  | 187 -
 8 files changed, 406 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index ed6789183b4..38aec9564a6 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,4 +1,2 @@
-DIST policycoreutils-2.6.tar.gz 4660087 BLAKE2B 
26ea03db8552b5ad3967acb6912dde0f332315f93682e65e3f6461f19efdc4ec1444c219a946e3172283078012961c0a39bb77203e20544e6c4de48c7a6fa0f9
 SHA512 
ba289060bc348f9315bce84a5e5daf145600274289fdd2206edc10bb0ee03f9b02a9e40e9c118809961ddfe7844dee7d8952d8c9a239af7282f4fc1614c21e9d
 DIST policycoreutils-2.7.tar.gz 2796707 BLAKE2B 
4b1c03f2d12252b453950c3d6bcde75780926a1b91263d3881f741399c5630c707f0429b9b144c657b017b7b0c1500b63b6463610dea3caaef8c2f7c3f69fd8f
 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
-DIST policycoreutils-extra-1.35.tar.bz2 12124 BLAKE2B 
78e9651a1d8aa1747ef6a4dfd657e27a1b22e13d6ae36cabbfe8bd80986770a6f3638232db6b56f730cf379e85239e4a945cea4946553d07f18e1e9d1467996f
 SHA512 
8cc3c74afee7ec38d7d085744fdd60849d3ae97a75599d2181b12b5b472a6a4445868e8a6aff707e439c10d9c378fb55e329b4db21c0a771f41180bf3b9eabc1
 DIST policycoreutils-extra-1.36.tar.bz2 8830 BLAKE2B 
6d98e41ea379d3e95221a6e53d8a8b144e4e15ca5581381e76a529dbbaca304d5587b30419797c8c70cbd7c2b2588e5ecd62adcf97294e429950899c1c318346
 SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3

diff --git a/sys-apps/policycoreutils/files/0010-remove-sesandbox-support.patch 
b/sys-apps/policycoreutils/files/0010-remove-sesandbox-support.patch
deleted file mode 100644
index 52a34bd1f47..000
--- a/sys-apps/policycoreutils/files/0010-remove-sesandbox-support.patch
+++ /dev/null
@@ -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)
- 

diff --git 
a/sys-apps/policycoreutils/files/0020-disable-autodetection-of-pam-and-audit.patch
 
b/sys-apps/policycoreutils/files/0020-disable-autodetection-of-pam-and-audit.patch
deleted file mode 100644
index a3eeaed901d..000
--- 
a/sys-apps/policycoreutils/files/0020-disable-autodetection-of-pam-and-audit.patch
+++ /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/Makefile2013-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 @@
-   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/files/

2017-10-10 Thread Jason Zaman
commit: 7a31b39973f1a9fc743be5d2c8198f8f02241f83
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Oct  1 13:45:26 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Oct  9 18:45:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a31b399

sys-apps/policycoreutils: remove unused patch

 .../policycoreutils-2.7_rc1-0001-newrole-not-suid.patch | 13 -
 1 file changed, 13 deletions(-)

diff --git 
a/sys-apps/policycoreutils/files/policycoreutils-2.7_rc1-0001-newrole-not-suid.patch
 
b/sys-apps/policycoreutils/files/policycoreutils-2.7_rc1-0001-newrole-not-suid.patch
deleted file mode 100644
index d4aa531063f..000
--- 
a/sys-apps/policycoreutils/files/policycoreutils-2.7_rc1-0001-newrole-not-suid.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/policycoreutils/newrole/Makefile 
b/policycoreutils/newrole/Makefile
-index bdefbb8..9cff135 100644
 policycoreutils/newrole/Makefile
-+++ policycoreutils/newrole/Makefile
-@@ -49,7 +49,7 @@ ifeq ($(NAMESPACE_PRIV),y)
-   IS_SUID=y
- endif
- ifeq ($(IS_SUID),y)
--  MODE := 4555
-+  MODE := 0555
-   LDLIBS += -lcap-ng
- else
-   MODE := 0555



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-09-22 Thread Jason Zaman
commit: 153ac8a2cdb42f3879f22085f11fb0fbb80de1c2
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Sep 22 16:04:48 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Sep 23 02:12:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=153ac8a2

sys-apps/policycoreutils: stablize 2.7

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 sys-apps/policycoreutils/policycoreutils-2.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.7.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
index f2098b2a414..2f74519d79b 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]] ; then
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-09-22 Thread Jason Zaman
commit: 7807e751edad6e12ce21d285be57ab6bd1445c07
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Sep 22 16:31:40 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Sep 23 02:13:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7807e751

sys-apps/policycoreutils: drop old

Package-Manager: Portage-2.3.8, Repoman-2.3.1

 sys-apps/policycoreutils/Manifest  |   5 -
 .../policycoreutils/policycoreutils-2.5.ebuild | 187 -
 .../policycoreutils/policycoreutils-2.6.ebuild | 187 -
 .../policycoreutils/policycoreutils-2.7_rc1.ebuild | 181 
 .../policycoreutils/policycoreutils-2.7_rc4.ebuild | 181 
 .../policycoreutils/policycoreutils-2.7_rc5.ebuild | 181 
 6 files changed, 922 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index bd5ae09197e..0ac79ca0772 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,9 +1,4 @@
-DIST policycoreutils-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 SHA512 
0eabf046cf44c6fe2e28492f53862f4302551d602e9b678b923f34f35bfc48f03a73b62962ac71465b9d99b411016b2cfc976f3baf113133a6c0adab1e1f6f8b
 WHIRLPOOL 
27a6810d611f50ac1292f614c9936f0b73b7334be80685f1eda6fd72ec7e85fc0f7b4ff930a48c08a61ade84fd46bd9e7285f5a135ea6db6e4fe88e38d73bd16
 DIST policycoreutils-2.6.tar.gz 4660087 SHA256 
68891b376f5048edc53c6ccb2fca44da3dc7f4563f4b6894e201d70c04a05a29 SHA512 
ba289060bc348f9315bce84a5e5daf145600274289fdd2206edc10bb0ee03f9b02a9e40e9c118809961ddfe7844dee7d8952d8c9a239af7282f4fc1614c21e9d
 WHIRLPOOL 
c04a5f0f6bb044090e0d443f4497d828713fd32de4a0f5b5442e70e836da99e5e6e562a9deeedb566b07da1687c0a6b056c33b0bbe9836a71891fc6a449da60c
-DIST policycoreutils-2.7-rc1.tar.gz 2797016 SHA256 
d990b00be77838c15bf701494eeddd7d39cb8871dcc69483dd954a2c2a9eb328 SHA512 
7669041dbd6a119dde0283335967160cf477d21e5e6f170e7269351bc07e30995b489fd6eb90188e84be0b321e55e77860cbbad588fbf5f5c2b64a6f18334cfb
 WHIRLPOOL 
529f8dfc55844a712bf966b0686e522b563bcbcd2373ec113a90bf78c8a30c3f4250393ea35554e5065065dde9f583f5461a889d825ffcced1b96f383e91a086
-DIST policycoreutils-2.7-rc4.tar.gz 2797116 SHA256 
d68f7cfbdb5539c13f35aba4e506b4f5aff54cc426810d96eac14fc84aa26e5f SHA512 
4eabcb5b36c3a5cde22e9754f2fb6563f8a6c97a33bb4f1143e802f02f1018e8cefa445b11bcd26e9f32bd306e30bad48d77e22b828da807d1eae682ff89b87a
 WHIRLPOOL 
81c6bbf10d6b1f0377b60ad8c5c79349511f446e2b4e748a999feed4a5fd525193017e57edbd285cdd8322b0fda15f218ec06400d6dfdad42053b788f68b5964
-DIST policycoreutils-2.7-rc5.tar.gz 2797162 SHA256 
8f4ebdafd7efb0b61d4bbc2d706be88ec1a5104573e83a30fff257823c657b52 SHA512 
cebc12cf58803f64f38bb544337742bb85cd1b81bb6041a3a0d2ed44dbe8fbb72efc9801d1634ef05c7a2055945ec4381903aa059b320ca774bba6a42768da39
 WHIRLPOOL 
e9d8f841e7724a70ad024305a53c2a83171f242efd6dae902d9480e10069103999af0a47024dcff6ba74d10aee22ccf9c4f8b71bd6689793b2de7986017aa049
 DIST policycoreutils-2.7.tar.gz 2796707 SHA256 
0a1b8a4a323b854981c6755ff025fe98a0f1cff307f109abb260f0490f13e4f4 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
 WHIRLPOOL 
f2360ab5e83f1a9a0f9e63bf700a89c28b61d13f8101c9ea2b68e9f071ede23557a0a5bec9a077b96b42be063421018ab8b85c4443e3bc1021f0d251a62de301
-DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d
 DIST policycoreutils-extra-1.35.tar.bz2 12124 SHA256 
25983df35c0b98fb65423f109d71c02e4d6b86415452b7a7a6e92b5e4fa4a36e SHA512 
8cc3c74afee7ec38d7d085744fdd60849d3ae97a75599d2181b12b5b472a6a4445868e8a6aff707e439c10d9c378fb55e329b4db21c0a771f41180bf3b9eabc1
 WHIRLPOOL 
863ca52e1897cbfb9252f1afe81fef497f27ede10c74e1150c07e9f355390eca0e64c9b0cc0a48e8a7442b310387b1e929b40e2b9c14a9a095850a00983cd5f6
 DIST policycoreutils-extra-1.36.tar.bz2 8830 SHA256 
2dfbe799bbbf150e68fab7e168fd71b94505c992623f30c71873213447506e8f SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3
 WHIRLPOOL 
c9772dba472b9b466181204f5bd5fb13d839042c53c84db38999a8b077b0dee1e9e78089b7b5fe4bc4076a1ad1c420528354404b292abd428a73e6f95312d0c4

diff --git a/sys-apps/policycoreutils/policycoreutils-2.5.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.5.ebuild
deleted file mode 100644
index 1e8bf770d1b..000
--- a/sys-apps/policycoreutils/policycoreutils-2.5.ebuild
+++ /dev/null
@@ -1,187 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-08-07 Thread Jason Zaman
commit: 60e2bebc0fbd9fceea5a2529728284eedef3d639
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Aug  7 15:46:23 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Aug  7 16:46:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e2bebc

sys-apps/policycoreutils: bump to 2.7

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.7.ebuild | 181 +
 2 files changed, 182 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index a1aeeece6ba..bd5ae09197e 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -3,6 +3,7 @@ DIST policycoreutils-2.6.tar.gz 4660087 SHA256 
68891b376f5048edc53c6ccb2fca44da3
 DIST policycoreutils-2.7-rc1.tar.gz 2797016 SHA256 
d990b00be77838c15bf701494eeddd7d39cb8871dcc69483dd954a2c2a9eb328 SHA512 
7669041dbd6a119dde0283335967160cf477d21e5e6f170e7269351bc07e30995b489fd6eb90188e84be0b321e55e77860cbbad588fbf5f5c2b64a6f18334cfb
 WHIRLPOOL 
529f8dfc55844a712bf966b0686e522b563bcbcd2373ec113a90bf78c8a30c3f4250393ea35554e5065065dde9f583f5461a889d825ffcced1b96f383e91a086
 DIST policycoreutils-2.7-rc4.tar.gz 2797116 SHA256 
d68f7cfbdb5539c13f35aba4e506b4f5aff54cc426810d96eac14fc84aa26e5f SHA512 
4eabcb5b36c3a5cde22e9754f2fb6563f8a6c97a33bb4f1143e802f02f1018e8cefa445b11bcd26e9f32bd306e30bad48d77e22b828da807d1eae682ff89b87a
 WHIRLPOOL 
81c6bbf10d6b1f0377b60ad8c5c79349511f446e2b4e748a999feed4a5fd525193017e57edbd285cdd8322b0fda15f218ec06400d6dfdad42053b788f68b5964
 DIST policycoreutils-2.7-rc5.tar.gz 2797162 SHA256 
8f4ebdafd7efb0b61d4bbc2d706be88ec1a5104573e83a30fff257823c657b52 SHA512 
cebc12cf58803f64f38bb544337742bb85cd1b81bb6041a3a0d2ed44dbe8fbb72efc9801d1634ef05c7a2055945ec4381903aa059b320ca774bba6a42768da39
 WHIRLPOOL 
e9d8f841e7724a70ad024305a53c2a83171f242efd6dae902d9480e10069103999af0a47024dcff6ba74d10aee22ccf9c4f8b71bd6689793b2de7986017aa049
+DIST policycoreutils-2.7.tar.gz 2796707 SHA256 
0a1b8a4a323b854981c6755ff025fe98a0f1cff307f109abb260f0490f13e4f4 SHA512 
ce97d659f72058fd23d8dab8db98fc7c0003806a636c521fa15da465d7358d40ccc8e3eaa9675f00a9b0b8aaa1465d3fb650bc0ebbbf00164e121230673256fb
 WHIRLPOOL 
f2360ab5e83f1a9a0f9e63bf700a89c28b61d13f8101c9ea2b68e9f071ede23557a0a5bec9a077b96b42be063421018ab8b85c4443e3bc1021f0d251a62de301
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d
 DIST policycoreutils-extra-1.35.tar.bz2 12124 SHA256 
25983df35c0b98fb65423f109d71c02e4d6b86415452b7a7a6e92b5e4fa4a36e SHA512 
8cc3c74afee7ec38d7d085744fdd60849d3ae97a75599d2181b12b5b472a6a4445868e8a6aff707e439c10d9c378fb55e329b4db21c0a771f41180bf3b9eabc1
 WHIRLPOOL 
863ca52e1897cbfb9252f1afe81fef497f27ede10c74e1150c07e9f355390eca0e64c9b0cc0a48e8a7442b310387b1e929b40e2b9c14a9a095850a00983cd5f6
 DIST policycoreutils-extra-1.36.tar.bz2 8830 SHA256 
2dfbe799bbbf150e68fab7e168fd71b94505c992623f30c71873213447506e8f SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3
 WHIRLPOOL 
c9772dba472b9b466181204f5bd5fb13d839042c53c84db38999a8b077b0dee1e9e78089b7b5fe4bc4076a1ad1c420528354404b292abd428a73e6f95312d0c4

diff --git a/sys-apps/policycoreutils/policycoreutils-2.7.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
new file mode 100644
index 000..f2098b2a414
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.7.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20170804"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-08-07 Thread Jason Zaman
commit: 8b05b5a0c7b583b4c50b8df17f2da9d39870ed1a
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Aug  7 14:09:27 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Aug  7 16:46:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b05b5a0

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-apps/policycoreutils/policycoreutils-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index be4af64d17d..9996621df2c 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20170718"
+MY_RELEASEDATE="20170804"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
@@ -46,7 +46,7 @@ 
DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.0[${PYTHON_USEDEP}]
+   >=app-admin/setools-4.1.1[${PYTHON_USEDEP}]
sys-devel/gettext
dev-python/ipy[${PYTHON_USEDEP}]
dbus? (



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-07-22 Thread Jason Zaman
commit: 623aac9cd2b5a7b681d0f0fcda0bde22f1aef7ef
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Jul 22 10:17:00 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Jul 22 10:45:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=623aac9c

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 736172b7f21..be4af64d17d 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20170630"
+MY_RELEASEDATE="20170718"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-07-22 Thread Jason Zaman
commit: 52cc878f02d5b6a45d5b00ea4c85d1e0ac253311
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Jul 22 10:24:35 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sat Jul 22 10:46:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52cc878f

sys-apps/policycoreutils: bump to 2.7_rc5

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.7_rc5.ebuild | 181 +
 2 files changed, 182 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 4d4f60f23b4..a1aeeece6ba 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -2,6 +2,7 @@ DIST policycoreutils-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe384
 DIST policycoreutils-2.6.tar.gz 4660087 SHA256 
68891b376f5048edc53c6ccb2fca44da3dc7f4563f4b6894e201d70c04a05a29 SHA512 
ba289060bc348f9315bce84a5e5daf145600274289fdd2206edc10bb0ee03f9b02a9e40e9c118809961ddfe7844dee7d8952d8c9a239af7282f4fc1614c21e9d
 WHIRLPOOL 
c04a5f0f6bb044090e0d443f4497d828713fd32de4a0f5b5442e70e836da99e5e6e562a9deeedb566b07da1687c0a6b056c33b0bbe9836a71891fc6a449da60c
 DIST policycoreutils-2.7-rc1.tar.gz 2797016 SHA256 
d990b00be77838c15bf701494eeddd7d39cb8871dcc69483dd954a2c2a9eb328 SHA512 
7669041dbd6a119dde0283335967160cf477d21e5e6f170e7269351bc07e30995b489fd6eb90188e84be0b321e55e77860cbbad588fbf5f5c2b64a6f18334cfb
 WHIRLPOOL 
529f8dfc55844a712bf966b0686e522b563bcbcd2373ec113a90bf78c8a30c3f4250393ea35554e5065065dde9f583f5461a889d825ffcced1b96f383e91a086
 DIST policycoreutils-2.7-rc4.tar.gz 2797116 SHA256 
d68f7cfbdb5539c13f35aba4e506b4f5aff54cc426810d96eac14fc84aa26e5f SHA512 
4eabcb5b36c3a5cde22e9754f2fb6563f8a6c97a33bb4f1143e802f02f1018e8cefa445b11bcd26e9f32bd306e30bad48d77e22b828da807d1eae682ff89b87a
 WHIRLPOOL 
81c6bbf10d6b1f0377b60ad8c5c79349511f446e2b4e748a999feed4a5fd525193017e57edbd285cdd8322b0fda15f218ec06400d6dfdad42053b788f68b5964
+DIST policycoreutils-2.7-rc5.tar.gz 2797162 SHA256 
8f4ebdafd7efb0b61d4bbc2d706be88ec1a5104573e83a30fff257823c657b52 SHA512 
cebc12cf58803f64f38bb544337742bb85cd1b81bb6041a3a0d2ed44dbe8fbb72efc9801d1634ef05c7a2055945ec4381903aa059b320ca774bba6a42768da39
 WHIRLPOOL 
e9d8f841e7724a70ad024305a53c2a83171f242efd6dae902d9480e10069103999af0a47024dcff6ba74d10aee22ccf9c4f8b71bd6689793b2de7986017aa049
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d
 DIST policycoreutils-extra-1.35.tar.bz2 12124 SHA256 
25983df35c0b98fb65423f109d71c02e4d6b86415452b7a7a6e92b5e4fa4a36e SHA512 
8cc3c74afee7ec38d7d085744fdd60849d3ae97a75599d2181b12b5b472a6a4445868e8a6aff707e439c10d9c378fb55e329b4db21c0a771f41180bf3b9eabc1
 WHIRLPOOL 
863ca52e1897cbfb9252f1afe81fef497f27ede10c74e1150c07e9f355390eca0e64c9b0cc0a48e8a7442b310387b1e929b40e2b9c14a9a095850a00983cd5f6
 DIST policycoreutils-extra-1.36.tar.bz2 8830 SHA256 
2dfbe799bbbf150e68fab7e168fd71b94505c992623f30c71873213447506e8f SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3
 WHIRLPOOL 
c9772dba472b9b466181204f5bd5fb13d839042c53c84db38999a8b077b0dee1e9e78089b7b5fe4bc4076a1ad1c420528354404b292abd428a73e6f95312d0c4

diff --git a/sys-apps/policycoreutils/policycoreutils-2.7_rc5.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.7_rc5.ebuild
new file mode 100644
index 000..67e07e7ada8
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.7_rc5.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20170718"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/, sys-apps/policycoreutils/files/

2017-07-09 Thread Jason Zaman
commit: 07f19bdf64a33eb8bc7b2e1a8368bb53e0b0585c
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Jul  9 09:49:32 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jul  9 10:03:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f19bdf

sys-apps/policycoreutils: update suid patch

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 .../files/policycoreutils-2.7-0001-newrole-not-suid.patch   | 2 +-
 ...t-suid.patch => policycoreutils-2.7_rc1-0001-newrole-not-suid.patch} | 0
 sys-apps/policycoreutils/policycoreutils-2.7_rc1.ebuild | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
 
b/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
index d4aa531063f..6049bbe282a 100644
--- 
a/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
+++ 
b/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
@@ -8,6 +8,6 @@ index bdefbb8..9cff135 100644
  ifeq ($(IS_SUID),y)
 -  MODE := 4555
 +  MODE := 0555
-   LDLIBS += -lcap-ng
+   override LDLIBS += -lcap-ng
  else
MODE := 0555

diff --git 
a/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
 
b/sys-apps/policycoreutils/files/policycoreutils-2.7_rc1-0001-newrole-not-suid.patch
similarity index 100%
copy from 
sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
copy to 
sys-apps/policycoreutils/files/policycoreutils-2.7_rc1-0001-newrole-not-suid.patch

diff --git a/sys-apps/policycoreutils/policycoreutils-2.7_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.7_rc1.ebuild
index 4e75a4f5dc6..fd1ae7ab7c6 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.7_rc1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.7_rc1.ebuild
@@ -83,7 +83,7 @@ src_prepare() {
cd "${S}" || die "Failed to switch to ${S}"
if [[ ${PV} !=  ]] ; then
# If needed for live ebuilds please use /etc/portage/patches
-   eapply 
"${FILESDIR}/policycoreutils-2.7-0001-newrole-not-suid.patch"
+   eapply 
"${FILESDIR}/policycoreutils-2.7_rc1-0001-newrole-not-suid.patch"
fi
 
# rlpkg is more useful than fixfiles



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-07-09 Thread Jason Zaman
commit: 229197cfd7a0257dacef739c1791d15d8f8b
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Jul  9 09:27:39 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jul  9 10:03:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=229197cf

sys-apps/policycoreutils: bump to 2.7_rc4

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-apps/policycoreutils/Manifest  |   1 +
 .../policycoreutils/policycoreutils-2.7_rc4.ebuild | 181 +
 2 files changed, 182 insertions(+)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index b38eb659f11..4d4f60f23b4 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,6 +1,7 @@
 DIST policycoreutils-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 SHA512 
0eabf046cf44c6fe2e28492f53862f4302551d602e9b678b923f34f35bfc48f03a73b62962ac71465b9d99b411016b2cfc976f3baf113133a6c0adab1e1f6f8b
 WHIRLPOOL 
27a6810d611f50ac1292f614c9936f0b73b7334be80685f1eda6fd72ec7e85fc0f7b4ff930a48c08a61ade84fd46bd9e7285f5a135ea6db6e4fe88e38d73bd16
 DIST policycoreutils-2.6.tar.gz 4660087 SHA256 
68891b376f5048edc53c6ccb2fca44da3dc7f4563f4b6894e201d70c04a05a29 SHA512 
ba289060bc348f9315bce84a5e5daf145600274289fdd2206edc10bb0ee03f9b02a9e40e9c118809961ddfe7844dee7d8952d8c9a239af7282f4fc1614c21e9d
 WHIRLPOOL 
c04a5f0f6bb044090e0d443f4497d828713fd32de4a0f5b5442e70e836da99e5e6e562a9deeedb566b07da1687c0a6b056c33b0bbe9836a71891fc6a449da60c
 DIST policycoreutils-2.7-rc1.tar.gz 2797016 SHA256 
d990b00be77838c15bf701494eeddd7d39cb8871dcc69483dd954a2c2a9eb328 SHA512 
7669041dbd6a119dde0283335967160cf477d21e5e6f170e7269351bc07e30995b489fd6eb90188e84be0b321e55e77860cbbad588fbf5f5c2b64a6f18334cfb
 WHIRLPOOL 
529f8dfc55844a712bf966b0686e522b563bcbcd2373ec113a90bf78c8a30c3f4250393ea35554e5065065dde9f583f5461a889d825ffcced1b96f383e91a086
+DIST policycoreutils-2.7-rc4.tar.gz 2797116 SHA256 
d68f7cfbdb5539c13f35aba4e506b4f5aff54cc426810d96eac14fc84aa26e5f SHA512 
4eabcb5b36c3a5cde22e9754f2fb6563f8a6c97a33bb4f1143e802f02f1018e8cefa445b11bcd26e9f32bd306e30bad48d77e22b828da807d1eae682ff89b87a
 WHIRLPOOL 
81c6bbf10d6b1f0377b60ad8c5c79349511f446e2b4e748a999feed4a5fd525193017e57edbd285cdd8322b0fda15f218ec06400d6dfdad42053b788f68b5964
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d
 DIST policycoreutils-extra-1.35.tar.bz2 12124 SHA256 
25983df35c0b98fb65423f109d71c02e4d6b86415452b7a7a6e92b5e4fa4a36e SHA512 
8cc3c74afee7ec38d7d085744fdd60849d3ae97a75599d2181b12b5b472a6a4445868e8a6aff707e439c10d9c378fb55e329b4db21c0a771f41180bf3b9eabc1
 WHIRLPOOL 
863ca52e1897cbfb9252f1afe81fef497f27ede10c74e1150c07e9f355390eca0e64c9b0cc0a48e8a7442b310387b1e929b40e2b9c14a9a095850a00983cd5f6
 DIST policycoreutils-extra-1.36.tar.bz2 8830 SHA256 
2dfbe799bbbf150e68fab7e168fd71b94505c992623f30c71873213447506e8f SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3
 WHIRLPOOL 
c9772dba472b9b466181204f5bd5fb13d839042c53c84db38999a8b077b0dee1e9e78089b7b5fe4bc4076a1ad1c420528354404b292abd428a73e6f95312d0c4

diff --git a/sys-apps/policycoreutils/policycoreutils-2.7_rc4.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.7_rc4.ebuild
new file mode 100644
index 000..ca50ea92db6
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.7_rc4.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20170630"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-07-09 Thread Jason Zaman
commit: b181ad8a2078e6d497e5e32572a397449935228d
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Jul  9 07:28:44 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Jul  9 10:02:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b181ad8a

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-apps/policycoreutils/policycoreutils-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 7db0d9ef6aa..736172b7f21 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,7 +9,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20170609"
+MY_RELEASEDATE="20170630"
 EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-06-13 Thread Jason Zaman
commit: 2e80b774be8382c53702bd95d44a1f90ff8c5d6d
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Jun 13 05:18:57 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Jun 13 15:10:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e80b774

sys-apps/policycoreutils: update live ebuild

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 sys-apps/policycoreutils/policycoreutils-.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index b3b5d467800..7db0d9ef6aa 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -9,8 +9,8 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20161014"
-EXTRAS_VER="1.35"
+MY_RELEASEDATE="20170609"
+EXTRAS_VER="1.36"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
@@ -24,13 +24,13 @@ HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
 if [[ ${PV} ==  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~swift/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
S1="${WORKDIR}/${MY_P}/${PN}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~swift/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/files/, sys-apps/policycoreutils/

2017-06-13 Thread Jason Zaman
commit: 99073dda8b3af3ceec7a559b44eb687f9b85c15e
Author: Jason Zaman  gentoo  org>
AuthorDate: Tue Jun 13 05:18:12 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Tue Jun 13 15:10:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99073dda

sys-apps/policycoreutils: bump to 2.7_rc1

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 sys-apps/policycoreutils/Manifest  |   2 +
 ...policycoreutils-2.7-0001-newrole-not-suid.patch |   4 +-
 .../policycoreutils/policycoreutils-2.7_rc1.ebuild | 181 +
 3 files changed, 185 insertions(+), 2 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 867f19ae909..b38eb659f11 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,4 +1,6 @@
 DIST policycoreutils-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 SHA512 
0eabf046cf44c6fe2e28492f53862f4302551d602e9b678b923f34f35bfc48f03a73b62962ac71465b9d99b411016b2cfc976f3baf113133a6c0adab1e1f6f8b
 WHIRLPOOL 
27a6810d611f50ac1292f614c9936f0b73b7334be80685f1eda6fd72ec7e85fc0f7b4ff930a48c08a61ade84fd46bd9e7285f5a135ea6db6e4fe88e38d73bd16
 DIST policycoreutils-2.6.tar.gz 4660087 SHA256 
68891b376f5048edc53c6ccb2fca44da3dc7f4563f4b6894e201d70c04a05a29 SHA512 
ba289060bc348f9315bce84a5e5daf145600274289fdd2206edc10bb0ee03f9b02a9e40e9c118809961ddfe7844dee7d8952d8c9a239af7282f4fc1614c21e9d
 WHIRLPOOL 
c04a5f0f6bb044090e0d443f4497d828713fd32de4a0f5b5442e70e836da99e5e6e562a9deeedb566b07da1687c0a6b056c33b0bbe9836a71891fc6a449da60c
+DIST policycoreutils-2.7-rc1.tar.gz 2797016 SHA256 
d990b00be77838c15bf701494eeddd7d39cb8871dcc69483dd954a2c2a9eb328 SHA512 
7669041dbd6a119dde0283335967160cf477d21e5e6f170e7269351bc07e30995b489fd6eb90188e84be0b321e55e77860cbbad588fbf5f5c2b64a6f18334cfb
 WHIRLPOOL 
529f8dfc55844a712bf966b0686e522b563bcbcd2373ec113a90bf78c8a30c3f4250393ea35554e5065065dde9f583f5461a889d825ffcced1b96f383e91a086
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d
 DIST policycoreutils-extra-1.35.tar.bz2 12124 SHA256 
25983df35c0b98fb65423f109d71c02e4d6b86415452b7a7a6e92b5e4fa4a36e SHA512 
8cc3c74afee7ec38d7d085744fdd60849d3ae97a75599d2181b12b5b472a6a4445868e8a6aff707e439c10d9c378fb55e329b4db21c0a771f41180bf3b9eabc1
 WHIRLPOOL 
863ca52e1897cbfb9252f1afe81fef497f27ede10c74e1150c07e9f355390eca0e64c9b0cc0a48e8a7442b310387b1e929b40e2b9c14a9a095850a00983cd5f6
+DIST policycoreutils-extra-1.36.tar.bz2 8830 SHA256 
2dfbe799bbbf150e68fab7e168fd71b94505c992623f30c71873213447506e8f SHA512 
c6a18e6fb2d65f51dc55b88907f23241f2fbfc033d3d2888b109596d9ed31d509b2c93456727ea4d1f98544831afb15c449ff72d6aedf93b9e474b27817f7fb3
 WHIRLPOOL 
c9772dba472b9b466181204f5bd5fb13d839042c53c84db38999a8b077b0dee1e9e78089b7b5fe4bc4076a1ad1c420528354404b292abd428a73e6f95312d0c4

diff --git 
a/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
 
b/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
index 9dcddde4fda..d4aa531063f 100644
--- 
a/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
+++ 
b/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
@@ -1,7 +1,7 @@
 diff --git a/policycoreutils/newrole/Makefile 
b/policycoreutils/newrole/Makefile
 index bdefbb8..9cff135 100644
 a/policycoreutils/newrole/Makefile
-+++ b/policycoreutils/newrole/Makefile
+--- policycoreutils/newrole/Makefile
 policycoreutils/newrole/Makefile
 @@ -49,7 +49,7 @@ ifeq ($(NAMESPACE_PRIV),y)
IS_SUID=y
  endif

diff --git a/sys-apps/policycoreutils/policycoreutils-2.7_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.7_rc1.ebuild
new file mode 100644
index 000..4e75a4f5dc6
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.7_rc1.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20170609"
+EXTRAS_VER="1.36"
+SEMNG_VER="${PV}"
+SELNX_VER="${PV}"
+SEPOL_VER="${PV}"
+
+IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DESCRIPTION="SELinux core utilities"
+HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
+
+if [[ ${PV} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/files/, sys-apps/policycoreutils/

2017-04-26 Thread Jason Zaman
commit: 0fc3c67bb5c4530d6bc487aebd5a2eb2bc314d95
Author: Jason Zaman  gentoo  org>
AuthorDate: Wed Apr 26 18:10:37 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Wed Apr 26 18:14:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc3c67b

sys-apps/policycoreutils: patches merge upstream

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../policycoreutils-2.7-0001-newrole-not-suid.patch   | 13 +
 sys-apps/policycoreutils/policycoreutils-.ebuild  | 19 +++
 2 files changed, 20 insertions(+), 12 deletions(-)

diff --git 
a/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
 
b/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
new file mode 100644
index 000..9dcddde4fda
--- /dev/null
+++ 
b/sys-apps/policycoreutils/files/policycoreutils-2.7-0001-newrole-not-suid.patch
@@ -0,0 +1,13 @@
+diff --git a/policycoreutils/newrole/Makefile 
b/policycoreutils/newrole/Makefile
+index bdefbb8..9cff135 100644
+--- a/policycoreutils/newrole/Makefile
 b/policycoreutils/newrole/Makefile
+@@ -49,7 +49,7 @@ ifeq ($(NAMESPACE_PRIV),y)
+   IS_SUID=y
+ endif
+ ifeq ($(IS_SUID),y)
+-  MODE := 4555
++  MODE := 0555
+   LDLIBS += -lcap-ng
+ else
+   MODE := 0555

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 4986665b85c..b3b5d467800 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -83,12 +83,7 @@ src_prepare() {
cd "${S}" || die "Failed to switch to ${S}"
if [[ ${PV} !=  ]] ; then
# If needed for live ebuilds please use /etc/portage/patches
-   eapply "${FILESDIR}/0010-remove-sesandbox-support.patch"
-   eapply 
"${FILESDIR}/0020-disable-autodetection-of-pam-and-audit.patch"
-   eapply 
"${FILESDIR}/0030-make-inotify-check-use-flag-triggered.patch"
-   eapply 
"${FILESDIR}/0070-remove-symlink-attempt-fails-with-gentoo-sandbox-approach.patch"
-   eapply "${FILESDIR}/0110-build-mcstrans-bug-472912.patch"
-   eapply 
"${FILESDIR}/0120-build-failure-for-mcscolor-for-CONTEXT__CONTAINS.patch"
+   eapply 
"${FILESDIR}/policycoreutils-2.7-0001-newrole-not-suid.patch"
fi
 
# rlpkg is more useful than fixfiles
@@ -114,9 +109,9 @@ src_compile() {
building() {
emake -C "${BUILD_DIR}" \
AUDIT_LOG_PRIVS="y" \
-   AUDITH="$(usex audit)" \
-   PAMH="$(usex pam)" \
-   INOTIFYH="$(usex dbus)" \
+   AUDITH="$(usex audit y n)" \
+   PAMH="$(usex pam y n)" \
+   INOTIFYH="$(usex dbus y n)" \
SESANDBOX="n" \
CC="$(tc-getCC)" \
PYLIBVER="${EPYTHON}" \
@@ -133,9 +128,9 @@ src_install() {
installation-policycoreutils() {
einfo "Installing policycoreutils"
emake -C "${BUILD_DIR}" DESTDIR="${D}" \
-   AUDITH="$(usex audit)" \
-   PAMH="$(usex pam)" \
-   INOTIFYH="$(usex dbus)" \
+   AUDITH="$(usex audit y n)" \
+   PAMH="$(usex pam y n)" \
+   INOTIFYH="$(usex dbus y n)" \
SESANDBOX="n" \
AUDIT_LOG_PRIV="y" \
LIBDIR="\$(PREFIX)/$(get_libdir)" \



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-04-22 Thread Jason Zaman
commit: 13a734ebd92efbc26f7c3520eb70fd9790c16f98
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Apr 23 04:26:32 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Apr 23 04:26:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13a734eb

sys-apps/policycoreutils: Add missing PYTHON_USEDEP

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/policycoreutils/policycoreutils-2.5.ebuild|  8 
 sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild | 10 +-
 sys-apps/policycoreutils/policycoreutils-.ebuild   |  8 
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.5.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.5.ebuild
index 83e909d2ba2..1e8bf770d1b 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.5.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.5.ebuild
@@ -40,10 +40,10 @@ fi
 LICENSE="GPL-2"
 SLOT="0"
 
-DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/glibc-2.4
>=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python]
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
sys-devel/gettext
@@ -52,7 +52,7 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
sys-apps/dbus
dev-libs/dbus-glib:=
)
-   audit? ( >=sys-process/audit-1.5.1 )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
pam? ( sys-libs/pam:= )
${PYTHON_DEPS}"
 
@@ -61,7 +61,7 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
 
 # pax-utils for scanelf used by rlpkg
 RDEPEND="${DEPEND}
-   dev-python/sepolgen
+   dev-python/sepolgen[${PYTHON_USEDEP}]
app-misc/pax-utils
!=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/glibc-2.4
>=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python]
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.0
+   >=app-admin/setools-4.0[${PYTHON_USEDEP}]
sys-devel/gettext
dev-python/ipy[${PYTHON_USEDEP}]
dbus? (
sys-apps/dbus
dev-libs/dbus-glib:=
)
-   audit? ( >=sys-process/audit-1.5.1[python] )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
pam? ( sys-libs/pam:= )
${PYTHON_DEPS}
!=sys-libs/libselinux-${SELNX_VER}:=[python,${PYTHON_USEDEP}]
>=sys-libs/glibc-2.4
>=sys-libs/libcap-1.10-r10:=
-   >=sys-libs/libsemanage-${SEMNG_VER}:=[python]
+   >=sys-libs/libsemanage-${SEMNG_VER}:=[python,${PYTHON_USEDEP}]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
-   >=app-admin/setools-4.0
+   >=app-admin/setools-4.0[${PYTHON_USEDEP}]
sys-devel/gettext
dev-python/ipy[${PYTHON_USEDEP}]
dbus? (
sys-apps/dbus
dev-libs/dbus-glib:=
)
-   audit? ( >=sys-process/audit-1.5.1[python] )
+   audit? ( >=sys-process/audit-1.5.1[python,${PYTHON_USEDEP}] )
pam? ( sys-libs/pam:= )
${PYTHON_DEPS}
!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-04-20 Thread David Seifert
commit: 0e5ef8a2371f4ce86b1a40bc6e13310c0a99ef5f
Author: David Seifert  gentoo  org>
AuthorDate: Thu Apr 20 16:17:11 2017 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Apr 20 16:40:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e5ef8a2

sys-apps/policycoreutils: [QA] Add missing python metadata variables

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 sys-apps/policycoreutils/policycoreutils-2.5.ebuild| 3 ++-
 sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild | 1 +
 sys-apps/policycoreutils/policycoreutils-2.6.ebuild| 3 ++-
 sys-apps/policycoreutils/policycoreutils-.ebuild   | 1 +
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.5.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.5.ebuild
index e5e2b3d1dd3..83e909d2ba2 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.5.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -16,6 +16,7 @@ SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
 
 IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;

diff --git a/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild
index c314664a09d..81eddc17f33 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild
@@ -16,6 +16,7 @@ SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
 
 IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;

diff --git a/sys-apps/policycoreutils/policycoreutils-2.6.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6.ebuild
index db7cc61afbb..ac45c7a338a 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.6.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -16,6 +16,7 @@ SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
 
 IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 6781ba8ca8d..955dde96895 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -16,6 +16,7 @@ SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
 
 IUSE="audit pam dbus"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DESCRIPTION="SELinux core utilities"
 HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-04-10 Thread Sven Vermeulen
commit: ef9f88ca6824966e79c67613c0d7e2ecb3804ef3
Author: Sven Vermeulen  gentoo  org>
AuthorDate: Mon Apr 10 18:50:05 2017 +
Commit: Sven Vermeulen  gentoo  org>
CommitDate: Mon Apr 10 18:50:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef9f88ca

sys-apps/policycoreutils-2.6-r1: Stabilize

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild
index 22f9fa00235..c314664a09d 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild
@@ -30,7 +30,7 @@ if [[ ${PV} ==  ]] ; then
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~swift/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-02-23 Thread Jason Zaman
commit: 3cf57e95956bd2d4410374b64c85857f7f5de5ee
Author: Jason Zaman  gentoo  org>
AuthorDate: Thu Feb 23 09:16:15 2017 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Feb 23 11:14:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cf57e95

sys-apps/policycoreutils: update live ebuild

dont dep on sepolgen, its part of selinux-python now
python libs and include dir are now properly detected so dont need to pass in
several python scripts have also moved to selinux-python

Package-Manager: portage-2.3.3

 sys-apps/policycoreutils/policycoreutils-.ebuild | 16 ++--
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index f3d243985d..7ea78aa6e4 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -64,7 +64,6 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
 
 # pax-utils for scanelf used by rlpkg
 RDEPEND="${DEPEND}
-   dev-python/sepolgen
app-misc/pax-utils
!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-01-30 Thread Sven Vermeulen
commit: e5dd3905dd034a68bd4519432b09a28a81d541f1
Author: Sven Vermeulen  gentoo  org>
AuthorDate: Mon Jan 30 19:29:47 2017 +
Commit: Sven Vermeulen  gentoo  org>
CommitDate: Mon Jan 30 19:30:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5dd3905

sys-apps/policycoreutils: Properly depend on audit[python] and fix selocal 
attribute resolving

The first bug this release fixes is bug 597978. Previous policycoreutils 
versions
provided a selocal application which can't deal with the new setools. The 
previous
setools had seinfo return a non-zero return code if an attribute (or role, or 
...
depending on what was asked) was not found. The newer setools gives this in the
output, but keeps the zero return code. selocal depended on the return code
previously.

The second bug this release fixes is bug 605692. Well, partially, because the 
bug
has two issues mentioned. The first one is the (wrong) dependency on audit. If 
the
policycoreutils package is build with USE="audit" then it should depend on 
audit[python]
rather than just audit. This is the issue that is fixed in this release.

The second issue (not being able to use a number of semanage commands when
USE="-audit") is not resolved yet.

Package-Manager: portage-2.3.3

 .../policycoreutils/policycoreutils-2.6-r1.ebuild  | 187 +
 1 file changed, 187 insertions(+)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild
new file mode 100644
index ..555f256
--- /dev/null
+++ b/sys-apps/policycoreutils/policycoreutils-2.6-r1.ebuild
@@ -0,0 +1,187 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_REQ_USE="xml"
+
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
+
+MY_P="${P//_/-}"
+
+MY_RELEASEDATE="20161014"
+EXTRAS_VER="1.35"
+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} ==  ]] ; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
+   
SRC_URI="https://dev.gentoo.org/~swift/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   S1="${WORKDIR}/${MY_P}/${PN}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+else
+   
SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
+   
https://dev.gentoo.org/~swift/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   S1="${WORKDIR}/${MY_P}"
+   S2="${WORKDIR}/policycoreutils-extra"
+   S="${S1}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
+   >=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}:=
+   >=app-admin/setools-4.0
+   sys-devel/gettext
+   dev-python/ipy[${PYTHON_USEDEP}]
+   dbus? (
+   sys-apps/dbus
+   dev-libs/dbus-glib:=
+   )
+   audit? ( >=sys-process/audit-1.5.1[python] )
+   pam? ( sys-libs/pam:= )
+   ${PYTHON_DEPS}
+   ! seunshare
+### dbus -> restorecond
+
+# pax-utils for scanelf used by rlpkg
+RDEPEND="${DEPEND}
+   dev-python/sepolgen
+   app-misc/pax-utils
+   !https://marc.info/?l=selinux=143757277819717=2
+   einfo "Rebuilding store ${POLICY_TYPE} (without re-loading)."
+   semodule -s "${POLICY_TYPE}" -n -B || die "Failed to rebuild 
policy store ${POLICY_TYPE}"
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-01-15 Thread Sven Vermeulen
commit: 71ad397c56c72313149f5631decc9eca7078c570
Author: Sven Vermeulen  gentoo  org>
AuthorDate: Sun Jan 15 18:57:56 2017 +
Commit: Sven Vermeulen  gentoo  org>
CommitDate: Sun Jan 15 18:58:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ad397c

sys-apps/policycoreutils: Use dev.g.o location for extras for now

Package-Manager: portage-2.3.0

 sys-apps/policycoreutils/policycoreutils-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 085c7fd..f3d2439 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -24,13 +24,13 @@ HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
 if [[ ${PV} ==  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   SRC_URI="mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
+   
SRC_URI="https://dev.gentoo.org/~swift/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
S1="${WORKDIR}/${MY_P}/${PN}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
+   
https://dev.gentoo.org/~swift/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2017-01-15 Thread Sven Vermeulen
commit: d80c3ce2312f3855b1b32f239c2bd12775ce0d1b
Author: Sven Vermeulen  gentoo  org>
AuthorDate: Sun Jan 15 09:50:43 2017 +
Commit: Sven Vermeulen  gentoo  org>
CommitDate: Sun Jan 15 09:51:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d80c3ce2

sys-apps/policycoreutils: Depend on audit[python], fix selocal and fix build 
instructions for 2.6 and higher

The live ebuild reflects the latest state of the user space project of SELinux.
In the release of 2.6, a number of changes to the 2.6 ebuild were made but not
pushed to the live ebuild, so we did that.

Alongside, we also fixed the following bugs:
- Bug 605692 fixes the audit dependency - we already depended on audit if
  USE=audit was set, but we did not force the use of the python USE flag
  if we did, which is a requirement
  (note that this bug is partially fixed by this, another change is still
  pending).
- Bug 597978 fixes the selocal command, which failed to obtain attribute
  and other information since the setools 4 release

Package-Manager: portage-2.3.0

 sys-apps/policycoreutils/Manifest  |  1 +
 .../policycoreutils/policycoreutils-.ebuild| 23 +++---
 2 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index e5ce546..867f19a 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,4 @@
 DIST policycoreutils-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 SHA512 
0eabf046cf44c6fe2e28492f53862f4302551d602e9b678b923f34f35bfc48f03a73b62962ac71465b9d99b411016b2cfc976f3baf113133a6c0adab1e1f6f8b
 WHIRLPOOL 
27a6810d611f50ac1292f614c9936f0b73b7334be80685f1eda6fd72ec7e85fc0f7b4ff930a48c08a61ade84fd46bd9e7285f5a135ea6db6e4fe88e38d73bd16
 DIST policycoreutils-2.6.tar.gz 4660087 SHA256 
68891b376f5048edc53c6ccb2fca44da3dc7f4563f4b6894e201d70c04a05a29 SHA512 
ba289060bc348f9315bce84a5e5daf145600274289fdd2206edc10bb0ee03f9b02a9e40e9c118809961ddfe7844dee7d8952d8c9a239af7282f4fc1614c21e9d
 WHIRLPOOL 
c04a5f0f6bb044090e0d443f4497d828713fd32de4a0f5b5442e70e836da99e5e6e562a9deeedb566b07da1687c0a6b056c33b0bbe9836a71891fc6a449da60c
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d
+DIST policycoreutils-extra-1.35.tar.bz2 12124 SHA256 
25983df35c0b98fb65423f109d71c02e4d6b86415452b7a7a6e92b5e4fa4a36e SHA512 
8cc3c74afee7ec38d7d085744fdd60849d3ae97a75599d2181b12b5b472a6a4445868e8a6aff707e439c10d9c378fb55e329b4db21c0a771f41180bf3b9eabc1
 WHIRLPOOL 
863ca52e1897cbfb9252f1afe81fef497f27ede10c74e1150c07e9f355390eca0e64c9b0cc0a48e8a7442b310387b1e929b40e2b9c14a9a095850a00983cd5f6

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 37ac23d..085c7fd 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 MY_P="${P//_/-}"
 
 MY_RELEASEDATE="20161014"
-EXTRAS_VER="1.34"
+EXTRAS_VER="1.35"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
 SEPOL_VER="${PV}"
@@ -24,13 +24,13 @@ HOMEPAGE="https://github.com/SELinuxProject/selinux/wiki;
 if [[ ${PV} ==  ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/SELinuxProject/selinux.git;
-   
SRC_URI="https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   SRC_URI="mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
S1="${WORKDIR}/${MY_P}/${PN}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz
-   
https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
+   mirror://gentoo/policycoreutils-extra-${EXTRAS_VER}.tar.bz2"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
@@ -53,15 +53,18 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
sys-apps/dbus
dev-libs/dbus-glib:=
)
-   audit? ( >=sys-process/audit-1.5.1 )
+   audit? ( >=sys-process/audit-1.5.1[python] )
pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}"
+   ${PYTHON_DEPS}
+  

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-12-12 Thread Jason Zaman
commit: a71208a286cc2ae4f4bf94db5d6df8441e2f5e29
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Dec 12 13:31:14 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Dec 12 13:57:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71208a2

sys-apps/policycoreutils: stabilize userland 2.6

Package-Manager: portage-2.3.0

 sys-apps/policycoreutils/policycoreutils-2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.6.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6.ebuild
index 14215db..07cbd03 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.6.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.6.ebuild
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]] ; then
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
+   KEYWORDS="amd64 ~arm64 ~mips x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-11-19 Thread Jason Zaman
commit: 5b7c76509acb99328a43eb782420a7cc55866bd4
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Nov 20 05:23:05 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Nov 20 05:26:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b7c7650

sys-apps/policycoreutils: some utils have been split out into separate packages

Package-Manager: portage-2.3.0

 sys-apps/policycoreutils/policycoreutils-.ebuild | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index df8eb4a..37ac23d 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -62,10 +62,12 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
 
 # pax-utils for scanelf used by rlpkg
 RDEPEND="${DEPEND}
-   dev-python/sepolgen
app-misc/pax-utils
!

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-10-24 Thread Jason Zaman
commit: d46f529a5c021e2c70dfe17c6a129b777c7fedea
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Oct 23 17:29:33 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Oct 24 15:38:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d46f529a

sys-apps/policycoreutils: bump to 2.6 final release

Package-Manager: portage-2.3.0

 sys-apps/policycoreutils/Manifest   | 2 +-
 .../{policycoreutils-2.6_rc2.ebuild => policycoreutils-2.6.ebuild}  | 2 +-
 sys-apps/policycoreutils/policycoreutils-.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 7604e7c..e5ce546 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,3 @@
 DIST policycoreutils-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 SHA512 
0eabf046cf44c6fe2e28492f53862f4302551d602e9b678b923f34f35bfc48f03a73b62962ac71465b9d99b411016b2cfc976f3baf113133a6c0adab1e1f6f8b
 WHIRLPOOL 
27a6810d611f50ac1292f614c9936f0b73b7334be80685f1eda6fd72ec7e85fc0f7b4ff930a48c08a61ade84fd46bd9e7285f5a135ea6db6e4fe88e38d73bd16
-DIST policycoreutils-2.6-rc2.tar.gz 4660425 SHA256 
1090a736d111bbc61cdf3d5ddec55febd7cd69bbeb07998dd121ede5c399d63d SHA512 
d85196f09983eb35a512d982ce9385fbbaa9df6dbf8de7d1d55e10a03546a7573e59901da9c498a9f6f07c1b36d47ebf529143bc5905d4b6b3ac1bb6ee7e7170
 WHIRLPOOL 
96a2575cf8346349603e1ecfcc21105fb79481c0785caeb30e4ae14d268ff018aa646385f93cca25e9043404c136791fc58828b318a2d15f43d12daf988d99e1
+DIST policycoreutils-2.6.tar.gz 4660087 SHA256 
68891b376f5048edc53c6ccb2fca44da3dc7f4563f4b6894e201d70c04a05a29 SHA512 
ba289060bc348f9315bce84a5e5daf145600274289fdd2206edc10bb0ee03f9b02a9e40e9c118809961ddfe7844dee7d8952d8c9a239af7282f4fc1614c21e9d
 WHIRLPOOL 
c04a5f0f6bb044090e0d443f4497d828713fd32de4a0f5b5442e70e836da99e5e6e562a9deeedb566b07da1687c0a6b056c33b0bbe9836a71891fc6a449da60c
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d

diff --git a/sys-apps/policycoreutils/policycoreutils-2.6_rc2.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6.ebuild
similarity index 99%
rename from sys-apps/policycoreutils/policycoreutils-2.6_rc2.ebuild
rename to sys-apps/policycoreutils/policycoreutils-2.6.ebuild
index ee194d8..14215db 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.6_rc2.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.6.ebuild
@@ -10,7 +10,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20161006"
+MY_RELEASEDATE="20161014"
 EXTRAS_VER="1.34"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index e2a3641..df8eb4a 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -10,7 +10,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20161006"
+MY_RELEASEDATE="20161014"
 EXTRAS_VER="1.34"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-10-06 Thread Jason Zaman
commit: 34ad5f2545b0949613038edef5d3268db99ae15f
Author: Jason Zaman  gentoo  org>
AuthorDate: Fri Oct  7 04:10:08 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Fri Oct  7 04:18:26 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34ad5f25

sys-apps/policycoreutils: bump to 2.6_rc2

Package-Manager: portage-2.3.0

 sys-apps/policycoreutils/Manifest   | 2 +-
 .../{policycoreutils-2.6_rc1.ebuild => policycoreutils-2.6_rc2.ebuild}  | 2 +-
 sys-apps/policycoreutils/policycoreutils-.ebuild| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index eb2f182..7604e7c 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,3 +1,3 @@
 DIST policycoreutils-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 SHA512 
0eabf046cf44c6fe2e28492f53862f4302551d602e9b678b923f34f35bfc48f03a73b62962ac71465b9d99b411016b2cfc976f3baf113133a6c0adab1e1f6f8b
 WHIRLPOOL 
27a6810d611f50ac1292f614c9936f0b73b7334be80685f1eda6fd72ec7e85fc0f7b4ff930a48c08a61ade84fd46bd9e7285f5a135ea6db6e4fe88e38d73bd16
-DIST policycoreutils-2.6-rc1.tar.gz 4660503 SHA256 
6bcb91a351ac54d8b10659c162a27556b6d65c4817da80e3b987db270c487f10 SHA512 
91ec1356ab60e944a7b5f0a2366cf148f8dfbdde37931ada5ba150580f423302f74d1872f0271488843a0a794ec8d8aab40615c2d6091b98a2638c1d161f9b74
 WHIRLPOOL 
2a639d99767b71da9f0bf9eb9d0a317ff23bd3182a408e064328c0a93b31db4f60e5af5e83286db629da8c837448672ca2efaa1caafe404355486573d909b9fe
+DIST policycoreutils-2.6-rc2.tar.gz 4660425 SHA256 
1090a736d111bbc61cdf3d5ddec55febd7cd69bbeb07998dd121ede5c399d63d SHA512 
d85196f09983eb35a512d982ce9385fbbaa9df6dbf8de7d1d55e10a03546a7573e59901da9c498a9f6f07c1b36d47ebf529143bc5905d4b6b3ac1bb6ee7e7170
 WHIRLPOOL 
96a2575cf8346349603e1ecfcc21105fb79481c0785caeb30e4ae14d268ff018aa646385f93cca25e9043404c136791fc58828b318a2d15f43d12daf988d99e1
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d

diff --git a/sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6_rc2.ebuild
similarity index 99%
rename from sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild
rename to sys-apps/policycoreutils/policycoreutils-2.6_rc2.ebuild
index 92e7c94..ee194d8 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.6_rc2.ebuild
@@ -10,7 +10,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20160930"
+MY_RELEASEDATE="20161006"
 EXTRAS_VER="1.34"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 8c1933b..e2a3641 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -10,7 +10,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20160930"
+MY_RELEASEDATE="20161006"
 EXTRAS_VER="1.34"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-10-03 Thread Jason Zaman
commit: 982e3ef2592dfacc5d2d55abe47c96f8834942ed
Author: Jason Zaman  gentoo  org>
AuthorDate: Sat Oct  1 03:43:24 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Oct  3 07:02:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=982e3ef2

sys-apps/policycoreutils: bump to 2.6-rc1

Package-Manager: portage-2.3.0

 sys-apps/policycoreutils/Manifest | 1 +
 .../{policycoreutils-.ebuild => policycoreutils-2.6_rc1.ebuild}   | 4 ++--
 sys-apps/policycoreutils/policycoreutils-.ebuild  | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 7f322b1..eb2f182 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,2 +1,3 @@
 DIST policycoreutils-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 SHA512 
0eabf046cf44c6fe2e28492f53862f4302551d602e9b678b923f34f35bfc48f03a73b62962ac71465b9d99b411016b2cfc976f3baf113133a6c0adab1e1f6f8b
 WHIRLPOOL 
27a6810d611f50ac1292f614c9936f0b73b7334be80685f1eda6fd72ec7e85fc0f7b4ff930a48c08a61ade84fd46bd9e7285f5a135ea6db6e4fe88e38d73bd16
+DIST policycoreutils-2.6-rc1.tar.gz 4660503 SHA256 
6bcb91a351ac54d8b10659c162a27556b6d65c4817da80e3b987db270c487f10 SHA512 
91ec1356ab60e944a7b5f0a2366cf148f8dfbdde37931ada5ba150580f423302f74d1872f0271488843a0a794ec8d8aab40615c2d6091b98a2638c1d161f9b74
 WHIRLPOOL 
2a639d99767b71da9f0bf9eb9d0a317ff23bd3182a408e064328c0a93b31db4f60e5af5e83286db629da8c837448672ca2efaa1caafe404355486573d909b9fe
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild
similarity index 98%
copy from sys-apps/policycoreutils/policycoreutils-.ebuild
copy to sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild
index d383400..351bd0e 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild
@@ -10,7 +10,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20160223"
+MY_RELEASEDATE="20160930"
 EXTRAS_VER="1.34"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"
@@ -31,7 +31,7 @@ if [[ ${PV} ==  ]] ; then
 else

SRC_URI="https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/${MY_RELEASEDATE}/${MY_P}.tar.gz

https://dev.gentoo.org/~perfinion/distfiles/policycoreutils-extra-${EXTRAS_VER}.tar.bz2;
-   KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+   KEYWORDS="~amd64 ~arm64 ~mips ~x86"
S1="${WORKDIR}/${MY_P}"
S2="${WORKDIR}/policycoreutils-extra"
S="${S1}"

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index d383400..8c1933b 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -10,7 +10,7 @@ inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
-MY_RELEASEDATE="20160223"
+MY_RELEASEDATE="20160930"
 EXTRAS_VER="1.34"
 SEMNG_VER="${PV}"
 SELNX_VER="${PV}"



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-10-03 Thread Jason Zaman
commit: 2ced8de0d0691a9daaf60071a866d36e40e66984
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Oct  3 07:23:47 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Oct  3 07:23:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ced8de0

sys-apps/policycoreutils: Add blocker for policy before 2.20151208-r6

Package-Manager: portage-2.3.0

 sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild
index 351bd0e..92e7c94 100644
--- a/sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-2.6_rc1.ebuild
@@ -55,7 +55,9 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
)
audit? ( >=sys-process/audit-1.5.1 )
pam? ( sys-libs/pam:= )
-   ${PYTHON_DEPS}"
+   ${PYTHON_DEPS}
+   ! seunshare
 ### dbus -> restorecond



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-09-25 Thread Jason Zaman
commit: 3febfa578bb35935808300066fef29e1f9a242ef
Author: Jason Zaman  gentoo  org>
AuthorDate: Sun Sep 25 13:20:36 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Sep 25 13:21:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3febfa57

sys-apps/policycoreutils: update dep for setools 4

Package-Manager: portage-2.2.28

 sys-apps/policycoreutils/policycoreutils-.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index 8df62b4..d383400 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -46,6 +46,7 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
>=sys-libs/libsemanage-${SEMNG_VER}:=[python]
sys-libs/libcap-ng:=
>=sys-libs/libsepol-${SEPOL_VER}:=
+   >=app-admin/setools-4.0
sys-devel/gettext
dev-python/ipy[${PYTHON_USEDEP}]
dbus? (



[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-09-01 Thread Jason Zaman
commit: 86445f360079224b43ba28d5a2c1f2267eee7a59
Author: Jason Zaman  gentoo  org>
AuthorDate: Thu Sep  1 14:11:48 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Thu Sep  1 16:28:07 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86445f36

sys-apps/policycoreutils: Drop old

Package-Manager: portage-2.2.28

 sys-apps/policycoreutils/Manifest  |   7 -
 .../policycoreutils-2.2.5-r4.ebuild| 156 -
 .../policycoreutils/policycoreutils-2.3-r3.ebuild  | 154 -
 .../policycoreutils/policycoreutils-2.4-r1.ebuild  | 159 -
 .../policycoreutils/policycoreutils-2.4-r2.ebuild  | 190 -
 .../policycoreutils/policycoreutils-2.4.ebuild | 147 
 6 files changed, 813 deletions(-)

diff --git a/sys-apps/policycoreutils/Manifest 
b/sys-apps/policycoreutils/Manifest
index 604d0be..7f322b1 100644
--- a/sys-apps/policycoreutils/Manifest
+++ b/sys-apps/policycoreutils/Manifest
@@ -1,9 +1,2 @@
-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-2.5.tar.gz 4986066 SHA256 
329382cfe9fa977678abf541dcd8fe3847cf0c83b24654c8f7322343907078a1 SHA512 
0eabf046cf44c6fe2e28492f53862f4302551d602e9b678b923f34f35bfc48f03a73b62962ac71465b9d99b411016b2cfc976f3baf113133a6c0adab1e1f6f8b
 WHIRLPOOL 
27a6810d611f50ac1292f614c9936f0b73b7334be80685f1eda6fd72ec7e85fc0f7b4ff930a48c08a61ade84fd46bd9e7285f5a135ea6db6e4fe88e38d73bd16
-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
 DIST policycoreutils-extra-1.34.tar.bz2 12107 SHA256 
56ae2aac57bf104d6a8a7837b25de7978b25e0642744ef95e6e6d483201aa4ca SHA512 
b1db6d70cf864023f22583e5bd24c85e796f1541f9c1bc878dd55309464b27346e05e414db3ef81bef2dfe8c8d7d7063ee7e0422878f38a3db56c67d9468b89d
 WHIRLPOOL 
8b094818bed0e438ce4258428afa054cb561f53e303d84e171881add5952cfc0fa577bce2765294905dac8ddd5560906904958f35c96afce0f357feb5333646d

diff --git a/sys-apps/policycoreutils/policycoreutils-2.2.5-r4.ebuild 
b/sys-apps/policycoreutils/policycoreutils-2.2.5-r4.ebuild
deleted file mode 100644
index 477789b..
--- a/sys-apps/policycoreutils/policycoreutils-2.2.5-r4.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/policycoreutils/

2016-08-07 Thread Jason Zaman
commit: 87252f91de0e61e8c2fe290371a2bff2b272228b
Author: Jason Zaman  gentoo  org>
AuthorDate: Thu Aug  4 18:49:32 2016 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Sun Aug  7 17:05:24 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87252f91

sys-apps/policycoreutils: update to eapi6

Package-Manager: portage-2.2.28

 .../policycoreutils/policycoreutils-.ebuild| 23 ++
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/sys-apps/policycoreutils/policycoreutils-.ebuild 
b/sys-apps/policycoreutils/policycoreutils-.ebuild
index a49b4a1..8df62b4 100644
--- a/sys-apps/policycoreutils/policycoreutils-.ebuild
+++ b/sys-apps/policycoreutils/policycoreutils-.ebuild
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
 PYTHON_REQ_USE="xml"
 
-inherit multilib python-r1 toolchain-funcs eutils bash-completion-r1
+inherit multilib python-r1 toolchain-funcs bash-completion-r1
 
 MY_P="${P//_/-}"
 
@@ -78,12 +78,12 @@ src_prepare() {
cd "${S}" || die "Failed to switch to ${S}"
if [[ ${PV} !=  ]] ; 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}/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"
+   eapply "${FILESDIR}/0010-remove-sesandbox-support.patch"
+   eapply 
"${FILESDIR}/0020-disable-autodetection-of-pam-and-audit.patch"
+   eapply 
"${FILESDIR}/0030-make-inotify-check-use-flag-triggered.patch"
+   eapply 
"${FILESDIR}/0070-remove-symlink-attempt-fails-with-gentoo-sandbox-approach.patch"
+   eapply "${FILESDIR}/0110-build-mcstrans-bug-472912.patch"
+   eapply 
"${FILESDIR}/0120-build-failure-for-mcscolor-for-CONTEXT__CONTAINS.patch"
fi
 
# rlpkg is more useful than fixfiles
@@ -92,7 +92,7 @@ src_prepare() {
sed -i -e '/fixfiles/d' "${S}/scripts/Makefile" \
|| die "fixfiles sed 2 failed"
 
-   epatch_user
+   eapply_user
 
sed -i 's/-Werror//g' "${S1}"/*/Makefile || die "Failed to remove 
Werror"
 
@@ -175,9 +175,6 @@ src_install() {
 }
 
 pkg_postinst() {
-   # The selinux_gentoo init script is no longer needed with recent OpenRC
-   elog "The selinux_gentoo init script has been removed in this version 
as it is not required after OpenRC 0.13."
-
for POLICY_TYPE in ${POLICY_TYPES} ; do
# There have been some changes to the policy store, rebuilding 
now.
# https://marc.info/?l=selinux=143757277819717=2



  1   2   >