CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
mysql: updated to 5.7.33
authorVictor Martinez <pitillo@ono.com>
Wed, 27 Jan 2021 00:58:07 +0000 (01:58 +0100)
committerVictor Martinez <pitillo@ono.com>
Wed, 27 Jan 2021 00:58:07 +0000 (01:58 +0100)
mysql/.footprint
mysql/.signature
mysql/Pkgfile

index fae4ed5fd730ccec4e57caa7e1ea8fd4f4ec4467..bad0edd78b899cffc54c230d9b99200c34615c10 100644 (file)
@@ -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.19
--rwxr-xr-x     root/root       usr/lib/libmysqlclient.so.20.3.19
+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
 -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/
index ee06806bc988cc844dd9ec5b49eac31631d28024..81ab1791fdd7f11e0eeb1319db5f726c1fb4caf1 100644 (file)
@@ -1,7 +1,7 @@
 untrusted comment: verify with /etc/ports/opt-arm64.pub
-RWRitF9a2DJqMZ0WGCR7urIDv/JMpWBP5ImUys+ThvWIVIVFgcFbxd1tEgK2zqYVwzdeSYZaycrzik678iiBa4N20L3aiD3J3AY=
-SHA256 (Pkgfile) = 89a372bf62faca11debe1b628cd3937f3a55fbd1f484a6714f7b242ec5cff422
-SHA256 (.footprint) = e0c4b9981944d6976f3944f69622c08ce0aeb9dd88285ad7df1a842cd54628c3
-SHA256 (mysql-boost-5.7.32.tar.gz) = 9a8a04a2b0116ccff9a8d8aace07aaeaacf47329b701c5dfa9fa4351d3f1933b
+RWRitF9a2DJqMSYazPpGVmpeJ1pMkRLOmziBBomF79JO1SL6ewozAUkPjYYdbQnXyzqPe+raLRSCRW0yeDhID3my/oE3tJPdyQk=
+SHA256 (Pkgfile) = 34ddc9b9b6cf8b0e3ecde890f5b8f9d5bd193aa3697ce3a49cad0360126ce806
+SHA256 (.footprint) = 71ed8ba7ef1107c815825071c283b667f61057ba04cd301e9b7ca058be80c2d3
+SHA256 (mysql-boost-5.7.33.tar.gz) = cfcaf6f37a055d808fe1472eb0359864e2227aa0206c55c4e1961bab2ecc304b
 SHA256 (my.cnf) = 51d46fe239e1e18a608e64ea1242fda946c2ea5a9ecea4507d89734e263ab828
 SHA256 (mysqld) = 35c913fde78b6e51e35bd57a01419209258e80677fdd6a1eaa40388848167e33
index 3dc70657c7e05ad273b93e48264628046d5c0c1f..33483e4026c7827e237d5f2122b7ff3526950dd7 100644 (file)
@@ -2,35 +2,40 @@
 # URL: http://www.mysql.com
 # Maintainer: Juergen Daubert, jue at crux dot nu
 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: ncurses zlib openssl cmake libaio
+# Depends on: ncurses zlib openssl cmake libaio rpcsvc-proto
 
 name=mysql
-version=5.7.32
+version=5.7.33
 release=1
 source=(https://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.7/$name-boost-$version.tar.gz \
         my.cnf mysqld)
 
 build () {
-  cd $name-$version
+  export CXXFLAGS+=" -Wno-deprecated-declarations"
 
-  cmake . \
-        -DBUILD_CONFIG=mysql_release \
-        -DINSTALL_LAYOUT=RPM \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DSYSCONFDIR=/etc \
-        -DINSTALL_LIBDIR=lib \
-        -DINSTALL_PLUGINDIR=lib/mysql/plugin \
-        -DINSTALL_MANDIR=share/man \
-        -DINSTALL_SECURE_PRIVDIR=/var/lib/mysql-files \
-        -DWITH_BOOST=./boost \
-        -DWITH_LIBWRAP=0 \
-        -DWITH_SSL=system \
-        -DWITH_ZLIB=system \
-        -DCMAKE_C_FLAGS="-O2 -pipe" \
-        -DCMAKE_CXX_FLAGS="-O2 -pipe"
+  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
 
-  make
-  make DESTDIR=$PKG install
+#        -DCMAKE_C_FLAGS="-O2 -pipe" \
+#        -DCMAKE_CXX_FLAGS="-O2 -pipe"
+
+  cmake --build build
+  DESTDIR=$PKG cmake --install build
 
   rm -r $PKG/usr/share/{mysql-test,info}
   rm $PKG/usr/share/mysql/charsets/README