aboutsummaryrefslogtreecommitdiff
path: root/network/dokuwiki/dokuwiki.SlackBuild
diff options
context:
space:
mode:
authorGiorgio Peron <giorgio.peron@gmail.com>2015-09-06 06:50:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-06 06:50:13 +0700
commitdb7300e8d4d69d03c5b48b83fc02fb832176f10e (patch)
treefca899a05232246032eb7562ab354d80b8cd64e1 /network/dokuwiki/dokuwiki.SlackBuild
parent6db7e9906c4012c70019030f7d8be0ef79838685 (diff)
network/dokuwiki: Updated for version 20150810a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dokuwiki/dokuwiki.SlackBuild')
-rw-r--r--network/dokuwiki/dokuwiki.SlackBuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/network/dokuwiki/dokuwiki.SlackBuild b/network/dokuwiki/dokuwiki.SlackBuild
index 13d2926e6ae3..89f16ce8b514 100644
--- a/network/dokuwiki/dokuwiki.SlackBuild
+++ b/network/dokuwiki/dokuwiki.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for dokuwiki
-# Copyright 2014 Giorgio Peron <giorgio.peron@gmail.com>, Campodarsego, PD, Italy
+# Copyright 2015 Giorgio Peron <giorgio.peron@gmail.com>, Campodarsego, PD, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,8 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=${PRGNAM:-dokuwiki}
-VERSION=${VERSION:-20140505a}
-SRCVERSION=${SRCVERSION:-2014-05-05a}
+VERSION=${VERSION:-20150810a}
+SRCVERSION=${SRCVERSION:-2015-08-10a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,11 +50,17 @@ mkdir -p $PKG/etc/httpd/extra
cat > $PKG/etc/httpd/extra/httpd-dokuwiki.conf <<'EOF'
Alias /dokuwiki /srv/www/dokuwiki
<Directory /srv/www/dokuwiki/>
+ DirectoryIndex index.php
Options +FollowSymLinks
AllowOverride All
Require all granted
php_admin_value open_basedir "/srv/www/:/srv/www/dokuwiki/lib/"
</Directory>
+<LocationMatch "/srv/www/dokuwiki/(data|conf|bin|inc)/">
+ order allow,deny
+ deny from all
+ satisfy all
+</LocationMatch>
EOF
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
@@ -62,6 +68,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}