From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1PFAqk-0003px-02 for garchives@archives.gentoo.org; Sun, 07 Nov 2010 19:24:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26560E0907; Sun, 7 Nov 2010 19:24:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 05FAEE0907 for ; Sun, 7 Nov 2010 19:24:21 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D87721B4192 for ; Sun, 7 Nov 2010 19:24:19 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2139) id 71F8120051; Sun, 7 Nov 2010 19:24:18 +0000 (UTC) From: "Alexis Ballier (aballier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, aballier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: texlive-module.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: texlive-module.eclass X-VCS-Directories: eclass X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier Content-Type: text/plain; charset=utf8 Message-Id: <20101107192418.71F8120051@flycatcher.gentoo.org> Date: Sun, 7 Nov 2010 19:24:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e24132d2-036d-4b25-ac4a-7a4c6ba577fe X-Archives-Hash: 9c672e2b0e5196582974d1087b51a545 aballier 10/11/07 19:24:18 Modified: texlive-module.eclass Log: Set umask before unpacking to avoid installing world writable files, bu= gs #338881, #310039 and #309997 Revision Changes Path 1.56 eclass/texlive-module.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-mod= ule.eclass?rev=3D1.56&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-mod= ule.eclass?rev=3D1.56&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/texlive-mod= ule.eclass?r1=3D1.55&r2=3D1.56 Index: texlive-module.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v retrieving revision 1.55 retrieving revision 1.56 diff -u -r1.55 -r1.56 --- texlive-module.eclass 24 Oct 2010 16:26:36 -0000 1.55 +++ texlive-module.eclass 7 Nov 2010 19:24:18 -0000 1.56 @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.55 2= 010/10/24 16:26:36 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.56 2= 010/11/07 19:24:18 aballier Exp $ =20 # @ECLASS: texlive-module.eclass # @MAINTAINER: @@ -114,6 +114,9 @@ texlive-module_src_unpack() { if has "${EAPI:-0}" 0 1 2 ; then local i s + # Avoid installing world writable files=20 + # Bugs #309997, #310039, #338881 + umask 022 for i in ${A} do s=3D"${DISTDIR%/}/${i}"