Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 174608 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), 1.62 KB, created by
steveb
on 2008-12-07 22:39:44 UTC
(
hide
)
Description:
webapp-config-1.50.16-nginx.patch
Filename:
MIME Type:
Creator:
steveb
Created:
2008-12-07 22:39:44 UTC
Size:
1.62 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']))
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