[Python-modules-commits] r11495 - in packages/mod-wsgi/tags (15 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Mon Feb 1 23:01:56 UTC 2010


    Date: Monday, February 1, 2010 @ 23:01:36
  Author: piotr
Revision: 11495

tagging 2.8-2

Added:
  packages/mod-wsgi/tags/2.8-2/
  packages/mod-wsgi/tags/2.8-2/debian/
  packages/mod-wsgi/tags/2.8-2/debian/changelog
  packages/mod-wsgi/tags/2.8-2/debian/compat
  packages/mod-wsgi/tags/2.8-2/debian/control
  packages/mod-wsgi/tags/2.8-2/debian/copyright
  packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.docs
  packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.install
  packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.postinst
  packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.prerm
  packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.rtupdate
  packages/mod-wsgi/tags/2.8-2/debian/rules
  packages/mod-wsgi/tags/2.8-2/debian/watch
  packages/mod-wsgi/tags/2.8-2/debian/wsgi.conf
  packages/mod-wsgi/tags/2.8-2/debian/wsgi.load


Property changes on: packages/mod-wsgi/tags/2.8-2/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/mod-wsgi/tags/2.8-2/debian/changelog
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/changelog	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/changelog	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,317 @@
+mod-wsgi (2.8-2) unstable; urgency=low
+
+  * Restart Apache instead of reloading config file in postinst (temporary
+    workaround for bug #558608)
+  * Section changed to "httpd"
+  * Bump Standards-Version to 3.8.4 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 01 Feb 2010 21:03:25 +0100
+
+mod-wsgi (2.8-1) unstable; urgency=low
+
+  * New upstream release
+  * Remove postrm maintainer script, no longer needed as Lenny doesn't have
+    mod-wsgi.{conf,load} anymore and this script was removing new files (which
+    is handled by dpkg, closes: 558589)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 29 Nov 2009 14:07:48 +0100
+
+mod-wsgi (2.6-1) unstable; urgency=low
+
+  * New upstream release
+  * configure-apache-version.dpatch removed, no longer needed
+  * Bump Standards-Version to 3.8.3 (no changes needed)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sun, 11 Oct 2009 21:27:30 +0200
+
+mod-wsgi (2.5-1~lenny1) stable; urgency=medium
+
+  * Rebuild for Lenny (Closes: #526154)
+  * Add patch from upstream's mod_wsgi-2.X branch (revision 1352)
+    (decrement of reference count on NULL pointer)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Fri, 28 Aug 2009 23:17:18 +0200
+
+mod-wsgi (2.5-1) unstable; urgency=low
+
+  * New upstream bugfix release.
+  * Updating patches to suit the new version. 
+
+ -- Bernd Zeimetz <bzed at debian.org>  Sun, 17 May 2009 01:17:56 +0200
+
+mod-wsgi (2.4-1) unstable; urgency=low
+
+  [ Sandro Tosi ]
+  * Switch Vcs-Browser field to viewsvn
+
+  [ Piotr Ożarowski ]
+  * New upstream release
+  * Don't ignore errors in postrm maintainer script
+  * Standards-Version bumped to 3.8.1
+    + add debian/README.source file
+
+ -- Piotr Ożarowski <piotr at debian.org>  Sat, 18 Apr 2009 22:06:03 +0200
+
+mod-wsgi (2.3-1) unstable; urgency=low
+
+  * New upstream release (Closes: #496067). This upload covers the changes of
+    mod-wsgi 2.2 and 2.3.
+    mod-wsgi 2.2 is mainly bugfix-releases. The only exception is a backport
+    of one function from 3.0 which allows the setting of process names on *BSD
+    - this does not affect Linux.
+    mod-wsgi 2.3 fixes regressions which were introduced in 2.2.
+    
+    Here follows a list of the bugfixes in 2.2:
+      1. Fix bug whereby if mod_python is loaded at same time as mod_wsgi the
+         WSGIImportScript directive can cause Apache child processes to crash.
+         For details see: http://code.google.com/p/modwsgi/issues/detail?id=91
+
+      2. Fix bug where mod_wsgi daemon process startup could fail due to old
+         stale UNIX listener socket file as described in:
+         http://code.google.com/p/modwsgi/issues/detail?id=77 
+
+      3. Fix bug where listener socket file descriptors for daemon processes
+         were being leaked in Apache parent process on a graceful restart.
+         Also fixes problem where UNIX listener socket was left in filesystem
+         on both graceful restart and graceful shutdown. For details see:
+         http://code.google.com/p/modwsgi/issues/detail?id=95 
+
+      4. Fix bug where response was truncated when a null character appeared
+         as first character in block of data being returned from
+         wsgi.file_wrapper.
+         Only occurred when code fell back to using iteration over supplied
+         file like object, rather than optimised method such as sendfile().
+         http://code.google.com/p/modwsgi/issues/detail?id=100
+
+    The following regressions/bugs of 2.2 were fixed in 2.3:
+
+      1. Fixed problem introduced in version 2.2 of mod_wsgi whereby use of
+         daemon mode would cause CGI scripts to fail. It is quite possible
+         that the bug could also have caused failures with other Apache
+         modules that relied on registering of cleanup functions against
+         Apache configuration memory pool.
+
+      2. (does not affect Linux)
+         When using setproctitle() on BSD systems, first argument should be
+         a printf style format string with values to fill out per format as
+         additional arguments. Code was supplying value to be displayed as
+         format string which meant that if it contained any printf type format
+         sequences, could cause process to crash as corresponding arguments
+         wouldn't have ben provided.
+
+ -- Bernd Zeimetz <bzed at debian.org>  Sat, 23 Aug 2008 19:27:48 +0200
+
+mod-wsgi (2.1-2) unstable; urgency=medium
+
+  * Calling pyversions in postinst requires that 'python' is installed *and*
+    configured, so it would need to be added to Pre-Depends. As this is kinda
+    ugly, we ship the symlink to the module for the right Python version now
+    in the package. I assume that this will really fix #483197 now, I'm quite
+    sure that the broken link results from an error message of the
+    unconfigured python/pyversions. Shipping the symlink also makes sure that
+    it is available while Apache is configured (which may happen before
+    mod-wsgi is configured). (Closes: #483197, #491478)
+  * Drop the parts from the maintainer scripts which renamed the wsgi config
+    files (see #456737 for details) - as mod-wsgi was not released with Etch
+    and the fix was for a long enough time in testing, it should be safe to
+    remove them before Lenny.
+
+ -- Bernd Zeimetz <bzed at debian.org>  Mon, 21 Jul 2008 01:20:43 +0200
+
+mod-wsgi (2.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/libapache2-mod-wsgi.rtupdate:
+    - Fixing bashism. Thanks to Vitaliyi (Closes: #483197)
+  * debian/copyright:
+    - Removing full text of the Apache License, linking to
+      /usr/share/common-licenses/Apache-2.0 instead.
+  * debian/wsgi.conf:
+    - Removing WSGIPythonExecutable directive from the example configuration
+      as it does not exist in 2.X versions of mod-wsgi. Thanks to Martin
+      Tomasek for the report. (Closes: #488982)
+
+ -- Bernd Zeimetz <bzed at debian.org>  Mon, 07 Jul 2008 00:37:50 +0200
+
+mod-wsgi (2.0-1) unstable; urgency=low
+
+  * New upstream version.
+  * Merging changes of the experimental uploads.
+
+ -- Bernd Zeimetz <bzed at debian.org>  Fri, 21 Mar 2008 11:49:44 +0100
+
+mod-wsgi (2.0~c5-1) experimental; urgency=low
+
+  * New beta version.
+  * debian/control:
+    - Updating my email address.
+
+ -- Bernd Zeimetz <bzed at debian.org>  Mon, 17 Mar 2008 23:55:10 +0100
+
+mod-wsgi (2.0~c4-2) experimental; urgency=low
+
+  * Rename mod_wsgi.load to wsgi.load to follow
+    /etc/apache2/mods-available best practise (sync with 1.3-2 from unstable)
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 07 Jan 2008 16:36:35 +0100
+
+mod-wsgi (1.3-2) unstable; urgency=low
+
+  [ Sandro Tosi ]
+  * debian/control
+    - uniforming Vcs-Browser field
+
+  [ Piotr Ożarowski ]
+  * Rename mod_wsgi.load to wsgi.load (to follow
+    /etc/apache2/mods-available best practise, closes: 456737)
+  * Bump Standards-Version to 3.7.3 (no changes needed)
+  * Add myself to Uploaders
+
+ -- Piotr Ożarowski <piotr at debian.org>  Mon, 07 Jan 2008 16:24:51 +0100
+
+mod-wsgi (2.0~c4-1) experimental; urgency=low
+
+  * New beta version.
+  * debian/control:
+    - Updating my email address.
+    - Updating Standards-Version to 3.7.3.
+
+ -- Bernd Zeimetz <bzed at debian.org>  Fri, 14 Dec 2007 21:29:12 +0100
+
+mod-wsgi (2.0~c3-1) experimental; urgency=low
+
+  * New beta version.
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Sat, 17 Nov 2007 16:16:36 +0100
+
+mod-wsgi (1.3-1) unstable; urgency=low
+
+  * New upstream version
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Sat, 17 Nov 2007 16:15:06 +0100
+
+mod-wsgi (2.0~c2-1) experimental; urgency=low
+
+  * New beta version.
+  * debian/patches:
+    - Removing ap_thread_stacksize.dpatch as the issue is fixed by upstream
+      now.
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Thu, 08 Nov 2007 12:14:55 +0100
+
+mod-wsgi (2.0~c1-2) experimental; urgency=low
+
+  * debian/control: reverting the change from -1
+  * debian/patches:
+    - Adding ap_thread_stacksize.dpatch to allow us to build the module using
+      apache-threaded-dev. In the rare case that somebody would like to
+      configure the stack size of WSGIDaemonProcess, both ThreadStackSize and
+      stack-size option need to be set due to this change.
+      Thanks to the upstream author, Graham Dumpleton.
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Tue, 30 Oct 2007 22:11:50 +0100
+
+mod-wsgi (2.0~c1-1) experimental; urgency=low
+
+  [ Bernd Zeimetz ]
+  *  Beta version of the upcoming 2.0 version.
+
+  [ Piotr Ożarowski ]
+  * debian/control:
+    - move "apache2-mpm-worker | apache2-mpm-event" from Suggests to Depends
+      as 2.0~c1 doesn't work with apache2-mpm-prefork
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Tue, 30 Oct 2007 21:45:46 +0100
+
+mod-wsgi (1.2-1) unstable; urgency=low
+
+  * New upstream version
+  * debian/watch:
+    - Only watching for updates of released versions now, beta versions go
+      into an experimental branch.
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Tue, 30 Oct 2007 03:04:20 +0100
+
+mod-wsgi (1.1-2) unstable; urgency=low
+
+  * Applying a patch from Josselin Mouette - thanks, introducing the
+    following changes
+    - Build the module for all supported python versions.
+    - Ship a rtupdate script to rotate to the new version when the python
+      version changes.
+    - Build-depend on python-all-dev.
+    (Closes: #445486)
+
+  * debian/control:
+    - Renaming XS-Vcs-* fields to Vcs-*, as they're supported by dpkg now
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Sat, 06 Oct 2007 15:16:00 +0200
+
+mod-wsgi (1.1-1) unstable; urgency=low
+
+  * New upstream version
+  * debian/control:
+    - Adding Homepage field, removing pseudo-field from description
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Mon, 01 Oct 2007 10:28:37 +0200
+
+mod-wsgi (1.0-2) unstable; urgency=low
+
+  * debian/control:
+    - Moving apache workers from Recommends to Suggests to make the package
+      installation more easy for those who really want to use PHP, which
+      depends on the preforking worker (Closes: #443105).
+    - Adding apache2 to Depends
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Tue, 18 Sep 2007 20:35:06 +0200
+
+mod-wsgi (1.0-1) unstable; urgency=low
+
+  * New upstream version - first stable release.
+  * debian/watch:
+    - Small fix to recognize versions correctly
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Wed, 05 Sep 2007 14:17:20 +0200
+
+mod-wsgi (1.0~c4-1) unstable; urgency=low
+
+  * New upstream version
+  * debian/patches:
+    - Removing r413-error-log-fix.dpatch as this fix is included in the
+      upstream tarball
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Thu, 30 Aug 2007 17:20:36 +0200
+
+mod-wsgi (1.0~c2-1) unstable; urgency=low
+
+  * New upstream version
+  * debian/control:
+    - Removing autotools-dev build-dep, as configure relies on the information
+      provided by apxs2 and does not take care of config.sub or config.guess.
+  * debian/watch:
+    - Fixing filenamemangle to allow uscan to download the file
+  * debian/patches/makefile-destdir.dpatch,umask-fix.dpatch:
+    - Removing files, changes were added upstream
+  * debian/patches/r413-error-log-fix.dpatch:
+    - Adding patch from upstream's svn to fix a bug which could result in a
+      crash of mod-wsgi, for details see
+      http://code.google.com/p/modwsgi/issues/detail?id=24
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Sun, 12 Aug 2007 12:56:10 +0200
+
+mod-wsgi (1.0~c1-2) unstable; urgency=low
+
+  * debian/mod-wsgi.conf:
+    - Adding a config file for mod-wsgi to allow easy configuration for users
+  * debian/control:
+    - Adding apache2-mpm-worker | apache2-mpm-event as Recommends to provide a
+      fast default worker
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Tue, 31 Jul 2007 02:31:59 +0200
+
+mod-wsgi (1.0~c1-1) unstable; urgency=low
+
+  * Initial release (Closes: #415332)
+
+ -- Bernd Zeimetz <bernd at bzed.de>  Mon, 30 Jul 2007 16:22:40 +0200
+

Added: packages/mod-wsgi/tags/2.8-2/debian/compat
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/compat	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/compat	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1 @@
+5

Added: packages/mod-wsgi/tags/2.8-2/debian/control
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/control	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/control	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,21 @@
+Source: mod-wsgi
+Section: httpd
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Bernd Zeimetz <bzed at debian.org>, Piotr Ożarowski <piotr at debian.org>
+Build-Depends: debhelper (>= 5), python-all-dev, apache2-threaded-dev
+Homepage: http://www.modwsgi.org/
+Standards-Version: 3.8.4
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/mod-wsgi/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/mod-wsgi/trunk/
+
+Package: libapache2-mod-wsgi
+Architecture: any
+Depends: apache2, apache2.2-common, ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Suggests: apache2-mpm-worker | apache2-mpm-event
+Description: Python WSGI adapter module for Apache
+ The mod_wsgi adapter is an Apache module that provides a WSGI (Web Server
+ Gateway Interface, a standard interface between web server software and
+ web applications written in Python) compliant interface for hosting Python
+ based web applications within Apache. The adapter provides significantly
+ better performance than using existing WSGI adapters for mod_python or CGI.

Added: packages/mod-wsgi/tags/2.8-2/debian/copyright
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/copyright	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/copyright	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,32 @@
+This package was debianized by Bernd Zeimetz <bernd at bzed.de> on
+Mon, 30 Jul 2007 16:22:40 +0200.
+
+It was downloaded from http://code.google.com/p/modwsgi/downloads/list
+
+Upstream Author: 
+
+    Graham Dumpleton <Graham.Dumpleton at gmail.com>
+
+Copyright: 
+
+    Copyright 2007-2009 GRAHAM DUMPLETON
+
+License:
+
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+ 
+         http://www.apache.org/licenses/LICENSE-2.0
+ 
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+On Debian systems the full text of the Apache License, Version 2,
+can be found in `/usr/share/common-licenses/Apache-2.0'.
+
+The Debian packaging is © 2007-2009, Bernd Zeimetz <bernd at bzed.de> and
+is licensed under the Apache License, Version 2.0, see below.

Added: packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.docs
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.docs	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.docs	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1 @@
+README

Added: packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.install
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.install	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.install	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,2 @@
+debian/wsgi.load etc/apache2/mods-available
+debian/wsgi.conf etc/apache2/mods-available

Added: packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.postinst
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.postinst	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.postinst	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+set -e
+
+apache_force_reload() {
+    if apache2ctl configtest 2>/dev/null; then
+        #invoke-rc.d apache2 force-reload || true
+        # use "restart" as a workaround for bug #558608
+        invoke-rc.d apache2 restart || true
+    else
+        echo "Your apache2 configuration is broken, please fix it and restart apache2 manually."
+    fi
+}
+
+if [ -z "$2" ]; then
+    if [ -e /etc/apache2/apache2.conf ]; then
+        a2enmod wsgi >/dev/null || true
+        apache_force_reload
+    fi
+else
+    #we're upgrading
+    if [ -e /etc/apache2/mods-enabled/wsgi.load ]; then
+        apache_force_reload
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0

Added: packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.prerm
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.prerm	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.prerm	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
+    a2dismod wsgi || true
+fi
+
+#DEBHELPER#
+
+exit 0

Added: packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.rtupdate
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.rtupdate	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/libapache2-mod-wsgi.rtupdate	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = rtupdate ]; then
+    new_version=`echo ${3} | sed 's,^python,,'`
+    ln -sf mod_wsgi.so-${new_version} /usr/lib/apache2/modules/mod_wsgi.so
+fi

Added: packages/mod-wsgi/tags/2.8-2/debian/rules
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/rules	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/rules	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+
+PACKAGE=libapache2-mod-wsgi
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+APXS2=/usr/bin/apxs2
+PYVERS=$(shell pyversions -vs)
+PYDEFAULT=$(shell pyversions -dv)
+PYMIN=$(shell echo $(PYVERS) | awk '{print $$1}')
+PYMAX=$(shell echo $(PYVERS) | LANG=C awk '{print $$NF+0.1}')
+
+build-%/config.status:
+	dh_testdir
+	mkdir -p build-$*
+	cp *.in *.c configure build-$*/
+	cd build-$* && ./configure --with-apxs=$(APXS2) \
+	            --with-python=/usr/bin/python$*
+
+build-%/build-stamp: build-%/config.status
+	dh_testdir
+	$(MAKE) -C build-$*
+	touch $@
+
+build: $(PYVERS:%=build-%/build-stamp)
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -rf build-*
+	dh_clean 
+
+install-clean:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+install-%: build-%/build-stamp
+	$(MAKE) -C build-$* DESTDIR=$(CURDIR)/debian/$(PACKAGE) install
+	mv $(CURDIR)/debian/$(PACKAGE)/usr/lib/apache2/modules/mod_wsgi.so \
+		$(CURDIR)/debian/$(PACKAGE)/usr/lib/apache2/modules/mod_wsgi.so-$*
+
+install: build install-clean $(PYVERS:%=install-%)
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_install
+	install -d -m 755 debian/$(PACKAGE)/usr/share/python/runtime.d
+	install -m 755 debian/*.rtupdate debian/$(PACKAGE)/usr/share/python/runtime.d/
+	dh_installman
+	dh_link usr/lib/apache2/modules/mod_wsgi.so-$(PYDEFAULT) usr/lib/apache2/modules/mod_wsgi.so
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	# Ugh, ignore libpython dependencies
+	( for i in $(PYVERS); do echo libpython$$i 1.0; done ) > debian/shlibs.local
+	dh_shlibdeps
+	rm -f debian/shlibs.local
+	# Generate dependencies manually as there are no public modules
+	echo 'python:Depends=python (>= $(PYMIN)), python (<< $(PYMAX))' \
+	     >> $(CURDIR)/debian/$(PACKAGE).substvars
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/mod-wsgi/tags/2.8-2/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: packages/mod-wsgi/tags/2.8-2/debian/watch
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/watch	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/watch	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,4 @@
+version=3
+
+opts="filenamemangle=s/.*\/mod_wsgi/mod-wsgi/,uversionmangle=s/([0-9.]*)([^0-9.].*)/$1~$2/" \
+http://code.google.com/p/modwsgi/downloads/list http://modwsgi.googlecode.com/files/mod_wsgi-([0-9.]*)\.tar\.gz

Added: packages/mod-wsgi/tags/2.8-2/debian/wsgi.conf
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/wsgi.conf	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/wsgi.conf	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1,71 @@
+<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
+
+
+    #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>

Added: packages/mod-wsgi/tags/2.8-2/debian/wsgi.load
===================================================================
--- packages/mod-wsgi/tags/2.8-2/debian/wsgi.load	                        (rev 0)
+++ packages/mod-wsgi/tags/2.8-2/debian/wsgi.load	2010-02-01 23:01:36 UTC (rev 11495)
@@ -0,0 +1 @@
+LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so




More information about the Python-modules-commits mailing list