summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2004-05-24 20:21:04 +0000
committerChris PeBenito <pebenito@gentoo.org>2004-05-24 20:21:04 +0000
commit0f70aca6d7ff15ff4b3536ca6f5b844f5639f736 (patch)
treed35bba8c20933a16b0132eee599124b9cee3302b /app-admin/setools
parentMarked stable on hppa. (Manifest recommit) (diff)
downloadgentoo-2-0f70aca6d7ff15ff4b3536ca6f5b844f5639f736.tar.gz
gentoo-2-0f70aca6d7ff15ff4b3536ca6f5b844f5639f736.tar.bz2
gentoo-2-0f70aca6d7ff15ff4b3536ca6f5b844f5639f736.zip
fix sandbox violations
Diffstat (limited to 'app-admin/setools')
-rw-r--r--app-admin/setools/ChangeLog5
-rw-r--r--app-admin/setools/setools-1.3.1.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/app-admin/setools/ChangeLog b/app-admin/setools/ChangeLog
index 7fb05906b146..8efceca251d4 100644
--- a/app-admin/setools/ChangeLog
+++ b/app-admin/setools/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/setools
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.18 2004/05/06 01:28:01 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/ChangeLog,v 1.19 2004/05/24 20:21:04 pebenito Exp $
+
+ 24 May 2004; Chris PeBenito <pebenito@gentoo.org> setools-1.3.1.ebuild:
+ Fix sandbox violations.
*setools-1.3.1 (05 May 2004)
diff --git a/app-admin/setools/setools-1.3.1.ebuild b/app-admin/setools/setools-1.3.1.ebuild
index 3b3c618d6f9a..c2f4afdec3ef 100644
--- a/app-admin/setools/setools-1.3.1.ebuild
+++ b/app-admin/setools/setools-1.3.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-1.3.1.ebuild,v 1.1 2004/05/06 01:28:01 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/setools/setools-1.3.1.ebuild,v 1.2 2004/05/24 20:21:04 pebenito Exp $
DESCRIPTION="SELinux policy tools"
HOMEPAGE="http://www.tresys.com/selinux_policy_tools.html"
@@ -46,8 +46,11 @@ src_unpack() {
# fix up the file contexts
sed -i -e 's:/usr/apol:/usr/share/setools:' ${S}/policy/seuser.fc
- # dont chcon
+ # dont chcon or install -Z
sed -i -e '/chcon/d' ${S}/secmds/Makefile
+ 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
# set policy dir in seuser.conf
sed -i -e '/^policy_dir/d' -e '/^user_file/d' ${S}/seuser/seuser.conf