aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/apache13-ssl/Makefile4
-rw-r--r--www/apache13-ssl/files/patch-FixPatch18
2 files changed, 21 insertions, 1 deletions
diff --git a/www/apache13-ssl/Makefile b/www/apache13-ssl/Makefile
index 53c8d531ea14..87b9b69f5869 100644
--- a/www/apache13-ssl/Makefile
+++ b/www/apache13-ssl/Makefile
@@ -9,6 +9,7 @@
PORTNAME= apache+ssl
PORTVERSION= ${APACHE_VERSION}.${APACHE_SSL_VERSION}
+PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITES_APACHE_SSL:S/$/:ssl/}
@@ -59,7 +60,8 @@ SUEXEC_CONF=\
--suexec-gidmin=${APACHE_SUEXEC_GIDMIN} \
--suexec-logfile=${APACHE_SUEXEC_LOG} \
--suexec-userdir=${APACHE_SUEXEC_USERDIR} \
- --suexec-safepath=${DEFAULT_PATH}
+ --suexec-safepath=${DEFAULT_PATH} \
+ --target=httpsd
.if defined(APACHE_SUEXEC_UMASK)
SUEXEC_CONF+= --suexec-umask=${APACHE_SUEXEC_UMASK}
diff --git a/www/apache13-ssl/files/patch-FixPatch b/www/apache13-ssl/files/patch-FixPatch
new file mode 100644
index 000000000000..1c293818bb9a
--- /dev/null
+++ b/www/apache13-ssl/files/patch-FixPatch
@@ -0,0 +1,18 @@
+--- FixPatch.orig Sun May 23 13:34:08 1999
++++ FixPatch Mon May 31 09:03:49 1999
+@@ -112,13 +112,6 @@
+ echo "Your version of patch is out-of-date. You need patch 2.1 or 2.5."
+ fi
+
+-echo -n "Do you want me to apply the fixed-up Apache-SSL patch for you? [n] "
+-read ans
+-echo $ans | grep -i "^[ \t]*y" >/dev/null
+-if [ $? = 0 ]; then
+- patch -p1 <SSLpatch.fixed-up
+-else
+- echo "OK, I won't apply the fixed-up patch. I've left it in SSLpatch.fixed-up";
+-fi
++patch -p1 <SSLpatch.fixed-up
+
+ exit
+