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
commit88d642147810a6c7908d4e3c6cec05a52e8bfafb (patch)
tree3a51e761d8f6df435eaa37e9498ae6e414ac8be2 /app-admin
parentMarked stable on hppa. (diff)
downloadhistorical-88d642147810a6c7908d4e3c6cec05a52e8bfafb.tar.gz
historical-88d642147810a6c7908d4e3c6cec05a52e8bfafb.tar.bz2
historical-88d642147810a6c7908d4e3c6cec05a52e8bfafb.zip
fix sandbox violations
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/setools/ChangeLog5
-rw-r--r--app-admin/setools/Manifest4
-rw-r--r--app-admin/setools/setools-1.3.1.ebuild7
3 files changed, 11 insertions, 5 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/Manifest b/app-admin/setools/Manifest
index 93be96ed2ac2..f23248e1fee9 100644
--- a/app-admin/setools/Manifest
+++ b/app-admin/setools/Manifest
@@ -1,4 +1,4 @@
-MD5 b6ad468021a0063498984341403899a3 ChangeLog 2621
+MD5 1a2d77ab3320ab7e889912c39bfdf666 ChangeLog 2722
MD5 418c2991b69fcf9d551aba29ae6f2b2e metadata.xml 505
-MD5 08e8617e8e6d0779bbd4d8daf4a305e1 setools-1.3.1.ebuild 3275
+MD5 fd1d5d772d96bfebb9728932d9a28175 setools-1.3.1.ebuild 3510
MD5 1bfbc399d1a514ceb99ce8364a062fb4 files/digest-setools-1.3.1 62
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