Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 147826 Details for
Bug 211996
add www-servers/nginx support to app-admin/webapp-config
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to add nginx to webapp-config
webapp-config.patch (text/plain), 2.05 KB, created by
Ed Wildgoose
on 2008-03-31 12:57:42 UTC
(
hide
)
Description:
Patch to add nginx to webapp-config
Filename:
MIME Type:
Creator:
Ed Wildgoose
Created:
2008-03-31 12:57:42 UTC
Size:
2.05 KB
patch
obsolete
>diff -u /usr/lib64/python2.4/site-packages/WebappConfig.orig/config.py /usr/lib64/python2.4/site-packages/WebappConfig/config.py >--- /usr/lib64/python2.4/site-packages/WebappConfig.orig/config.py 2006-12-30 18:38:36.000000000 +0000 >+++ /usr/lib64/python2.4/site-packages/WebappConfig/config.py 2008-03-31 12:52:58.000000000 +0000 >@@ -1290,7 +1290,8 @@ > allowed_servers = {'apache' : WebappConfig.server.Apache, > 'lighttpd' : WebappConfig.server.Lighttpd, > 'aolserver': WebappConfig.server.Aolserver, >- 'cherokee' : WebappConfig.server.Cherokee} >+ 'cherokee' : WebappConfig.server.Cherokee, >+ 'nginx' : WebappConfig.server.Nginx} > > server = self.config.get('USER', 'vhost_server') > >Files /usr/lib64/python2.4/site-packages/WebappConfig.orig/config.pyc and /usr/lib64/python2.4/site-packages/WebappConfig/config.pyc differ >diff -u /usr/lib64/python2.4/site-packages/WebappConfig.orig/server.py /usr/lib64/python2.4/site-packages/WebappConfig/server.py >--- /usr/lib64/python2.4/site-packages/WebappConfig.orig/server.py 2008-03-27 18:32:14.000000000 +0000 >+++ /usr/lib64/python2.4/site-packages/WebappConfig/server.py 2008-03-31 12:53:19.000000000 +0000 >@@ -336,9 +336,20 @@ > self.vhost_server_uid = get_user('cherokee') > self.vhost_server_gid = get_group('cherokee') > >+class Nginx(Basic): >+ >+ name = 'Nginx' >+ desc = 'supports installation on Nginx' >+ dep = 'www-servers/nginx' >+ >+ def set_server_user(self): >+ self.vhost_server_uid = get_user('nginx') >+ self.vhost_server_gid = get_group('nginx') >+ > def listservers(): > > OUT.notice('\n'.join(['apache', > 'aolserver', > 'lighttpd', >- 'cherokee'])) >+ 'cherokee', >+ 'nginx'])) >Files /usr/lib64/python2.4/site-packages/WebappConfig.orig/server.pyc and /usr/lib64/python2.4/site-packages/WebappConfig/server.pyc differ
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 211996
: 147826 |
174608
|
182771
|
190808
|
190810
|
192728