diff options
-rw-r--r-- | development/flup/README | 7 | ||||
-rw-r--r-- | development/flup/flup.SlackBuild | 61 | ||||
-rw-r--r-- | development/flup/flup.info | 8 | ||||
-rw-r--r-- | development/flup/slack-desc | 19 |
4 files changed, 95 insertions, 0 deletions
diff --git a/development/flup/README b/development/flup/README new file mode 100644 index 0000000000..dc36bb9e32 --- /dev/null +++ b/development/flup/README @@ -0,0 +1,7 @@ +flup provides three sets of WSGI servers/gateways, which speak AJP, +FastCGI, and SCGI. Each server comes in two flavors, a threaded +and a forking version. + +Building this package requires pysetuptools, for which a SlackBuild +is available from SlackBuilds.org. + diff --git a/development/flup/flup.SlackBuild b/development/flup/flup.SlackBuild new file mode 100644 index 0000000000..071b6c1cfd --- /dev/null +++ b/development/flup/flup.SlackBuild @@ -0,0 +1,61 @@ +#!/bin/sh + +# Slackware build script for flup + +# Copyright (c) 2007 Daniel de Kok <moc.mikciat@leinad> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# Exit on most errors +set -e + +PRGNAM=flup +VERSION=0.5 +REVISION=r2311 +ARCH=${ARCH:-noarch} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xzvf $CWD/$PRGNAM-$REVISION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +python setup.py bdist + +tar -C $PKG -zxvf dist/$PRGNAM-$VERSION.linux-i686.tar.gz + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION.$REVISION +cp -a ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION.$REVISION +cat $CWD/$PRGNAM.SlackBuild > \ + $PKG/usr/doc/$PRGNAM-$VERSION.$REVISION/$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.$REVISION-$ARCH-$BUILD$TAG.tgz diff --git a/development/flup/flup.info b/development/flup/flup.info new file mode 100644 index 0000000000..ee449b66d7 --- /dev/null +++ b/development/flup/flup.info @@ -0,0 +1,8 @@ +PRGNAM="flup" +VERSION="0.5.r2311" +HOMEPAGE="http://trac.saddi.com/flup" +DOWNLOAD="http://www.saddi.com/software/flup/dist/flup-r2311.tar.gz" +MD5SUM="c54e0bc5877f1b612e8ac99a061598d4" +MAINTAINER="Daniel de Kok" +EMAIL="danieldk@pobox.com" +APPROVED="rworkman" diff --git a/development/flup/slack-desc b/development/flup/slack-desc new file mode 100644 index 0000000000..ec8bb3e2b4 --- /dev/null +++ b/development/flup/slack-desc @@ -0,0 +1,19 @@ +# 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------------------------------------------------------| +flup: flup (random assortment of WSGI modules) +flup: +flup: flup provides three sets of WSGI servers/gateways, which speak AJP, +flup: FastCGI, and SCGI. Each server comes in two flavors, a threaded +flup: and a forking version. +flup: +flup: The flup website can be found at: +flup: http://trac.saddi.com/flup +flup: +flup: +flup: |