diff options
author | Clement Laforet <clement@FreeBSD.org> | 2007-09-10 14:48:36 +0000 |
---|---|---|
committer | Clement Laforet <clement@FreeBSD.org> | 2007-09-10 14:48:36 +0000 |
commit | 3f99c30a520c377b1f3c1c48c72bc4d1796cd3e8 (patch) | |
tree | 0c9b7c82999fb2a8f4d795d348ac6fe8bf7915c0 /www/apache20 | |
parent | 2f54689f1f13ddb9c6548c68a171a5c32ead4559 (diff) | |
download | ports-3f99c30a520c377b1f3c1c48c72bc4d1796cd3e8.tar.gz ports-3f99c30a520c377b1f3c1c48c72bc4d1796cd3e8.zip |
Notes
Diffstat (limited to 'www/apache20')
-rw-r--r-- | www/apache20/Makefile | 1 | ||||
-rw-r--r-- | www/apache20/files/apache2.sh.in | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/www/apache20/Makefile b/www/apache20/Makefile index 20c7b9857245..450cc1a2861a 100644 --- a/www/apache20/Makefile +++ b/www/apache20/Makefile @@ -9,6 +9,7 @@ PORTNAME= apache PORTVERSION= 2.0.61 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \ ${MASTER_SITE_LOCAL:S/$/:powerlogo/} diff --git a/www/apache20/files/apache2.sh.in b/www/apache20/files/apache2.sh.in index 9c45b91479ea..65aef9d9d091 100644 --- a/www/apache20/files/apache2.sh.in +++ b/www/apache20/files/apache2.sh.in @@ -13,6 +13,9 @@ # Set it to "YES" to enable apache2 # apache2_profiles (str): Set to "" by default. # Define your profiles here. +# apache2ssl_enable (bool): Set to "NO" by default. +# Set it to "YES" to start apache with SSL +# (if <IfDefined SSL> exists in httpd.conf) # apache2limits_enable (bool):Set to "NO" by default. # Set it to yes to run `limits $limits_args` # just before apache starts. @@ -38,6 +41,7 @@ pidfile="${_pidprefix}.pid" required_files=%%PREFIX%%/etc/apache2/httpd.conf [ -z "$apache2_enable" ] && apache2_enable="NO" +[ -z "${apache2ssl_enable}" ] && apache2ssl_enable="NO" [ -z "$apache2_profiles" ] && apache2_profiles="" [ -z "$apache2_flags" ] && apache2_flags="" [ -z "$apache2limits_enable" ] && apache2limits_enable="NO" @@ -56,6 +60,7 @@ if [ -n "$2" ]; then fi required_files="${apache2_configfile}" eval apache2_enable="\${apache2_${profile}_enable:-${apache2_enable}}" + eval apache2ssl_enable=\${apache2ssl_${profile}_enable:-NO} eval apache2_flags="\${apache2_${profile}_flags:-${apache2_flags}}" eval apache2_http_accept_enable="\${apache2_${profile}_http_accept_enable:-${apache2_http_accept_enable}}" eval apache2limits_enable="\${apache2limits_${profile}_enable:-${apache2limits_enable}}" @@ -80,6 +85,9 @@ else fi fi +checkyesno apache2ssl_enable && \ + apache2_flags="-DSSL $apache2_flags" + apache2_requirepidfile() { if [ ! "0`check_pidfile ${pidfile} ${command}`" -gt 1 ]; then |