ulm 15/02/20 10:22:42 Modified: games.eclass ChangeLog Log: [QA] games.eclass: Leave permissions of top-level directories alone, bug 537580.
Revision Changes Path 1.160 eclass/games.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games.eclass?rev=1.160&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games.eclass?rev=1.160&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/games.eclass?r1=1.159&r2=1.160 Index: games.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/games.eclass,v retrieving revision 1.159 retrieving revision 1.160 diff -u -r1.159 -r1.160 --- games.eclass 21 Nov 2014 21:47:16 -0000 1.159 +++ games.eclass 20 Feb 2015 10:22:42 -0000 1.160 @@ -1,6 +1,6 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.159 2014/11/21 21:47:16 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.160 2015/02/20 10:22:42 ulm Exp $ # @ECLASS: games # @MAINTAINER: @@ -246,10 +246,11 @@ [[ ${dir} = ${GAMES_STATEDIR} ]] && mode=o-rwx,g+r find "${D}/${dir}" -type f -print0 | xargs -0 chmod $mode - # common trees should not be games owned #264872 - if [[ ${dir} == "${GAMES_PREFIX_OPT}" ]] ; then - fowners root:root "${dir}" - fperms 755 "${dir}" + # common trees should not be games owned #264872 #537580 + fowners root:root "${dir}" + fperms 755 "${dir}" + if [[ ${dir} == "${GAMES_PREFIX}" \ + || ${dir} == "${GAMES_PREFIX_OPT}" ]] ; then for d in $(get_libdir) bin ; do # check if dirs exist to avoid "nonfatal" option if [[ -e ${D}/${dir}/${d} ]] ; then 1.1543 eclass/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1543&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1543&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1542&r2=1.1543 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v retrieving revision 1.1542 retrieving revision 1.1543 diff -u -r1.1542 -r1.1543 --- ChangeLog 20 Feb 2015 08:14:22 -0000 1.1542 +++ ChangeLog 20 Feb 2015 10:22:42 -0000 1.1543 @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1542 2015/02/20 08:14:22 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1543 2015/02/20 10:22:42 ulm Exp $ + + 20 Feb 2015; Ulrich Müller <[email protected]> games.eclass: + [QA] Leave permissions of top-level directories alone, bug 537580. 20 Feb 2015; Patrick Lauer <[email protected]> python-r1.eclass, python-single-r1.eclass:
