diff options
author | Clement Laforet <clement@FreeBSD.org> | 2004-06-29 10:40:08 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2004-06-29 10:40:08 +0000 |
commit | 82a666fe43b7e6a6f822d04aeae187ffd5e46cde (patch) | |
tree | 27a46ddc93bb1db867b60ea92d96988c0309adb6 /www/suphp | |
parent | add MIT Kerberos 5 krb5_aname_to_localname() buffer overflow (diff) |
- Add WITH_LOGNAME and WITH_LOGPATH knobs.
I kept LOG_NAME to not break POLA (Will be removed for next release).
Requested by: Dennis Koster <dennis@phlex.net>
Notes
Notes:
svn path=/head/; revision=112541
Diffstat (limited to 'www/suphp')
-rw-r--r-- | www/suphp/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/www/suphp/Makefile b/www/suphp/Makefile index 5f68c2564330..d8dc18caa65c 100644 --- a/www/suphp/Makefile +++ b/www/suphp/Makefile @@ -20,7 +20,8 @@ USE_GMAKE= yes USE_APACHE= yes CONFLICTS= mod_php4-4* php-4.* -LOG_PATH?= /var/log +LOG_PATH?= ${WITH_LOGPATH} +WITH_LOGNAME?= suphp.log PHP_PATH?= ${LOCALBASE}/bin/php APACHE_USER?= ${WWWOWN} MIN_UID?= 80 @@ -31,7 +32,7 @@ MYPORTDOCS= apache/CONFIG apache/INSTALL apache/README apache/LICENSE \ LANG= en de CONFIGURE_ARGS+= --with-php=${PHP_PATH} \ - --with-logfile=${LOG_PATH}/suphp.log \ + --with-logfile=${LOG_PATH}/${WITH_LOGNAME} \ --with-apache-user=${APACHE_USER} \ --with-min-gid=${MIN_UID} \ --with-min-uid=${MIN_GID} \ @@ -52,7 +53,9 @@ CONFIGURE_ARGS+= --disable-checkgid .endif ## WITH_SETID_MODE: Mode to use for setting UID/GID. CONFIGURE_ARGS+= --enable-setid-mode=${WITH_SETID_MODE} - +## WITH_LOGPATH (formerly known as LOG_PATH): logging directory +## (default: /var/log) +## WITH_LOGNAME: log file name (default suphp.log) .include <bsd.port.pre.mk> .if exists(${LOCALBASE}/include/apache2/apr.h) || defined(WITH_APACHE2) |