summaryrefslogtreecommitdiffstats
path: root/network/mod_wsgi
diff options
context:
space:
mode:
Diffstat (limited to 'network/mod_wsgi')
-rw-r--r--network/mod_wsgi/README9
-rw-r--r--network/mod_wsgi/mod_wsgi.SlackBuild18
-rw-r--r--network/mod_wsgi/mod_wsgi.info2
3 files changed, 20 insertions, 9 deletions
diff --git a/network/mod_wsgi/README b/network/mod_wsgi/README
index e2df1bbde7..d439795bb7 100644
--- a/network/mod_wsgi/README
+++ b/network/mod_wsgi/README
@@ -1,13 +1,14 @@
mod_wsgi is a simple to use Apache module which can host any Python
application which supports the Python WSGI interface. The module
-would be suitable for use in hosting high performance production
-web sites as well as your average personal sites running on commodity
-web hosting services.
+would be suitable for use in hosting high performance production web
+sites as well as your average personal sites running on commodity web
+hosting services.
All major Python web frameworks/applications support mod_wsgi,
including Django, Flask, Pyramid, TurboGears, ...
-You'll need to add the following line to your /etc/httpd/httpd.conf file:
+You'll need to add the following line to your /etc/httpd/httpd.conf
+file:
Include /etc/httpd/extra/mod_wsgi.conf
From version 4.2, mod_wsgi ships with additional helper program for
diff --git a/network/mod_wsgi/mod_wsgi.SlackBuild b/network/mod_wsgi/mod_wsgi.SlackBuild
index 3bc36b4cfa..a6d5fab13e 100644
--- a/network/mod_wsgi/mod_wsgi.SlackBuild
+++ b/network/mod_wsgi/mod_wsgi.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for mod_wsgi
#
@@ -25,20 +25,30 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=mod_wsgi
VERSION=${VERSION:-4.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -92,4 +102,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/mod_wsgi/mod_wsgi.info b/network/mod_wsgi/mod_wsgi.info
index 764760eb90..fa46ce633b 100644
--- a/network/mod_wsgi/mod_wsgi.info
+++ b/network/mod_wsgi/mod_wsgi.info
@@ -1,7 +1,7 @@
PRGNAM="mod_wsgi"
VERSION="4.4.6"
HOMEPAGE="http://www.modwsgi.org"
-DOWNLOAD="https://github.com/GrahamDumpleton/mod_wsgi/archive/4.4.6.tar.gz"
+DOWNLOAD="https://github.com/GrahamDumpleton/mod_wsgi/archive/4.4.6/mod_wsgi-4.4.6.tar.gz"
MD5SUM="bab68899e92a6ee328a02954a0818022"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""