summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-07-30 10:54:21 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-07-30 10:54:21 +0000
commitcab1a904c3dea153dba5ccff7fa6ea74df3b92a2 (patch)
tree52d8ab743f54426cae21a686e1748d1266163709 /eclass
parentversion bump. x86 stable to l7-protocols-2005.07.17, old version cleanout (diff)
downloadgentoo-2-cab1a904c3dea153dba5ccff7fa6ea74df3b92a2.tar.gz
gentoo-2-cab1a904c3dea153dba5ccff7fa6ea74df3b92a2.tar.bz2
gentoo-2-cab1a904c3dea153dba5ccff7fa6ea74df3b92a2.zip
Make sure all packages from kdegames are compiled with --disable-setgid.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde-meta.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/kde-meta.eclass b/eclass/kde-meta.eclass
index 3f822c43f365..98cbd02785ec 100644
--- a/eclass/kde-meta.eclass
+++ b/eclass/kde-meta.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.44 2005/07/29 13:45:05 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-meta.eclass,v 1.45 2005/07/30 10:54:21 greg_g Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
# Simone Gotti <motaboy@gentoo.org>
@@ -381,6 +381,11 @@ function kde-meta_src_compile() {
myconf="$myconf --without-java"
fi
+ if [ "$KMNAME" == "kdegames" ]; then
+ # make sure games are not installed with setgid bit, as it is a security risk.
+ myconf="$myconf --disable-setgid"
+ fi
+
# confcache support. valid only for my (danarmak's) port of stuart's confcache to portage .51,
# not for stuart's orig version or ferringb's ebuild-daemon version.
# this could be replaced by just using econf, but i don't want to make that change in kde.eclass