network/lighttpd2: Updated for version 20161130_6409698, cleanups.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2016-12-29 17:54:30 +01:00 committed by Willy Sudiarto Raharjo
parent 81a8cc1553
commit 15033873fb
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 12 additions and 12 deletions

View file

@ -26,13 +26,13 @@
# Twisted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org>
PRGNAM=lighttpd2
VERSION=${VERSION:-20151204_3a4698d}
VERSION=${VERSION:-20161130_6409698}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -62,8 +62,8 @@ elif ! grep -q ^$LIGHTTPD_USER: /etc/passwd 2>/dev/null ; then
bailout
fi
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -86,10 +86,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sh autogen.sh

View file

@ -1,8 +1,8 @@
PRGNAM="lighttpd2"
VERSION="20151204_3a4698d"
HOMEPAGE="http://www.lighttpd.net/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/lighttpd2-20151204_3a4698d.tar.xz"
MD5SUM="abda13a5e541dc9525e3a2712a2608ec"
VERSION="20161130_6409698"
HOMEPAGE="http://www.lighttpd.net"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/lighttpd2-20161130_6409698.tar.xz"
MD5SUM="ae237ffff30858ab398063ef30af9057"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libev lua ragel"