Date: Friday, April 7, 2017 @ 09:09:38 Author: spupykin Revision: 221207
archrelease: copy trunk to community-any Added: mediawiki/repos/community-any/PKGBUILD (from rev 221206, mediawiki/trunk/PKGBUILD) mediawiki/repos/community-any/apache.example.conf (from rev 221206, mediawiki/trunk/apache.example.conf) mediawiki/repos/community-any/mediawiki.install (from rev 221206, mediawiki/trunk/mediawiki.install) Deleted: mediawiki/repos/community-any/PKGBUILD mediawiki/repos/community-any/apache.example.conf mediawiki/repos/community-any/mediawiki.install ---------------------+ PKGBUILD | 158 +++++++++++++++++++++++++------------------------- apache.example.conf | 14 ++-- mediawiki.install | 10 +-- 3 files changed, 91 insertions(+), 91 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-04-07 09:09:26 UTC (rev 221206) +++ PKGBUILD 2017-04-07 09:09:38 UTC (rev 221207) @@ -1,79 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgbase=mediawiki -pkgname=('mediawiki' 'mediawiki-math') -pkgver=1.28.0 -_basever=${pkgver%.*} -_hash=b6699f8 -pkgrel=1 -pkgdesc="MediaWiki engine" -arch=('any') -url="http://www.mediawiki.org/wiki/MediaWiki" -# + http://www.mediawiki.org/wiki/Extension:Math -license=("GPL") -depends=('php') -makedepends=('git') -optdepends=('texvc: for math rendering' - 'python2' - 'pcre: for regular expressions support' - 'php-intl: to handle Unicode normalization' -# 'php-mysql: for MySQL database support' - 'php-pgsql: for PostgreSQL database support' - 'php-sqlite: for sqlite database support' - 'php-apc: for cache support' - 'php-xcache: for cache support' - 'memcached: for cache support' - 'php-gd: for thumbnails rendering' - 'imagemagick: for thumbnails rendering' - 'smtp-forwarder: for mail sending') -install=mediawiki.install -options=(!strip) -validpgpkeys=('41B2ABE817ADD3E52BDA946F72BC1C5D23107F8A') -# mediawiki-math-${_basever}::git+https://git.wikimedia.org/git/mediawiki/extensions/Math.git#branch=REL${_basever/./_} -source=("https://releases.wikimedia.org/mediawiki/${_basever}/mediawiki-$pkgver.tar.gz"{,.sig} - "mediawiki-math-${_basever}.tar.gz::https://codeload.github.com/wikimedia/mediawiki-extensions-Math/legacy.tar.gz/REL${_basever/./_}" - apache.example.conf) -sha256sums=('d1b8cdbb435bf59da8f518b05277cc9a6b35d3bf16e27e8bb49ebcfa7d7f8471' - 'SKIP' - '67001b64fcd577aca302c7e623cc38be7c3c3afc6642da69c7b9971c6e7c7ae2' - 'cfeff68331e930b6a93f166c12666ac59a84aa24334f94520eff3f988f37ce2b') - -package_mediawiki() { - cd "$srcdir" - install -vdm0755 "$pkgdir"/usr/share/webapps - install -vdm0755 "$pkgdir"/etc/webapps/mediawiki - cp -a $pkgname-$pkgver "$pkgdir"/usr/share/webapps/mediawiki - - install -vDm0644 "$srcdir"/apache.example.conf "$pkgdir"/etc/webapps/mediawiki/apache.example.conf - - # move cache and images to /var - install -vdm0755 -o http -g http "$pkgdir"/var/cache/mediawiki - install -vdm0755 -o http -g http "$pkgdir"/var/lib/mediawiki - - cd "$pkgdir"/usr/share/webapps/mediawiki - - mv cache/.htaccess "$pkgdir"/var/cache/mediawiki/ - rmdir cache - ln -sf /var/cache/mediawiki cache - - mv images/* "$pkgdir"/var/lib/mediawiki/ - mv images/.htaccess "$pkgdir"/var/lib/mediawiki/ - rmdir images - ln -sf /var/lib/mediawiki images -} - -package_mediawiki-math() { - depends=('mediawiki' 'texvc') - optdepends=() - backup=() - pkgdesc="MediaWiki math extension" - unset install - - cd "$srcdir" - install -vdm0755 "$pkgdir"/usr/share/webapps/mediawiki/extensions -# cp -a mediawiki-math-${_basever} "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math - cp -a wikimedia-mediawiki-extensions-Math-${_hash} "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math - ln -s /usr/bin/texvc "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math/math/texvc -} Copied: mediawiki/repos/community-any/PKGBUILD (from rev 221206, mediawiki/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-04-07 09:09:38 UTC (rev 221207) @@ -0,0 +1,79 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgbase=mediawiki +pkgname=('mediawiki' 'mediawiki-math') +pkgver=1.28.1 +_basever=${pkgver%.*} +_hash=1097ee7 +pkgrel=1 +pkgdesc="MediaWiki engine" +arch=('any') +url="http://www.mediawiki.org/wiki/MediaWiki" +# + http://www.mediawiki.org/wiki/Extension:Math +license=("GPL") +depends=('php') +makedepends=('git') +optdepends=('texvc: for math rendering' + 'python2' + 'pcre: for regular expressions support' + 'php-intl: to handle Unicode normalization' +# 'php-mysql: for MySQL database support' + 'php-pgsql: for PostgreSQL database support' + 'php-sqlite: for sqlite database support' + 'php-apc: for cache support' + 'php-xcache: for cache support' + 'memcached: for cache support' + 'php-gd: for thumbnails rendering' + 'imagemagick: for thumbnails rendering' + 'smtp-forwarder: for mail sending') +install=mediawiki.install +options=(!strip) +validpgpkeys=('41B2ABE817ADD3E52BDA946F72BC1C5D23107F8A') +# mediawiki-math-${_basever}::git+https://git.wikimedia.org/git/mediawiki/extensions/Math.git#branch=REL${_basever/./_} +source=("https://releases.wikimedia.org/mediawiki/${_basever}/mediawiki-$pkgver.tar.gz"{,.sig} + "mediawiki-math-${_basever}.tar.gz::https://codeload.github.com/wikimedia/mediawiki-extensions-Math/legacy.tar.gz/REL${_basever/./_}" + apache.example.conf) +sha256sums=('69d15d2403304837f5afb32dc5a14d369f9ebcdb6206a91b7ec272ceab2c76e5' + 'SKIP' + '554d61a1d4ea383687dbdebd5c8b715cd846e9ca3f3e32e124a5559f7e0a5b76' + 'cfeff68331e930b6a93f166c12666ac59a84aa24334f94520eff3f988f37ce2b') + +package_mediawiki() { + cd "$srcdir" + install -vdm0755 "$pkgdir"/usr/share/webapps + install -vdm0755 "$pkgdir"/etc/webapps/mediawiki + cp -a $pkgname-$pkgver "$pkgdir"/usr/share/webapps/mediawiki + + install -vDm0644 "$srcdir"/apache.example.conf "$pkgdir"/etc/webapps/mediawiki/apache.example.conf + + # move cache and images to /var + install -vdm0755 -o http -g http "$pkgdir"/var/cache/mediawiki + install -vdm0755 -o http -g http "$pkgdir"/var/lib/mediawiki + + cd "$pkgdir"/usr/share/webapps/mediawiki + + mv cache/.htaccess "$pkgdir"/var/cache/mediawiki/ + rmdir cache + ln -sf /var/cache/mediawiki cache + + mv images/* "$pkgdir"/var/lib/mediawiki/ + mv images/.htaccess "$pkgdir"/var/lib/mediawiki/ + rmdir images + ln -sf /var/lib/mediawiki images +} + +package_mediawiki-math() { + depends=('mediawiki' 'texvc') + optdepends=() + backup=() + pkgdesc="MediaWiki math extension" + unset install + + cd "$srcdir" + install -vdm0755 "$pkgdir"/usr/share/webapps/mediawiki/extensions +# cp -a mediawiki-math-${_basever} "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math + cp -a wikimedia-mediawiki-extensions-Math-${_hash} "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math + ln -s /usr/bin/texvc "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math/math/texvc +} Deleted: apache.example.conf =================================================================== --- apache.example.conf 2017-04-07 09:09:26 UTC (rev 221206) +++ apache.example.conf 2017-04-07 09:09:38 UTC (rev 221207) @@ -1,7 +0,0 @@ -Alias /mediawiki "/usr/share/webapps/mediawiki" -php_admin_value open_basedir "/usr/share/webapps/:/tmp/:/usr/bin/" -<Directory "/usr/share/webapps/mediawiki"> - AllowOverride All - Options FollowSymlinks - Require all granted -</Directory> Copied: mediawiki/repos/community-any/apache.example.conf (from rev 221206, mediawiki/trunk/apache.example.conf) =================================================================== --- apache.example.conf (rev 0) +++ apache.example.conf 2017-04-07 09:09:38 UTC (rev 221207) @@ -0,0 +1,7 @@ +Alias /mediawiki "/usr/share/webapps/mediawiki" +php_admin_value open_basedir "/usr/share/webapps/:/tmp/:/usr/bin/" +<Directory "/usr/share/webapps/mediawiki"> + AllowOverride All + Options FollowSymlinks + Require all granted +</Directory> Deleted: mediawiki.install =================================================================== --- mediawiki.install 2017-04-07 09:09:26 UTC (rev 221206) +++ mediawiki.install 2017-04-07 09:09:38 UTC (rev 221207) @@ -1,5 +0,0 @@ -post_upgrade() { - echo "-- Don't forget to run 'php maintenance/update.php' after upgrade" - echo "-- Mediawiki is in /usr/share/webapps now" - echo "-- Mediawiki-math is separate package now" -} Copied: mediawiki/repos/community-any/mediawiki.install (from rev 221206, mediawiki/trunk/mediawiki.install) =================================================================== --- mediawiki.install (rev 0) +++ mediawiki.install 2017-04-07 09:09:38 UTC (rev 221207) @@ -0,0 +1,5 @@ +post_upgrade() { + echo "-- Don't forget to run 'php maintenance/update.php' after upgrade" + echo "-- Mediawiki is in /usr/share/webapps now" + echo "-- Mediawiki-math is separate package now" +}