[arch-commits] Commit in percona-server/trunk (PKGBUILD rocksdb-make.patch)
Massimiliano Torromeo
mtorromeo at archlinux.org
Mon Mar 16 22:42:47 UTC 2020
Date: Monday, March 16, 2020 @ 22:42:47
Author: mtorromeo
Revision: 599930
upgpkg: percona-server 8.0.18_9-2
Added:
percona-server/trunk/rocksdb-make.patch
Modified:
percona-server/trunk/PKGBUILD
--------------------+
PKGBUILD | 17 +++++++++++------
rocksdb-make.patch | 13 +++++++++++++
2 files changed, 24 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-16 22:41:57 UTC (rev 599929)
+++ PKGBUILD 2020-03-16 22:42:47 UTC (rev 599930)
@@ -6,9 +6,9 @@
_boost_ver=1.70.0
_pkgver=${pkgver/_/-}
_myver=${pkgver/_rel*}
-pkgrel=1
+pkgrel=2
arch=('x86_64')
-makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl' 'rpcsvc-proto' 'boost')
+makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl' 'rpcsvc-proto' 'boost' 'doxygen' 'graphviz')
license=('GPL')
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"
@@ -17,7 +17,8 @@
'mysql-user.conf'
'build-hostname.patch'
'no-werror.patch'
- 'rocksdb-systemlibs.patch')
+ 'rocksdb-systemlibs.patch'
+ 'rocksdb-make.patch')
sha256sums=('31b980b0f87a8d261f5bdfd353e05dc92b261997a94c3df604d7ed2526fdc2d7'
'882b48708d211a5f48e60b0124cf5863c1534cd544ecd0664bb534a4b5d506e9'
'b467b04d6d06152b2abc33f2a6de63fef0fc922dd5119d2ee1d07d3c1a489731'
@@ -24,7 +25,8 @@
'e638a2657085f15b6728f43c1fd6aa551b27608fbf6b435e33afd3606a0cfb0e'
'1537fdbb92dd1c135c1eb9f4d10c44fd02e652db66c933d731990a1196f1397c'
'fe1cb2b079c56ff0f827c7dfb25d004b2190410406820c490dc6152cfe392b70'
- '1bbae30fe4c7d8198aaa771a20ca2fbeb6494de9ec4e516e4bab5f1387b3b8bd')
+ '1bbae30fe4c7d8198aaa771a20ca2fbeb6494de9ec4e516e4bab5f1387b3b8bd'
+ '2ff495d271f99c4d0dba89e8ccde7e6b9789a4ea6b55034de9b9217b47e32c03')
prepare() {
cd $pkgbase-$_pkgver
@@ -33,6 +35,10 @@
patch -p1 -i "$srcdir"/build-hostname.patch
patch -p1 -i "$srcdir"/no-werror.patch
patch -p1 -i "$srcdir"/rocksdb-systemlibs.patch
+ patch -p1 -i "$srcdir"/rocksdb-make.patch
+
+ echo StateDirectory=mysql mysql-files >> scripts/systemd/mysqld.service.in
+ echo StateDirectory=mysql mysql-files >> scripts/systemd/mysqld at .service.in
}
build() {
@@ -149,10 +155,9 @@
install -Dm644 ../mysql-user.conf "$pkgdir"/usr/lib/sysusers.d/mysql.conf
cd "$pkgdir"
- install -dm750 -o 89 var/lib/mysql-files
chmod 755 usr
mv usr/usr/lib/* usr/lib
- rm -rf usr/{usr,data,run,lib/perconaserver/plugin/debug}
+ rm -rf usr/{usr,data,run,lib/perconaserver/plugin/debug,lib/tmpfiles.d/mysql.conf}
# Move documentation
if [ -f usr/PATENTS ]; then
Added: rocksdb-make.patch
===================================================================
--- rocksdb-make.patch (rev 0)
+++ rocksdb-make.patch 2020-03-16 22:42:47 UTC (rev 599930)
@@ -0,0 +1,13 @@
+diff --git a/storage/rocksdb/get_rocksdb_files.sh b/storage/rocksdb/get_rocksdb_files.sh
+index dbaab0f..c68b158 100755
+--- a/storage/rocksdb/get_rocksdb_files.sh
++++ b/storage/rocksdb/get_rocksdb_files.sh
+@@ -4,7 +4,7 @@ MKFILE=`mktemp`
+ # include rocksdb make file relative to the path of this script
+ echo "include rocksdb/src.mk
+ all:
+- @echo \$(LIB_SOURCES)" > $MKFILE
++ @echo \"\$(LIB_SOURCES)\"" > $MKFILE
+ for f in `make --makefile $MKFILE`
+ do
+ echo ./rocksdb/$f
More information about the arch-commits
mailing list