[Groonga-mysql-commit] mroonga/mroonga [master] [debian] add mysql-server-mroonga-compatible package.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 12月 29日 (木) 18:18:55 JST


Kouhei Sutou	2011-12-29 18:18:55 +0900 (Thu, 29 Dec 2011)

  New Revision: 645dbba0095e414100cce65c9bd9c3c065a62738

  Log:
    [debian] add mysql-server-mroonga-compatible package.
    
    It is just for backward compatibility. It provides "groonga" storage engine.

  Copied files:
    packages/debian/mysql-server-mroonga-compatible.install
      (from packages/debian/mysql-server-mroonga.install)
    packages/debian/mysql-server-mroonga-compatible.postinst
      (from packages/debian/mysql-server-mroonga.postinst)
    packages/debian/mysql-server-mroonga-compatible.postrm
      (from packages/debian/mysql-server-mroonga.postrm)
  Modified files:
    packages/debian/changelog
    packages/debian/control
    packages/debian/mysql-server-mroonga.install
    packages/debian/mysql-server-mroonga.postinst
    packages/debian/mysql-server-mroonga.postrm

  Modified: packages/debian/changelog (+7 -0)
===================================================================
--- packages/debian/changelog    2011-12-29 17:45:06 +0900 (8515b6a)
+++ packages/debian/changelog    2011-12-29 18:18:55 +0900 (e2f855b)
@@ -1,3 +1,10 @@
+mroonga (1.20-1) unstable; urgency=low
+
+  * New upstream release.
+  * Add mysql-server-mroonga-compatible package for "groonga" storage engine.
+
+ -- Kouhei Sutou <kou****@clear*****>  Sun, 29 Jan 2012 00:00:00 +0900
+
 mroonga (1.11-1) unstable; urgency=low
 
   * New upstream release.

  Modified: packages/debian/control (+26 -0)
===================================================================
--- packages/debian/control    2011-12-29 17:45:06 +0900 (3b009b9)
+++ packages/debian/control    2011-12-29 18:18:55 +0900 (667fac8)
@@ -16,6 +16,7 @@ Section: database
 Architecture: any
 Replaces: mysql-server-groonga (<< 1.0.0-1)
 Breaks: mysql-server-groonga (<< 1.0.0-1)
+Conflicts: mysql-server-mroonga-compatible
 Depends:
 	${misc:Depends},
 	${shlibs:Depends},
@@ -27,6 +28,31 @@ Description: A fast fulltext searchable storage engine for MySQL.
  Groonga is good at real time update.
  .
  This package provides a MySQL storage engine as a shared library.
+ This provides "mroonga" storage engine. It means you can use
+ "ENGINE = mroonga" in "CREATE TABLE". You can use
+ "ENGINE = groonga" in "CREATE TABLE" with mysql-server-mroonga-compatible
+ package. It provides "groonga" storage engine. But "groonga" storage engine
+ is deprecated. We recommend that you use "mroonga" storage engine
+ rather than "groonga" storage engine.
+
+Package: mysql-server-mroonga-compatible
+Section: database
+Architecture: any
+Conflicts: mysql-server-mroonga
+Depends:
+	${misc:Depends},
+	${shlibs:Depends},
+	libgroonga0 (>= 1.2.8),
+	mysql-server
+Description: A fast fulltext searchable storage engine for MySQL.
+ Mroonga is a fast fulltext searchable storage engine for MySQL.
+ It is based on groonga, a fast fulltext search engine and column store.
+ Groonga is good at real time update.
+ .
+ This package provides a MySQL storage engine as a shared library.
+ This provides "groonga" storage engine. It means you can use
+ "ENGINE = groonga" in "CREATE TABLE" but "groonga" storage engine
+ is deprecated. You should use "mroonga" storage engine.
 
 Package: mysql-server-mroonga-doc
 Section: doc

  Copied: packages/debian/mysql-server-mroonga-compatible.install (+0 -0) 100%
===================================================================

  Copied: packages/debian/mysql-server-mroonga-compatible.postinst (+0 -0) 100%
===================================================================

  Copied: packages/debian/mysql-server-mroonga-compatible.postrm (+0 -0) 100%
===================================================================

  Modified: packages/debian/mysql-server-mroonga.install (+1 -1)
===================================================================
--- packages/debian/mysql-server-mroonga.install    2011-12-29 17:45:06 +0900 (3d59467)
+++ packages/debian/mysql-server-mroonga.install    2011-12-29 18:18:55 +0900 (59bffb7)
@@ -1,2 +1,2 @@
-usr/lib/mysql/plugin/ha_groonga.so*
+usr/lib/mysql/plugin/ha_mroonga.so*
 debian/apparmor/mysql-server-mroonga etc/apparmor.d/abstractions/

  Modified: packages/debian/mysql-server-mroonga.postinst (+2 -2)
===================================================================
--- packages/debian/mysql-server-mroonga.postinst    2011-12-29 17:45:06 +0900 (f600f37)
+++ packages/debian/mysql-server-mroonga.postinst    2011-12-29 18:18:55 +0900 (2608c80)
@@ -6,8 +6,8 @@ prevver="$2"
 
 install_plugin() {
     cat <<EOS | mysql --defaults-file=/etc/mysql/debian.cnf || true
-INSTALL PLUGIN groonga SONAME 'ha_groonga.so';
-CREATE FUNCTION last_insert_grn_id RETURNS INTEGER soname 'ha_groonga.so';
+INSTALL PLUGIN mroonga SONAME 'ha_mroonga.so';
+CREATE FUNCTION last_insert_grn_id RETURNS INTEGER soname 'ha_mroonga.so';
 EOS
 }
 

  Modified: packages/debian/mysql-server-mroonga.postrm (+1 -1)
===================================================================
--- packages/debian/mysql-server-mroonga.postrm    2011-12-29 17:45:06 +0900 (fc14bb5)
+++ packages/debian/mysql-server-mroonga.postrm    2011-12-29 18:18:55 +0900 (7c308e9)
@@ -4,7 +4,7 @@ set -e
 
 cat <<EOS | mysql --defaults-file=/etc/mysql/debian.cnf || true
 DROP FUNCTION last_insert_grn_id;
-UNINSTALL PLUGIN groonga;
+UNINSTALL PLUGIN mroonga;
 EOS
 
 if [ "$1" = "purge" ]; then




Groonga-mysql-commit メーリングリストの案内
Back to archive index