From 70f8dc34b89d8f90d8f5d971ce072603ed314e8d Mon Sep 17 00:00:00 2001 From: slackjeff Date: Sat, 2 Sep 2023 13:53:09 +0900 Subject: network/dokuwiki: Updated for version 2023-04-04a. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- network/dokuwiki/dokuwiki.SlackBuild | 17 +++++++---------- network/dokuwiki/dokuwiki.info | 10 +++++----- 2 files changed, 12 insertions(+), 15 deletions(-) (limited to 'network/dokuwiki') diff --git a/network/dokuwiki/dokuwiki.SlackBuild b/network/dokuwiki/dokuwiki.SlackBuild index 28ee54bfb1..3c329e643d 100644 --- a/network/dokuwiki/dokuwiki.SlackBuild +++ b/network/dokuwiki/dokuwiki.SlackBuild @@ -4,6 +4,7 @@ # # Copyright 2016-2019 Giorgio Peron , Belluno, Italy # Copyright 2019-2021 Jefferson Rocha , Curitiba, Brazil +# Copyright 2021-2023 slackjeff # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -25,18 +26,14 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=dokuwiki -VERSION=${VERSION:-20200729} -UNPACK=${UNPACK:-stable} -SRCVERSION=${SRCVERSION:-2020-07-29} +VERSION=${VERSION:-20230404a} +SRCVERSION=${SRCVERSION:-2023-04-04a} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} ARCH=noarch -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -48,15 +45,14 @@ OUTPUT=${OUTPUT:-/tmp} set -e -mv ${PRGNAM}-${UNPACK}.tgz ${PRGNAM}-${SRCVERSION}.tgz rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERSION +rm -rf $PRGNAM-$VERSION tar xvzf $CWD/$PRGNAM-$SRCVERSION.tgz mkdir -p $PKG/var/www/htdocs/$PRGNAM -mv $TMP/$PRGNAM-$SRCVERSION/* $PKG/var/www/htdocs/$PRGNAM/ +mv $TMP/${PRGNAM}-${SRCVERSION}/* $PKG/var/www/htdocs/$PRGNAM/ chown -R apache:apache $PKG/var/www/htdocs/$PRGNAM/ mkdir -p $PKG/etc/httpd/extra @@ -79,7 +75,8 @@ EOF mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION # Move all docs -mv $PKG/var/www/htdocs/${PRGNAM}/{COPYING,README,VERSION} $PKG/usr/doc/$PRGNAM-$VERSION/ +mv -v $PKG/var/www/htdocs/${PRGNAM}/{COPYING,README,VERSION} $PKG/usr/doc/$PRGNAM-$VERSION/ +chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/dokuwiki/dokuwiki.info b/network/dokuwiki/dokuwiki.info index ff5714ca14..b746c2f55a 100644 --- a/network/dokuwiki/dokuwiki.info +++ b/network/dokuwiki/dokuwiki.info @@ -1,10 +1,10 @@ PRGNAM="dokuwiki" -VERSION="20200729" +VERSION="20230404a" HOMEPAGE="https://www.dokuwiki.org/dokuwiki" -DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" -MD5SUM="8867b6a5d71ecb5203402fe5e8fa18c9" +DOWNLOAD="https://download.dokuwiki.org/src/dokuwiki/dokuwiki-2023-04-04a.tgz" +MD5SUM="8a68393e689bf6d1130bfe660a19fc6b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Jefferson Rocha" -EMAIL="root@slackjeff.com.br" +MAINTAINER="slackjeff" +EMAIL="slackjeff@riseup.net" -- cgit v1.2.3-79-gdb01