From 0f70aca6d7ff15ff4b3536ca6f5b844f5639f736 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Mon, 24 May 2004 20:21:04 +0000 Subject: fix sandbox violations --- app-admin/setools/ChangeLog | 5 ++++- app-admin/setools/setools-1.3.1.ebuild | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'app-admin/setools') 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 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 -- cgit v1.2.3-65-gdbad