diff options
author | Jefferson Rocha <root@slackjeff.com.br> | 2021-01-29 01:27:52 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-01-30 10:29:14 +0700 |
commit | 59ee771597582c667b66157d82f7d6c9e6635b52 (patch) | |
tree | 401bac6ce54fce36ac86b07143020a533062f17e /network/dokuwiki | |
parent | 3949adcd0ed1d51fcd90f08a01be3b4a7d8512a8 (diff) |
network/dokuwiki: Add new info.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dokuwiki')
-rw-r--r-- | network/dokuwiki/README | 3 | ||||
-rw-r--r-- | network/dokuwiki/doinst.sh | 4 | ||||
-rw-r--r-- | network/dokuwiki/dokuwiki.SlackBuild | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/network/dokuwiki/README b/network/dokuwiki/README index 135a3e92340c..08789293b8f2 100644 --- a/network/dokuwiki/README +++ b/network/dokuwiki/README @@ -9,3 +9,6 @@ cases beyond a traditional wiki. If your default directory is not /var/www/htdocs please edit to your default directory. + +TEST Dokuwiki, Run in your favorite browser: +http://127.0.0.1/dokuwiki/ diff --git a/network/dokuwiki/doinst.sh b/network/dokuwiki/doinst.sh index 14d06020bc44..57a1536f0830 100644 --- a/network/dokuwiki/doinst.sh +++ b/network/dokuwiki/doinst.sh @@ -1,5 +1,7 @@ +# Remove comment sed -i "s:#Include /etc/httpd/mod_php.conf:Include /etc/httpd/mod_php.conf:g" etc/httpd/httpd.conf + +# If not exist line, send... grep -q -e 'Dokuwiki' etc/httpd/httpd.conf || cat >> etc/httpd/httpd.conf <<'EOF' -# Dokuwiki Include /etc/httpd/extra/httpd-dokuwiki.conf EOF diff --git a/network/dokuwiki/dokuwiki.SlackBuild b/network/dokuwiki/dokuwiki.SlackBuild index 2ea35762820e..9f7823b22868 100644 --- a/network/dokuwiki/dokuwiki.SlackBuild +++ b/network/dokuwiki/dokuwiki.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for dokuwiki # # Copyright 2016-2019 Giorgio Peron <giorgio.peron@gmail.com>, Belluno, Italy -# Copyright 2019-2020 Jefferson Rocha <root@slackjeff.com.br>, Curitiba, Brazil +# Copyright 2019-2021 Jefferson Rocha <root@slackjeff.com.br>, Curitiba, Brazil # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -50,6 +50,7 @@ mv $TMP/$PRGNAM-$SRCVERSION/* $PKG/var/www/htdocs/$PRGNAM/ chown -R apache:apache $PKG/var/www/htdocs/$PRGNAM/ mkdir -p $PKG/etc/httpd/extra +# Create in extra dokuwiki.conf cat > $PKG/etc/httpd/extra/httpd-dokuwiki.conf <<'EOF' Alias /dokuwiki /var/www/htdocs/dokuwiki <Directory /var/www/htdocs/dokuwiki/> |