summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgls <gls@pkgsrc.org>2011-04-11 19:57:54 +0000
committergls <gls@pkgsrc.org>2011-04-11 19:57:54 +0000
commitdba96f40ee991a4e56f94395eb8d31328a4c4d1b (patch)
tree1887bed9ed757e2ef4dc3d35a152520092b3e33d /www
parent3e1578096155dd2640080546aa9ce88eac5dfc2b (diff)
downloadpkgsrc-dba96f40ee991a4e56f94395eb8d31328a4c4d1b.tar.gz
Update www/ap2-suphp to 0.7.1
From Peter Avalos in PR pkg/44762 pkgsrc changes: - pkglint cleanups - set LICENSE - Add MESSAGE to mention the change in configuration file format. Upstream changes: suPHP 0.7.1 has been released. This release fixes a bug causing problems with symbol links in the script path, which was introduced with the 0.7.0 release. suPHP 0.7.0 has been released. With this release, several features that have been on the wish list for a long time, have been realized: * The module for Apache 1.3 only supported AddHandler for older releases. This has been fixed: Now you can use AddType, too. * PHP source highlighting: Files of MIME type application/x-httpd-php-source will now be shown with source highlighting. Remember to set the suPHP_PHPPath directive to enable this feature. * suPHP_AddHandler and suPHP_RemoveHandler directives can now be used on per vhost level, too. * You can configure more than one docroot and use different variables (like user name or home directory) within docroot and chroot settings. Attention: The configuration syntax for suphp.conf has slightly changed with this release. Be sure to read the documentation before upgrading, because existing configuration files will not work without changing them.
Diffstat (limited to 'www')
-rw-r--r--www/ap2-suphp/MESSAGE8
-rw-r--r--www/ap2-suphp/Makefile11
-rw-r--r--www/ap2-suphp/distinfo9
3 files changed, 18 insertions, 10 deletions
diff --git a/www/ap2-suphp/MESSAGE b/www/ap2-suphp/MESSAGE
new file mode 100644
index 00000000000..c111086ce88
--- /dev/null
+++ b/www/ap2-suphp/MESSAGE
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2011/04/11 19:57:54 gls Exp $
+
+The configuration syntax for suphp.conf has slightly changed with this release.
+Be sure to read the documentation before upgrading, because existing
+configuration files will not work without changing them.
+
+===========================================================================
diff --git a/www/ap2-suphp/Makefile b/www/ap2-suphp/Makefile
index 0461870b723..776eaa559f5 100644
--- a/www/ap2-suphp/Makefile
+++ b/www/ap2-suphp/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2008/05/17 02:37:24 obache Exp $
+# $NetBSD: Makefile,v 1.15 2011/04/11 19:57:54 gls Exp $
#
-DISTNAME= suphp-0.6.3
+DISTNAME= suphp-0.7.1
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= http://www.suphp.org/download/
@@ -9,6 +9,7 @@ MASTER_SITES= http://www.suphp.org/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.suphp.org/
COMMENT= SuEXEC-like wrapper for PHP scripts
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
@@ -18,9 +19,9 @@ GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
GCC_REQD+= 3.0 # the C++ code uses the .at() method
CONFIGURE_ARGS+= APXS=${APXS}
-CONFIGURE_ARGS+= --with-apache-user=${APACHE_USER:Q}
+CONFIGURE_ARGS+= --with-apache-user=${APACHE_USER}
CONFIGURE_ARGS+= --with-logfile=${VARBASE}/httpd/suphp_log
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
PKG_USERS_VARS+= APACHE_USER
BUILD_DEFS+= VARBASE
@@ -39,7 +40,7 @@ SUBST_SED.suphp+= -e "s,/var/log/suphp.log,${VARBASE}/httpd/suphp_log,g"
SUBST_SED.suphp+= -e "s,/usr/bin/php,${PREFIX}/bin/php,g"
post-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR:Q}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/doc/suphp.conf-example ${DESTDIR}${EGDIR}/suphp.conf
.include "../../mk/apache.mk"
diff --git a/www/ap2-suphp/distinfo b/www/ap2-suphp/distinfo
index b8a514bfc33..5dd60354794 100644
--- a/www/ap2-suphp/distinfo
+++ b/www/ap2-suphp/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2008/05/17 02:37:24 obache Exp $
+$NetBSD: distinfo,v 1.5 2011/04/11 19:57:54 gls Exp $
-SHA1 (suphp-0.6.3.tar.gz) = 53588e8631cdc708da4d3d199e1b7218b9f4c87e
-RMD160 (suphp-0.6.3.tar.gz) = 6fe03b3eb704b6feaa991bb0099288c8d4b31cb3
-Size (suphp-0.6.3.tar.gz) = 377176 bytes
-SHA1 (patch-aa) = 7cad8ced11f0c9945af85077a30e1788a624bad1
+SHA1 (suphp-0.7.1.tar.gz) = 9eb82b62b5f71c01d7d8b2510c685141b78e54f5
+RMD160 (suphp-0.7.1.tar.gz) = e5e7e71494af322c3ab33d6a35fbcf96334c098c
+Size (suphp-0.7.1.tar.gz) = 386521 bytes