[debian-mysql] [RFC PATCH -1/9] src:mysql-5.5 binary package removals

Robie Basak robie.basak at canonical.com
Wed Aug 13 17:08:39 UTC 2014


This is my debdiff against 5.5.38-0ubuntu1 in Ubuntu, to remove the
binary packages from src:mysql-5.5 that are being moved to
src:mysql-5.6. The Debian version will need to pretty much the same I
think.

diff -Nru mysql-5.5-5.5.38/debian/changelog mysql-5.5-5.5.38/debian/changelog
--- mysql-5.5-5.5.38/debian/changelog	2014-07-16 13:59:52.000000000 +0100
+++ mysql-5.5-5.5.38/debian/changelog	2014-08-13 11:55:21.000000000 +0100
@@ -1,3 +1,9 @@
+mysql-5.5 (5.5.38-0ubuntu2) UNRELEASED; urgency=medium
+
+  * Drop common and library packages (transferred to src:mysql-5.6).
+
+ -- Robie Basak <robie.basak at ubuntu.com>  Wed, 13 Aug 2014 11:54:58 +0100
+
 mysql-5.5 (5.5.38-0ubuntu1) utopic; urgency=medium
 
   * SECURITY UPDATE: Update to 5.5.38 to fix security issues (LP: #1342709)
diff -Nru mysql-5.5-5.5.38/debian/control mysql-5.5-5.5.38/debian/control
--- mysql-5.5-5.5.38/debian/control	2014-02-19 21:19:52.000000000 +0000
+++ mysql-5.5-5.5.38/debian/control	2014-08-13 11:53:19.000000000 +0100
@@ -32,85 +32,6 @@
 XS-Debian-Vcs-Browser: http://git.debian.org/?p=pkg-mysql/mysql-4.5.git
 XS-Testsuite: autopkgtest
 
-Package: libmysqlclient18
-Section: libs
-Architecture: any
-Depends: mysql-common (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends}
-Pre-Depends: multiarch-support, ${misc:Pre-Depends}
-Multi-Arch: same
-Description: MySQL database client library
- MySQL is a fast, stable and true multi-user, multi-threaded SQL database
- server. SQL (Structured Query Language) is the most popular database query
- language in the world. The main goals of MySQL are speed, robustness and
- ease of use.
- .
- This package includes the client library.
-
-Package: libmysqld-pic
-Architecture: any
-Section: libdevel
-Depends: libmysqlclient-dev (>= ${source:Version}), ${misc:Depends}
-Description: PIC version of MySQL embedded server development files
- MySQL is a fast, stable and true multi-user, multi-threaded SQL database
- server. SQL (Structured Query Language) is the most popular database query
- language in the world. The main goals of MySQL are speed, robustness and
- ease of use.
- .
- This package includes the -fPIC version of the embedded server library.
-
-Package: libmysqld-dev
-Architecture: any
-Section: libdevel
-Depends: libmysqlclient-dev (>= ${source:Version}), ${misc:Depends}
-Description: MySQL embedded database development files
- MySQL is a fast, stable and true multi-user, multi-threaded SQL database
- server. SQL (Structured Query Language) is the most popular database query
- language in the world. The main goals of MySQL are speed, robustness and
- ease of use.
- .
- This package includes the embedded server library and header files.
-
-Package: libmysqlclient-dev
-Architecture: any
-Section: libdevel
-Depends:
- libmysqlclient18 (= ${binary:Version}),
- zlib1g-dev,
- ${misc:Depends},
- ${shlibs:Depends}
-Conflicts:
- libmysqlclient10-dev,
- libmysqlclient12-dev,
- libmysqlclient14-dev,
- libmysqlclient15-dev
-Provides: libmysqlclient15-dev
-Replaces: libmysqlclient15-dev
-Description: MySQL database development files
- MySQL is a fast, stable and true multi-user, multi-threaded SQL database
- server. SQL (Structured Query Language) is the most popular database query
- language in the world. The main goals of MySQL are speed, robustness and
- ease of use.
- .
- This package includes development libraries and header files.
-
-Package: mysql-common
-Architecture: all
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Breaks:
- amarok (<< 2.5.0-2),
- mysql-client-5.1 (<< 5.5),
- mysql-server-5.1 (<< 5.5),
- mysql-server-core-5.1 (<< 5.5)
-Multi-Arch: foreign
-Description: MySQL database common files, e.g. /etc/mysql/my.cnf
- MySQL is a fast, stable and true multi-user, multi-threaded SQL database
- server. SQL (Structured Query Language) is the most popular database query
- language in the world. The main goals of MySQL are speed, robustness and
- ease of use.
- .
- This package includes files needed by all versions of the client library,
- e.g. /etc/mysql/my.cnf.
-
 Package: mysql-client-core-5.5
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -218,40 +139,6 @@
  This package contains all the infrastructure needed to setup system
  databases.
 
-Package: mysql-server
-Architecture: all
-Depends: mysql-server-5.5, ${misc:Depends}
-Description: MySQL database server (metapackage depending on the latest version)
- This is an empty package that depends on the current "best" version of
- mysql-server (currently mysql-server-5.5), as determined by the MySQL
- maintainers. Install this package if in doubt about which MySQL
- version you need. That will install the version recommended by the
- package maintainers.
- .
- MySQL is a fast, stable and true multi-user, multi-threaded SQL database
- server. SQL (Structured Query Language) is the most popular database query
- language in the world. The main goals of MySQL are speed, robustness and
- ease of use.
-
-Package: mysql-client
-Architecture: all
-Depends: mysql-client-5.5, ${misc:Depends}
-Description: MySQL database client (metapackage depending on the latest version)
- This is an empty package that depends on the current "best" version of
- mysql-client (currently mysql-client-5.5), as determined by the MySQL
- maintainers.  Install this package if in doubt about which MySQL version
- you want, as this is the one considered to be in the best shape by the
- Maintainers.
-
-Package: mysql-testsuite
-Architecture: all
-Depends: mysql-testsuite-5.5, ${misc:Depends}
-Description: MySQL testsuite
- This is an empty package that depends on the current "best" version of
- mysql-testsuite (currently mysql-testsuite-5.5), as determined by the
- MySQL maintainers.  Install this package if in doubt about which MySQL
- version you want, as this is the one we consider to be in the best shape.
-
 Package: mysql-testsuite-5.5
 Architecture: any
 Depends:
diff -Nru mysql-5.5-5.5.38/debian/libmysqlclient-dev.README.Maintainer mysql-5.5-5.5.38/debian/libmysqlclient-dev.README.Maintainer
--- mysql-5.5-5.5.38/debian/libmysqlclient-dev.README.Maintainer	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqlclient-dev.README.Maintainer	1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-The examples directory includes files that might be needed by some
-developers:
-- header files not installed by default
-- the example file udf_example.c
diff -Nru mysql-5.5-5.5.38/debian/libmysqlclient-dev.dirs mysql-5.5-5.5.38/debian/libmysqlclient-dev.dirs
--- mysql-5.5-5.5.38/debian/libmysqlclient-dev.dirs	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqlclient-dev.dirs	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/include/
-usr/lib/
diff -Nru mysql-5.5-5.5.38/debian/libmysqlclient-dev.examples mysql-5.5-5.5.38/debian/libmysqlclient-dev.examples
--- mysql-5.5-5.5.38/debian/libmysqlclient-dev.examples	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqlclient-dev.examples	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-sql/udf_example.c
diff -Nru mysql-5.5-5.5.38/debian/libmysqlclient-dev.files mysql-5.5-5.5.38/debian/libmysqlclient-dev.files
--- mysql-5.5-5.5.38/debian/libmysqlclient-dev.files	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqlclient-dev.files	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-usr/bin/mysql_config
-usr/include/mysql/*
-usr/lib/*/libmysqlclient.a
-usr/lib/*/libmysqlclient.so
-usr/lib/*/libmysqlclient_r.a
-usr/lib/*/libmysqlclient_r.so
-usr/lib/*/mysql/plugin/ha_example.*
-usr/lib/*/mysql/plugin/ha_*_plugin.a
-usr/lib/*/mysql/plugin/ha_*_plugin.la
-usr/share/aclocal/mysql.m4
-usr/share/man/man1/mysql_config.1
diff -Nru mysql-5.5-5.5.38/debian/libmysqlclient18.dirs mysql-5.5-5.5.38/debian/libmysqlclient18.dirs
--- mysql-5.5-5.5.38/debian/libmysqlclient18.dirs	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqlclient18.dirs	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/
diff -Nru mysql-5.5-5.5.38/debian/libmysqlclient18.install mysql-5.5-5.5.38/debian/libmysqlclient18.install
--- mysql-5.5-5.5.38/debian/libmysqlclient18.install	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqlclient18.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/lib/*/libmysqlclient.so.*
-usr/lib/*/libmysqlclient_r.so.*
diff -Nru mysql-5.5-5.5.38/debian/libmysqld-dev.install mysql-5.5-5.5.38/debian/libmysqld-dev.install
--- mysql-5.5-5.5.38/debian/libmysqld-dev.install	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqld-dev.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/lib/*/libmysqld.a
-usr/lib/*/libmysqlservices.a
diff -Nru mysql-5.5-5.5.38/debian/libmysqld-pic.README.Debian mysql-5.5-5.5.38/debian/libmysqld-pic.README.Debian
--- mysql-5.5-5.5.38/debian/libmysqld-pic.README.Debian	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqld-pic.README.Debian	1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-This package was requested in http://bugs.debian.org/508406 because it
-is needed by programs want to include the embedded MySQL into their
-shared libraries.
-
-In order to get the full compile flags, use /bin/mysql_config_pic
diff -Nru mysql-5.5-5.5.38/debian/libmysqld-pic.install mysql-5.5-5.5.38/debian/libmysqld-pic.install
--- mysql-5.5-5.5.38/debian/libmysqld-pic.install	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/libmysqld-pic.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/bin/mysql_config_pic
-usr/lib/mysql/libmysqld_pic.a
diff -Nru mysql-5.5-5.5.38/debian/mysql-common.dirs mysql-5.5-5.5.38/debian/mysql-common.dirs
--- mysql-5.5-5.5.38/debian/mysql-common.dirs	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/mysql-common.dirs	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-etc/mysql/conf.d/
diff -Nru mysql-5.5-5.5.38/debian/mysql-common.install mysql-5.5-5.5.38/debian/mysql-common.install
--- mysql-5.5-5.5.38/debian/mysql-common.install	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/mysql-common.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-debian/additions/my.cnf etc/mysql/
-debian/tmp/etc/mysql/conf.d/.keepme etc/mysql/conf.d
diff -Nru mysql-5.5-5.5.38/debian/mysql-common.postrm mysql-5.5-5.5.38/debian/mysql-common.postrm
--- mysql-5.5-5.5.38/debian/mysql-common.postrm	2014-02-19 21:18:21.000000000 +0000
+++ mysql-5.5-5.5.38/debian/mysql-common.postrm	1970-01-01 01:00:00.000000000 +0100
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-set -e
-
-if [ "$1" = "purge" ]; then
-  rmdir /etc/mysql 2>/dev/null || true
-fi
-
-#DEBHELPER#



More information about the pkg-mysql-maint mailing list