--- mariadb-10.11-mroonga-16.09.orig/debian/apparmor/mariadb-10.11-mroonga
+++ mariadb-10.11-mroonga-16.09/debian/apparmor/mariadb-10.11-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/mariadb-10.11-mroonga>
--- mariadb-10.11-mroonga-16.09.orig/debian/changelog
+++ mariadb-10.11-mroonga-16.09/debian/changelog
@@ -0,0 +1,215 @@
+mariadb-10.11-mroonga (16.09-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 14 Aug 2026 08:37:13 -0000
+
+mariadb-10.11-mroonga (16.08-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 03 Aug 2026 09:24:34 -0000
+
+mariadb-10.11-mroonga (16.07-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Wed, 01 Jul 2026 05:31:45 -0000
+
+mariadb-10.11-mroonga (16.06-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Wed, 01 Jul 2026 03:16:41 -0000
+
+mariadb-10.11-mroonga (16.05-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 19 Jun 2026 09:16:44 -0000
+
+mariadb-10.11-mroonga (16.02-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 08 Jun 2026 06:07:07 -0000
+
+mariadb-10.11-mroonga (16.01-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 30 Mar 2026 08:00:06 -0000
+
+mariadb-10.11-mroonga (15.25-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 06 Feb 2026 06:43:49 -0000
+
+mariadb-10.11-mroonga (15.23-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 27 Jan 2026 07:03:03 -0000
+
+mariadb-10.11-mroonga (15.22-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 10 Dec 2025 03:21:08 -0000
+
+mariadb-10.11-mroonga (15.21-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 04 Dec 2025 08:39:56 -0000
+
+mariadb-10.11-mroonga (15.18-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 13 Nov 2025 05:38:42 -0000
+
+mariadb-10.11-mroonga (15.17-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 30 Sep 2025 08:07:21 -0000
+
+mariadb-10.11-mroonga (15.16-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 03 Sep 2025 01:36:56 -0000
+
+mariadb-10.11-mroonga (15.15-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 30 Jul 2025 04:44:42 -0000
+
+mariadb-10.11-mroonga (15.14-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Wed, 30 Jul 2025 02:01:32 -0000
+
+mariadb-10.11-mroonga (15.11-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 06 Jun 2025 00:30:49 -0000
+
+mariadb-10.11-mroonga (15.10-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Wed, 14 May 2025 02:42:46 -0000
+
+mariadb-10.11-mroonga (15.09-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 12 May 2025 05:26:03 -0000
+
+mariadb-10.11-mroonga (15.08-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 12 May 2025 05:17:50 -0000
+
+mariadb-10.11-mroonga (15.07-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Wed, 23 Apr 2025 00:37:57 -0000
+
+mariadb-10.11-mroonga (15.06-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 21 Apr 2025 07:47:13 -0000
+
+mariadb-10.11-mroonga (15.05-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sutou Kouhei <kou@clear-code.com>  Tue, 08 Apr 2025 00:00:11 -0000
+
+mariadb-10.11-mroonga (15.04-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sutou Kouhei <kou@clear-code.com>  Fri, 28 Mar 2025 09:21:18 -0000
+
+mariadb-10.11-mroonga (15.00-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sutou Kouhei <kou@clear-code.com>  Sun, 09 Feb 2025 02:10:07 -0000
+
+mariadb-10.11-mroonga (14.14-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 31 Jan 2025 07:04:35 -0000
+
+mariadb-10.11-mroonga (14.13-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Abe Tomoaki <abe@clear-code.com>  Wed, 29 Jan 2025 03:24:25 -0000
+
+mariadb-10.11-mroonga (14.12-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Sutou Kouhei <kou@clear-code.com>  Wed, 25 Dec 2024 06:15:29 -0000
+
+mariadb-10.11-mroonga (14.10-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 11 Nov 2024 05:33:47 -0000
+
+mariadb-10.11-mroonga (14.08-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Thu, 26 Sep 2024 02:50:31 -0000
+
+mariadb-10.11-mroonga (14.07-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 06 Sep 2024 05:39:47 -0000
+
+mariadb-10.11-mroonga (14.04-2) unstable; urgency=low
+
+  * Rebuild against MariaDB 10.11.8.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 21 Jun 2024 02:38:58 -0000
+
+mariadb-10.11-mroonga (14.04-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Mon, 17 Jun 2024 06:23:51 -0000
+
+mariadb-10.11-mroonga (13.05-2) unstable; urgency=low
+
+  * Rebuilt against MariaDB 10.11.6.
+
+ -- Kodama Takuya <otegami@clear-code.com>  Thu, 13 Jun 2024 15:00:00 -0000
+
+mariadb-10.11-mroonga (13.05-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Tue, 01 Aug 2023 15:00:00 -0000
+
+mariadb-10.11-mroonga (13.04-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Horimoto Yasuhiro <horimoto@clear-code.com>  Fri, 28 Jul 2023 15:00:00 -0000
--- mariadb-10.11-mroonga-16.09.orig/debian/compat
+++ mariadb-10.11-mroonga-16.09/debian/compat
@@ -0,0 +1 @@
+13
--- mariadb-10.11-mroonga-16.09.orig/debian/control
+++ mariadb-10.11-mroonga-16.09/debian/control
@@ -0,0 +1,88 @@
+Source: mariadb-10.11-mroonga
+Section: database
+Priority: optional
+Maintainer: Horimoto Yasuhiro <horimoto@clear-code.com>
+Build-Depends:
+	bison,
+	chrpath,
+	cmake,
+	debhelper (>= 13),
+	dh-apparmor,
+	gdb,
+	groonga-normalizer-mysql,
+	libaio-dev [linux-any],
+	libboost-dev,
+	libgroonga-dev (>= 11.0.0),
+	libjemalloc-dev [linux-any],
+	libjudy-dev,
+	libmariadb-client-lgpl-dev-compat,
+	libmariadbd-dev,
+	libncurses5-dev,
+	libpam0g-dev,
+	libpcre2-dev,
+        libpmem-dev,
+	libreadline-dev,
+	libsnappy-dev,
+	libssl-dev,
+        liburing-dev,
+	libxml2-dev,
+	lsb-release,
+	ninja-build,
+	perl,
+	pkg-config,
+	po-debconf,
+	psmisc,
+	unixodbc-dev,
+	wget,
+	zlib1g-dev
+Standards-Version: 4.6.2
+Homepage: https://mroonga.org/
+
+Package: mariadb-mroonga
+Section: database
+Architecture: any
+Depends:
+	mariadb-10.11-mroonga (= ${binary:Version}),
+	mariadb-server (= 1:10.11.14-0ubuntu0.24.04.1)
+Description: A fast fulltext searchable storage engine for MariaDB.
+ This package is a metapackage depending on the latest version.
+ Mroonga is a fast fulltext searchable storage engine for MariaDB.
+ 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 MariaDB 10.11 as a shared library.
+ This provides "Mroonga" storage engine. It means you can use
+ "ENGINE = Mroonga" in "CREATE TABLE".
+
+Package: mariadb-10.11-mroonga
+Section: database
+Architecture: any
+Depends:
+	${misc:Depends},
+	${shlibs:Depends},
+	groonga-normalizer-mysql,
+	libgroonga0 (>= 11.0.0),
+	mariadb-server (= 1:10.11.14-0ubuntu0.24.04.1),
+	mariadb-server-core (= 1:10.11.14-0ubuntu0.24.04.1)
+Conflicts:
+	mariadb-plugin-mroonga
+Description: A fast fulltext searchable storage engine for MariaDB 10.11.
+ Mroonga is a fast fulltext searchable storage engine for MariaDB.
+ 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 MariaDB 10.11 as a shared library.
+ This provides "Mroonga" storage engine. It means you can use
+ "ENGINE = Mroonga" in "CREATE TABLE".
+
+Package: mariadb-10.11-mroonga-doc
+Section: doc
+Architecture: all
+Depends:
+	${misc:Depends}
+Description: Documentation of Mroonga.
+ Mroonga is a fast fulltext searchable storage engine for MariaDB.
+ 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.
--- mariadb-10.11-mroonga-16.09.orig/debian/copyright
+++ mariadb-10.11-mroonga-16.09/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
--- mariadb-10.11-mroonga-16.09.orig/debian/mariadb-10.11-mroonga-doc.install
+++ mariadb-10.11-mroonga-16.09/debian/mariadb-10.11-mroonga-doc.install
@@ -0,0 +1 @@
+usr/share/doc/mariadb-10.11-mroonga-doc/
--- mariadb-10.11-mroonga-16.09.orig/debian/mariadb-10.11-mroonga.install
+++ mariadb-10.11-mroonga-16.09/debian/mariadb-10.11-mroonga.install
@@ -0,0 +1,3 @@
+usr/lib/mysql//plugin/ha_mroonga.so*
+usr/share/mroonga/*
+debian/apparmor/mariadb-10.11-mroonga etc/apparmor.d/abstractions/
--- mariadb-10.11-mroonga-16.09.orig/debian/mariadb-10.11-mroonga.postinst
+++ mariadb-10.11-mroonga-16.09/debian/mariadb-10.11-mroonga.postinst
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+/usr/share/mroonga/deb/postinst.sh mariadb-10.11-mroonga "$@"
+
+#DEBHELPER#
--- mariadb-10.11-mroonga-16.09.orig/debian/mariadb-10.11-mroonga.prerm
+++ mariadb-10.11-mroonga-16.09/debian/mariadb-10.11-mroonga.prerm
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+set -e
+
+/usr/share/mroonga/deb/prerm.sh mariadb-10.11-mroonga "$@"
+
+#DEBHELPER#
--- mariadb-10.11-mroonga-16.09.orig/debian/mariadb-10.11-mroonga.templates
+++ mariadb-10.11-mroonga-16.09/debian/mariadb-10.11-mroonga.templates
@@ -0,0 +1,4 @@
+Template: mariadb-10.11-mroonga/root-password
+Type: password
+Description: Enter MariaDB's root password:
+ Please provide the root password to install/uninstall Mroonga automatially.
--- mariadb-10.11-mroonga-16.09.orig/debian/not-installed
+++ mariadb-10.11-mroonga-16.09/debian/not-installed
@@ -0,0 +1,4 @@
+usr/lib/mysql/plugin/ha_mroonga.a
+usr/lib/mysql/plugin/ha_mroonga.la
+usr/share/man/ja/man1/mroonga.1
+usr/share/man/man1/mroonga.1
--- mariadb-10.11-mroonga-16.09.orig/debian/rules
+++ mariadb-10.11-mroonga-16.09/debian/rules
@@ -0,0 +1,57 @@
+#!/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 MARIADB_VERSION_FULL := $(shell apt-cache show mariadb-server | grep Version | head -n 1 | awk '{print $$2}' | cut -d: -f2)
+export MARIADB_VERSION := $(shell apt-cache show mariadb-server | grep Version | head -n 1 | awk '{print $$2}' | cut -d: -f2 | awk -F '-' '{print $$1}')
+
+%:
+	dh $@ --without autoreconf
+
+override_dh_auto_configure:
+	archive_base=mariadb_$(MARIADB_VERSION);			\
+	archive=$${archive_base}.orig.tar.gz;				\
+	debian=mariadb_$(MARIADB_VERSION_FULL).debian.tar.xz;		\
+	source_base=mariadb-$(MARIADB_VERSION);				\
+	build_dir=$${source_base}/builddir;				\
+	if [ "$$(lsb_release --id --short)" = "Ubuntu" ]; then		\
+	  path=universe/m/mariadb;					\
+	  base_url=http://archive.ubuntu.com/ubuntu/pool;		\
+	  security_base_url=http://security.ubuntu.com/ubuntu/pool;	\
+	else								\
+	  path=main/m/mariadb;						\
+	  base_url=http://ftp.debian.org/debian/pool;			\
+	  security_base_url=http://security.debian.org/pool/updates;	\
+	fi;								\
+	wget --no-verbose $${security_base_url}/$${path}/$${archive} ||	\
+	  wget --no-verbose $${base_url}/$${path}/$${archive};		\
+	wget --no-verbose $${security_base_url}/$${path}/$${debian} ||	\
+	  wget --no-verbose $${base_url}/$${path}/$${debian};		\
+	tar xf $${archive};						\
+	(cd $${source_base} &&						\
+	  rm -rf debian/ &&						\
+	  tar xf ../$${debian});					\
+	dpkg-source --before-build $${source_base};			\
+	(cd $${source_base} &&						\
+	  debian/rules override_dh_auto_configure);			\
+	(cd $${build_dir}/storage/perfschema &&				\
+	  $(MAKE) -j$$(nproc) perfschema);				\
+	dh_auto_configure						\
+	  --buildsystem=cmake+ninja					\
+	  --								\
+	  -DMRN_WITH_DOC=ON						\
+	  -DMYSQL_BUILD_DIR=$$(pwd)/$${build_dir}			\
+	  -DMYSQL_CONFIG=$$(pwd)/$${build_dir}/scripts/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/mariadb-10.11-mroonga-doc/
+	dh_install
--- mariadb-10.11-mroonga-16.09.orig/debian/source/format
+++ mariadb-10.11-mroonga-16.09/debian/source/format
@@ -0,0 +1 @@
+1.0
