diff options
Diffstat (limited to 'www-apache')
-rw-r--r-- | www-apache/mod_suphp/ChangeLog | 7 | ||||
-rw-r--r-- | www-apache/mod_suphp/metadata.xml | 8 | ||||
-rw-r--r-- | www-apache/mod_suphp/mod_suphp-0.6.1-r1.ebuild | 20 |
3 files changed, 20 insertions, 15 deletions
diff --git a/www-apache/mod_suphp/ChangeLog b/www-apache/mod_suphp/ChangeLog index 392371aaaa18..fd9575396e3b 100644 --- a/www-apache/mod_suphp/ChangeLog +++ b/www-apache/mod_suphp/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-apache/mod_suphp # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/ChangeLog,v 1.7 2006/05/27 00:34:14 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/ChangeLog,v 1.8 2006/06/05 13:24:10 chtekk Exp $ + + 05 Jun 2006; Luca Longinotti <chtekk@gentoo.org> metadata.xml, + -mod_suphp-0.6.0.ebuild, -mod_suphp-0.6.1.ebuild, + mod_suphp-0.6.1-r1.ebuild: + Remove old versions and cleanup. 27 May 2006; Luca Longinotti <chtekk@gentoo.org> mod_suphp-0.6.1-r1.ebuild: diff --git a/www-apache/mod_suphp/metadata.xml b/www-apache/mod_suphp/metadata.xml index ff5b6490402e..8f398d815b6c 100644 --- a/www-apache/mod_suphp/metadata.xml +++ b/www-apache/mod_suphp/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>apache</herd> -<maintainer> - <email>apache-bugs@gentoo.org</email> -</maintainer> + <herd>apache</herd> + <maintainer> + <email>apache-bugs@gentoo.org</email> + </maintainer> </pkgmetadata> diff --git a/www-apache/mod_suphp/mod_suphp-0.6.1-r1.ebuild b/www-apache/mod_suphp/mod_suphp-0.6.1-r1.ebuild index aacede00066b..49ffe24bb102 100644 --- a/www-apache/mod_suphp/mod_suphp-0.6.1-r1.ebuild +++ b/www-apache/mod_suphp/mod_suphp-0.6.1-r1.ebuild @@ -1,15 +1,15 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/mod_suphp-0.6.1-r1.ebuild,v 1.2 2006/05/27 00:34:14 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_suphp/mod_suphp-0.6.1-r1.ebuild,v 1.3 2006/06/05 13:24:10 chtekk Exp $ inherit apache-module eutils -MY_P=${P/mod_/} +MY_P="${P/mod_/}" SETIDMODES="mode-force mode-owner mode-paranoid" -DESCRIPTION="A PHP wrapper for Apache" -HOMEPAGE="http://www.suphp.org" +DESCRIPTION="A PHP wrapper for Apache." +HOMEPAGE="http://www.suphp.org/" SRC_URI="http://www.suphp.org/download/${MY_P}.tar.gz" LICENSE="GPL-2" @@ -33,16 +33,16 @@ pkg_setup() { modecnt=0 for mode in ${SETIDMODES}; do if use ${mode}; then - if [ ${modecnt} -eq 0 ]; then + if [[ ${modecnt} -eq 0 ]]; then SUPHP_SETIDMODE=${mode/mode-} let modecnt++ - elif [ ${modecnt} -ge 1 ]; then + elif [[ ${modecnt} -ge 1 ]]; then die "You can only select ONE mode in your USE flags!" fi fi done - if [ ${modecnt} -eq 0 ]; then + if [[ ${modecnt} -eq 0 ]]; then ewarn ewarn "No mode selected, defaulting to paranoid!" ewarn @@ -75,7 +75,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}/suphp-apache22-compat.patch" - if has_version ">=dev-libs/apr-1.0.0" ; then + if has_version ">=dev-libs/apr-1.0.0"; then sed -e "s|apr-config|apr-1-config|g" -i configure fi } @@ -85,7 +85,7 @@ src_compile() { use checkpath || myargs="${myargs} --disable-checkpath" myargs="${myargs} \ - --with-setid-mode=${SUPHP_SETIDMODE} \ + --with-setid-mode=${SUPHP_SETIDMODE} \ --with-min-uid=${SUPHP_MINUID} \ --with-min-gid=${SUPHP_MINGID} \ --with-apache-user=${SUPHP_APACHEUSER} \ @@ -112,7 +112,7 @@ src_install() { dodoc doc/apache/CONFIG doc/apache/INSTALL insinto /etc - doins ${FILESDIR}/suphp.conf + doins "${FILESDIR}/suphp.conf" } pkg_postinst() { |