[arch-commits] Commit in mediawiki/repos/community-any (6 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Apr 9 16:49:39 UTC 2021
Date: Friday, April 9, 2021 @ 16:49:39
Author: spupykin
Revision: 915265
archrelease: copy trunk to community-any
Added:
mediawiki/repos/community-any/PKGBUILD
(from rev 915264, mediawiki/trunk/PKGBUILD)
mediawiki/repos/community-any/apache.example.conf
(from rev 915264, mediawiki/trunk/apache.example.conf)
mediawiki/repos/community-any/mediawiki.install
(from rev 915264, mediawiki/trunk/mediawiki.install)
Deleted:
mediawiki/repos/community-any/PKGBUILD
mediawiki/repos/community-any/apache.example.conf
mediawiki/repos/community-any/mediawiki.install
---------------------+
PKGBUILD | 168 +++++++++++++++++++++++++-------------------------
apache.example.conf | 14 ++--
mediawiki.install | 6 -
3 files changed, 94 insertions(+), 94 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-09 16:49:20 UTC (rev 915264)
+++ PKGBUILD 2021-04-09 16:49:39 UTC (rev 915265)
@@ -1,84 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgbase=mediawiki
-pkgname=('mediawiki' 'mediawiki-math')
-#pkgname=('mediawiki')
-pkgver=1.35.1
-_basever=${pkgver%.*}
-_hash=b5a8f57
-pkgrel=2
-pkgdesc="MediaWiki engine"
-arch=('any')
-url="https://www.mediawiki.org/wiki/MediaWiki"
-# + https://www.mediawiki.org/wiki/Extension:Math
-license=("GPL")
-depends=('php7')
-makedepends=('git' 'texvc')
-optdepends=('texvc: for math rendering'
- 'pcre: for regular expressions support'
- 'php7-intl: to handle Unicode normalization'
-# 'php7-mysql: for MySQL database support'
- 'php7-pgsql: for PostgreSQL database support'
- 'php7-sqlite: for sqlite database support'
-# 'php7-apcu: for cache support'
-# 'php7-xcache: for cache support'
- 'memcached: for cache support'
- 'php7-gd: for thumbnails rendering'
- 'imagemagick: for thumbnails rendering'
- 'smtp-forwarder: for mail sending'
- 'python: required for SyntaxHighlight/ConfirmEdit extensions'
- 'perl: compare_schemas.pl and mediawiki_mysql2postgres.pl')
-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=('8e65a61d4a16ea6f3e60a2828483f8d50047b89f94f1313fcc2da113fdabe315'
- 'SKIP'
- '892b6ae2896d2fa5ec0600ab1628f5ca27d957aa377dcf975f24e53ebf8af41b'
- '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 33 -g 33 "$pkgdir"/var/cache/mediawiki
- install -vdm0755 -o 33 -g 33 "$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')
- optdepends=('texvc')
- 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
-}
Copied: mediawiki/repos/community-any/PKGBUILD (from rev 915264, mediawiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-09 16:49:39 UTC (rev 915265)
@@ -0,0 +1,84 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgbase=mediawiki
+pkgname=('mediawiki' 'mediawiki-math')
+#pkgname=('mediawiki')
+pkgver=1.35.2
+_basever=${pkgver%.*}
+_hash=f849125
+pkgrel=1
+pkgdesc="MediaWiki engine"
+arch=('any')
+url="https://www.mediawiki.org/wiki/MediaWiki"
+# + https://www.mediawiki.org/wiki/Extension:Math
+license=("GPL")
+depends=('php7')
+makedepends=('git' 'texvc')
+optdepends=('texvc: for math rendering'
+ 'pcre: for regular expressions support'
+ 'php7-intl: to handle Unicode normalization'
+# 'php7-mysql: for MySQL database support'
+ 'php7-pgsql: for PostgreSQL database support'
+ 'php7-sqlite: for sqlite database support'
+# 'php7-apcu: for cache support'
+# 'php7-xcache: for cache support'
+ 'memcached: for cache support'
+ 'php7-gd: for thumbnails rendering'
+ 'imagemagick: for thumbnails rendering'
+ 'smtp-forwarder: for mail sending'
+ 'python: required for SyntaxHighlight/ConfirmEdit extensions'
+ 'perl: compare_schemas.pl and mediawiki_mysql2postgres.pl')
+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=('bffa58d9b76667d4131b4b46f106ba0008d85d60a18c70b674cc322a24818c1d'
+ 'SKIP'
+ '524b50c0ab7f149f5f3f09e08dc69f815f1ea0ef1602b43deba6e87983df7414'
+ '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 33 -g 33 "$pkgdir"/var/cache/mediawiki
+ install -vdm0755 -o 33 -g 33 "$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')
+ optdepends=('texvc')
+ 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 2021-04-09 16:49:20 UTC (rev 915264)
+++ apache.example.conf 2021-04-09 16:49:39 UTC (rev 915265)
@@ -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 915264, mediawiki/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2021-04-09 16:49:39 UTC (rev 915265)
@@ -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 2021-04-09 16:49:20 UTC (rev 915264)
+++ mediawiki.install 2021-04-09 16:49:39 UTC (rev 915265)
@@ -1,3 +0,0 @@
-post_upgrade() {
- echo "-- Don't forget to run 'php7 maintenance/update.php' after upgrade"
-}
Copied: mediawiki/repos/community-any/mediawiki.install (from rev 915264, mediawiki/trunk/mediawiki.install)
===================================================================
--- mediawiki.install (rev 0)
+++ mediawiki.install 2021-04-09 16:49:39 UTC (rev 915265)
@@ -0,0 +1,3 @@
+post_upgrade() {
+ echo "-- Don't forget to run 'php7 maintenance/update.php' after upgrade"
+}
More information about the arch-commits
mailing list