[arch-commits] Commit in mediawiki/repos/community-any (6 files)

Levente Polyak anthraxx at archlinux.org
Wed Nov 15 09:13:44 UTC 2017


    Date: Wednesday, November 15, 2017 @ 09:13:39
  Author: anthraxx
Revision: 266850

archrelease: copy trunk to community-any

Added:
  mediawiki/repos/community-any/PKGBUILD
    (from rev 266849, mediawiki/trunk/PKGBUILD)
  mediawiki/repos/community-any/apache.example.conf
    (from rev 266849, mediawiki/trunk/apache.example.conf)
  mediawiki/repos/community-any/mediawiki.install
    (from rev 266849, mediawiki/trunk/mediawiki.install)
Deleted:
  mediawiki/repos/community-any/PKGBUILD
  mediawiki/repos/community-any/apache.example.conf
  mediawiki/repos/community-any/mediawiki.install

---------------------+
 PKGBUILD            |  159 +++++++++++++++++++++++++-------------------------
 apache.example.conf |   14 ++--
 mediawiki.install   |    8 --
 3 files changed, 90 insertions(+), 91 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-15 09:13:10 UTC (rev 266849)
+++ PKGBUILD	2017-11-15 09:13:39 UTC (rev 266850)
@@ -1,79 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgbase=mediawiki
-pkgname=('mediawiki' 'mediawiki-math')
-pkgver=1.29.1
-_basever=${pkgver%.*}
-_hash=05166d9
-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=('752cbe4ea9d3fb1a83ac34eaec0b7dd20fc29ab985d36a850e01acddd757b70e'
-            'SKIP'
-            '0cb5c4072346bbb9183bd2506b48a81eb790046cb957a2f7f827e3b9aa686c1b'
-            '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 266849, mediawiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-15 09:13:39 UTC (rev 266850)
@@ -0,0 +1,80 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgbase=mediawiki
+pkgname=('mediawiki' 'mediawiki-math')
+pkgver=1.29.2
+_basever=${pkgver%.*}
+_hash=05166d9
+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'
+              '1D98867E82982C8FE0ABC25F9B69B3109D3BB7B0')
+#	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=('17dad8a5e5088b14cd120736bbf6a9f8b560a2d458f3c939bd0011f041931e80'
+            'SKIP'
+            '0cb5c4072346bbb9183bd2506b48a81eb790046cb957a2f7f827e3b9aa686c1b'
+            '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-11-15 09:13:10 UTC (rev 266849)
+++ apache.example.conf	2017-11-15 09:13:39 UTC (rev 266850)
@@ -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 266849, mediawiki/trunk/apache.example.conf)
===================================================================
--- apache.example.conf	                        (rev 0)
+++ apache.example.conf	2017-11-15 09:13:39 UTC (rev 266850)
@@ -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-11-15 09:13:10 UTC (rev 266849)
+++ mediawiki.install	2017-11-15 09:13:39 UTC (rev 266850)
@@ -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 266849, mediawiki/trunk/mediawiki.install)
===================================================================
--- mediawiki.install	                        (rev 0)
+++ mediawiki.install	2017-11-15 09:13:39 UTC (rev 266850)
@@ -0,0 +1,3 @@
+post_upgrade() {
+  echo "-- Don't forget to run 'php maintenance/update.php' after upgrade"
+}


More information about the arch-commits mailing list