Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 182771 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]
webapp-config-1.50.16-nginx.patch
webapp-config-1.50.16-nginx.patch (text/plain), 2.03 KB, created by
steveb
on 2009-02-22 11:02:38 UTC
(
hide
)
Description:
webapp-config-1.50.16-nginx.patch
Filename:
MIME Type:
Creator:
steveb
Created:
2009-02-22 11:02:38 UTC
Size:
2.03 KB
patch
obsolete
>diff -Naur webapp-config-1.50.16/WebappConfig/config.py webapp-config-1.50.16.nginx/WebappConfig/config.py >--- webapp-config-1.50.16/WebappConfig/config.py 2006-12-30 19:38:36.000000000 +0100 >+++ webapp-config-1.50.16.nginx/WebappConfig/config.py 2008-12-07 22:29:31.332004162 +0100 >@@ -1290,6 +1290,7 @@ > allowed_servers = {'apache' : WebappConfig.server.Apache, > 'lighttpd' : WebappConfig.server.Lighttpd, > 'aolserver': WebappConfig.server.Aolserver, >+ 'nginx' : WebappConfig.server.Nginx, > 'cherokee' : WebappConfig.server.Cherokee} > > server = self.config.get('USER', 'vhost_server') >diff -Naur webapp-config-1.50.16/WebappConfig/server.py webapp-config-1.50.16.nginx/WebappConfig/server.py >--- webapp-config-1.50.16/WebappConfig/server.py 2006-12-30 19:38:36.000000000 +0100 >+++ webapp-config-1.50.16.nginx/WebappConfig/server.py 2008-12-07 22:32:21.641783286 +0100 >@@ -326,6 +326,16 @@ > self.vhost_server_uid = get_user('aolserver') > self.vhost_server_gid = get_group('aolserver') > >+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') >+ > class Cherokee(Basic): > > name = 'Cherokee' >@@ -341,4 +351,5 @@ > OUT.notice('\n'.join(['apache', > 'aolserver', > 'lighttpd', >+ 'nginx', > 'cherokee'])) >diff -Naur webapp-config-1.50.16/config/webapp-config webapp-config-1.50.16.nginx/config/webapp-config >--- webapp-config-1.50.16/config/webapp-config 2009-02-22 11:54:59.283549865 +0100 >+++ webapp-config-1.50.16.nginx/config/webapp-config 2009-02-22 11:55:48.983957833 +0100 >@@ -68,6 +68,7 @@ > # aolserver > # lighttpd > # cherokee >+# nginx > # > # you can override this setting by using the -s switch to webapp-config >
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