extra/percona-server to 8.4.0_1-1

This commit is contained in:
Kevin Mihelich 2024-08-30 00:11:32 +00:00
parent 877160e387
commit df17b3557e
2 changed files with 19 additions and 29 deletions

View file

@ -1,6 +1,6 @@
pkgbase = percona-server pkgbase = percona-server
pkgver = 8.3.0_1 pkgver = 8.4.0_1
pkgrel = 3 pkgrel = 1
url = https://www.percona.com/software/mysql-database/percona-server url = https://www.percona.com/software/mysql-database/percona-server
arch = x86_64 arch = x86_64
license = GPL license = GPL
@ -19,14 +19,12 @@ pkgbase = percona-server
makedepends = graphviz makedepends = graphviz
makedepends = libevent makedepends = libevent
makedepends = libfido2 makedepends = libfido2
source = https://www.percona.com/downloads/Percona-Server-8.3/Percona-Server-8.3.0-1/source/tarball/percona-server-8.3.0-1.tar.gz source = https://www.percona.com/downloads/Percona-Server-8.4/Percona-Server-8.4.0-1/source/tarball/percona-server-8.4.0-1.tar.gz
source = https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.tar.gz
source = gcc-14.patch source = gcc-14.patch
source = my.cnf source = my.cnf
source = mysql-user.conf source = mysql-user.conf
source = mysqlrouter-user.conf source = mysqlrouter-user.conf
sha256sums = 19eba27f3a82912b666f8a986bcd78ed7047bcca206307ec9f41721dd3b85848 sha256sums = efa3d75ea4cd055b03ed15f6be1a7b472112885a492f4874cc6f6e70d7f2dee4
sha256sums = 5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131
sha256sums = eeb9c6c8f70dd5eb05f735df0cdfc294365b393e5819f26029320e38714069a6 sha256sums = eeb9c6c8f70dd5eb05f735df0cdfc294365b393e5819f26029320e38714069a6
sha256sums = b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731 sha256sums = b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731
sha256sums = 5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6 sha256sums = 5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6
@ -49,8 +47,8 @@ pkgname = percona-server-clients
depends = openssl depends = openssl
depends = jemalloc depends = jemalloc
depends = readline depends = readline
provides = mysql-clients=8.3.0_1 provides = mysql-clients=8.4.0_1
provides = mariadb-clients=8.3.0_1 provides = mariadb-clients=8.4.0_1
conflicts = mysql-clients conflicts = mysql-clients
pkgname = percona-server pkgname = percona-server
@ -68,8 +66,8 @@ pkgname = percona-server
depends = libevent depends = libevent
depends = icu depends = icu
optdepends = perl-dbd-mysql optdepends = perl-dbd-mysql
provides = mysql=8.3.0_1 provides = mysql=8.4.0_1
provides = mariadb=8.3.0_1 provides = mariadb=8.4.0_1
conflicts = mysql conflicts = mysql
options = emptydirs options = emptydirs
backup = etc/mysql/my.cnf backup = etc/mysql/my.cnf

View file

@ -6,25 +6,22 @@
pkgbase=percona-server pkgbase=percona-server
pkgname=('libperconaserverclient' 'percona-server-clients' 'percona-server') pkgname=('libperconaserverclient' 'percona-server-clients' 'percona-server')
pkgver=8.3.0_1 pkgver=8.4.0_1
_boost_ver=1.77.0
_pkgver=${pkgver/_/-} _pkgver=${pkgver/_/-}
_myver=${pkgver/_rel*} _myver=${pkgver/_rel*}
pkgrel=3 pkgrel=1
arch=('x86_64') arch=('x86_64')
makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl' makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl'
'rpcsvc-proto' 'doxygen' 'graphviz' 'libevent' 'libfido2') # 'boost' 'rpcsvc-proto' 'doxygen' 'graphviz' 'libevent' 'libfido2') # 'boost'
license=('GPL') license=('GPL')
url="https://www.percona.com/software/mysql-database/percona-server" url="https://www.percona.com/software/mysql-database/percona-server"
source=("https://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona-Server-$_pkgver/source/tarball/percona-server-$_pkgver.tar.gz" source=("https://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona-Server-$_pkgver/source/tarball/percona-server-$_pkgver.tar.gz"
"https://boostorg.jfrog.io/artifactory/main/release/$_boost_ver/source/boost_${_boost_ver//./_}.tar.gz"
'gcc-14.patch' 'gcc-14.patch'
'my.cnf' 'my.cnf'
'mysql-user.conf' 'mysql-user.conf'
'mysqlrouter-user.conf' 'mysqlrouter-user.conf'
'0001-fix-LF_PINS-padding-calculation.patch') '0001-fix-LF_PINS-padding-calculation.patch')
sha256sums=('19eba27f3a82912b666f8a986bcd78ed7047bcca206307ec9f41721dd3b85848' sha256sums=('efa3d75ea4cd055b03ed15f6be1a7b472112885a492f4874cc6f6e70d7f2dee4'
'5347464af5b14ac54bb945dc68f1dd7c56f0dad7262816b956138fc53bcc0131'
'eeb9c6c8f70dd5eb05f735df0cdfc294365b393e5819f26029320e38714069a6' 'eeb9c6c8f70dd5eb05f735df0cdfc294365b393e5819f26029320e38714069a6'
'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731' 'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731'
'5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6' '5d7710fe88ec6d298175a309c0b776142397b119c468830b2865980292ed5da6'
@ -92,14 +89,11 @@ build() {
-DWITH_ZSTD=system \ -DWITH_ZSTD=system \
-DWITH_SSL=system \ -DWITH_SSL=system \
-DWITH_ICU=system \ -DWITH_ICU=system \
-DWITH_LIBEVENT=system \
-DWITH_FIDO=system \ -DWITH_FIDO=system \
-DWITH_ENCRYPTION_UDF=ON \ -DWITH_ENCRYPTION_UDF=ON \
-DWITH_KEYRING_VAULT=ON \
-DWITH_LIBWRAP=OFF \ -DWITH_LIBWRAP=OFF \
-DWITH_MECAB=OFF \ -DWITH_MECAB=OFF \
-DWITH_PAM=ON \ -DWITH_PAM=ON \
-DWITH_INNODB_MEMCACHED=ON \
-DWITH_ARCHIVE_STORAGE_ENGINE=ON \ -DWITH_ARCHIVE_STORAGE_ENGINE=ON \
-DWITH_BLACKHOLE_STORAGE_ENGINE=ON \ -DWITH_BLACKHOLE_STORAGE_ENGINE=ON \
-DWITH_FEDERATED_STORAGE_ENGINE=ON \ -DWITH_FEDERATED_STORAGE_ENGINE=ON \
@ -112,9 +106,7 @@ build() {
-DWITH_UNIT_TESTS=OFF \ -DWITH_UNIT_TESTS=OFF \
-DWITH_SYSTEMD=1 \ -DWITH_SYSTEMD=1 \
-DCMAKE_EXE_LINKER_FLAGS='-ljemalloc' \ -DCMAKE_EXE_LINKER_FLAGS='-ljemalloc' \
-DWITH_NUMA=ON \ -DWITH_NUMA=ON
-DWITH_BOOST="../boost_${_boost_ver//./_}"
# -DWITH_BOOST=system
make make
} }
@ -150,19 +142,19 @@ package_percona-server-clients() {
# install man pages # install man pages
install -d "$pkgdir"/usr/share/man/man1 install -d "$pkgdir"/usr/share/man/man1
for man in mysql{,admin,check,dump,import,show,slap,pump,binlog,_upgrade}; do for man in mysql{,admin,check,dump,import,show,slap,binlog}; do
install -m644 "$srcdir/$pkgbase-$_pkgver/man/$man.1" "$pkgdir"/usr/share/man/man1/$man.1 install -m644 "$srcdir/$pkgbase-$_pkgver/man/$man.1" "$pkgdir"/usr/share/man/man1/$man.1
done done
# provided by percona-server # provided by percona-server
rm "$pkgdir"/usr/bin/mysql{_config_editor,_secure_installation,_ssl_rsa_setup} rm "$pkgdir"/usr/bin/mysql{_config_editor,_secure_installation}
} }
package_percona-server() { package_percona-server() {
pkgdesc='Drop-in replacement for MySQL that provides improved performance, diagnostics, instrumentation and MyRocks storage engine' pkgdesc='Drop-in replacement for MySQL that provides improved performance, diagnostics, instrumentation and MyRocks storage engine'
backup=('etc/mysql/my.cnf' 'etc/mysqlrouter/mysqlrouter.conf') backup=('etc/mysql/my.cnf' 'etc/mysqlrouter/mysqlrouter.conf')
depends=('libaio' 'systemd-tools' 'pam' 'jemalloc' 'numactl' 'lz4' 'zstd' 'openssl' 'libtirpc' 'curl' depends=('libaio' 'systemd-tools' 'pam' 'jemalloc' 'numactl' 'lz4' 'zstd' 'openssl' 'libtirpc' 'curl'
'libevent' 'icu') # 'boost-libs' 'libevent' 'icu')
optdepends=('perl-dbd-mysql') optdepends=('perl-dbd-mysql')
conflicts=('mysql') conflicts=('mysql')
provides=("mysql=$_myver" "mariadb=$_myver") provides=("mysql=$_myver" "mariadb=$_myver")
@ -199,9 +191,9 @@ package_percona-server() {
rm -r usr/share/aclocal usr/lib/pkgconfig rm -r usr/share/aclocal usr/lib/pkgconfig
# provided by percona-server-clients # provided by percona-server-clients
rm usr/bin/mysql{,admin,check,dump,import,show,slap,pump,binlog,test,_upgrade,_migrate_keyring} rm usr/bin/mysql{,admin,check,dump,import,show,slap,binlog,test,_migrate_keyring}
rm usr/lib/perconaserver/plugin/authentication_*_client.so rm usr/lib/perconaserver/plugin/authentication_*_client.so
rm usr/share/man/man1/mysql{,admin,check,dump,import,show,slap,pump,binlog,_upgrade}.1 rm usr/share/man/man1/mysql{,admin,check,dump,import,show,slap,binlog}.1
# not needed # not needed
rm -r usr/share/mysql-test rm -r usr/share/mysql-test