summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-01-24 15:38:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:35 +0700
commit603df7205b8a90eb1d2c076c56c594c1ba7c0d5d (patch)
tree522c6d770e261944c22db13a6692a5abddf12036 /network
parentfecd721aa84174a5da68322752bdde08071dea63 (diff)
downloadslackbuilds-603df7205b8a90eb1d2c076c56c594c1ba7c0d5d.tar.gz
network/lighttpd2: Updated for version 20170102_ca44691.
Added the optional dependency libunwind Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/lighttpd2/README4
-rw-r--r--network/lighttpd2/lighttpd2.SlackBuild6
-rw-r--r--network/lighttpd2/lighttpd2.info6
3 files changed, 12 insertions, 4 deletions
diff --git a/network/lighttpd2/README b/network/lighttpd2/README
index 928e4e82dc..782b2bbbea 100644
--- a/network/lighttpd2/README
+++ b/network/lighttpd2/README
@@ -16,3 +16,7 @@ and groups, nor with any added by other SlackBuilds.org scripts.
Be sure to see README.SLACKWARE (in this directory, and also installed
with the package documentation) for configuration and setup
information.
+
+libunwind is an optional dependency (for backtraces on assert
+failures): after having it installed, build this passing the script
+the UNWIND=yes flag.
diff --git a/network/lighttpd2/lighttpd2.SlackBuild b/network/lighttpd2/lighttpd2.SlackBuild
index be6d537f34..d8ac043d37 100644
--- a/network/lighttpd2/lighttpd2.SlackBuild
+++ b/network/lighttpd2/lighttpd2.SlackBuild
@@ -26,7 +26,7 @@
# Twisted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org>
PRGNAM=lighttpd2
-VERSION=${VERSION:-20161130_6409698}
+VERSION=${VERSION:-20170102_ca44691}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,6 +76,9 @@ else
LIBDIRSUFFIX=""
fi
+UNWIND=${UNWIND:-"no"}
+if [ "$UNWIND" = "yes" ]; then unwind="--with-libunwind"; else unwind=""; fi
+
set -e
rm -rf $PKG
@@ -107,6 +110,7 @@ CXXFLAGS="$SLKCFLAGS" \
--with-bzip2 \
--with-gnutls \
--with-openssl \
+ $unwind \
--build=$ARCH-slackware-linux
make
diff --git a/network/lighttpd2/lighttpd2.info b/network/lighttpd2/lighttpd2.info
index de7a1a2bac..d77750a8e9 100644
--- a/network/lighttpd2/lighttpd2.info
+++ b/network/lighttpd2/lighttpd2.info
@@ -1,8 +1,8 @@
PRGNAM="lighttpd2"
-VERSION="20161130_6409698"
+VERSION="20170102_ca44691"
HOMEPAGE="http://www.lighttpd.net"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/lighttpd2-20161130_6409698.tar.xz"
-MD5SUM="ae237ffff30858ab398063ef30af9057"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/lighttpd2-20170102_ca44691.tar.xz"
+MD5SUM="86c7d4797569898e03a177e6b32417ae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libev lua ragel"