Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=322db2c557771db2e8140c7340df55fdeba362d5

commit 322db2c557771db2e8140c7340df55fdeba362d5
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Tue Dec 1 22:45:12 2009 +0000

mod_wsgi-3.1-1-i686
*new package

diff --git a/source/network-extra/mod_wsgi/FrugalBuild 
b/source/network-extra/mod_wsgi/FrugalBuild
new file mode 100644
index 0000000..e189d59
--- /dev/null
+++ b/source/network-extra/mod_wsgi/FrugalBuild
@@ -0,0 +1,25 @@
+# Compiling Time: 0.11 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+pkgname=mod_wsgi
+pkgver=3.1
+pkgrel=1
+pkgdesc="Python WSGI adapter module for Apache."
+url="http://www.modpython.org/";
+depends=('apache>=2.2.0' 'python>=2.6')
+groups=('network-extra')
+_F_googlecode_dirname=modwsgi
+Finclude googlecode
+backup=(etc/httpd/conf/modules.d/mod_wsgi.conf)
+archs=('i686' 'x86_64')
+source=($source mod_wsgi.conf)
+sha1sums=('4bfbfc07e6bb33df4eb7b78c4e65126d926441b8' \
+          '0f1e505e724e6915ea0169980722d2411e608a3a')
+
+build()
+{
+       Fbuild
+       Ffile /etc/httpd/conf/modules.d/mod_wsgi.conf
+}
+
+# optimization OK
diff --git a/source/network-extra/mod_wsgi/mod_wsgi.conf 
b/source/network-extra/mod_wsgi/mod_wsgi.conf
new file mode 100644
index 0000000..4bc6eaa
--- /dev/null
+++ b/source/network-extra/mod_wsgi/mod_wsgi.conf
@@ -0,0 +1,36 @@
+<IfModule !mod_wsgi.c>
+  LoadModule wsgi_module    lib/apache/mod_wsgi.so
+</IfModule>
+
+<IfModule mod_wsgi.c>
+#Alias /wsgi-scripts/ /web/wsgi-scripts/
+#<Location /wsgi-scripts>
+#SetHandler wsgi-script
+#Options +ExecCGI
+#</Location>
+
+#virtualhost that use process with wsgi
+#WSGIDaemonProcess default processes=2 threads=25
+#
+#<VirtualHost *:80>
+#ServerName www.site.com
+#
+#WSGIDaemonProcess bob:1 user=bob group=bob threads=25
+#WSGIDaemonProcess bob:2 user=bob group=bob threads=25
+#WSGIDaemonProcess bob:3 user=bob group=bob threads=25
+#
+#WSGIDaemonProcess joe:1 user=joe group=joe threads=25
+#WSGIDaemonProcess joe:2 user=joe group=joe threads=25
+#WSGIDaemonProcess joe:3 user=joe group=joe threads=25
+#
+#SetEnv PROCESS_GROUP default
+#WSGIProcessGroup %{ENV:PROCESS_GROUP}
+#
+#<Directory /home/bob/public_html>
+#Options ExecCGI
+#AllowOverride FileInfo
+#AddHandler wsgi-script .wsgi
+#WSGIRestrictProcess bob:1 bob:2 bob:3
+#SetEnv PROCESS_GROUP bob:1
+#</Directory>
+#</VirtualHost>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to