debian/0000755000000000000000000000000012313577510007172 5ustar debian/libapache2-mod-wsgi-py3.postinst0000644000000000000000000000057712146126573015242 0ustar #!/bin/sh set -e update_symlink() { wsgi_py=`readlink /usr/lib/apache2/modules/mod_wsgi.so | sed 's,.*-,,'` py3_default=`dpkg -s python3 | grep '^Version' | sed 's,Version: \([^.]*.[^.]*\).*,\1,'` if [ ! "${wsgi_py}" = "${py3_default}" ]; then ln -sf mod_wsgi.so-${py3_default} /usr/lib/apache2/modules/mod_wsgi.so fi } update_symlink #DEBHELPER# exit 0 debian/compat0000644000000000000000000000000212145732631010370 0ustar 5 debian/libapache2-mod-wsgi-py3.apache20000644000000000000000000000005212146126573014646 0ustar mod debian/wsgi.load mod debian/wsgi.conf debian/rules0000755000000000000000000000562112201463573010255 0ustar #!/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}') PY3VERS=$(shell py3versions -vs) PY3DEFAULT=$(shell py3versions -dv) PY3MIN=$(shell echo $(PY3VERS) | awk '{print $$1}') PY3MAX=$(shell echo $(PY3VERS) | LANG=C awk '{print $$NF+0.1}') pkgdir = $(CURDIR)/debian/$(PACKAGE)$(if $(patsubst 3.%,,$(1)),,-py3) DPKG_EXPORT_BUILDFLAGS=1 include /usr/share/dpkg/buildflags.mk autoreconf-stamp: dh_autoreconf touch $@ 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: build-arch build-arch: autoreconf-stamp $(PYVERS:%=build-%/build-stamp) $(PY3VERS:%=build-%/build-stamp) build-indep: clean: dh_testdir dh_testroot rm -rf build-* dh_autoreconf_clean dh_clean rm -f autoreconf-stamp install-clean: dh_testdir dh_testroot dh_clean -k dh_installdirs install-%: build-%/build-stamp $(MAKE) -C build-$* DESTDIR=$(call pkgdir,$*) install mv $(call pkgdir,$*)/usr/lib/apache2/modules/mod_wsgi.so \ $(call pkgdir,$*)/usr/lib/apache2/modules/mod_wsgi.so-$* install: build install-clean $(PYVERS:%=install-%) $(PY3VERS:%=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 dh_apache2 install -d -m 755 debian/$(PACKAGE)/usr/share/python/runtime.d install -d -m 755 debian/$(PACKAGE)-py3/usr/share/python3/runtime.d install -m 755 debian/$(PACKAGE).rtupdate debian/$(PACKAGE)/usr/share/python/runtime.d/ install -m 755 debian/$(PACKAGE)-py3.rtupdate debian/$(PACKAGE)-py3/usr/share/python3/runtime.d/ dh_installman dh_link -p $(PACKAGE) /usr/lib/apache2/modules/mod_wsgi.so-$(PYDEFAULT) usr/lib/apache2/modules/mod_wsgi.so dh_link -p $(PACKAGE)-py3 /usr/lib/apache2/modules/mod_wsgi.so-$(PY3DEFAULT) usr/lib/apache2/modules/mod_wsgi.so dh_strip dh_compress dh_fixperms dh_installdeb # Ugh, ignore libpython dependencies ( for i in 2.4 2.5; 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 echo 'python3:Depends=python3 (>= $(PY3MIN)), python3 (<< $(PY3MAX))' \ >> $(CURDIR)/debian/$(PACKAGE)-py3.substvars dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/copyright0000644000000000000000000000214712145732631011131 0ustar This package was debianized by Bernd Zeimetz 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 Copyright: Copyright 2007-2010 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-2010, Bernd Zeimetz and is licensed under the Apache License, Version 2.0, see below. debian/libapache2-mod-wsgi.postinst0000644000000000000000000000057312146126573014525 0ustar #!/bin/sh set -e update_symlink() { wsgi_py=`readlink /usr/lib/apache2/modules/mod_wsgi.so | sed 's,.*-,,'` py_default=`dpkg -s python | grep '^Version' | sed 's,Version: \([^.]*.[^.]*\).*,\1,'` if [ ! "${wsgi_py}" = "${py_default}" ]; then ln -sf mod_wsgi.so-${py_default} /usr/lib/apache2/modules/mod_wsgi.so fi } update_symlink #DEBHELPER# exit 0 debian/source/0000755000000000000000000000000012145732631010472 5ustar debian/source/format0000644000000000000000000000001412145732631011700 0ustar 3.0 (quilt) debian/wsgi.load0000644000000000000000000000007412145732631011005 0ustar LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so debian/wsgi.conf0000644000000000000000000001167712145732631011026 0ustar #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:... #WSGIPythonEggs: Directory to use for Python eggs cache. # #Used to specify the directory to be used as the Python eggs cache #directory for all sub interpreters created within embedded mode. #This directive achieves the same affect as having set the #PYTHON_EGG_CACHE environment variable. #Note that the directory specified must exist and be writable by the user #that the Apache child processes run as. The directive only applies to #mod_wsgi embedded mode. To set the Python eggs cache directory for #mod_wsgi daemon processes, use the 'python-eggs' option to the #WSGIDaemonProcess directive instead. #WSGIPythonEggs directory #WSGIRestrictEmbedded: Enable restrictions on use of embedded mode. # #The WSGIRestrictEmbedded directive determines whether mod_wsgi embedded #mode is enabled or not. If set to 'On' and the restriction on embedded #mode is therefore enabled, any attempt to make a request against a #WSGI application which hasn't been properly configured so as to be #delegated to a daemon mode process will fail with a HTTP internal server #error response. #WSGIRestrictEmbedded On|Off #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 #WSGIImportScript: Specify a script file to be loaded on process start. # #The WSGIImportScript directive can be used to specify a script file to be #loaded when a process starts. Options must be provided to indicate the #name of the process group and the application group into which the script #will be loaded. #WSGIImportScript process-group=name application-group=name #WSGILazyInitialization: Enable/disable lazy initialisation of Python. # #The WSGILazyInitialization directives sets whether or not the Python #interpreter is preinitialised within the Apache parent process or whether #lazy initialisation is performed, and the Python interpreter only #initialised in the Apache server processes or mod_wsgi daemon processes #after they have forked from the Apache parent process. #WSGILazyInitialization On|Off debian/watch0000644000000000000000000000034512145732631010225 0ustar version=3 opts=\ downloadurlmangle=s|.*[?]name=(.*?)&.*|http://modwsgi.googlecode.com/files/$1|,\ filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ http://code.google.com/p/modwsgi/downloads/detail[?]name=mod_wsgi-([0-9.]+).tar.gz&.* debian/patches/0000755000000000000000000000000012201456016010612 5ustar debian/patches/series0000644000000000000000000000006012201453440012021 0ustar python-config.patch fix_crash_daemon_mode.patch debian/patches/python-config.patch0000644000000000000000000000525012146124311014417 0ustar Description: Query pythonX.Y-config instead of python-distutils to fix building against python3.3. Author: Dmitrijs Ledkovs Author: Felix Geyer Bug-Debian: http://bugs.debian.org/692390 --- a/configure.ac +++ b/configure.ac @@ -77,14 +77,8 @@ from distutils import sysconfig; \ stdout.write((sysconfig.get_config_var("VERSION")))'` -CPPFLAGS1=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ - stdout.write("-I" + sysconfig.get_config_var("INCLUDEPY"))'` - -CPPFLAGS2=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ - stdout.write(" ".join(filter(lambda x: x.startswith("-D"), \ - sysconfig.get_config_var("CFLAGS").split())))'` +CPPFLAGS1=`${PYTHON}-config --includes` +[CPPFLAGS2=`${PYTHON}-config --cflags | sed 's|^-[^D][^ ]*||g; s| -[^D][^ ]*||g; s|^ ||; s| *$||g'`] if test "${ENABLE_EMBEDDED}" != "yes"; then CPPFLAGS3="-DMOD_WSGI_DISABLE_EMBEDDED" @@ -113,32 +106,8 @@ from distutils import sysconfig; \ stdout.write(sysconfig.get_config_var("PYTHONFRAMEWORK"))'` -if test "${PYTHONFRAMEWORKDIR}" = "no-framework" -o \ - "${ENABLE_FRAMEWORK}" != "yes"; then - LDFLAGS1="-L${PYTHONLIBDIR}" - LDFLAGS2="-L${PYTHONCFGDIR}" - - LDLIBS1="-lpython${PYTHON_VERSION}" - LDLIBS2=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ - stdout.write(sysconfig.get_config_var("LIBS"))'` - LDLIBS3=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ - stdout.write(sysconfig.get_config_var("SYSLIBS"))'` -else - LDFLAGS1="-Wl,-F${PYTHONFRAMEWORKPREFIX} -framework ${PYTHONFRAMEWORK}" - - VERSION="${PYTHON_VERSION}" - STRING="${PYTHONFRAMEWORKDIR}/Versions/${VERSION}/${PYTHONFRAMEWORK}" - LDFLAGS2=`${PYTHON} -c "from sys import stdout; \ - from distutils import sysconfig; \ - stdout.write(sysconfig.get_config_var( - \"LINKFORSHARED\").replace(\"${STRING}\", ''))"` - - LDLIBS1=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ - stdout.write(sysconfig.get_config_var("LIBS"))'` -fi +[LDFLAGS1=`${PYTHON}-config --ldflags | sed 's|^-L[^ ]*||g; s| -L[^ ]*||g; s|^ ||; s| *$||g'`] +[LDLIBS1=`${PYTHON}-config --ldflags | sed 's|^-l[^ ]*||g; s| -l[^ ]*||g; s|^ ||; s| *$||g'`] CFLAGS1="" for arg in ${CFLAGS} @@ -157,8 +125,8 @@ fi CFLAGS="${CFLAGS1} ${CFLAGS2}" -LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS2} ${LDFLAGS3}" -LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2} ${LDLIBS3}" +LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS3}" +LDLIBS="${LDLIBS} ${LDLIBS1}" AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS) debian/patches/fix_crash_daemon_mode.patch0000644000000000000000000000124712201456016016134 0ustar Description: Scoreboard handle in daemon mode should be set to NULL for Apache 2.4 to avoid crash in lingering close. Origin: upstream, https://code.google.com/p/modwsgi/source/detail?r=20979c8abd2f722d210d419b96c85e46a36e2d75 Bug-Debian: http://bugs.debian.org/719304 --- a/mod_wsgi.c +++ b/mod_wsgi.c @@ -10599,7 +10599,13 @@ * will add their own input/output filters to the chain. */ +#if AP_MODULE_MAGIC_AT_LEAST(20110619,0) + /* For 2.4 a NULL sbh pointer should work. */ + sbh = NULL; +#else + /* For 2.2 a dummy sbh pointer is needed. */ ap_create_sb_handle(&sbh, p, -1, 0); +#endif c = (conn_rec *)apr_pcalloc(p, sizeof(conn_rec)); debian/libapache2-mod-wsgi-py3.rtupdate0000644000000000000000000000025612145732631015176 0ustar #!/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 debian/libapache2-mod-wsgi.rtupdate0000644000000000000000000000025612145732631014465 0ustar #!/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 debian/libapache2-mod-wsgi-py3.docs0000644000000000000000000000000712145732631014270 0ustar README debian/control0000644000000000000000000000342012201461671010570 0ustar Source: mod-wsgi Section: httpd Priority: optional Maintainer: Debian Python Modules Team Uploaders: Bernd Zeimetz , Felix Geyer Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.16.1~), python-all-dev, python3-all-dev, apache2-dev (>= 2.4), dh-autoreconf Homepage: http://www.modwsgi.org/ Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/mod-wsgi/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/mod-wsgi/trunk/ Package: libapache2-mod-wsgi Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} Provides: httpd-wsgi 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. . This package provides module for Python 2.X. Package: libapache2-mod-wsgi-py3 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends} Conflicts: libapache2-mod-wsgi Provides: httpd-wsgi Description: Python 3 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. . This package provides module for Python 3.X. debian/libapache2-mod-wsgi.apache20000644000000000000000000000005212146126573014135 0ustar mod debian/wsgi.load mod debian/wsgi.conf debian/libapache2-mod-wsgi.docs0000644000000000000000000000000712145732631013557 0ustar README debian/changelog0000644000000000000000000003621712313577504011060 0ustar mod-wsgi (3.4-4ubuntu2) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 16:35:04 +0100 mod-wsgi (3.4-4ubuntu1) trusty; urgency=medium * Build for Python 3.4. -- Matthias Klose Wed, 19 Feb 2014 20:30:06 +0200 mod-wsgi (3.4-4build1) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:31:23 +0000 mod-wsgi (3.4-4) unstable; urgency=low * Fix wsgi applications segfaulting when run in daemon mode under Apache 2.4. Thanks to Stephan Adig. (Closes: #719304) - Add fix_crash_daemon_mode.patch, cherry-picked from upstream. * Add myself as uploader. -- Felix Geyer Sat, 10 Aug 2013 18:17:01 +0200 mod-wsgi (3.4-3) unstable; urgency=low * Upload to unstable (python3 build dependency removed) * Remove myself from Uploaders -- Piotr Ożarowski Thu, 30 May 2013 19:28:43 +0200 mod-wsgi (3.4-2) experimental; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Felix Geyer ] * Fix building against python3.3. Thanks to Dmitrijs Ledkovs for the initial patch. (Closes: #692390) - Add python-config.patch to make configure.ac query pythonX.Y-config instead of python-distutils. * Add support for Apache 2.4. Thanks to Ondřej Surý for the patch. (Closes: #666818) * Export build flags using /usr/share/dpkg/buildflags.mk. * Bump Standards-Version to 3.9.4, no changes needed. [ Piotr Ożarowski ] * Add temporary python (>= 3.3) build dependency to make sure python3-defaults from experimental is used during build -- Piotr Ożarowski Tue, 21 May 2013 22:03:58 +0200 mod-wsgi (3.4-1) experimental; urgency=low * New upstream release. * d/p/python-3.2-compat.patch: Dropped, superseded by new release. -- Clint Byrum Thu, 23 Aug 2012 16:34:39 -0700 mod-wsgi (3.3-4) unstable; urgency=low [ James Page ] * Add a patch for Python 3.2 compatibility - debian/patches/python-3.2-compat.patch: full patch to support python >= 3.2 from Graham Dumpleton. * Converted to source/format "3.0 (quilt)" [ Piotr Ożarowski ] * Add build-arch and build-indep targets in debian/rules * Bump Standards-Version to 3.9.2 (no changes needed) -- Piotr Ożarowski Thu, 06 Oct 2011 20:38:03 +0200 mod-wsgi (3.3-2) unstable; urgency=low * Rebuild for Python 2.6.6 (Closes: #597915) -- Piotr Ożarowski Sun, 26 Sep 2010 22:45:52 +0200 mod-wsgi (3.3-1) unstable; urgency=low [ Sameer Rahmani ] * watch file fixed. [ Bernd Zeimetz ] * Ensure that the mod-wsgi symlink is updated to the current default Python version while installing/upgrading the package. This is only necessary in rare cases (when the default Python version was updated after the last rebuild of mod-wsgi), but it needs to be handled properly. [ Piotr Ożarowski ] * New upstream release * Move Python 3.X extension to new libapache2-mod-wsgi-py3 binary package * Provide httpd-wsgi (see #588497) * Bump Standards-Version to 3.9.1 (no changes needed) -- Piotr Ożarowski Wed, 18 Aug 2010 23:40:10 +0200 mod-wsgi (3.2-2) unstable; urgency=low * mod-wsgi needs to depend on libpython for Python > 2.5. (Closes: #580425) -- Bernd Zeimetz Wed, 12 May 2010 18:12:36 +0200 mod-wsgi (3.2-1) unstable; urgency=low * New upstream release * Build Python 3.X version of the module - python3-all-dev added to build dependencies -- Piotr Ożarowski Mon, 22 Mar 2010 20:05:19 +0100 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 Mon, 01 Feb 2010 21:03:25 +0100 mod-wsgi (3.1-1) experimental; urgency=low * New upstream release. * Update wsgi.conf example. -- Bernd Zeimetz Sat, 19 Dec 2009 12:59:50 +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 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 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 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 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 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 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 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 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 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 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 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 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 Fri, 14 Dec 2007 21:29:12 +0100 mod-wsgi (2.0~c3-1) experimental; urgency=low * New beta version. -- Bernd Zeimetz Sat, 17 Nov 2007 16:16:36 +0100 mod-wsgi (1.3-1) unstable; urgency=low * New upstream version -- Bernd Zeimetz 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 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 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 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 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 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 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 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 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 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 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 Tue, 31 Jul 2007 02:31:59 +0200 mod-wsgi (1.0~c1-1) unstable; urgency=low * Initial release (Closes: #415332) -- Bernd Zeimetz Mon, 30 Jul 2007 16:22:40 +0200