[arch-commits] Commit in mysql/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Aug 23 13:32:08 EDT 2010


    Date: Monday, August 23, 2010 @ 13:32:08
  Author: pierre
Revision: 88432

upgpkg: mysql 5.1.50-1
security update

Modified:
  mysql/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-08-23 16:59:32 UTC (rev 88431)
+++ PKGBUILD	2010-08-23 17:32:08 UTC (rev 88432)
@@ -5,25 +5,25 @@
 
 pkgbase=mysql
 pkgname=('libmysqlclient' 'mysql-clients' 'mysql')
-pkgver=5.1.47
+pkgver=5.1.50
 pkgrel=1
 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/${pkgbase}-${pkgver}.tar.gz
-        mysqld
-        my.cnf
-        skip-abi-check.patch)
-md5sums=('02b9964b3966832f3d6bc87524bfd73f'
+source=("http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.1/${pkgbase}-${pkgver}.tar.gz"
+        'mysqld'
+        'my.cnf'
+        'skip-abi-check.patch')
+md5sums=('23bac4a0aafd683b077dac146ce2701f'
          '2234207625baa29b2ff7d7b4f088abce'
          '0337741fa9afbe57939993636081a827'
          'a97e574945e19de3908575b956241026')
 
 build() {
   cd "${srcdir}/${pkgbase}-${pkgver}"
-  patch -Np0 -i "${srcdir}/skip-abi-check.patch" || return 1
+  patch -Np0 -i "${srcdir}/skip-abi-check.patch"
   # CFLAGS/CXXFLAGS as suggested upstream
   CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \
   CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \
@@ -41,8 +41,8 @@
     --with-embedded-server \
     --with-unix-socket-path=/var/run/mysqld/mysqld.sock \
     --enable-local-infile \
-    --with-plugins=partition,ftexample,archive,blackhole,federated,heap,innobase,innodb_plugin,ndbcluster || return 1
-  make || return 1
+    --with-plugins=partition,ftexample,archive,blackhole,federated,heap,innobase,innodb_plugin,ndbcluster
+  make
 }
 
 package_libmysqlclient(){
@@ -51,12 +51,12 @@
   
   cd "${srcdir}/${pkgbase}-${pkgver}"
   for dir in include libmysql libmysql_r libmysqld; do
-    make -C ${dir} DESTDIR="${pkgdir}" install || return 1
+    make -C ${dir} DESTDIR="${pkgdir}" install
   done
-  install -m644 include/*.h "${pkgdir}/usr/include/mysql/" || return 1
+  install -m644 include/*.h "${pkgdir}/usr/include/mysql/"
 
   install -d "${pkgdir}/usr/bin"
-  install -m755 scripts/mysql_config "${pkgdir}/usr/bin/" || return 1
+  install -m755 scripts/mysql_config "${pkgdir}/usr/bin/"
   
   # create library symlinks in /usr/lib
   ln -sf mysql/libmysqlclient.so.16 ${pkgdir}/usr/lib/libmysqlclient.so.16
@@ -72,7 +72,7 @@
   depends=('libmysqlclient')
   
   cd "${srcdir}/${pkgbase}-${pkgver}/client"
-  make DESTDIR="${pkgdir}" install || return 1
+  make DESTDIR="${pkgdir}" install
 
   # provided by libmysqlclient
   rm -rf "${pkgdir}/usr/lib/"
@@ -89,10 +89,10 @@
   optdepends=('perl-dbi' 'perl-dbd-mysql')
 
   cd "${srcdir}/${pkgbase}-${pkgver}"
-  make DESTDIR=${pkgdir} install || return 1
+  make DESTDIR=${pkgdir} install
 
-  install -Dm644 ${srcdir}/my.cnf ${pkgdir}/etc/mysql/my.cnf || return 1
-  install -Dm755 ${srcdir}/mysqld ${pkgdir}/etc/rc.d/mysqld || return 1
+  install -Dm644 ${srcdir}/my.cnf ${pkgdir}/etc/mysql/my.cnf
+  install -Dm755 ${srcdir}/mysqld ${pkgdir}/etc/rc.d/mysqld
 
   # provided by libmysqlclient
   rm -f ${pkgdir}/usr/bin/{mysql_config,mysql_client_test_embedded,mysqltest_embedded}



More information about the arch-commits mailing list