public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-admin/webapp-config/files: webapp-config-1.50.16-update-servers.patch
@ 2010-12-19 18:31 Rafael Martins (rafaelmartins)
  0 siblings, 0 replies; only message in thread
From: Rafael Martins (rafaelmartins) @ 2010-12-19 18:31 UTC (permalink / raw
  To: gentoo-commits

rafaelmartins    10/12/19 18:31:55

  Added:                webapp-config-1.50.16-update-servers.patch
  Log:
  Added support to www-servers/{nginx,gatling}. Thanks to Fernando V. (bug #211996)
  
  (Portage version: 2.2.0_alpha8/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-admin/webapp-config/files/webapp-config-1.50.16-update-servers.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/webapp-config/files/webapp-config-1.50.16-update-servers.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/webapp-config/files/webapp-config-1.50.16-update-servers.patch?rev=1.1&content-type=text/plain

Index: webapp-config-1.50.16-update-servers.patch
===================================================================
--- WebappConfig/config.py	2006-12-30 13:38:36.000000000 -0500
+++ config.py	2009-05-28 12:08:53.000000000 -0400
@@ -1289,8 +1289,9 @@
 
         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,
+			   'gatling'  : WebappConfig.server.Gatling}
 
         server = self.config.get('USER', 'vhost_server')
 
--- WebappConfig/server.py	2009-05-28 12:06:48.000000000 -0400
+++ server.py	2009-05-28 12:10:54.000000000 -0400
@@ -316,16 +316,6 @@
         self.vhost_server_uid = get_user('lighttpd')
         self.vhost_server_gid = get_group('lighttpd')
 
-class Aolserver(Basic):
-
-    name   = 'Aolserver'
-    desc   = 'supports installation on Aolserver'
-    dep    = 'www-servers/aolserver'
-
-    def set_server_user(self):
-        self.vhost_server_uid = get_user('aolserver')
-        self.vhost_server_gid = get_group('aolserver')
-
 class Cherokee(Basic):
 
     name   = 'Cherokee'
@@ -336,9 +326,30 @@
         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')
+
+class Gatling(Basic):
+           
+    name   = 'Gatling'
+    desc   = 'supports installation on Gatling'
+    dep    = 'www-servers/gatling'
+                              
+    def set_server_user(self):          
+        self.vhost_server_uid = get_user('gatling')
+        self.vhost_server_gid = get_group('gatling')
+
 def listservers():
 
     OUT.notice('\n'.join(['apache',
-                          'aolserver',
                           'lighttpd',
-                          'cherokee']))
+                          'cherokee',
+			  'nginx',
+			  'gatling']))
--- config/webapp-config	2006-12-30 13:39:13.000000000 -0500
+++ webapp-config	2009-05-28 12:11:24.000000000 -0400
@@ -65,9 +65,10 @@
 # your choices are:
 #
 # apache
-# aolserver
 # lighttpd
 # cherokee
+# nginx
+# gatling
 #
 # you can override this setting by using the -s switch to webapp-config
 






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-12-19 18:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-19 18:31 [gentoo-commits] gentoo-x86 commit in app-admin/webapp-config/files: webapp-config-1.50.16-update-servers.patch Rafael Martins (rafaelmartins)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox