Package: sponsorship-requests Severity: important Dear mentors,
I am looking for a sponsor for my package "couchdb". The upload would fix RC bug #692295. * Package name : couchdb Version : 1.2.0-2.1 * URL : http://couchdb.apache.org/ * License : Apache-2.0 Section : misc It builds those binary packages: couchdb - RESTful document oriented database To access further information about this package, please visit the following URL: http://mentors.debian.net/package/couchdb Alternatively, one can download the package with dget using this command: dget -x http://mentors.debian.net/debian/pool/main/c/couchdb/couchdb_1.2.0-2.1.dsc Changes since the last upload: couchdb (1.2.0-2.1) unstable; urgency=low * Non-maintainer upload. * Use SIGTERM instead of SIGHUP for graceful shutdown (Closes: #692295) [varacanero] -- Dominik George <n...@naturalnet.de> Mon, 26 Nov 2012 12:54:05 +0100 The debdiff is attached. Regards, Dominik George
diff -Nru couchdb-1.2.0/debian/changelog couchdb-1.2.0/debian/changelog --- couchdb-1.2.0/debian/changelog 2012-07-19 20:35:03.000000000 +0200 +++ couchdb-1.2.0/debian/changelog 2012-11-26 12:55:21.000000000 +0100 @@ -1,3 +1,11 @@ +couchdb (1.2.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Use SIGTERM instead of SIGHUP for graceful shutdown + (Closes: #692295) [varacanero] + + -- Dominik George <n...@naturalnet.de> Mon, 26 Nov 2012 12:54:05 +0100 + couchdb (1.2.0-2) unstable; urgency=low * Make couchdb user own its run directory (closes: #681549). diff -Nru couchdb-1.2.0/debian/patches/couchdb_sighup.patch couchdb-1.2.0/debian/patches/couchdb_sighup.patch --- couchdb-1.2.0/debian/patches/couchdb_sighup.patch 1970-01-01 01:00:00.000000000 +0100 +++ couchdb-1.2.0/debian/patches/couchdb_sighup.patch 2012-11-26 12:57:45.000000000 +0100 @@ -0,0 +1,22 @@ +Description: Use SIGTERM instead of SIGHUP for graceful shutdown + The SIGHUP couchdb uses by default for a graceful shutdown does not + work reliably in Debian as apt, when installing the package, SigIgn + masks SIGHUP for all its child processes. This is intentional and hard + to work around, and CouchDB does a graceful shutdown with SIGTERM as + well so there is no reason to use SIGHUP. +Author: Dominik George <n...@naturalnet.de> +Bug-Debian: http://bugs.debian.org/692295 + +--- + +--- couchdb-1.2.0.orig/bin/couchdb.tpl.in ++++ couchdb-1.2.0/bin/couchdb.tpl.in +@@ -272,7 +272,7 @@ stop_couchdb () { + echo > $PID_FILE + fi + if kill -0 $PID 2> /dev/null; then +- if kill -1 $PID 2> /dev/null; then ++ if kill -15 $PID 2> /dev/null; then + if test "$1" = "false"; then + echo "Apache CouchDB has been shutdown." + else diff -Nru couchdb-1.2.0/debian/patches/series couchdb-1.2.0/debian/patches/series --- couchdb-1.2.0/debian/patches/series 2012-07-19 20:46:55.000000000 +0200 +++ couchdb-1.2.0/debian/patches/series 2012-11-26 12:55:43.000000000 +0100 @@ -1,2 +1,3 @@ force-reload.patch couchdb_own_rundir.patch +couchdb_sighup.patch