FreeBSD Bugzilla – Attachment 101007 Details for
Bug 140380
[patch] www/apache22: Add support for inclusion of profile_* directive
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
www-apache22-apache22_profile_directives.diff
www-apache22-apache22_profile_directives.diff (text/plain), 2.13 KB, created by
Jarrod Sayers
on 2009-11-08 03:30:01 UTC
(
hide
)
Description:
www-apache22-apache22_profile_directives.diff
Filename:
MIME Type:
Creator:
Jarrod Sayers
Created:
2009-11-08 03:30:01 UTC
Size:
2.13 KB
patch
obsolete
>diff -ruN ports/www/apache22.orig/Makefile ports/www/apache22/Makefile >--- ports/www/apache22.orig/Makefile 2009-09-16 23:47:57.000000000 +0930 >+++ ports/www/apache22/Makefile 2009-11-08 12:11:56.000000000 +1030 >@@ -9,6 +9,7 @@ > > PORTNAME= apache > PORTVERSION= 2.2.13 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} > DISTNAME= httpd-${PORTVERSION} >diff -ruN ports/www/apache22.orig/files/apache22.in ports/www/apache22/files/apache22.in >--- ports/www/apache22.orig/files/apache22.in 2009-08-03 05:05:57.000000000 +0930 >+++ ports/www/apache22/files/apache22.in 2009-11-08 12:31:27.000000000 +1030 >@@ -13,6 +13,9 @@ > # Set it to "YES" to enable apache22 > # apache22_profiles (str): Set to "" by default. > # Define your profiles here. >+# apache22_profile_directives (bool): Set to "NO" by default. >+# Set to "YES" to include a profile_* >+# directive on the httpd command line. > # apache22limits_enable (bool):Set to "NO" by default. > # Set it to yes to run `limits $limits_args` > # just before apache starts. >@@ -43,6 +46,7 @@ > required_files=%%PREFIX%%/etc/apache22/httpd.conf > > [ -z "$apache22_enable" ] && apache22_enable="NO" >+[ -z "$apache22_profile_directives" ] && apache22_profile_directives="NO" > [ -z "$apache22limits_enable" ] && apache22limits_enable="NO" > [ -z "$apache22limits_args" ] && apache22limits_args="-e -C daemon" > [ -z "$apache22_http_accept_enable" ] && apache22_http_accept_enable="NO" >@@ -84,6 +88,13 @@ > eval apache22limits_enable="\${apache22limits_${profile}_enable:-${apache22limits_enable}}" > eval apache22limits_args="\${apache22limits_${profile}_args:-${apache22limits_args}}" > eval apache22_fib="\${apache22_${profile}_fib:-${apache22_fib}}" >+ case "${apache22_profile_directives}" in >+ [Yy][Ee][Ss]) >+ apache22_flags="-Dprofile_${profile} ${apache22_flags}" >+ ;; >+ *) >+ ;; >+ esac > apache22_flags="-f ${apache22_configfile} -c \"PidFile ${pidfile}\" ${apache22_flags}" > else > echo "$0: extra argument ignored"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 140380
: 101007