Package: mysql-proxy
Version: 0.8.1-1.1
Severity: wishlist
Tags: patch

Dear maintainers,

a new upstream release of mysql-proxy (0.8.2) has been released last
August. This is the changelog (from
http://dev.mysql.com/doc/refman/5.1/en/mysql-proxy-news-0-8-2.html):

* Adding the protocol changes of MySQL 5.5 and later
* Removing the “admin” plugin from the list of default plugins, as it
  requires configuration since 0.8.1
* Added support for binary log checksums.
* Added support for decoding all data types of the row-based replication
  protocol.
* Added support for OUT parameters in prepared statements in stored
  procedures with MySQL 5.5.
* Removed the “admin” plugin from the list of default plugins, as it
  requires configuration since 0.8.1.
* Fixed handling of stored procedures with cursors with MySQL 5.5. (Bug
  #61998)
* A crash occurred if the file named with the --defaults-file option did
  not exist. (Bug #59790)
* The first characters of log messages were stripped. (Bug #59790)
* A memory leak occurred if connection pooling was used. (Bug #56620)
* Fixed handling of “used columns” with row-based replication.
* A crash could occur if run under Valgrind.
* A bogus timestamp log was produced if state tracking was not compiled
  in.

Since I needed this version on a couple of servers, I prepared the
corresponding Debian package; I attach the interdiff between the Debian
patches for 0.8.1-1.1 and an hypothetical 0.8.2-0.1.

I also fixed some minor lintian issues (not all of them).

As you can see from the release version, I prepared the patch as a NMU,
just in case: should nobody have enough time to prepare the new release, I
can do the NMU for 0.8.2.

Thanks!

Ludovico

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'stable'), (60, 'unstable'), (10, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-contrabassi
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
<l...@dovi.co>                                        IRC: garden@freenode
OpenPGP: 1024D/63D2D5D907F89BB8         Jabber/gtalk: garde...@gmail.com
diff -u mysql-proxy-0.8.1/debian/rules mysql-proxy-0.8.2/debian/rules
--- mysql-proxy-0.8.1/debian/rules
+++ mysql-proxy-0.8.2/debian/rules
@@ -28,8 +28,9 @@
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-lua=lua5.1
 
 
-build: build-stamp
-
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
 build-stamp:  config.status
 	dh_testdir
 
diff -u mysql-proxy-0.8.1/debian/init mysql-proxy-0.8.2/debian/init
--- mysql-proxy-0.8.1/debian/init
+++ mysql-proxy-0.8.2/debian/init
@@ -26,7 +26,7 @@
 case "$1" in
   start)
     log_begin_msg "Starting MySQL Proxy daemon..."
-    start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --name mysql-proxy --startas $DAEMON -b -- $OPTIONS
+    start-stop-daemon --start --quiet --pidfile $PIDFILE --name mysql-proxy --startas $DAEMON -b -- --pid-file=$PIDFILE $OPTIONS
     log_end_msg $?
     ;;
   stop)
@@ -41,7 +41,7 @@
   restart|force-reload)
     log_begin_msg "Reloading MySQL Proxy daemon..."
     start-stop-daemon --stop --quiet --retry 3 --exec $DAEMON --pidfile $PIDFILE
-    start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --name mysql-proxy --startas $DAEMON -b -- $OPTIONS
+    start-stop-daemon --start --quiet --pidfile $PIDFILE --name mysql-proxy --startas $DAEMON -b -- --pid-file=$PIDFILE $OPTIONS
     log_end_msg $?
     ;;
   *)
diff -u mysql-proxy-0.8.1/debian/control mysql-proxy-0.8.2/debian/control
--- mysql-proxy-0.8.1/debian/control
+++ mysql-proxy-0.8.2/debian/control
@@ -11,7 +11,7 @@
 
 Package: mysql-proxy
 Architecture: any
-Depends: ${shlibs:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: high availability, load balancing and query modification for mysql
  MySQL Proxy stands between database servers and clients to provide load
  balancing and failover. Incoming queries can be filtered and modified using
diff -u mysql-proxy-0.8.1/debian/changelog mysql-proxy-0.8.2/debian/changelog
--- mysql-proxy-0.8.1/debian/changelog
+++ mysql-proxy-0.8.2/debian/changelog
@@ -1,3 +1,13 @@
+mysql-proxy (0.8.2-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream release.
+  * Add ${misc:Depends} to mysql-proxy.
+  * Add build-indep and build-arch targets.
+  * Fix pidfile generation in init script.
+
+ -- Ludovico Gardenghi <gar...@debian.org>  Wed, 07 Mar 2012 14:57:30 +0100
+
 mysql-proxy (0.8.1-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
reverted:
--- mysql-proxy-0.8.1/src/my_rdtsc.h
+++ mysql-proxy-0.8.1.orig/src/my_rdtsc.h
@@ -31,8 +31,6 @@
 #define C_MODE_END G_END_DECLS
 typedef guint64 ulonglong;
 
-#include <sys/types.h>
-
 #ifndef HAVE_ULONG
 #ifdef HAVE_ULONG_T
 typedef ulong_t	ulong;

Reply via email to