diff options
author | James Mills <prologic@daisy.(none)> | 2006-11-14 09:01:22 +1000 |
---|---|---|
committer | James Mills <prologic@daisy.(none)> | 2006-11-14 09:01:22 +1000 |
commit | 70006e31d25693aa65fc985124ce9babbd3347fc (patch) | |
tree | f5d0078562a07b6fe3a22a630ea5310561d9b538 /mod_python | |
parent | 797dcbebf82a5cee45294314ddd587d3a847932f (diff) | |
download | contrib-70006e31d25693aa65fc985124ce9babbd3347fc.tar.gz contrib-70006e31d25693aa65fc985124ce9babbd3347fc.tar.xz |
Imported from old-control
Diffstat (limited to 'mod_python')
-rw-r--r-- | mod_python/.footprint | 41 | ||||
-rw-r--r-- | mod_python/.md5sum | 2 | ||||
-rw-r--r-- | mod_python/Pkgfile | 24 | ||||
-rw-r--r-- | mod_python/configure.patch | 11 |
4 files changed, 78 insertions, 0 deletions
diff --git a/mod_python/.footprint b/mod_python/.footprint new file mode 100644 index 000000000..b2c0a6a8d --- /dev/null +++ b/mod_python/.footprint @@ -0,0 +1,41 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/apache/ +-rwxr-xr-x root/root usr/lib/apache/mod_python.so +drwxr-xr-x root/root usr/lib/python2.4/ +drwxr-xr-x root/root usr/lib/python2.4/site-packages/ +drwxr-xr-x root/root usr/lib/python2.4/site-packages/mod_python/ +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/Cookie.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/Cookie.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/Cookie.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/Session.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/Session.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/Session.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/__init__.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/__init__.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/__init__.pyo +-rwxr-xr-x root/root usr/lib/python2.4/site-packages/mod_python/_psp.so +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/apache.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/apache.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/apache.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/cache.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/cache.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/cache.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/cgihandler.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/cgihandler.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/cgihandler.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/psp.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/psp.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/psp.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/publisher.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/publisher.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/publisher.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/python22.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/python22.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/python22.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/testhandler.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/testhandler.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/testhandler.pyo +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/util.py +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/util.pyc +-rw-r--r-- root/root usr/lib/python2.4/site-packages/mod_python/util.pyo diff --git a/mod_python/.md5sum b/mod_python/.md5sum new file mode 100644 index 000000000..dd64351e7 --- /dev/null +++ b/mod_python/.md5sum @@ -0,0 +1,2 @@ +525647983569a57ae3a002a2006c7dc7 configure.patch +d03452979a6a334f73cc2b95b39db331 mod_python-3.2.8.tgz diff --git a/mod_python/Pkgfile b/mod_python/Pkgfile new file mode 100644 index 000000000..4e70ab34d --- /dev/null +++ b/mod_python/Pkgfile @@ -0,0 +1,24 @@ +# $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $ +# Description: Apache module that embeds the Python interpreter. +# URL: http://www.modpython.org +# Maintainer: James Mills prologic at shortcircuit dot net dot au +# Packager: James Mills prologic at shortcircuit dot net dot au +# Depends on: apache, python + +name=mod_python +version=3.2.8 +release=2 +source=(http://www.apache.org/dist/httpd/modpython/$name-$version.tgz \ + configure.patch) + +build () { + cd $name-$version + patch -p1 -i $SRC/configure.patch configure + + ./configure \ + --prefix=/usr \ + --with-apxs=/usr/sbin/apxs + + make && make DESTDIR=$PKG install + chown -R root:root $PKG +} diff --git a/mod_python/configure.patch b/mod_python/configure.patch new file mode 100644 index 000000000..afa123065 --- /dev/null +++ b/mod_python/configure.patch @@ -0,0 +1,11 @@ +--- mod_python-3.2.8.orig/configure 2006-07-22 15:27:04.000000000 +1000 ++++ mod_python-3.2.8/configure 2006-07-22 15:27:28.000000000 +1000 +@@ -3035,7 +3035,7 @@ + # get the mod_python version + + MP_VERSION=`awk '/MPV_STRING/ {print $3}' src/include/mpversion.h` +-MP_VERSION=`echo $MP_VERSION | sed s/\\"//g` ++MP_VERSION=`echo $MP_VERSION | tr -d '"'` + + # get --with-python-src. The python src is required to generate the documentation + # It is not required to compile or install mod_python itself |