diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2014-09-21 01:54:22 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2014-09-21 01:54:22 +0000 |
commit | 3f260ab2883952c43aea7f5930a4a9b16baf3f86 (patch) | |
tree | 4d2101be209458a7d501548cb11e86c1a08417e3 /app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild | |
parent | revbump; drop py2.6 add py3.4 pypy, upgrade dep on django (diff) | |
download | gentoo-2-3f260ab2883952c43aea7f5930a4a9b16baf3f86.tar.gz gentoo-2-3f260ab2883952c43aea7f5930a4a9b16baf3f86.tar.bz2 gentoo-2-3f260ab2883952c43aea7f5930a4a9b16baf3f86.zip |
Bug #486680: do not create group-writable directories during build that would fail under grsec TPE.
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild')
-rw-r--r-- | app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild b/app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild index 2da53847c084..bbbebe22b893 100644 --- a/app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild +++ b/app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild,v 1.2 2014/08/03 19:12:46 tgall Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha24.ebuild,v 1.3 2014/09/21 01:54:22 robbat2 Exp $ EAPI=5 @@ -94,7 +94,13 @@ src_prepare() { -e "s|^\(INS_BASE=\).*|\1\t${ED}/usr|" \ -e "s|^\(INS_RBASE=\).*|\1\t${ED}|" \ -e "s|^\(DEFINSGRP=\).*|\1\t0|" \ + -e '/^DEFUMASK/s,002,022,g' \ Defaults.${os} || die "sed Schily make setup" + # re DEFUMASK above: + # bug 486680: grsec TPE will block the exec if the directory is + # group-writable. This is painful with cdrtools, because it makes a bunch of + # group-writable directories during build. Change the umask on their + # creation to prevent this. } ac_cv_sizeof() { |