[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#691171: unblock: pgbouncer/1.5.2-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package pgbouncer. It fixes #687577 (important) that
re-adds the check for START=0 in /etc/default/pgbouncer which was
there until the recent init script refactoring. As it is also
documented in README.Debian, it would be rather embarassing not to
ship an init script that has it. (It also updates the Vcs-* headers to
reflect reality.)

unblock pgbouncer/1.5.2-3

diff -Nru pgbouncer-1.5.2/debian/changelog pgbouncer-1.5.2/debian/changelog
--- pgbouncer-1.5.2/debian/changelog	2012-07-26 13:12:28.000000000 +0200
+++ pgbouncer-1.5.2/debian/changelog	2012-10-07 19:16:41.000000000 +0200
@@ -1,3 +1,11 @@
+pgbouncer (1.5.2-3) unstable; urgency=low
+
+  * Re-add check for START=0 in the init script.  Spotted by Sergey Burladyan.
+    Closes: #687577.
+  * Repository moved to git.
+
+ -- Christoph Berg <myon@debian.org>  Sun, 07 Oct 2012 19:16:34 +0200
+
 pgbouncer (1.5.2-2) unstable; urgency=low
 
   * Init script: Use --oknodo.  Closes: #681978.
diff -Nru pgbouncer-1.5.2/debian/control pgbouncer-1.5.2/debian/control
--- pgbouncer-1.5.2/debian/control	2012-04-30 14:32:31.000000000 +0200
+++ pgbouncer-1.5.2/debian/control	2012-10-07 17:28:00.000000000 +0200
@@ -6,8 +6,8 @@
 Standards-Version: 3.9.3
 Build-Depends: cdbs, debhelper (>= 7), libevent-dev (>= 1.3b), asciidoc, xmlto, python
 Homepage: http://pgfoundry.org/projects/pgbouncer/
-Vcs-Svn: svn://svn.debian.org/pkg-postgresql/trunk/pgbouncer/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-postgresql/trunk/pgbouncer/
+Vcs-Git: git://anonscm.debian.org/pkg-postgresql/pgbouncer.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-postgresql/pgbouncer.git
 
 Package: pgbouncer
 Architecture: any
diff -Nru pgbouncer-1.5.2/debian/init pgbouncer-1.5.2/debian/init
--- pgbouncer-1.5.2/debian/init	2012-07-19 16:34:34.000000000 +0200
+++ pgbouncer-1.5.2/debian/init	2012-10-07 17:34:00.000000000 +0200
@@ -35,6 +35,8 @@
 
 case "$1" in
   start)
+    # Check if we are still disabled in /etc/default/pgbouncer
+    [ "${START:-}" = "0" ] && exit 0
     echo -n "Starting server: $NAME"
     test -d $PIDDIR || install -d -o postgres -g postgres -m 2775 $PIDDIR
     $SSD --start --chuid $RUNASUSER --oknodo -- $OPTS 2> /dev/null


Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/


Reply to: