summaryrefslogtreecommitdiffstats
path: root/testing/source/mariadb/mysql_install_db.nopam.diff
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-05-03 19:58:20 +0000
committer Eric Hameleers <alien@slackware.com>2021-05-03 23:59:55 +0200
commit4c189bc9bc307a9cd477afb9ff560c7138f8bdd0 (patch)
tree855f9187c0d6bca9dc967203b23c23adb7b3eba3 /testing/source/mariadb/mysql_install_db.nopam.diff
parentd29973a5051109bc0eab591df07eb128318d2c9c (diff)
downloadcurrent-4c189bc9bc307a9cd477afb9ff560c7138f8bdd0.tar.gz
current-4c189bc9bc307a9cd477afb9ff560c7138f8bdd0.tar.xz
Mon May 3 19:58:20 UTC 202120210503195820
a/kernel-firmware-20210503_3f23f51-noarch-1.txz: Upgraded. ap/mariadb-10.5.9-x86_64-1.txz: Upgraded. Reverted to the latest stable release. d/mercurial-5.8-x86_64-1.txz: Upgraded. kde/calligra-3.2.1-x86_64-8.txz: Rebuilt. Recompiled against poppler-21.05.0. kde/cantor-21.04.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.05.0. kde/kfilemetadata-5.81.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.05.0. kde/kile-2.9.93-x86_64-8.txz: Rebuilt. Recompiled against poppler-21.05.0. kde/kitinerary-21.04.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.05.0. kde/krita-4.4.3-x86_64-4.txz: Rebuilt. Recompiled against poppler-21.05.0. kde/okular-21.04.0-x86_64-2.txz: Rebuilt. Recompiled against poppler-21.05.0. l/isl-0.24-x86_64-1.txz: Upgraded. l/poppler-21.05.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/python-pygments-2.9.0-x86_64-1.txz: Upgraded. n/ethtool-5.12-x86_64-1.txz: Upgraded. n/httpd-2.4.47-x86_64-2.txz: Rebuilt. Recompiled against the mariadb-10.5.9 shared libraries. n/postfix-3.6.0-x86_64-2.txz: Rebuilt. Recompiled against the mariadb-10.5.9 shared libraries. xap/gparted-1.3.0-x86_64-1.txz: Upgraded. testing/packages/mariadb-10.6.0-x86_64-1.txz: Upgraded. Since this is still considered alpha and not production ready, we'll put it in /testing for now. Unless you're using an Atom (or other 32-bit processor affected by the illegal instruction issue) it's probably best to stick with mariadb-10.5.9.
Diffstat (limited to 'testing/source/mariadb/mysql_install_db.nopam.diff')
-rw-r--r--testing/source/mariadb/mysql_install_db.nopam.diff48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/source/mariadb/mysql_install_db.nopam.diff b/testing/source/mariadb/mysql_install_db.nopam.diff
new file mode 100644
index 000000000..70503865a
--- /dev/null
+++ b/testing/source/mariadb/mysql_install_db.nopam.diff
@@ -0,0 +1,48 @@
+--- ./scripts/mysql_install_db.sh.orig 2020-01-28 11:31:09.088303502 -0600
++++ ./scripts/mysql_install_db.sh 2020-01-28 11:35:47.822283410 -0600
+@@ -480,25 +480,26 @@
+
+ if test -n "$user"
+ then
+- if test -z "$srcdir" -a "$in_rpm" -eq 0
+- then
+- chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool" && \
+- chmod 04755 "$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
+- 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."
+- echo
+- fi
+- fi
++ # Commented out since Slackware does not currently provide PAM:
++ #if test -z "$srcdir" -a "$in_rpm" -eq 0
++ #then
++ # chown 0 "$pamtooldir/auth_pam_tool_dir/auth_pam_tool" && \
++ # chmod 04755 "$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
++ # 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."
++ # echo
++ # fi
++ #fi
+ args="$args --user=$user"
+ fi
+