--- mysql-8.0-mroonga-16.01.orig/debian/apparmor/mysql-8.0-mroonga
+++ mysql-8.0-mroonga-16.01/debian/apparmor/mysql-8.0-mroonga
@@ -0,0 +1,5 @@
+/usr/lib/*/groonga/plugins/ r,
+/usr/lib/*/groonga/plugins/** rm,
+/etc/mecabrc r,
+/var/lib/mecab/dic/** r,
+#include <local/mysql-8.0-mroonga>
--- mysql-8.0-mroonga-16.01.orig/debian/changelog
+++ mysql-8.0-mroonga-16.01/debian/changelog
@@ -0,0 +1,329 @@
+mysql-8.0-mroonga (16.01-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 30 Mar 2026 08:00:06 -0000
+
+mysql-8.0-mroonga (15.25-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 06 Feb 2026 06:43:50 -0000
+
+mysql-8.0-mroonga (15.23-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 27 Jan 2026 07:03:03 -0000
+
+mysql-8.0-mroonga (15.22-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 10 Dec 2025 03:21:08 -0000
+
+mysql-8.0-mroonga (15.21-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 04 Dec 2025 08:39:56 -0000
+
+mysql-8.0-mroonga (15.18-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 13 Nov 2025 05:38:42 -0000
+
+mysql-8.0-mroonga (15.17-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 30 Sep 2025 08:07:21 -0000
+
+mysql-8.0-mroonga (15.16-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 03 Sep 2025 01:36:56 -0000
+
+mysql-8.0-mroonga (15.15-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 30 Jul 2025 04:44:43 -0000
+
+mysql-8.0-mroonga (15.14-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 30 Jul 2025 02:01:33 -0000
+
+mysql-8.0-mroonga (15.11-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 06 Jun 2025 00:30:49 -0000
+
+mysql-8.0-mroonga (15.10-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Wed, 14 May 2025 02:42:46 -0000
+
+mysql-8.0-mroonga (15.09-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 12 May 2025 05:26:03 -0000
+
+mysql-8.0-mroonga (15.08-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 12 May 2025 05:17:50 -0000
+
+mysql-8.0-mroonga (15.07-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Wed, 23 Apr 2025 00:37:57 -0000
+
+mysql-8.0-mroonga (15.06-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 21 Apr 2025 07:47:13 -0000
+
+mysql-8.0-mroonga (15.05-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sutou Kouhei <kou@clear-code.com>  Tue, 08 Apr 2025 00:00:11 -0000
+
+mysql-8.0-mroonga (15.04-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sutou Kouhei <kou@clear-code.com>  Fri, 28 Mar 2025 09:21:18 -0000
+
+mysql-8.0-mroonga (15.00-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sutou Kouhei <kou@clear-code.com>  Sun, 09 Feb 2025 02:10:07 -0000
+
+mysql-8.0-mroonga (14.14-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 31 Jan 2025 07:04:35 -0000
+
+mysql-8.0-mroonga (14.13-2) unstable; urgency=low
+
+  * Rebuilt against MySQL 8.0.41.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 31 Jan 2025 08:52:49 -0000
+
+mysql-8.0-mroonga (14.13-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Wed, 29 Jan 2025 03:24:26 -0000
+
+mysql-8.0-mroonga (14.12-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sutou Kouhei <kou@clear-code.com>  Wed, 25 Dec 2024 06:15:29 -0000
+
+mysql-8.0-mroonga (14.10-2) unstable; urgency=low
+
+  * Rebuilt against MySQL 8.0.40.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 14 Nov 2024 02:40:49 -0000
+
+mysql-8.0-mroonga (14.10-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 11 Nov 2024 05:33:47 -0000
+
+mysql-8.0-mroonga (14.08-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 26 Sep 2024 02:50:31 -0000
+
+mysql-8.0-mroonga (14.07-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 06 Sep 2024 05:39:47 -0000
+
+mysql-8.0-mroonga (14.04-3) unstable; urgency=low
+
+  * Rebuilt against MySQL 8.0.39-0ubuntu0.24.04.2.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 27 Aug 2024 03:23:39 -0000
+
+mysql-8.0-mroonga (14.04-2) unstable; urgency=low
+
+  * Rebuilt against MySQL 8.0.39.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 06 Aug 2024 07:40:35 -0000
+
+mysql-8.0-mroonga (14.04-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 17 Jun 2024 06:23:52 -0000
+
+mysql-8.0-mroonga (13.05-3) unstable; urgency=low
+
+  * Rebuilt against MySQL 8.0.36.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Fri, 16 Feb 2024 05:45:42 -0000
+
+mysql-8.0-mroonga (13.05-2) unstable; urgency=low
+
+  * Rebuilt against MySQL 8.0.34.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 17 Aug 2023 15:00:00 -0000
+
+mysql-8.0-mroonga (13.05-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 01 Aug 2023 15:00:00 -0000
+
+mysql-8.0-mroonga (13.04-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 28 Jul 2023 15:00:00 -0000
+
+mysql-8.0-mroonga (13.01-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 13 Apr 2023 15:00:00 -0000
+
+mysql-8.0-mroonga (13.00-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 08 Feb 2023 15:00:00 -0000
+
+mysql-8.0-mroonga (12.12-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Sat, 28 Jan 2023 15:00:00 -0000
+
+mysql-8.0-mroonga (12.11-2) unstable; urgency=low
+
+  * Rebuild against mysql-server 8.0.32.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 25 Jan 2023 15:00:00 -0000
+
+mysql-8.0-mroonga (12.11-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 05 Jan 2023 15:00:00 -0000
+
+mysql-8.0-mroonga (12.10-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 28 Nov 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (12.09-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 31 Oct 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (12.08-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 03 Oct 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (12.07-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 29 Aug 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (12.06-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 03 Aug 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (12.04-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Sun, 05 Jun 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (12.03-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 28 Apr 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (12.02-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 28 Mar 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (12.00-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 08 Feb 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (11.13-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 28 Jan 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (11.12-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 28 Jan 2022 15:00:00 -0000
+
+mysql-8.0-mroonga (11.11-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 28 Dec 2021 15:00:00 -0000
+
+mysql-8.0-mroonga (11.10-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Sun, 28 Nov 2021 15:00:00 -0000
+
+mysql-8.0-mroonga (11.09-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 03 Nov 2021 15:00:00 -0000
+
+mysql-8.0-mroonga (11.08-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 05 Oct 2021 15:00:00 -0000
+
+mysql-8.0-mroonga (11.07-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 29 Sep 2021 15:00:00 -0000
--- mysql-8.0-mroonga-16.01.orig/debian/compat
+++ mysql-8.0-mroonga-16.01/debian/compat
@@ -0,0 +1 @@
+9
--- mysql-8.0-mroonga-16.01.orig/debian/control
+++ mysql-8.0-mroonga-16.01/debian/control
@@ -0,0 +1,106 @@
+Source: mysql-8.0-mroonga
+Section: database
+Priority: optional
+Maintainer: Horimoto Yasuhiro <horimoto@clear-code.com>
+Build-Depends:
+	autotools-dev,
+	cmake,
+	debhelper (>= 9),
+	groonga-normalizer-mysql,
+	libaio-dev,
+	libcurl4-openssl-dev,
+	libedit-dev,
+	libevent-dev,
+	libgroonga-dev (>= 11.0.0),
+	libicu-dev,
+	liblz4-dev,
+	libmecab-dev,
+	libmysqlclient-dev,
+	libncurses5-dev,
+	libprotobuf-dev,
+	libprotoc-dev,
+	libssl-dev,
+	libtirpc-dev,
+	libwrap0-dev,
+	lsb-release,
+	ninja-build,
+	pkg-config,
+	protobuf-compiler,
+	wget
+Standards-Version: 3.9.1
+Homepage: https://mroonga.org/
+
+Package: mysql-mroonga
+Section: database
+Architecture: any
+Depends:
+	${misc:Depends},
+	mysql-server-8.0-mroonga (= ${binary:Version}),
+	mysql-server (= 8.0.45-0ubuntu0.24.04.1)
+Description: A fast fulltext searchable storage engine for MySQL.
+ This package is a metapackage depending on the latest version.
+ 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 storage engine MySQL 8.0 as a shared library.
+ This provides "Mroonga" storage engine. It means you can use
+ "ENGINE = Mroonga" in "CREATE TABLE".
+
+Package: mysql-server-mroonga
+Section: oldlibs
+Architecture: any
+Priority: optional
+Depends:
+	mysql-mroonga (= ${binary:Version})
+Description: A fast fulltext searchable storage engine for MySQL.
+ This package is a metapackage depending on the latest version.
+ 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 is a trnsitional package. This can safely be removed.
+
+Package: mysql-8.0-mroonga
+Section: database
+Architecture: any
+Depends:
+	${misc:Depends},
+	${shlibs:Depends},
+	libgroonga0 (>= 11.0.0),
+	mysql-server-8.0 (= 8.0.45-0ubuntu0.24.04.1),
+	mysql-server-core-8.0 (= 8.0.45-0ubuntu0.24.04.1),
+	groonga-normalizer-mysql
+Description: A fast fulltext searchable storage engine for MySQL 8.0.
+ 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 storage engine MySQL 8.0 as a shared library.
+ This provides "Mroonga" storage engine. It means you can use
+ "ENGINE = Mroonga" in "CREATE TABLE".
+
+Package: mysql-server-8.0-mroonga
+Section: oldlibs
+Architecture: any
+Priority: optional
+Depends:
+	mysql-8.0-mroonga (= ${binary:Version})
+Description: A fast fulltext searchable storage engine for MySQL 8.0.
+ 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 is a trnsitional package. This can safely be removed.
+
+Package: mysql-8.0-mroonga-doc
+Section: doc
+Architecture: all
+Depends:
+	${misc:Depends}
+Description: Documentation of Mroonga.
+ 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 documentation of Mroonga.
--- mysql-8.0-mroonga-16.01.orig/debian/copyright
+++ mysql-8.0-mroonga-16.01/debian/copyright
@@ -0,0 +1,16 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: mroonga
+Source: https://github.com/mroonga/mroonga
+
+Files: *
+License: LGPL-2.1+
+Copyright:
+ 2009-2010 Tetsuro IKEDA <ikdttr@gmail.com>
+ Daijiro MORI <morita@razil.jp>
+ Tasuku SUENAGA <a@razil.jp>
+ 2012-2018 Kouhei Sutou <kou@clear-code.com>
+
+Files: debian/*
+Copyright:
+ 2010-2018 Kouhei Sutou <kou@clear-code.com>
+License: public-domain
--- mysql-8.0-mroonga-16.01.orig/debian/mysql-8.0-mroonga-doc.install
+++ mysql-8.0-mroonga-16.01/debian/mysql-8.0-mroonga-doc.install
@@ -0,0 +1 @@
+usr/share/doc/mysql-8.0-mroonga-doc/
--- mysql-8.0-mroonga-16.01.orig/debian/mysql-8.0-mroonga.install
+++ mysql-8.0-mroonga-16.01/debian/mysql-8.0-mroonga.install
@@ -0,0 +1,3 @@
+usr/lib/mysql/plugin/ha_mroonga.so*
+usr/share/mroonga/*
+debian/apparmor/mysql-8.0-mroonga etc/apparmor.d/abstractions/
--- mysql-8.0-mroonga-16.01.orig/debian/mysql-8.0-mroonga.postinst
+++ mysql-8.0-mroonga-16.01/debian/mysql-8.0-mroonga.postinst
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -eu
+
+/usr/share/mroonga/deb/postinst.sh mysql-8.0-mroonga "$@"
+
+#DEBHELPER#
--- mysql-8.0-mroonga-16.01.orig/debian/mysql-8.0-mroonga.prerm
+++ mysql-8.0-mroonga-16.01/debian/mysql-8.0-mroonga.prerm
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -eu
+
+/usr/share/mroonga/deb/prerm.sh mysql-8.0-mroonga "$@"
+
+#DEBHELPER#
--- mysql-8.0-mroonga-16.01.orig/debian/rules
+++ mysql-8.0-mroonga-16.01/debian/rules
@@ -0,0 +1,56 @@
+#!/usr/bin/make -f
+# -*- makefile-gmake -*-
+#
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+export MYSQL_VERSION_FULL := $(shell apt-cache show mysql-server-8.0 | grep Version | head -n 1 | awk '{print $$2}')
+export MYSQL_VERSION := $(shell apt-cache show mysql-server-8.0 | grep Version | head -n 1 | awk '{print $$2}' | awk -F '-' '{print $$1}')
+
+%:
+	dh $@ --without autoreconf
+
+override_dh_auto_configure:
+	source_base=mysql-8.0-$(MYSQL_VERSION);				\
+	build_dir=$${source_base}/builddir;				\
+	archive=mysql-8.0_$(MYSQL_VERSION).orig.tar.gz;			\
+	debian=mysql-8.0_$(MYSQL_VERSION_FULL).debian.tar.xz;		\
+	dsc=mysql-8.0_$(MYSQL_VERSION_FULL).dsc;			\
+	path=main/m/mysql-8.0;						\
+	if [ "$$(lsb_release --id --short)" = "Ubuntu" ]; then		\
+	  base_url=http://archive.ubuntu.com/ubuntu/pool;		\
+	  security_base_url=http://security.ubuntu.com/ubuntu/pool;	\
+	else								\
+	  base_url=http://ftp.debian.org/debian/pool;			\
+	  security_base_url=http://security.debian.org/pool/updates;	\
+	fi;								\
+	wget="wget --no-verbose";					\
+	$${wget} $${security_base_url}/$${path}/$${archive} ||		\
+	  $${wget} $${base_url}/$${path}/$${archive} &&			\
+	$${wget} $${security_base_url}/$${path}/$${archive}.asc ||	\
+	  $${wget} $${base_url}/$${path}/$${archive}.asc &&		\
+	$${wget} $${security_base_url}/$${path}/$${debian} ||		\
+	  $${wget} $${base_url}/$${path}/$${debian} &&			\
+	$${wget}  $${security_base_url}/$${path}/$${dsc} ||		\
+	  $${wget}  $${base_url}/$${path}/$${dsc} &&			\
+	dpkg-source --extract $${dsc} &&				\
+	(cd $${source_base} &&						\
+	  debian/rules override_dh_auto_configure) &&			\
+	(cd $${build_dir}/utilities && $(MAKE) -j$$(nproc) GenError);	\
+	dh_auto_configure						\
+	  --buildsystem=cmake+ninja					\
+	  --								\
+	  -DMRN_WITH_DOC=ON						\
+	  -DMYSQL_BUILD_DIR=$$(pwd)/$${build_dir}			\
+	  -DMYSQL_CONFIG=/usr/bin/mysql_config				\
+	  -DMYSQL_SOURCE_DIR=$$(pwd)/$${source_base}
+
+# disable 'make check'.
+override_dh_auto_test:
+
+override_dh_install:
+	mv debian/tmp/usr/share/doc/mroonga/ \
+	  debian/tmp/usr/share/doc/mysql-8.0-mroonga-doc/
+	dh_install
--- mysql-8.0-mroonga-16.01.orig/debian/source/format
+++ mysql-8.0-mroonga-16.01/debian/source/format
@@ -0,0 +1 @@
+1.0
