diff options
Diffstat (limited to 'network/uwsgi/uwsgi.SlackBuild')
-rw-r--r-- | network/uwsgi/uwsgi.SlackBuild | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/network/uwsgi/uwsgi.SlackBuild b/network/uwsgi/uwsgi.SlackBuild index 3f0b4fbb84..19b9d249f4 100644 --- a/network/uwsgi/uwsgi.SlackBuild +++ b/network/uwsgi/uwsgi.SlackBuild @@ -1,10 +1,29 @@ #!/bin/sh # Slackware build script for uwsgi -# Written by Audrius Kažukauskas <audrius@neutrino.lt> + +# Copyright 2012-2013 Audrius Kažukauskas <audrius@neutrino.lt> +# 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. PRGNAM=uwsgi -VERSION=${VERSION:-1.2.3} +VERSION=${VERSION:-1.4.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,7 +93,7 @@ EOF # Build uWSGI core. CFLAGS="$SLKCFLAGS" \ python uwsgiconfig.py --build package -install -D -m 755 uwsgi $PKG/usr/bin/uwsgi +install -D -m 0755 uwsgi $PKG/usr/bin/uwsgi # Create directory for plugins. mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/uwsgi-$VERSION @@ -83,7 +102,7 @@ mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/uwsgi-$VERSION sed -i "s|= /usr|= $PKG/usr|" buildconf/package.ini # List of plugins to build. -PLUGINS="cache ping rpc fastrouter http ugreen signal syslog" +PLUGINS="cache ping rpc corerouter fastrouter http ugreen signal syslog" # Decide which language plugins to build. [ "$PYTHON" = "yes" ] && PLUGINS="$PLUGINS python" |