summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/dokuwiki/README3
-rw-r--r--network/dokuwiki/dokuwiki.SlackBuild14
-rw-r--r--network/dokuwiki/dokuwiki.info10
3 files changed, 16 insertions, 11 deletions
diff --git a/network/dokuwiki/README b/network/dokuwiki/README
index 98b8e72e42..afddebc299 100644
--- a/network/dokuwiki/README
+++ b/network/dokuwiki/README
@@ -10,3 +10,6 @@ cases beyond a traditional wiki.
Note:
You must add this line in your httpd.conf to enable dokuwiki:
Include /etc/httpd/extra/httpd-dokuwiki.conf
+
+If your default directory is not /var/www/htdocs please
+edit to your default directory.
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
diff --git a/network/dokuwiki/dokuwiki.info b/network/dokuwiki/dokuwiki.info
index b264f9b0b8..e4346be0e6 100644
--- a/network/dokuwiki/dokuwiki.info
+++ b/network/dokuwiki/dokuwiki.info
@@ -1,10 +1,10 @@
PRGNAM="dokuwiki"
-VERSION="20160626a"
+VERSION="20180422a"
HOMEPAGE="https://www.dokuwiki.org/dokuwiki"
-DOWNLOAD="http://download.dokuwiki.org/src/dokuwiki/dokuwiki-2016-06-26a.tgz"
-MD5SUM="9b9ad79421a1bdad9c133e859140f3f2"
+DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz"
+MD5SUM="18765a29508f96f9882349a304bffc03"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Giorgio Peron"
-EMAIL="giorgio.peron@gmail.com"
+MAINTAINER="Jefferson Rocha"
+EMAIL="lrcjefferson@gmail.com"