diff options
Diffstat (limited to 'network/dokuwiki/dokuwiki.SlackBuild')
-rw-r--r-- | network/dokuwiki/dokuwiki.SlackBuild | 14 |
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 |