Revert "mariadb: update to 10.4.8"
This reverts commit d66de11b24303439210e3f2f83d99de1cafb2eef.
This commit is contained in:
parent
1472bf263d
commit
29ee6b6762
@ -2,9 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://mariadb.org
|
|||||||
TERMUX_PKG_DESCRIPTION="A drop-in replacement for mysql server"
|
TERMUX_PKG_DESCRIPTION="A drop-in replacement for mysql server"
|
||||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||||
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
|
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
|
||||||
TERMUX_PKG_VERSION=10.4.8
|
TERMUX_PKG_VERSION=10.4.6
|
||||||
|
TERMUX_PKG_REVISION=2
|
||||||
TERMUX_PKG_SRCURL=https://ftp.osuosl.org/pub/mariadb/mariadb-$TERMUX_PKG_VERSION/source/mariadb-$TERMUX_PKG_VERSION.tar.gz
|
TERMUX_PKG_SRCURL=https://ftp.osuosl.org/pub/mariadb/mariadb-$TERMUX_PKG_VERSION/source/mariadb-$TERMUX_PKG_VERSION.tar.gz
|
||||||
TERMUX_PKG_SHA256=10cc2c3bdb76733c9c6fd1e3c6c860d8b4282c85926da7d472d2a0e00fffca9b
|
TERMUX_PKG_SHA256=a270fe6169a1aaf6f2cbbc945de2c954d818c48e1a0fc02fbed92ecb94678e70
|
||||||
TERMUX_PKG_DEPENDS="libc++, libiconv, liblzma, ncurses, libedit, openssl, pcre, libcrypt, libandroid-support, libandroid-glob, zlib"
|
TERMUX_PKG_DEPENDS="libc++, libiconv, liblzma, ncurses, libedit, openssl, pcre, libcrypt, libandroid-support, libandroid-glob, zlib"
|
||||||
TERMUX_PKG_BREAKS="mariadb-dev"
|
TERMUX_PKG_BREAKS="mariadb-dev"
|
||||||
TERMUX_PKG_REPLACES="mariadb-dev"
|
TERMUX_PKG_REPLACES="mariadb-dev"
|
||||||
|
@ -1,21 +1,70 @@
|
|||||||
diff -uNr mariadb-10.4.8/scripts/mysql_install_db.sh mariadb-10.4.8.mod/scripts/mysql_install_db.sh
|
diff -uNr mariadb-10.4.6/scripts/mysql_install_db.sh mariadb-10.4.6.mod/scripts/mysql_install_db.sh
|
||||||
--- mariadb-10.4.8/scripts/mysql_install_db.sh 2019-09-09 00:02:31.000000000 +0300
|
--- mariadb-10.4.6/scripts/mysql_install_db.sh 2019-06-18 01:00:32.000000000 +0300
|
||||||
+++ mariadb-10.4.8.mod/scripts/mysql_install_db.sh 2019-09-18 16:32:41.338083939 +0300
|
+++ mariadb-10.4.6.mod/scripts/mysql_install_db.sh 2019-08-04 21:52:11.299044998 +0300
|
||||||
@@ -466,7 +466,7 @@
|
@@ -1,16 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Copyright (c) 2000, 2013, Oracle and/or its affiliates.
|
||||||
|
# Copyright (c) 2009, 2013, Monty Program Ab
|
||||||
|
-#
|
||||||
|
+#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; version 2 of the License.
|
||||||
|
-#
|
||||||
|
+#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
-#
|
||||||
|
+#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
|
||||||
|
@@ -76,7 +76,7 @@
|
||||||
|
--force Causes mysql_install_db to run even if DNS does not
|
||||||
|
work. In that case, grant table entries that
|
||||||
|
normally use hostnames will use IP addresses.
|
||||||
|
- --help Display this help and exit.
|
||||||
|
+ --help Display this help and exit.
|
||||||
|
--ldata=path The path to the MariaDB data directory. Same as
|
||||||
|
--datadir.
|
||||||
|
--no-defaults Don't read default options from any option file.
|
||||||
|
@@ -453,37 +453,10 @@
|
||||||
fi
|
fi
|
||||||
chmod 700 "$dir"
|
chmod 700 "$dir"
|
||||||
fi
|
fi
|
||||||
- if test -n "$user"
|
- if test -n "$user"
|
||||||
+ if test -n "$user" && test "$(uname -o)" != "Android"
|
- then
|
||||||
then
|
- chown $user "$dir"
|
||||||
chown $user "$dir"
|
- if test $? -ne 0
|
||||||
if test $? -ne 0
|
- then
|
||||||
@@ -478,7 +478,7 @@
|
- echo "Cannot change ownership of the database directories to the '$user'"
|
||||||
fi
|
- echo "user. Check that you have the necessary permissions and try again."
|
||||||
|
- exit 1
|
||||||
|
- fi
|
||||||
|
- fi
|
||||||
done
|
done
|
||||||
|
|
||||||
-if test -n "$user"
|
if test -n "$user"
|
||||||
+if test -n "$user" && test "$(uname -o)" != "Android"
|
|
||||||
then
|
then
|
||||||
chown $user "$pamtooldir/auth_pam_tool_dir" && \
|
- chown $user "$pamtooldir/auth_pam_tool_dir"
|
||||||
chmod 0700 "$pamtooldir/auth_pam_tool_dir"
|
- if test $? -ne 0
|
||||||
|
- then
|
||||||
|
- echo "Cannot change ownership of the '$pamtooldir/auth_pam_tool_dir' directory"
|
||||||
|
- echo " to the '$user' user. Check that you have the necessary permissions and try again."
|
||||||
|
- exit 1
|
||||||
|
- fi
|
||||||
|
- if test -z "$srcdir"
|
||||||
|
- then
|
||||||
|
- chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool"
|
||||||
|
- if test $? -ne 0
|
||||||
|
- then
|
||||||
|
- echo "Couldn't set an owner to '$pamtooldir/auth_pam_tool_dir/auth_pam_tool'."
|
||||||
|
- echo " It must be root, the PAM authentication plugin doesn't work otherwise.."
|
||||||
|
- echo
|
||||||
|
- fi
|
||||||
|
- fi
|
||||||
|
args="$args --user=$user"
|
||||||
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user