diff options
Diffstat (limited to 'community/percona-server/PKGBUILD')
-rw-r--r-- | community/percona-server/PKGBUILD | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/community/percona-server/PKGBUILD b/community/percona-server/PKGBUILD index 6a4f9f549..6ebe73bed 100644 --- a/community/percona-server/PKGBUILD +++ b/community/percona-server/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 96790 2013-09-05 08:50:02Z mtorromeo $ +# $Id: PKGBUILD 99951 2013-10-31 02:39:14Z allan $ # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> pkgname=percona-server -pkgver=5.5.33_rel31.1 +pkgver=5.6.14_rel62.0 pkgrel=1 pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation" arch=('i686' 'x86_64' 'mips64el') @@ -15,19 +15,20 @@ makedepends=('cmake' 'openssl' 'zlib') license=('GPL') url="http://www.percona.com/software/percona-server/" -options=('!libtool' 'emptydirs') +options=('emptydirs') backup=('etc/mysql/my.cnf') install=percona.install -source=("http://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona-Server-${pkgver/_rel/-}/source/Percona-Server-${pkgver/_/-}.tar.gz" - '0001-MDEV-4902-sql_yacc.yy-incompatible-with-bison-3.patch' +source=("http://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona-Server-${pkgver/_/-}/release-${pkgver/_rel/-}/483/source/Percona-Server-${pkgver/_/-}.tar.gz" 'mysqld-post.sh' 'mysqld.service' - 'mysqld-tmpfile.conf') + 'mysqld-tmpfile.conf' + 'mysql56-bufsize.patch' + 'mysql56-bison3.patch') prepare() { - cd "${srcdir}/Percona-Server-${pkgver/_/-}" - sed -i 's|ADD_SUBDIRECTORY(libmysqld/examples)|# ADD_SUBDIRECTORY(libmysqld/examples)|' CMakeLists.txt - patch -p1 -i "$srcdir/0001-MDEV-4902-sql_yacc.yy-incompatible-with-bison-3.patch" + cd "$srcdir/Percona-Server-${pkgver/_/-}" + patch -p0 -i "$srcdir/mysql56-bufsize.patch" + patch -p1 -i "$srcdir/mysql56-bison3.patch" } build() { @@ -72,7 +73,7 @@ build() { -DWITH_FEDERATED_STORAGE_ENGINE=OFF \ -DWITH_EXAMPLE_STORAGE_ENGINE=OFF \ -DCMAKE_C_FLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \ - -DCMAKE_CXX_FLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti -fpermissive" + -DCMAKE_CXX_FLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" make } @@ -81,7 +82,7 @@ package() { cd "${srcdir}"/build make DESTDIR=${pkgdir} install - install -Dm644 "${pkgdir}"/usr/share/mysql/my-medium.cnf "${pkgdir}"/etc/mysql/my.cnf + install -Dm644 "${pkgdir}"/usr/share/mysql/my-default.cnf "${pkgdir}"/etc/mysql/my.cnf install -Dm755 "${srcdir}"/mysqld-post.sh "${pkgdir}"/usr/bin/mysqld-post install -Dm644 "${srcdir}"/mysqld-tmpfile.conf "${pkgdir}"/usr/lib/tmpfiles.d/mysqld.conf install -Dm644 "${srcdir}"/mysqld.service "${pkgdir}"/usr/lib/systemd/system/mysqld.service @@ -101,8 +102,9 @@ package() { rm "${pkgdir}"/usr/share/man/man1/mysql-test-run.pl.1 } -sha256sums=('2039ae974d0973b765a4cdc7ffa1dc75ebd93540769fb134b3a8dc521dfc0b3a' - '35f5e7819d6c24863f3319462676ea989fd58f8a334925432444b6bf5c42fdaf' +sha256sums=('69edc04585e72ac94c32598221c0762704e75190c2abe4fa680ad42ce202e280' '82a241d9fa4032187a26597d044e94ba810b209b53a7ce14bb6eb92555993a48' '9bc66470f3f80534c0bb62f9f8325ccf60b164f421f74ad74a963f065d7b1869' - 'badf6a701d9dc6ea3b4ddca26cb0f42b6236432ccdbc14c64962147802594a60') + 'badf6a701d9dc6ea3b4ddca26cb0f42b6236432ccdbc14c64962147802594a60' + '1039e232a7778544b00eb215c93bb06c588c95c2fd49cfb162dc50eb4dfbf729' + 'd36c807f085b6051cc8fddb2abc5a1939be809650f1cfefc8a87731978958929') |