wok-6.x diff mediawiki/receipt @ rev 21428
updated mediawiki (1.19.0 -> 1.32.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 26 17:30:33 2019 +0100 (2019-04-26) |
parents | 6e8b1bcb30e2 |
children | bfa214816a4c |
line diff
1.1 --- a/mediawiki/receipt Thu Jan 24 11:33:03 2019 +0100 1.2 +++ b/mediawiki/receipt Fri Apr 26 17:30:33 2019 +0100 1.3 @@ -1,25 +1,29 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mediawiki" 1.7 -VERSION="1.19.0" 1.8 +VERSION="1.32.0" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="MediaWiki engine" 1.11 +SHORT_DESC="MediaWiki engine." 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="GPL2" 1.14 WEB_SITE="https://www.mediawiki.org/wiki/MediaWiki" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WGET_URL="http://download.wikimedia.org/mediawiki/${VERSION:0:4}/$TARBALL" 1.18 +WGET_URL="http://download.wikimedia.org/mediawiki/${VERSION%.*}/$TARBALL" 1.19 1.20 DEPENDS="php" 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 genpkg_rules() 1.24 { 1.25 - mkdir -p $fs/usr/share/webapps $fs/etc/webapps/mediawiki 1.26 + mkdir -p $fs/usr/share/webapps 1.27 + mkdir -p $fs/etc/webapps/mediawiki 1.28 + 1.29 cp -a $src $fs/usr/share/webapps/mediawiki 1.30 - sed -i -e 's#is_executable#is_file#' -e 's#is_executable#is_file#'$fs/includes/Math.php 1.31 + sed -i -e 's#is_executable#is_file#' $fs/includes/Math.php 1.32 echo "deny from all" >> $fs/etc/webapps/mediawiki/.htaccess 1.33 ln -sf /etc/webapps/mediawiki/.htaccess $fs/usr/share/webapps/mediawiki/.htaccess 1.34 + 1.35 # move cache and images to /var 1.36 install -vdm0755 -o www -g www $fs/var/cache/mediawiki 1.37 install -vdm0755 -o www -g www $fs/var/lib/mediawiki