summaryrefslogtreecommitdiff
path: root/network/lighttpd/lighttpd.SlackBuild
diff options
context:
space:
mode:
authorDaniel de Kok <danieldk@pobox.com>2010-05-11 19:45:54 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:45:54 +0200
commit2e4da0964a8e9a99181261911874cef506d050ac (patch)
tree8074a3488609ec8556a12250060b894cae799532 /network/lighttpd/lighttpd.SlackBuild
parent636c1c24830e3370110ce101e5914e00fe4ec4ca (diff)
downloadslackbuilds-2e4da0964a8e9a99181261911874cef506d050ac.tar.gz
network/lighttpd: Updated for version 1.4.18
Diffstat (limited to 'network/lighttpd/lighttpd.SlackBuild')
-rw-r--r--network/lighttpd/lighttpd.SlackBuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/network/lighttpd/lighttpd.SlackBuild b/network/lighttpd/lighttpd.SlackBuild
index b60186d95a..f81427f25c 100644
--- a/network/lighttpd/lighttpd.SlackBuild
+++ b/network/lighttpd/lighttpd.SlackBuild
@@ -28,18 +28,17 @@
set -e
PRGNAM=lighttpd
-VERSION=1.4.15
+VERSION=1.4.18
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
## lighttpd user & group. *MUST* exist before package creation
# See http://slackbuilds.org/uid_gid.txt for current recomendations.
-# If you change this, please update httpd.conf.diff in patches directory.
LIGHTTPD_USER=lighttpd
LIGHTTPD_GROUP=lighttpd
@@ -55,9 +54,6 @@ if ! grep ^$LIGHTTPD_USER: /etc/passwd > /dev/null 2>&1; then
exit 1
fi
-
-
-
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
@@ -80,6 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib/$PRGNAM \
--sysconfdir=/etc \
--localstatedir=/var \
+ --mandir=/usr/man \
--with-pcre \
--with-attr \
--with-openssl
@@ -91,8 +88,6 @@ mkdir -p $PKG/var/{cache,log}/$PRGNAM
chmod 0700 $PKG/var/cache/lighttpd
mkdir -p $PKG/var/www/htdocs-lighttpd
touch $PKG/var/log/lighttpd/{access,error}.log
-mv $PKG/usr/share/man $PKG/usr/
-rmdir $PKG/usr/share
install -D -m 0755 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
install -D -m 0644 $CWD/$PRGNAM.conf $PKG/etc/$PRGNAM/$PRGNAM.conf.new
@@ -100,7 +95,7 @@ install -D -m 0644 $CWD/$PRGNAM.logrotate $PKG/etc/logrotate.d/lighttpd.new
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
- for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION