mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
network/dokuwiki: Updated for version 20200729.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
e693868bdf
commit
4a9f069877
3 changed files with 9 additions and 11 deletions
|
@ -7,9 +7,5 @@ useful in the enterprise context and the large number of plugins
|
||||||
contributed by its vibrant community allow for a broad range of use
|
contributed by its vibrant community allow for a broad range of use
|
||||||
cases beyond a traditional wiki.
|
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
|
If your default directory is not /var/www/htdocs please
|
||||||
edit to your default directory.
|
edit to your default directory.
|
||||||
|
|
|
@ -23,9 +23,9 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=dokuwiki
|
PRGNAM=dokuwiki
|
||||||
VERSION=${VERSION:-20180422c}
|
VERSION=${VERSION:-20200729}
|
||||||
UNPACK=${UNPACK:-stable}
|
UNPACK=${UNPACK:-stable}
|
||||||
SRCVERSION=${SRCVERSION:-2018-04-22c}
|
SRCVERSION=${SRCVERSION:-2020-07-29}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -45,9 +45,9 @@ cd $TMP
|
||||||
rm -rf $PRGNAM-$SRCVERSION
|
rm -rf $PRGNAM-$SRCVERSION
|
||||||
tar xvzf $CWD/$PRGNAM-$SRCVERSION.tgz
|
tar xvzf $CWD/$PRGNAM-$SRCVERSION.tgz
|
||||||
|
|
||||||
mkdir -p $PKG/var/www/$PRGNAM
|
mkdir -p $PKG/var/www/htdocs/$PRGNAM
|
||||||
mv $TMP/$PRGNAM-$SRCVERSION/* $PKG/var/www/$PRGNAM/
|
mv $TMP/$PRGNAM-$SRCVERSION/* $PKG/var/www/htdocs/$PRGNAM/
|
||||||
chown -R apache:apache $PKG/var/www/$PRGNAM/
|
chown -R apache:apache $PKG/var/www/htdocs/$PRGNAM/
|
||||||
mkdir -p $PKG/etc/httpd/extra
|
mkdir -p $PKG/etc/httpd/extra
|
||||||
|
|
||||||
cat > $PKG/etc/httpd/extra/httpd-dokuwiki.conf <<'EOF'
|
cat > $PKG/etc/httpd/extra/httpd-dokuwiki.conf <<'EOF'
|
||||||
|
@ -67,6 +67,8 @@ Alias /dokuwiki /var/www/htdocs/dokuwiki
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
# Move all docs
|
||||||
|
mv $PKG/var/www/htdocs/${PRGNAM}/{COPYING,README,VERSION} $PKG/usr/doc/$PRGNAM-$VERSION/
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="dokuwiki"
|
PRGNAM="dokuwiki"
|
||||||
VERSION="20180422c"
|
VERSION="20200729"
|
||||||
HOMEPAGE="https://www.dokuwiki.org/dokuwiki"
|
HOMEPAGE="https://www.dokuwiki.org/dokuwiki"
|
||||||
DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz"
|
DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz"
|
||||||
MD5SUM="6272e552b9a71a764781bd4182dd2b7d"
|
MD5SUM="8867b6a5d71ecb5203402fe5e8fa18c9"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in a new issue