Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 31324 Details for
Bug 50922
add support for apache2 to apacheaddmod
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add support for apache2.
apacheaddmod.diff (text/plain), 1.09 KB, created by
Minati jean michel
on 2004-05-13 05:14:08 UTC
(
hide
)
Description:
Patch to add support for apache2.
Filename:
MIME Type:
Creator:
Minati jean michel
Created:
2004-05-13 05:14:08 UTC
Size:
1.09 KB
patch
obsolete
>--- apacheaddmod.orig 2004-05-13 11:07:10.397983360 +0000 >+++ apacheaddmod 2004-05-13 12:18:11.058264544 +0000 >@@ -15,6 +15,7 @@ > # directives. > $DEBUG=1; > $bakpath="/etc/apache/conf/bak"; >+$apache_version=1; > > if ((!$ARGV[0]) || (!$ARGV[1]) || (!$ARGV[2]) || (!$ARGV[3])) { > print "Usage: $0 <conffile> <path/mod_filename.so> <mod_name.c> \n"; >@@ -23,6 +24,7 @@ > print " before=mod_filename will add before specified module\n"; > print " define=WHATEVER will install module between <IfDefine WHATEVER>\n"; > print " addconf=CONFFILE adds 'Include CONFFILE' in apache.conf\n"; >+ print " apache_version=VERSION allow to choose apache's version\n"; > die "\n"; > } > >@@ -72,6 +74,10 @@ > if (/addconf=(\S+)/i) { > $addconf="Include $1\n"; > } >+ if (/apache_version=(\w+)/i) { >+ $apache_version=$1; >+ } >+ > } > > >@@ -199,7 +205,7 @@ > print CONFF "LoadModule $name_mod $modso\n"; > print CONFF "$closedef"; > } >- if ($.==$lastadd) { >+ if ($.==$lastadd && $apache_version==1 ) { > print CONFF "$opendef"; > print CONFF "AddModule $modc\n"; > print CONFF "$closedef";
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 50922
: 31324