summaryrefslogtreecommitdiff
path: root/network/uwsgi/uwsgi.SlackBuild
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2013-02-09 12:50:47 -0600
committerErik Hanson <erik@slackbuilds.org>2013-02-14 00:26:51 -0600
commit90fd9703dfe0347359dd8e31ad800023df25a9b9 (patch)
tree92e02b82a4bca69352eacc6bd99e742b9c679306 /network/uwsgi/uwsgi.SlackBuild
parent099e237d2f8ece685a33ebb2820dc98b3f478c22 (diff)
downloadslackbuilds-90fd9703dfe0347359dd8e31ad800023df25a9b9.tar.gz
network/uwsgi: Updated for version 1.4.4.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/uwsgi/uwsgi.SlackBuild')
-rw-r--r--network/uwsgi/uwsgi.SlackBuild27
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"