community/percona-server to 5.5.33_rel31.1-1

This commit is contained in:
Kevin Mihelich 2013-09-05 12:56:54 +00:00
parent fc28968d14
commit 53b447ebca
2 changed files with 3549 additions and 5 deletions

View file

@ -4,7 +4,7 @@
# - added alarm.patch
pkgname=percona-server
pkgver=5.5.32_rel31.0
pkgver=5.5.33_rel31.1
pkgrel=1
pkgdesc="A backwards-compatible drop-in replacement for MySQL that provides improved performance, diagnostics and instrumentation"
arch=('i686' 'x86_64')
@ -21,16 +21,20 @@ options=('!libtool' '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'
'mysqld-post.sh'
'mysqld.service'
'mysqld-tmpfile.conf'
'alarm.patch')
build() {
prepare() {
cd "${srcdir}/Percona-Server-${pkgver/_/-}"
sed -i 's|ADD_SUBDIRECTORY(libmysqld/examples)|# ADD_SUBDIRECTORY(libmysqld/examples)|' CMakeLists.txt
patch -p1 -i "${srcdir}/alarm.patch"
patch -p1 -i "$srcdir/0001-MDEV-4902-sql_yacc.yy-incompatible-with-bison-3.patch"
patch -p1 -i "${srcdir}/alarm.patch"
}
build() {
cd "${srcdir}"
rm -rf build
mkdir build
@ -103,7 +107,8 @@ package() {
install -dm700 "${pkgdir}"/var/lib/mysql
}
sha256sums=('e34676cea5ceb398258408e31e8527724845f83bbbf1f22308f5069304118e8f'
sha256sums=('2039ae974d0973b765a4cdc7ffa1dc75ebd93540769fb134b3a8dc521dfc0b3a'
'35f5e7819d6c24863f3319462676ea989fd58f8a334925432444b6bf5c42fdaf'
'82a241d9fa4032187a26597d044e94ba810b209b53a7ce14bb6eb92555993a48'
'9bc66470f3f80534c0bb62f9f8325ccf60b164f421f74ad74a963f065d7b1869'
'badf6a701d9dc6ea3b4ddca26cb0f42b6236432ccdbc14c64962147802594a60'