[arch-commits] Commit in mediawiki/repos/community-any (6 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Wed Sep 4 10:17:07 UTC 2013
Date: Wednesday, September 4, 2013 @ 12:17:06
Author: spupykin
Revision: 96758
archrelease: copy trunk to community-any
Added:
mediawiki/repos/community-any/PKGBUILD
(from rev 96757, mediawiki/trunk/PKGBUILD)
mediawiki/repos/community-any/apache.example.conf
(from rev 96757, mediawiki/trunk/apache.example.conf)
mediawiki/repos/community-any/mediawiki.install
(from rev 96757, mediawiki/trunk/mediawiki.install)
Deleted:
mediawiki/repos/community-any/PKGBUILD
mediawiki/repos/community-any/apache.example.conf
mediawiki/repos/community-any/mediawiki.install
---------------------+
PKGBUILD | 136 +++++++++++++++++++++++++-------------------------
apache.example.conf | 16 ++---
mediawiki.install | 8 +-
3 files changed, 80 insertions(+), 80 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-04 10:16:56 UTC (rev 96757)
+++ PKGBUILD 2013-09-04 10:17:06 UTC (rev 96758)
@@ -1,68 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=mediawiki
-pkgver=1.21.1
-_basever=1.21
-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'
- 'sendmail: for meail sending')
-backup=(etc/webapps/mediawiki/.htaccess)
-install=mediawiki.install
-options=(!strip)
-source=(http://download.wikimedia.org/mediawiki/${_basever}/mediawiki-$pkgver.tar.gz
- mediawiki-math::git+https://git.wikimedia.org/git/mediawiki/extensions/Math.git#branch=REL${_basever/./_}
- apache.example.conf)
-md5sums=('a2cee04aa1c97f38d076421c509e90e4'
- 'SKIP'
- '99c25f04d4093f3333db1be7624fe4e7')
-
-prepare() {
- rm -rf $srcdir/mediawiki-math/.git
-}
-
-package() {
- cd $srcdir
- install -vdm0755 $pkgdir/usr/share/webapps
- install -vdm0755 $pkgdir/etc/webapps/mediawiki
- cp -a $pkgname-$pkgver $pkgdir/usr/share/webapps/mediawiki
- cp -a mediawiki-math $pkgdir/usr/share/webapps/mediawiki/extensions/Math
- ln -s /usr/bin/texvc $pkgdir/usr/share/webapps/mediawiki/extensions/Math/math/texvc
- echo "deny from all" >> $pkgdir/etc/webapps/mediawiki/.htaccess
- ln -sf /etc/webapps/mediawiki/.htaccess $pkgdir/usr/share/webapps/mediawiki/.htaccess
- 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
-}
Copied: mediawiki/repos/community-any/PKGBUILD (from rev 96757, mediawiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-09-04 10:17:06 UTC (rev 96758)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=mediawiki
+pkgver=1.21.2
+_basever=1.21
+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'
+ 'sendmail: for meail sending')
+backup=(etc/webapps/mediawiki/.htaccess)
+install=mediawiki.install
+options=(!strip)
+source=(http://download.wikimedia.org/mediawiki/${_basever}/mediawiki-$pkgver.tar.gz
+ mediawiki-math-${_basever}::git+https://git.wikimedia.org/git/mediawiki/extensions/Math.git#branch=REL${_basever/./_}
+ apache.example.conf)
+md5sums=('4669c635d58fe7e8aa7aa40255812b8c'
+ 'SKIP'
+ '99c25f04d4093f3333db1be7624fe4e7')
+
+prepare() {
+ rm -rf $srcdir/mediawiki-math-${_basever}/.git
+}
+
+package() {
+ cd $srcdir
+ install -vdm0755 $pkgdir/usr/share/webapps
+ install -vdm0755 $pkgdir/etc/webapps/mediawiki
+ cp -a $pkgname-$pkgver $pkgdir/usr/share/webapps/mediawiki
+ cp -a mediawiki-math-${_basever} $pkgdir/usr/share/webapps/mediawiki/extensions/Math
+ ln -s /usr/bin/texvc $pkgdir/usr/share/webapps/mediawiki/extensions/Math/math/texvc
+ echo "deny from all" >> $pkgdir/etc/webapps/mediawiki/.htaccess
+ ln -sf /etc/webapps/mediawiki/.htaccess $pkgdir/usr/share/webapps/mediawiki/.htaccess
+ 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
+}
Deleted: apache.example.conf
===================================================================
--- apache.example.conf 2013-09-04 10:16:56 UTC (rev 96757)
+++ apache.example.conf 2013-09-04 10:17:06 UTC (rev 96758)
@@ -1,8 +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
- Order allow,deny
- Allow from all
-</Directory>
Copied: mediawiki/repos/community-any/apache.example.conf (from rev 96757, mediawiki/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2013-09-04 10:17:06 UTC (rev 96758)
@@ -0,0 +1,8 @@
+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
+ Order allow,deny
+ Allow from all
+</Directory>
Deleted: mediawiki.install
===================================================================
--- mediawiki.install 2013-09-04 10:16:56 UTC (rev 96757)
+++ mediawiki.install 2013-09-04 10:17:06 UTC (rev 96758)
@@ -1,4 +0,0 @@
-post_upgrade() {
- echo "-- Don't forget to run 'php maintenance/update.php' after upgrade"
- echo "-- Mediawiki is in /usr/share/webapps now"
-}
Copied: mediawiki/repos/community-any/mediawiki.install (from rev 96757, mediawiki/trunk/mediawiki.install)
===================================================================
--- mediawiki.install (rev 0)
+++ mediawiki.install 2013-09-04 10:17:06 UTC (rev 96758)
@@ -0,0 +1,4 @@
+post_upgrade() {
+ echo "-- Don't forget to run 'php maintenance/update.php' after upgrade"
+ echo "-- Mediawiki is in /usr/share/webapps now"
+}
More information about the arch-commits
mailing list