[arch-commits] Commit in mysql/repos (3 files)

Ionut Biru ibiru at archlinux.org
Wed Jan 6 06:35:38 EST 2010


    Date: Wednesday, January 6, 2010 @ 06:35:38
  Author: ibiru
Revision: 62269

Merged revisions 59320,62226 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/mysql/trunk

........
  r59320 | andrea | 2009-11-22 07:00:11 +0200 (Sun, 22 Nov 2009) | 1 line
  
  minor fix
........
  r62226 | andrea | 2010-01-05 13:22:18 +0200 (Tue, 05 Jan 2010) | 2 lines
  
  upgpkg: mysql 5.1.42-1
      upstream release
........

Modified:
  mysql/repos/extra-x86_64/	(properties)
  mysql/repos/extra-x86_64/PKGBUILD
  mysql/repos/extra-x86_64/mysql.install

---------------+
 PKGBUILD      |    8 ++++----
 mysql.install |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)


Property changes on: mysql/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /mysql/trunk:1-59139
   + /mysql/trunk:1-62268

Modified: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2010-01-06 11:31:00 UTC (rev 62268)
+++ extra-x86_64/PKGBUILD	2010-01-06 11:35:38 UTC (rev 62269)
@@ -5,19 +5,19 @@
 
 pkgbase=mysql
 pkgname=('libmysqlclient' 'mysql-clients' 'mysql')
-pkgver=5.1.41
-pkgrel=3
+pkgver=5.1.42
+pkgrel=1
 pkgdesc="A fast SQL database server"
 arch=('i686' 'x86_64')
 license=('GPL')
 url=('http://www.mysql.com/')
 makedepends=('tcp_wrappers' 'zlib' 'perl' 'openssl' 'libtool' 'patch')
 options=('!libtool')
-source=("http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.1/mysql-$pkgver.tar.gz"
+source=("http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.1/${pkgbase}-${pkgver}.tar.gz"
         'mysqld'
         'my.cnf'
         'mysqld.conf.d')
-md5sums=('b5d39e8789174753f3c782959729e68c'
+md5sums=('b644b219e130b7c6bca81948f75d72d7'
          '7e1c46ccbd91553cc11df7199fbfca32'
          '26589ea08b78fc38dd174caeb93b810c'
 	 '4a9077fc95ec6db1d5420e0cdc74d31c')

Modified: extra-x86_64/mysql.install
===================================================================
--- extra-x86_64/mysql.install	2010-01-06 11:31:00 UTC (rev 62268)
+++ extra-x86_64/mysql.install	2010-01-06 11:35:38 UTC (rev 62269)
@@ -7,13 +7,13 @@
 }
 
 post_upgrade(){
-  getent group mysql &>/dev/null || groupadd -g 89 mysql &>/dev/null
-  getent passwd mysql &>/dev/null || useradd -u 89 -g mysql -d /var/lib/mysql -s /bin/false mysql &>/dev/null
+  getent group mysql >/dev/null 2>&1 || groupadd -g 89 mysql
+  getent passwd mysql >/dev/null 2>&1 || useradd -u 89 -g mysql -d /var/lib/mysql -s /bin/false mysql
   chown -R mysql:mysql var/lib/mysql &> /dev/null
   chown mysql:mysql var/run/mysqld &> /dev/null
 }
 
 post_remove(){
-  getent passwd mysql &>/dev/null || userdel mysql &>/dev/null
-  getent group mysql &>/dev/null || groupdel mysql &>/dev/null
+  getent passwd mysql >/dev/null 2>&1 || userdel mysql &> /dev/null
+  getent group mysql >/dev/null 2>&1 || groupdel mysql &> /dev/null
 }



More information about the arch-commits mailing list