[Groonga-mysql-commit] mroonga/mroonga at 34ab62b [master] packages deb: fix plugindir detection correctly

Zurück zum Archiv-Index

Kentaro Hayashi null+****@clear*****
Sat Mar 31 16:01:31 JST 2018


Kentaro Hayashi	2018-03-31 16:01:31 +0900 (Sat, 31 Mar 2018)

  New Revision: 34ab62b8ce51e286dc4d1dcd6ed2a6bededc57f8
  https://github.com/mroonga/mroonga/commit/34ab62b8ce51e286dc4d1dcd6ed2a6bededc57f8

  Message:
    packages deb: fix plugindir detection correctly
    
    if libkrb5 package is installed, Mroonga detects wrong path as
    plugindir. this is not expected behavior.

  Modified files:
    packages/apt/build-deb.sh

  Modified: packages/apt/build-deb.sh (+13 -0)
===================================================================
--- packages/apt/build-deb.sh    2018-03-31 16:01:06 +0900 (6cf6f50c)
+++ packages/apt/build-deb.sh    2018-03-31 16:01:31 +0900 (6cd80a1d)
@@ -86,6 +86,19 @@ esac
 run apt-get install -V -y build-essential devscripts ${DEPENDED_PACKAGES}
 run apt-get build-dep -y ${mysql_server_package}
 
+# Fix mysql_config plugindir detection correctly on Jessie
+case "${code_name}" in
+  jessie)
+    if [ -f /usr/bin/mysql_config ]; then
+      run sed -i'' \
+          -e 's,fix_path plugindir $plugindir_rel lib/x86_64-linux-gnu/mysql/plugin lib/x86_64-linux-gnu/plugin,fix_path plugindir $plugindir_rel lib/x86_64-linux-gnu/mysql/plugin,' \
+          /usr/bin/mysql_config
+    fi
+    ;;
+  *)
+    ;;
+esac
+
 run mkdir -p build
 run cd build
 run tar xfz /vagrant/tmp/${PACKAGE}-${VERSION}.tar.gz
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180331/2b63ca7e/attachment.htm 



More information about the Groonga-mysql-commit mailing list
Zurück zum Archiv-Index