[Python-modules-commits] r2924 - in /packages/mod-wsgi/trunk/debian: changelog libapache2-mod-wsgi.install mod-wsgi.conf rules
bzed-guest at users.alioth.debian.org
bzed-guest at users.alioth.debian.org
Tue Jul 31 00:15:41 UTC 2007
Author: bzed-guest
Date: Tue Jul 31 00:15:41 2007
New Revision: 2924
URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2924
Log:
providing a commented config file for mod-wsgi
Added:
packages/mod-wsgi/trunk/debian/mod-wsgi.conf
Modified:
packages/mod-wsgi/trunk/debian/changelog
packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi.install
packages/mod-wsgi/trunk/debian/rules
Modified: packages/mod-wsgi/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/mod-wsgi/trunk/debian/changelog?rev=2924&op=diff
==============================================================================
--- packages/mod-wsgi/trunk/debian/changelog (original)
+++ packages/mod-wsgi/trunk/debian/changelog Tue Jul 31 00:15:41 2007
@@ -1,3 +1,10 @@
+mod-wsgi (1.0~c1-2) UNRELEASED; urgency=low
+
+ * debian/mod-wsgi.conf:
+ - Adding a config file for mod-wsgi to allow easy configuration for users
+
+ -- Bernd Zeimetz <bernd at bzed.de> Tue, 31 Jul 2007 01:17:06 +0200
+
mod-wsgi (1.0~c1-1) unstable; urgency=low
* Initial release (Closes: #415332)
Modified: packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi.install
URL: http://svn.debian.org/wsvn/python-modules/packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi.install?rev=2924&op=diff
==============================================================================
--- packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi.install (original)
+++ packages/mod-wsgi/trunk/debian/libapache2-mod-wsgi.install Tue Jul 31 00:15:41 2007
@@ -1,1 +1,2 @@
debian/mod-wsgi.load etc/apache2/mods-available
+debian/mod-wsgi.conf etc/apache2/mods-available
Added: packages/mod-wsgi/trunk/debian/mod-wsgi.conf
URL: http://svn.debian.org/wsvn/python-modules/packages/mod-wsgi/trunk/debian/mod-wsgi.conf?rev=2924&op=file
==============================================================================
--- packages/mod-wsgi/trunk/debian/mod-wsgi.conf (added)
+++ packages/mod-wsgi/trunk/debian/mod-wsgi.conf Tue Jul 31 00:15:41 2007
@@ -1,0 +1,87 @@
+<IfModule mod_wsgi.c>
+
+
+ #This config file is provided to give an overview of the directives,
+ #which are only allowed in the 'server config' context.
+ #For a detailed description of all avaiable directives please read
+ #http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives
+
+
+ #WSGISocketPrefix: Configure directory to use for daemon sockets.
+ #
+ #Apache's DEFAULT_REL_RUNTIMEDIR should be the proper place for WSGI's
+ #Socket. In case you want to mess with the permissions of the directory,
+ #you need to define WSGISocketPrefix to an alternative directory.
+ #See http://code.google.com/p/modwsgi/wiki/ConfigurationIssues for more
+ #information
+
+ #WSGISocketPrefix /var/run/apache2/wsgi
+
+
+ #WSGIPythonOptimize: Enables basic Python optimisation features.
+ #
+ #Sets the level of Python compiler optimisations. The default is '0'
+ #which means no optimisations are applied.
+ #Setting the optimisation level to '1' or above will have the effect
+ #of enabling basic Python optimisations and changes the filename
+ #extension for compiled (bytecode) files from .pyc to .pyo.
+ #When the optimisation level is set to '2', doc strings will not be
+ #generated and retained. This will result in a smaller memory footprint,
+ #but may cause some Python packages which interrogate doc strings in some
+ #way to fail.
+
+ #WSGIPythonOptimize 0
+
+
+ #WSGIPythonExecutable: Absolute path to Python executable, overriding
+ # the PYTHONEXECUTABLE environment variable.
+ #WSGIPythonHome: Absolute path to Python prefix/exec_prefix directories,
+ # overriding the PYTHONHOME environment variable.
+ #
+ #You need to take care of these variables if /usr/bin/python does
+ #not point to Debian's default Python version as provided by the
+ #package 'python' on your system, or if you have multiple versions of
+ #Python installed in different locations in the file system, especially
+ #different installations of the same major/minor version, and the
+ #installation that Apache finds in its PATH is not the desired one.
+
+ #WSGIPythonExecutable file-path
+ #WSGIPythonHome prefix|prefix:exec_prefix
+
+
+ #WSGIPythonPath: Additional directories to search for Python modules,
+ # overriding the PYTHONPATH environment variable.
+ #
+ #Used to specify additional directories to search for Python modules.
+ #If multiple directories are specified they should be separated by a ':'.
+
+ #WSGIPythonPath directory|directory-1:directory-2:...
+
+
+ #WSGIRestrictStdin: Enable restrictions on use of STDIN.
+ #WSGIRestrictStdout: Enable restrictions on use of STDOUT.
+ #WSGIRestrictSignal: Enable restrictions on use of signal().
+ #
+ #Well behaved WSGI applications neither should try to read/write from/to
+ #STDIN/STDOUT, nor should they try to register signal handlers. If your
+ #application needs an exception from this rule, you can disable the
+ #restrictions here.
+
+ #WSGIRestrictStdin On
+ #WSGIRestrictStdout On
+ #WSGIRestrictSignal On
+
+
+ #WSGIAcceptMutex: Specify type of accept mutex used by daemon processes.
+ #
+ #The WSGIAcceptMutex directive sets the method that mod_wsgi will use to
+ #serialize multiple daemon processes in a process group accepting requests
+ #on a socket connection from the Apache child processes. If this directive
+ #is not defined then the same type of mutex mechanism as used by Apache for
+ #the main Apache child processes when accepting connections from a client
+ #will be used. If set the method types are the same as for the Apache
+ #AcceptMutex directive.
+
+ #WSGIAcceptMutex default
+
+</IfModule>
Modified: packages/mod-wsgi/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/mod-wsgi/trunk/debian/rules?rev=2924&op=diff
==============================================================================
--- packages/mod-wsgi/trunk/debian/rules (original)
+++ packages/mod-wsgi/trunk/debian/rules Tue Jul 31 00:15:41 2007
@@ -10,7 +10,7 @@
include /usr/share/dpatch/dpatch.make
APXS2=/usr/bin/apxs2
-PY_VERSION=$(shell dpkg -s python | grep ^Version | sed 's,Version: \([0-9]\.[0-9]\).*,\1,')
+PY_VERSION=$(shell pyversions -vd)
PY_NEXT_VERSION=$(shell echo $(PY_VERSION) | awk '{ print (($$1*10)+1)/10 }')
config.status: configure patch
More information about the Python-modules-commits
mailing list