diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2014-07-30 19:01:02 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2014-07-30 19:01:02 +0000 |
commit | c147eeb6f56d85a2700cb905730e6c94cb44751c (patch) | |
tree | b7754a8c85c033630428ea024fa5c89450c4ac6b /eclass | |
parent | amd64 stable for bug #518596. (diff) | |
download | gentoo-2-c147eeb6f56d85a2700cb905730e6c94cb44751c.tar.gz gentoo-2-c147eeb6f56d85a2700cb905730e6c94cb44751c.tar.bz2 gentoo-2-c147eeb6f56d85a2700cb905730e6c94cb44751c.zip |
Handle grsec TPE to ensure apache can compile. $T is group-writable, owned by portage, and TPE blocks that.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 11 | ||||
-rw-r--r-- | eclass/apache-2.eclass | 5 |
2 files changed, 14 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index ca09cda4a1c6..d9ae2da0e705 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1331 2014/07/29 17:59:21 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1332 2014/07/30 19:01:02 robbat2 Exp $ + + 30 Jul 2014; Robin H. Johnson <robbat2@gentoo.org> apache-2.eclass: + Handle grsec TPE to ensure apache can compile. $T is group-writable, owned by + portage, and TPE blocks that. + + 29 Jul 2014; Robin H. Johnson <robbat2@gentoo.org> mysql.eclass, + mysql-multilib.eclass, mysql-v2.eclass: + Convert mysql eclasses to git-r3 eclass, so we can remove RESTRICT=userpriv + for live copies of the patches. 29 Jul 2014; Robin H. Johnson <robbat2@gentoo.org> +mysql-multilib.eclass, mysql.eclass, mysql-autotools.eclass, mysql-cmake.eclass, mysql-v2.eclass, diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass index dc9fcf8e92a4..ad536e0618c6 100644 --- a/eclass/apache-2.eclass +++ b/eclass/apache-2.eclass @@ -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/eclass/apache-2.eclass,v 1.36 2014/05/22 13:58:46 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.37 2014/07/30 19:01:02 robbat2 Exp $ # @ECLASS: apache-2.eclass # @MAINTAINER: @@ -448,6 +448,9 @@ apache-2_src_prepare() { sed -i -e '/sinclude/d' configure.in AT_M4DIR=build eautoreconf + # ${T} must be not group-writable, else grsec TPE will block it + chmod g-w "${T}" + # This package really should upgrade to using pcre's .pc file. cat <<-\EOF >"${T}"/pcre-config #!/bin/sh |