Date: Tuesday, January 21, 2020 @ 18:21:28 Author: spupykin Revision: 553312
archrelease: copy trunk to community-any Added: mediawiki/repos/community-any/PKGBUILD (from rev 553311, mediawiki/trunk/PKGBUILD) mediawiki/repos/community-any/apache.example.conf (from rev 553311, mediawiki/trunk/apache.example.conf) mediawiki/repos/community-any/mediawiki.install (from rev 553311, mediawiki/trunk/mediawiki.install) Deleted: mediawiki/repos/community-any/PKGBUILD mediawiki/repos/community-any/apache.example.conf mediawiki/repos/community-any/mediawiki.install ---------------------+ PKGBUILD | 162 +++++++++++++++++++++++++------------------------- apache.example.conf | 14 ++-- mediawiki.install | 6 - 3 files changed, 91 insertions(+), 91 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-01-21 18:21:14 UTC (rev 553311) +++ PKGBUILD 2020-01-21 18:21:28 UTC (rev 553312) @@ -1,81 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> - -pkgbase=mediawiki -#pkgname=('mediawiki' 'mediawiki-math') # temporary disabled math -pkgname=('mediawiki') -pkgver=1.34.0 -_basever=${pkgver%.*} -_hash=b976708 -pkgrel=1 -pkgdesc="MediaWiki engine" -arch=('any') -url="https://www.mediawiki.org/wiki/MediaWiki" -# + https://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-apcu: 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' - '1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0' - 'C83A8E4D3C8FEB7C8A3A1998131910E01605D9AA') -# 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=('de24c3deafb5d81e97652900021b68af8f0cd6ccbdf577564fb0f3aca09593d1' - 'SKIP' - '533c4f052bffafc1f1ea6b5b0a88cf363cdcfbaa6996ccb85f950635707e8e5e' - '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 553311, mediawiki/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-01-21 18:21:28 UTC (rev 553312) @@ -0,0 +1,81 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> + +pkgbase=mediawiki +pkgname=('mediawiki' 'mediawiki-math') +#pkgname=('mediawiki') +pkgver=1.34.0 +_basever=${pkgver%.*} +_hash=b1a022f +pkgrel=2 +pkgdesc="MediaWiki engine" +arch=('any') +url="https://www.mediawiki.org/wiki/MediaWiki" +# + https://www.mediawiki.org/wiki/Extension:Math +license=("GPL") +depends=('php') +makedepends=('git' 'texvc') +optdepends=('texvc: for math rendering' + '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-apcu: 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' + '1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0' + 'C83A8E4D3C8FEB7C8A3A1998131910E01605D9AA') +# 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=('de24c3deafb5d81e97652900021b68af8f0cd6ccbdf577564fb0f3aca09593d1' + 'SKIP' + '533c4f052bffafc1f1ea6b5b0a88cf363cdcfbaa6996ccb85f950635707e8e5e' + '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 + install -dm0755 "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math/math + ln -s /usr/bin/texvc "$pkgdir"/usr/share/webapps/mediawiki/extensions/Math/math/texvc +} Deleted: apache.example.conf =================================================================== --- apache.example.conf 2020-01-21 18:21:14 UTC (rev 553311) +++ apache.example.conf 2020-01-21 18:21:28 UTC (rev 553312) @@ -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 553311, mediawiki/trunk/apache.example.conf) =================================================================== --- apache.example.conf (rev 0) +++ apache.example.conf 2020-01-21 18:21:28 UTC (rev 553312) @@ -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 2020-01-21 18:21:14 UTC (rev 553311) +++ mediawiki.install 2020-01-21 18:21:28 UTC (rev 553312) @@ -1,3 +0,0 @@ -post_upgrade() { - echo "-- Don't forget to run 'php maintenance/update.php' after upgrade" -} Copied: mediawiki/repos/community-any/mediawiki.install (from rev 553311, mediawiki/trunk/mediawiki.install) =================================================================== --- mediawiki.install (rev 0) +++ mediawiki.install 2020-01-21 18:21:28 UTC (rev 553312) @@ -0,0 +1,3 @@ +post_upgrade() { + echo "-- Don't forget to run 'php maintenance/update.php' after upgrade" +}