summaryrefslogtreecommitdiff
path: root/network/mod_python
diff options
context:
space:
mode:
Diffstat (limited to 'network/mod_python')
-rw-r--r--network/mod_python/README1
-rw-r--r--network/mod_python/mod_python.SlackBuild78
-rw-r--r--network/mod_python/mod_python.info10
-rw-r--r--network/mod_python/patch-2009-05-13.diff11
-rw-r--r--network/mod_python/slack-desc19
5 files changed, 0 insertions, 119 deletions
diff --git a/network/mod_python/README b/network/mod_python/README
deleted file mode 100644
index 28e1bdeb2b..0000000000
--- a/network/mod_python/README
+++ /dev/null
@@ -1 +0,0 @@
-mod_python is a Python module for Apache.
diff --git a/network/mod_python/mod_python.SlackBuild b/network/mod_python/mod_python.SlackBuild
deleted file mode 100644
index e7c9f3e8b2..0000000000
--- a/network/mod_python/mod_python.SlackBuild
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for mod_python
-
-# Writen by Ben-Richard Ebbesvik (brebbesvik@yahoo.no)
-
-PRGNAM=mod_python
-VERSION=3.3.1
-BUILD=${BUILD:-1}
-TAG=${TAG:-_SBo}
-
-# Automatically determine the architecture we're building on:
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
- *) ARCH=$( uname -m ) ;;
- esac
-fi
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION
-chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
-
-patch -p0 < $CWD/patch-2009-05-13.diff
-
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-apxs=/usr/sbin/apxs \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README NOTICE doc-html $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-
-cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/mod_python/mod_python.info b/network/mod_python/mod_python.info
deleted file mode 100644
index b81ee5a0df..0000000000
--- a/network/mod_python/mod_python.info
+++ /dev/null
@@ -1,10 +0,0 @@
-PRGNAM="mod_python"
-VERSION="3.3.1"
-HOMEPAGE="http://www.modpython.org/"
-DOWNLOAD="http://archive.apache.org/dist/httpd/modpython/mod_python-3.3.1.tgz"
-MD5SUM="a3b0150176b726bd2833dac3a7837dc5"
-DOWNLOAD_x86_64=""
-MD5SUM_x86_64=""
-REQUIRES=""
-MAINTAINER="Ben-Richard Ebbesvik"
-EMAIL="brebbesvik@yahoo.no"
diff --git a/network/mod_python/patch-2009-05-13.diff b/network/mod_python/patch-2009-05-13.diff
deleted file mode 100644
index c4dfdbe9e8..0000000000
--- a/network/mod_python/patch-2009-05-13.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/connobject.c 2006-12-03 05:36:37.000000000 +0100
-+++ src/connobject.c 2009-05-13 20:05:21.002672988 +0200
-@@ -139,7 +139,7 @@
- bytes_read = 0;
-
- while ((bytes_read < len || len == 0) &&
-- !(b == APR_BRIGADE_SENTINEL(b) ||
-+ !(b == APR_BRIGADE_SENTINEL(bb) ||
- APR_BUCKET_IS_EOS(b) || APR_BUCKET_IS_FLUSH(b))) {
-
- const char *data;
diff --git a/network/mod_python/slack-desc b/network/mod_python/slack-desc
deleted file mode 100644
index 928e5b35f0..0000000000
--- a/network/mod_python/slack-desc
+++ /dev/null
@@ -1,19 +0,0 @@
-# HOW TO EDIT THIS FILE:
-# The "handy ruler" below makes it easier to edit a package description. Line
-# up the first '|' above the ':' following the base package name, and the '|'
-# on the right side marks the last column you can put a character in. You must
-# make exactly 11 lines for the formatting to be correct. It's also
-# customary to leave one space after the ':'.
-
- |-----handy-ruler------------------------------------------------------|
-mod_python: mod_python (Python module for Apache)
-mod_python:
-mod_python: Python module for Apache.
-mod_python:
-mod_python: http://httpd.apache.org/modules/python-download.cgi
-mod_python:
-mod_python:
-mod_python:
-mod_python:
-mod_python:
-mod_python: