summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-12-29 03:05:05 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-12-29 03:05:05 +0000
commit68d97e88c789e65c86831e6b67b3d7490e60d2c9 (patch)
treea2712212539c3cae99b303e1a0c50b1285390d13 /app-admin
parentMarked back to ~sparc since developer cannot do simple QA. (diff)
downloadgentoo-2-68d97e88c789e65c86831e6b67b3d7490e60d2c9.tar.gz
gentoo-2-68d97e88c789e65c86831e6b67b3d7490e60d2c9.tar.bz2
gentoo-2-68d97e88c789e65c86831e6b67b3d7490e60d2c9.zip
fix sandbox violations with +selinux
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/setools/ChangeLog6
-rw-r--r--app-admin/setools/Manifest6
-rw-r--r--app-admin/setools/setools-1.1.ebuild7
3 files changed, 14 insertions, 5 deletions
diff --git a/app-admin/setools/ChangeLog b/app-admin/setools/ChangeLog
index f86ffc8d14d2..2ffb1e0c53f6 100644
--- a/app-admin/setools/ChangeLog
+++ b/app-admin/setools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/setools
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.7 2003/12/23 02:07:14 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.8 2003/12/29 03:04:58 pebenito Exp $
+
+ 28 Dec 2003; Chris PeBenito <pebenito@gentoo.org> setools-1.1.ebuild:
+ Eliminate install -Z. The context option is not needed, and causes sandbox
+ violations.
22 Dec 2003; Chris PeBenito <pebenito@gentoo.org> setools-1.1.ebuild,
files/setools-1.1-fix_noX.diff:
diff --git a/app-admin/setools/Manifest b/app-admin/setools/Manifest
index 7a0a7882b752..fd39c3cac95a 100644
--- a/app-admin/setools/Manifest
+++ b/app-admin/setools/Manifest
@@ -1,7 +1,7 @@
MD5 8fb317db54d945003dde0f10ae0f84a5 setools-1.0.1.ebuild 2164
+MD5 315752744631aab1d2a24d62d5d7620b ChangeLog 1406
+MD5 dbe2500548552f7465de3d5b3fa90eb7 setools-1.1.ebuild 3301
MD5 418c2991b69fcf9d551aba29ae6f2b2e metadata.xml 505
-MD5 ecd32fdee496ebce4c002e60b4d75967 ChangeLog 1242
-MD5 8d994e5b5af1bbb4509b17eea5af07e4 setools-1.1.ebuild 3047
-MD5 5564aa4a7b6c1f09a6b07813defbedd5 files/digest-setools-1.0.1 62
MD5 a8fb0b7e830355d9de617df14ceaf43b files/setools-1.1-fix_noX.diff 1328
MD5 471bf4cba5a334dcb65b4451a1b0ce07 files/digest-setools-1.1 60
+MD5 5564aa4a7b6c1f09a6b07813defbedd5 files/digest-setools-1.0.1 62
diff --git a/app-admin/setools/setools-1.1.ebuild b/app-admin/setools/setools-1.1.ebuild
index c4c1055ccf53..8e54cfbd21ab 100644
--- a/app-admin/setools/setools-1.1.ebuild
+++ b/app-admin/setools/setools-1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-1.1.ebuild,v 1.4 2003/12/23 03:33:27 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-1.1.ebuild,v 1.5 2003/12/29 03:04:58 pebenito Exp $
DESCRIPTION="SELinux policy tools"
HOMEPAGE="http://www.tresys.com/selinux_policy_tools.html"
@@ -44,6 +44,11 @@ src_unpack() {
# fix up the file contexts
sed -i -e 's:local/selinux/::' -e 's:local/::' ${S}/policy/seuser.fc
+ # ensure install -Z isn't used
+ sed -i -e 's,-Z system_u:object_r:seuser_exec_t,,g' ${S}/seuser/Makefile
+ sed -i -e 's,-Z system_u:object_r:seuser_conf_t,,g' ${S}/seuser/Makefile
+ sed -i -e 's,-Z system_u:object_r:policy_src_t,,g' ${S}/seuser/Makefile
+
# makefiles are broken, fix to not build tcl stuff for non X
use X || epatch ${FILESDIR}/setools-1.1-fix_noX.diff
}