2 Prepend /omd/versions/X/lib/python to Python path
5 Handle the case during stopping of Apache where SIGTERM is
6 received while Python is currently running. Normally mod_python
7 will be caught be the signal and end in a deadlock. The patch
8 ignores the signal until the Python interpreter has exited and
9 simply exit the process afterwards.
12 Stop using the deprecated md5 module. Use hashlib instead.
13 This prevents a deprecation warning exception visible in apache
15 Patch: https://bugzilla.redhat.com/show_bug.cgi?format=multiple&id=526062
18 Prevents a deprecation warning:
20 lib/python/mod_python/util.py:119: DeprecationWarning: object.__init__() takes no parameters
21 str.__init__(self, value)
23 After my tests & searches the str.__init__(self, value) is useless and
24 can simply be commented out.
27 Makes mod_python compile with Apache 2.4 or newer. This patch has been
28 added to make mod_python compile for Ubuntu 13.10. The patch has been
29 taken from the libapache2-mod-python source package.
30 This patch is only applied when apache 2.4 or later is found.
32 The other patches are taken with thanks from the FEDORA mod_python
33 package and fix compile problems and RedHat 6.1 (and probably
34 other distros as well).