summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-09 20:30:16 +0000
committerMike Frysinger <vapier@gentoo.org>2009-04-09 20:30:16 +0000
commit634d57f63becfec828ae4086b287dba2fdf8f0e9 (patch)
tree1c182c9215d0442ea0cafa6b06da669010495e6c /sys-apps/sandbox
parentMake sure we dont accidently create /etc/sandbox.d with 0700 perms #265376 by... (diff)
downloadgentoo-2-634d57f63becfec828ae4086b287dba2fdf8f0e9.tar.gz
gentoo-2-634d57f63becfec828ae4086b287dba2fdf8f0e9.tar.bz2
gentoo-2-634d57f63becfec828ae4086b287dba2fdf8f0e9.zip
Make sure /etc/sandbox.d has 0755 perms #265376 by Friedrich Oslage.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r--sys-apps/sandbox/ChangeLog6
-rw-r--r--sys-apps/sandbox/sandbox-1.6-r2.ebuild6
-rw-r--r--sys-apps/sandbox/sandbox-1.9.ebuild6
3 files changed, 15 insertions, 3 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index 8fc3b75e1155..3fd2c1962090 100644
--- a/sys-apps/sandbox/ChangeLog
+++ b/sys-apps/sandbox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/sandbox
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.114 2009/04/09 11:15:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.115 2009/04/09 20:30:16 vapier Exp $
+
+ 09 Apr 2009; Mike Frysinger <vapier@gentoo.org> sandbox-1.6-r2.ebuild,
+ sandbox-1.9.ebuild:
+ Make sure /etc/sandbox.d has 0755 perms #265376 by Friedrich Oslage.
*sandbox-1.9 (09 Apr 2009)
diff --git a/sys-apps/sandbox/sandbox-1.6-r2.ebuild b/sys-apps/sandbox/sandbox-1.6-r2.ebuild
index 426934b089e1..8f9edfc1f4fb 100644
--- a/sys-apps/sandbox/sandbox-1.6-r2.ebuild
+++ b/sys-apps/sandbox/sandbox-1.6-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.6-r2.ebuild,v 1.1 2009/04/02 03:04:56 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.6-r2.ebuild,v 1.2 2009/04/09 20:30:16 vapier Exp $
#
# don't monkey with this ebuild unless contacting portage devs.
@@ -97,3 +97,7 @@ pkg_preinst() {
find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -exec rm -fv {} \;
fi
}
+
+pkg_postinst() {
+ chown 0755 "${D}"/etc/sandbox.d #265376
+}
diff --git a/sys-apps/sandbox/sandbox-1.9.ebuild b/sys-apps/sandbox/sandbox-1.9.ebuild
index 2129009f47b7..b602769a0777 100644
--- a/sys-apps/sandbox/sandbox-1.9.ebuild
+++ b/sys-apps/sandbox/sandbox-1.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.9.ebuild,v 1.1 2009/04/09 11:15:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.9.ebuild,v 1.2 2009/04/09 20:30:16 vapier Exp $
#
# don't monkey with this ebuild unless contacting portage devs.
@@ -89,3 +89,7 @@ pkg_preinst() {
find "${ROOT}"/lib* -maxdepth 1 -name 'libsandbox*' -exec rm -fv {} \;
fi
}
+
+pkg_postinst() {
+ chown 0755 "${D}"/etc/sandbox.d #265376
+}