Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: ruby-dataobjects-mysql

ruby-dataobjects-mysql (0.10.17-1ubuntu1) focal; urgency=medium * Merge with Debian unstable. Remaining changes: - d/start_mysqld_and_auto_install.sh: fix build against MySQL 8.0. * Dropped: - Added support for MySQL 5.7. -- Lucas Kanashiro <lucas.kanashiro@canonical.com> Mon, 02 Mar 2020 16:16:28 -0300

Modifications :
  1. Download patch debian/control

    --- 0.10.17-1/debian/control 2020-02-13 22:20:02.000000000 +0000 +++ 0.10.17-1ubuntu1/debian/control 2020-03-04 08:26:35.000000000 +0000 @@ -1,7 +1,8 @@ Source: ruby-dataobjects-mysql Section: ruby Priority: optional -Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org> Uploaders: Deepak Tripathi <deepak@debian.org>, Cédric Boutillier <boutil@debian.org> Build-Depends: debhelper (>= 12~),
  2. Download patch debian/start_mysqld_and_auto_install.sh

    --- 0.10.17-1/debian/start_mysqld_and_auto_install.sh 2020-02-13 22:20:02.000000000 +0000 +++ 0.10.17-1ubuntu1/debian/start_mysqld_and_auto_install.sh 2020-03-04 08:22:23.000000000 +0000 @@ -17,7 +17,7 @@ DO_MYSQL_PASS= DO_MYSQL_DBNAME=do_test DO_MYSQL_DATABASE=/${DO_MYSQL_DBNAME} -mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --force --skip-name-resolve --user=${DO_MYSQL_USER} +/usr/sbin/mysqld --no-defaults --initialize-insecure --user=${DO_MYSQL_USER} --datadir=${MYTEMP_DIR} /usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER} --socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking & echo -n pinging mysqld. attempts=0 @@ -30,7 +30,7 @@ while ! /usr/bin/mysqladmin --socket=${M fi done mysql --socket=${MYSQL_UNIX_PORT} --execute "CREATE DATABASE ${DO_MYSQL_DBNAME};" -mysql --socket=${MYSQL_UNIX_PORT} --execute "GRANT ALL PRIVILEGES ON ${DO_MYSQL_DBNAME}.* TO '${DO_MYSQL_USER}'@'localhost' IDENTIFIED BY '${DO_MYSQL_PASS}';" +mysql --socket=${MYSQL_UNIX_PORT} --execute "GRANT ALL PRIVILEGES ON ${DO_MYSQL_DBNAME}.* TO '${DO_MYSQL_USER}'@'localhost';" # Keep running so we can terminate mysqld. set +e

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: ruby-mysql2

ruby-mysql2 (0.5.2-1ubuntu3) focal; urgency=medium [ Rafael David Tinoco ] * Sponsoring ruby2.7 transitions [ Lucas Kanashiro ] * No-change rebuild for ruby2.7 -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Wed, 26 Feb 2020 17:10:46 +0000 ruby-mysql2 (0.5.2-1ubuntu2) eoan; urgency=medium [ Lars Tangvald ] * MySQL 8.0 build fixes. - d/p/mysql-8.0.patch - d/start_mysqld_and_run.sh -- Robie Basak <robie.basak@ubuntu.com> Wed, 14 Aug 2019 01:33:48 +0000 ruby-mysql2 (0.5.2-1ubuntu1) disco; urgency=medium * Merge with Debian; remaining changes: - d/start_mysqld_and_run.sh: Fixes FTBFS with MySQL 5.7 - Skip randomly failing test The test checks that server resources are freed when a statement is closed, but this doesn't always happen immediately, causing random failures. -- Matthias Klose <doko@ubuntu.com> Mon, 04 Mar 2019 13:10:47 +0100

Modifications :
  1. Download patch debian/patches/mysql-8.0.patch

    --- 0.5.2-1/debian/patches/mysql-8.0.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.5.2-1ubuntu3/debian/patches/mysql-8.0.patch 2019-08-14 01:33:48.000000000 +0000 @@ -0,0 +1,19 @@ +Description: Disable failing ssl test for MySQL 8.0 + The test was marked as expected failure for previous versions of MYSQL. + 8.0 has full OpenSSL support, but the test appears broken. +Author: Lars Tangvald <lars.tangvald@oracle.com> +Forwarded: no +Last-Update: 2019-07-22 + +--- ruby-mysql2-0.5.2.orig/spec/mysql2/client_spec.rb ++++ ruby-mysql2-0.5.2/spec/mysql2/client_spec.rb +@@ -132,7 +132,8 @@ RSpec.describe Mysql2::Client do + pending("DON'T WORRY, THIS TEST PASSES - but SSL is not compiled into your MySQL daemon.") if ssl_uncompiled + ssl_disabled = ssl.any? { |x| x['Value'] == 'DISABLED' } + pending("DON'T WORRY, THIS TEST PASSES - but SSL is not enabled in your MySQL daemon.") if ssl_disabled +- ++ ssl_override = true ++ pending("TEST APPEARS BROKEN") if ssl_override + # You may need to adjust the lines below to match your SSL certificate paths + ssl_client = nil + expect do
  2. Download patch debian/control

    --- 0.5.2-1/debian/control 2019-01-04 19:34:23.000000000 +0000 +++ 0.5.2-1ubuntu3/debian/control 2019-03-04 12:10:47.000000000 +0000 @@ -1,7 +1,8 @@ Source: ruby-mysql2 Section: ruby Priority: optional -Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org> Uploaders: Michael Franzl <office@michaelfranzl.com>, Cédric Boutillier <boutil@debian.org> Build-Depends: debhelper (>= 11~),
  3. Download patch debian/patches/series

    --- 0.5.2-1/debian/patches/series 2019-01-04 19:34:23.000000000 +0000 +++ 0.5.2-1ubuntu3/debian/patches/series 2019-08-13 03:23:23.000000000 +0000 @@ -3,3 +3,5 @@ remove_rubygems_from_examples.patch remove_rpath_compilation_flag.patch skip-problematic-tests.patch trust-library-ABI.patch +skip-randomly-failing-test.patch +mysql-8.0.patch
  4. Download patch debian/start_mysqld_and_run.sh

    --- 0.5.2-1/debian/start_mysqld_and_run.sh 2019-01-04 19:34:23.000000000 +0000 +++ 0.5.2-1ubuntu3/debian/start_mysqld_and_run.sh 2019-08-13 03:23:23.000000000 +0000 @@ -13,16 +13,11 @@ ME=`whoami` export MYSQL_UNIX_PORT=${MYTEMP_DIR}/mysql.sock DO_MYSQL_USER=root -DO_MYSQL_PASS= DO_MYSQL_DBNAME=test DO_MYSQL_DATABASE=/${DO_MYSQL_DBNAME} -mysql_install_db --no-defaults --datadir=${MYTEMP_DIR} --force --skip-name-resolve --user=${DO_MYSQL_USER} -cat >${MYTEMP_DIR}/init.sql <<EOT -UPDATE mysql.user SET plugin = ""; -FLUSH PRIVILEGES; -EOT -/usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER} --socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking --init-file=${MYTEMP_DIR}/init.sql & +/usr/sbin/mysqld --no-defaults --initialize-insecure --user=${DO_MYSQL_USER} --datadir=${MYTEMP_DIR} +/usr/sbin/mysqld --no-defaults --user=${DO_MYSQL_USER} --socket=${MYSQL_UNIX_PORT} --datadir=${MYTEMP_DIR} --skip-networking & echo -n pinging mysqld. attempts=0 while ! /usr/bin/mysqladmin --socket=${MYSQL_UNIX_PORT} ping ; do @@ -40,4 +35,6 @@ cleanup() { } trap cleanup INT EXIT TERM +mysql --user=${DO_MYSQL_USER} --socket=${MYSQL_UNIX_PORT} --execute "GRANT ALL PRIVILEGES ON ${DO_MYSQL_DBNAME}.* TO '${DO_MYSQL_USER}'@'localhost'; CREATE DATABASE test;" + "$@"
  5. Download patch debian/patches/skip-randomly-failing-test.patch

    --- 0.5.2-1/debian/patches/skip-randomly-failing-test.patch 1970-01-01 00:00:00.000000000 +0000 +++ 0.5.2-1ubuntu3/debian/patches/skip-randomly-failing-test.patch 2019-03-04 12:10:47.000000000 +0000 @@ -0,0 +1,21 @@ +Description: Skip randomly failing test + The test tries to verify internal server behavior (garbage collection) + and will randomly fail because the server doesn't always free + up resources immediately. + +Author: Lars Tangvald <lars.tangvald@oracle.com> +Bug: https://github.com/brianmario/mysql2/issues/937 +Forwarded: not-needed +Last-Update: 2018-01-31 + +--- a/spec/mysql2/statement_spec.rb ++++ b/spec/mysql2/statement_spec.rb +@@ -696,7 +696,7 @@ RSpec.describe Mysql2::Statement do + end + + context 'close' do +- it 'should free server resources' do ++ xit 'should free server resources' do + stmt = @client.prepare 'SELECT 1' + GC.disable + expect { stmt.close }.to change(&method(:stmt_count)).by(-1)
  1. ruby-dataobjects-mysql
  2. ruby-mysql2