summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2018-05-09 00:30:49 +0200
committerMuflone2018-05-09 00:30:49 +0200
commite32931d73a971e87664b416c41b25adf41e72a11 (patch)
treea35aace1647987b434f9baf97c446a1e00170630
parent0fdee5503804eaa232e84618f24e5924b809877d (diff)
downloadaur-e32931d73a971e87664b416c41b25adf41e72a11.tar.gz
Updated pkgbase mysql 8.0.11-1
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD35
2 files changed, 16 insertions, 46 deletions
diff --git a/.SRCINFO b/.SRCINFO
index da85acc7d7d..6d55129c1b6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Apr 29 21:47:36 UTC 2018
+# Tue May 8 22:25:54 UTC 2018
pkgbase = mysql
pkgdesc = Fast SQL database server, community edition
- pkgver = 5.7.22
+ pkgver = 8.0.11
pkgrel = 1
url = https://www.mysql.com/products/community/
arch = x86_64
@@ -16,22 +16,14 @@ pkgbase = mysql
makedepends = rpcsvc-proto
makedepends = libtirpc
options = !libtool
- source = https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22.tar.gz
- source = http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
- source = bug_83814_my_aes_openssl.patch::https://bugs.mysql.com/file.php?id=25081&bug_id=83814
- source = bug_83814_viosslfactories.patch::https://bugs.mysql.com/file.php?id=25082&bug_id=83814
- source = bug_83814_xcom_ssl_transport.c.patch::https://bugs.mysql.com/file.php?id=25084&bug_id=83814
- source = bug_83814_mysqld.cc.patch::https://bugs.mysql.com/file.php?id=25085&bug_id=83814
+ source = https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-8.0.11.tar.gz
+ source = http://sourceforge.net/projects/boost/files/boost/1.66.0/boost_1_66_0.tar.gz
source = mysqld-post.sh
source = mysqld-tmpfile.conf
source = mysqld.service
source = my-default.cnf
- sha256sums = 4eb8405b0a9acb0381eae94c1741b2850dfc6467742b24b676e62b566409cff2
- sha256sums = 47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac
- sha256sums = 1353162f5ae6e3dd4b0b8660738adbbc36c6d514d65331c013d9c45359665c52
- sha256sums = ca49f11ed70d4673d14df700caff4380ae27b81d4d10c7a49297d5b56f0eb288
- sha256sums = 4d2333651b0727fbe182155b3c5b01e00a2769f4e0158d28a09fefc61ae5f198
- sha256sums = a063a76ea1705423218e36a45417a3077643a0b673ce676294c864bcb4052ec2
+ sha256sums = 3bde3e30d5d4afcedfc6db9eed5c984237ac7db9480a9cc3bddc026d50700bf9
+ sha256sums = bd0df411efd9a585e5a2212275f8762079fed8842264954675a4fddc46cfcf60
sha256sums = 368f9fd2454d80eb32abb8f29f703d1cf9553353fb9e1ae4529c4b851cb8c5dd
sha256sums = 2af318c52ae0fe5428e8a9245d1b0fc3bc5ce153842d1563329ceb1edfa83ddd
sha256sums = 50212165bdb09855b97b15a917464ba34f82edf30a0c43f9a0c93a27071df556
@@ -45,7 +37,8 @@ pkgname = mysql
depends = zlib
depends = jemalloc
depends = libaio
- provides = mariadb=5.7.22
+ depends = libtirpc
+ provides = mariadb=8.0.11
conflicts = mariadb
options = emptydirs
backup = etc/mysql/my.cnf
@@ -54,7 +47,7 @@ pkgname = libmysqlclient
pkgdesc = MySQL client libraries
depends = libsasl
depends = zlib
- provides = libmariadbclient=5.7.22
+ provides = libmariadbclient=8.0.11
conflicts = libmariadbclient
pkgname = mysql-clients
@@ -63,6 +56,6 @@ pkgname = mysql-clients
depends = zlib
depends = openssl
depends = jemalloc
- provides = mariadb-clients=5.7.22
+ provides = mariadb-clients=8.0.11
conflicts = mariadb-clients
diff --git a/PKGBUILD b/PKGBUILD
index d8c47b659ac..0e8361fdafc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,49 +5,29 @@
pkgname=('mysql' 'libmysqlclient' 'mysql-clients')
pkgbase=mysql
-pkgver=5.7.22
+pkgver=8.0.11
pkgrel=1
pkgdesc="Fast SQL database server, community edition"
arch=('x86_64')
makedepends=('openssl' 'zlib' 'cmake' 'systemd-tools' 'libaio' 'jemalloc'
'rpcsvc-proto' 'libtirpc')
-_boost_ver=1.59.0
+_boost_ver=1.66.0
license=('GPL')
url="https://www.mysql.com/products/community/"
options=('!libtool')
source=("https://dev.mysql.com/get/Downloads/MySQL-5.7/${pkgbase}-${pkgver}.tar.gz"
"http://sourceforge.net/projects/boost/files/boost/${_boost_ver}/boost_${_boost_ver//./_}.tar.gz"
- "bug_83814_my_aes_openssl.patch"::"https://bugs.mysql.com/file.php?id=25081&bug_id=83814"
- "bug_83814_viosslfactories.patch"::"https://bugs.mysql.com/file.php?id=25082&bug_id=83814"
- "bug_83814_xcom_ssl_transport.c.patch"::"https://bugs.mysql.com/file.php?id=25084&bug_id=83814"
- "bug_83814_mysqld.cc.patch"::"https://bugs.mysql.com/file.php?id=25085&bug_id=83814"
"mysqld-post.sh"
"mysqld-tmpfile.conf"
"mysqld.service"
"my-default.cnf")
-sha256sums=('4eb8405b0a9acb0381eae94c1741b2850dfc6467742b24b676e62b566409cff2'
- '47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac'
- '1353162f5ae6e3dd4b0b8660738adbbc36c6d514d65331c013d9c45359665c52'
- 'ca49f11ed70d4673d14df700caff4380ae27b81d4d10c7a49297d5b56f0eb288'
- '4d2333651b0727fbe182155b3c5b01e00a2769f4e0158d28a09fefc61ae5f198'
- 'a063a76ea1705423218e36a45417a3077643a0b673ce676294c864bcb4052ec2'
+sha256sums=('3bde3e30d5d4afcedfc6db9eed5c984237ac7db9480a9cc3bddc026d50700bf9'
+ 'bd0df411efd9a585e5a2212275f8762079fed8842264954675a4fddc46cfcf60'
'368f9fd2454d80eb32abb8f29f703d1cf9553353fb9e1ae4529c4b851cb8c5dd'
'2af318c52ae0fe5428e8a9245d1b0fc3bc5ce153842d1563329ceb1edfa83ddd'
'50212165bdb09855b97b15a917464ba34f82edf30a0c43f9a0c93a27071df556'
'3cc3ba4149fb2f9e823601b9a414ff5b28a2a52f20bc68c74cc0505cf2d1832d')
-prepare() {
- cd "${pkgname}-${pkgver}"
- patch -p0 -i "${srcdir}/bug_83814_my_aes_openssl.patch" \
- "mysys_ssl/my_aes_openssl.cc"
- patch -p0 -i "${srcdir}/bug_83814_viosslfactories.patch" \
- "vio/viosslfactories.c"
- patch -p0 -i "${srcdir}/bug_83814_xcom_ssl_transport.c.patch" \
- "rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_ssl_transport.c"
- patch -p0 -i "${srcdir}/bug_83814_mysqld.cc.patch" \
- "sql/mysqld.cc"
-}
-
build() {
rm -rf build
mkdir build
@@ -100,7 +80,7 @@ package_libmysqlclient(){
provides=("libmariadbclient=${pkgver}")
cd build
- for dir in include libmysql libmysqld libservices
+ for dir in include libmysql libservices
do
make -C "${dir}" DESTDIR="${pkgdir}" install
done
@@ -131,11 +111,9 @@ package_mysql-clients(){
done
# provided by mysql
- rm "${pkgdir}/usr/bin/mysql_plugin"
rm "${pkgdir}/usr/bin/mysql_upgrade"
rm "${pkgdir}/usr/bin/mysql_config_editor"
rm "${pkgdir}/usr/bin/mysqlbinlog"
- rm "${pkgdir}/usr/bin/mysql_install_db"
rm "${pkgdir}/usr/bin/mysql_secure_installation"
rm "${pkgdir}/usr/bin/mysql_ssl_rsa_setup"
rm "${pkgdir}/usr/bin/mysqltest"
@@ -145,7 +123,7 @@ package_mysql(){
pkgdesc="Fast SQL database server, community edition"
backup=('etc/mysql/my.cnf')
install="${pkgbase}.install"
- depends=('mysql-clients' 'libsasl' 'zlib' 'jemalloc' 'libaio')
+ depends=('mysql-clients' 'libsasl' 'zlib' 'jemalloc' 'libaio' 'libtirpc')
conflicts=('mariadb')
provides=("mariadb=${pkgver}")
options=('emptydirs')
@@ -161,7 +139,6 @@ package_mysql(){
# provided by libmysqlclient
rm "${pkgdir}/usr/bin/mysql_config"
- rm "${pkgdir}/usr/bin/mysqltest_embedded"
rm "${pkgdir}"/usr/lib/libmysql*
rm "${pkgdir}/usr/lib/mysql/plugin/authentication_ldap_sasl_client.so"
rm -r "${pkgdir}/usr/include/"