summaryrefslogtreecommitdiff
path: root/debian/libmariadb3.postinst
diff options
context:
space:
mode:
authorOtto Kekäläinen <otto@mariadb.org>2016-11-17 22:12:42 +0200
committerOtto Kekäläinen <otto@mariadb.org>2016-11-20 10:49:12 +0200
commit2bcc16c17b290d319364bd4c75be8140b5e3c29f (patch)
tree67997270e9d2badf81a9b148d65d51adf908b743 /debian/libmariadb3.postinst
parent54bd67a4ed8525867725c912da4b692b6fcb4834 (diff)
downloadmariadb-git-2bcc16c17b290d319364bd4c75be8140b5e3c29f.tar.gz
Deb: rename client library packages to reflect its contents
The new library name libmariadb3 matches the libmariadb.so.3 filename. Packages that want to build against MariaDB Connector C have as build-dependency libmariadb-dev and as run-time dependency libmariadb3. Make the package provide libmariadbclient18 for backwards compatibility, though compatibility is not always assured. There library did change to a whole new generation after all, even though ABI compatibility has been a design goal. Also do the equivalent change for the -dev package. Packages that explicitly want to use the MariaDB Connector C should mark it as their build-depends. Also provide an empty libmariadbclient18 metapackage to facilitate upgrades from old MariaDB installs, just like there is an empty libmysqlclient18 package. Create more of these in the future as needed.
Diffstat (limited to 'debian/libmariadb3.postinst')
-rw-r--r--debian/libmariadb3.postinst12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/libmariadb3.postinst b/debian/libmariadb3.postinst
new file mode 100644
index 00000000000..29d3b86f978
--- /dev/null
+++ b/debian/libmariadb3.postinst
@@ -0,0 +1,12 @@
+#!/bin/bash -e
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+# vim: ts=4
+
+