summaryrefslogtreecommitdiff
path: root/www/suphp
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-02-25 11:47:24 +0000
committerClement Laforet <clement@FreeBSD.org>2004-02-25 11:47:24 +0000
commit15430971a15512dbde0b9c184331db40125bde3d (patch)
tree1cf86f9e3b3de3e1be59cf47311cecdd04a93acd /www/suphp
parent New devices, some fixes. (diff)
- Update to 0.5.1
This version is mainly a bugfix release, fixing a bug causing a segmentation fault in the Apache 2 module and improving the handling of environment variables. Instead of setting unneeded / unwanted environment variables to an empty string, they are now completely removed from the environment.
Notes
Notes: svn path=/head/; revision=102085
Diffstat (limited to 'www/suphp')
-rw-r--r--www/suphp/Makefile15
-rw-r--r--www/suphp/distinfo4
2 files changed, 13 insertions, 6 deletions
diff --git a/www/suphp/Makefile b/www/suphp/Makefile
index a1294a574332..afd795bf0b1c 100644
--- a/www/suphp/Makefile
+++ b/www/suphp/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= suphp
-PORTVERSION= 0.5
-PORTREVISION= 2
+PORTVERSION= 0.5.1
CATEGORIES= www
MASTER_SITES= http://www.suphp.org/download/
@@ -27,6 +26,9 @@ APACHE_USER?= ${WWWOWN}
MIN_UID?= 80
MIN_GID?= 80
WITH_SETID_MODE?= owner
+MYPORTDOCS= apache/CONFIG apache/INSTALL apache/README apache/LICENSE \
+ LICENSE INSTALL README
+LANG= en de
CONFIGURE_ARGS+= --with-php=${PHP_PATH} \
--with-logfile=${LOG_PATH}/suphp.log \
@@ -48,7 +50,7 @@ CONFIGURE_ARGS+= --disable-checkuid
.if defined(WITHOUT_CHECKGID)
CONFIGURE_ARGS+= --disable-checkgid
.endif
-## WITH_SETID_MODE: Mode to use for setting UID/GID.
+## WITH_SETID_MODE: Mode to use for setting UID/GID.
CONFIGURE_ARGS+= --enable-setid=${WITH_SETID_MODE}
.include <bsd.port.pre.mk>
@@ -69,7 +71,12 @@ pre-everything::
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${CP} -Rfp ${WRKSRC}/doc/* ${DOCSDIR}
+.for l in ${LANG}
+ @${MKDIR} ${DOCSDIR}/${l}/apache
+. for f in ${MYPORTDOCS}
+ @${CP} -Rfp ${WRKSRC}/doc/${l}/${f} ${DOCSDIR}/${l}/${f}
+. endfor
+.endfor
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/www/suphp/distinfo b/www/suphp/distinfo
index 3b76b1579004..5b04f077227a 100644
--- a/www/suphp/distinfo
+++ b/www/suphp/distinfo
@@ -1,2 +1,2 @@
-MD5 (suphp-0.5.tar.gz) = a17b2f7bec0db326ee10d28460f34fe4
-SIZE (suphp-0.5.tar.gz) = 99687
+MD5 (suphp-0.5.1.tar.gz) = 6898ccd801ec93cb7c6a69a9ac8f3703
+SIZE (suphp-0.5.1.tar.gz) = 217350