summaryrefslogtreecommitdiff
path: root/network/dokuwiki/dokuwiki.SlackBuild
diff options
context:
space:
mode:
authorJefferson Rocha <lrcjefferson@gmail.com>2018-07-12 23:42:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-14 06:55:55 +0700
commit92aed5a7bcf6667126d7d6cf0163ad90ccb07cbd (patch)
tree214f1a737a70a743120069acd9a2990b1fe70d51 /network/dokuwiki/dokuwiki.SlackBuild
parent898b2f3cb4eab6b3fc484219f6bce88a0b481ace (diff)
downloadslackbuilds-92aed5a7bcf6667126d7d6cf0163ad90ccb07cbd.tar.gz
network/dokuwiki: Updated for version 20180422a + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dokuwiki/dokuwiki.SlackBuild')
-rw-r--r--network/dokuwiki/dokuwiki.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/network/dokuwiki/dokuwiki.SlackBuild b/network/dokuwiki/dokuwiki.SlackBuild
index 02c65d6983..8c05776cec 100644
--- a/network/dokuwiki/dokuwiki.SlackBuild
+++ b/network/dokuwiki/dokuwiki.SlackBuild
@@ -22,8 +22,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=${PRGNAM:-dokuwiki}
-VERSION=${VERSION:-20160626a}
-SRCVERSION=${SRCVERSION:-2016-06-26a}
+VERSION=${VERSION:-20180422a}
+UNPACK=${UNPACK:-stable}
+SRCVERSION=${SRCVERSION:-2018-04-22a}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,6 +37,7 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
+mv ${PRGNAM}-${UNPACK}.tgz ${PRGNAM}-${SRCVERSION}.tgz
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -48,15 +50,15 @@ chown -R apache:apache $PKG/var/www/$PRGNAM/
mkdir -p $PKG/etc/httpd/extra
cat > $PKG/etc/httpd/extra/httpd-dokuwiki.conf <<'EOF'
-Alias /dokuwiki /srv/www/dokuwiki
-<Directory /srv/www/dokuwiki/>
+Alias /dokuwiki /var/www/htdocs/dokuwiki
+<Directory /var/www/htdocs/dokuwiki/>
DirectoryIndex index.php
Options +FollowSymLinks
AllowOverride All
Require all granted
- php_admin_value open_basedir "/srv/www/:/srv/www/dokuwiki/lib/"
+ php_admin_value open_basedir "/var/www/:/var/www/htdocs/dokuwiki/lib/"
</Directory>
-<LocationMatch "/srv/www/dokuwiki/(data|conf|bin|inc)/">
+<LocationMatch "/var/www/htdocs/dokuwiki/(data|conf|bin|inc)/">
order allow,deny
deny from all
satisfy all