[crux-commits] ports/opt (3.6): mysql: update to 5.7.34

crux at crux.nu crux at crux.nu
Tue Apr 20 14:04:07 UTC 2021


commit 4e05c58046465651f0b7cec4616938698d64a046
Author: Juergen Daubert <jue at jue.li>
Date:   Tue Apr 20 16:03:36 2021 +0200

    mysql: update to 5.7.34

diff --git a/mysql/.footprint b/mysql/.footprint
index ec60fc43b..513419ec2 100644
--- a/mysql/.footprint
+++ b/mysql/.footprint
@@ -159,8 +159,8 @@ drwxr-xr-x	root/root	usr/include/mysql/mysql/psi/
 drwxr-xr-x	root/root	usr/lib/
 -rw-r--r--	root/root	usr/lib/libmysqlclient.a
 lrwxrwxrwx	root/root	usr/lib/libmysqlclient.so -> libmysqlclient.so.20
-lrwxrwxrwx	root/root	usr/lib/libmysqlclient.so.20 -> libmysqlclient.so.20.3.20
--rwxr-xr-x	root/root	usr/lib/libmysqlclient.so.20.3.20
+lrwxrwxrwx	root/root	usr/lib/libmysqlclient.so.20 -> libmysqlclient.so.20.3.21
+-rwxr-xr-x	root/root	usr/lib/libmysqlclient.so.20.3.21
 -rw-r--r--	root/root	usr/lib/libmysqld.a
 -rw-r--r--	root/root	usr/lib/libmysqlservices.a
 drwxr-xr-x	root/root	usr/lib/mysql/
diff --git a/mysql/.signature b/mysql/.signature
index 23f3cfb28..5a13283c4 100644
--- a/mysql/.signature
+++ b/mysql/.signature
@@ -1,7 +1,7 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/Vp8DL6VlE5j8gUIOEvWeKY8NaD8bL0FJgPamnwZUvQll9Q+8u18Z80eddv25P5ki8Aahbg/jw4L83+/n6oTsg4=
-SHA256 (Pkgfile) = a415dcba0fb6cf69f2d9cf6d8a1ee87bceb3208a53027d986dd05b35fd06a490
-SHA256 (.footprint) = 99e5f71b3704e3a3d3cf1e81a7b2f1a86a1c49b7edc6150949c6ad82e1486a2d
-SHA256 (mysql-boost-5.7.33.tar.gz) = cfcaf6f37a055d808fe1472eb0359864e2227aa0206c55c4e1961bab2ecc304b
+RWSE3ohX2g5d/XxwzjHOapNBJp74E1sjCOhZplI0KedXarOjWfn/abs1Gx/pSBKLrgywAupfiQycceZedNa2c339uyqS6edU+gw=
+SHA256 (Pkgfile) = 1a95717250b4f4194135b7299ca8f86b81280f0e7be9c938dfeb509a7cb279b1
+SHA256 (.footprint) = 97c4fcd209fbdef184ed45a25286dbd2ac737db3191147050e2b8d70e736a506
+SHA256 (mysql-boost-5.7.34.tar.gz) = 5bc2c7c0bb944b5bb219480dde3c1caeb049e7351b5bba94c3b00ac207929c7b
 SHA256 (my.cnf) = 51d46fe239e1e18a608e64ea1242fda946c2ea5a9ecea4507d89734e263ab828
 SHA256 (mysqld) = 35c913fde78b6e51e35bd57a01419209258e80677fdd6a1eaa40388848167e33
diff --git a/mysql/Pkgfile b/mysql/Pkgfile
index 8673a9d3a..0444fc32f 100644
--- a/mysql/Pkgfile
+++ b/mysql/Pkgfile
@@ -1,44 +1,44 @@
 # Description: SQL database server
-# URL:         https://www.mysql.com
-# Maintainer:  Juergen Daubert, jue at crux dot nu
-# Depends on:  ncurses zlib openssl cmake libaio rpcsvc-proto
+# URL: https://www.mysql.com
+# Maintainer: Juergen Daubert, jue at crux dot nu
+# Depends on: ncurses zlib openssl cmake libaio rpcsvc-proto
 
 name=mysql
-version=5.7.33
+version=5.7.34
 release=1
 source=(https://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.7/$name-boost-$version.tar.gz \
-        my.cnf mysqld)
+	my.cnf mysqld)
 
-build () {
+build() {
 
-    export CXXFLAGS+=" -Wno-deprecated-declarations"
+	export CXXFLAGS+=" -Wno-deprecated-declarations"
 
-    cmake -S $name-$version -B build \
-        -D CMAKE_BUILD_TYPE=Release \
-        -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-        -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-        -D CMAKE_INSTALL_PREFIX=/usr \
-        -D BUILD_CONFIG=mysql_release \
-        -D INSTALL_LAYOUT=RPM \
-        -D SYSCONFDIR=/etc \
-        -D INSTALL_LIBDIR=lib \
-        -D INSTALL_PLUGINDIR=lib/mysql/plugin \
-        -D INSTALL_MANDIR=share/man \
-        -D INSTALL_SECURE_PRIVDIR=/var/lib/mysql-files \
-        -D WITH_BOOST=$name-$version/boost \
-        -D WITH_LIBWRAP=0 \
-        -D WITH_SSL=system \
-        -D WITH_ZLIB=system \
-        -Wno-dev
+	cmake -S $name-$version -B build \
+		-D CMAKE_BUILD_TYPE=Release \
+		-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
+		-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
+		-D CMAKE_INSTALL_PREFIX=/usr \
+		-D BUILD_CONFIG=mysql_release \
+		-D INSTALL_LAYOUT=RPM \
+		-D SYSCONFDIR=/etc \
+		-D INSTALL_LIBDIR=lib \
+		-D INSTALL_PLUGINDIR=lib/mysql/plugin \
+		-D INSTALL_MANDIR=share/man \
+		-D INSTALL_SECURE_PRIVDIR=/var/lib/mysql-files \
+		-D WITH_BOOST=$name-$version/boost \
+		-D WITH_LIBWRAP=0 \
+		-D WITH_SSL=system \
+		-D WITH_ZLIB=system \
+		-Wno-dev
 
-    cmake --build build
-    DESTDIR=$PKG cmake --install build
+	cmake --build build
+	DESTDIR=$PKG cmake --install build
 
-    rm -r $PKG/usr/share/{mysql-test,info}
-    rm $PKG/usr/share/mysql/charsets/README
-    find $PKG/usr/share/mysql/* -type d ! -name english ! -name charsets | xargs rm -rf {} \;
+	rm -r $PKG/usr/share/{mysql-test,info}
+	rm $PKG/usr/share/mysql/charsets/README
+	find $PKG/usr/share/mysql/* -type d ! -name english ! -name charsets | xargs rm -rf {} \;
 
-    install -d -m 700 -o mysql -g mysql $PKG/var/{{lib,log,run}/mysql,lib/mysql-files}
-    install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld
-    install -m 600 $SRC/my.cnf $PKG/etc
+	install -d -m 700 -o mysql -g mysql $PKG/var/{{lib,log,run}/mysql,lib/mysql-files}
+	install -D -m 755 $SRC/mysqld $PKG/etc/rc.d/mysqld
+	install -m 600 $SRC/my.cnf $PKG/etc
 }


More information about the crux-commits mailing list