Author: drazzib Date: 2013-08-12 09:11:35 +0000 (Mon, 12 Aug 2013) New Revision: 17139
Added: trunk/libapache-mod-jk/debian/patches/0004-corrupted-worker-activation-status.patch Modified: trunk/libapache-mod-jk/debian/changelog trunk/libapache-mod-jk/debian/patches/series trunk/libapache-mod-jk/debian/rules Log: * d/rules: Fix "Hardening CPPFLAGS missing" (Closes: #710809). Thanks to Simon Ruderich for providing patch. * d/patches/0004-corrupted-worker-activation-status.patch: Fix "Worker activation state corrupted when using jkmanager", Thanks to David Gubler for patch (Closes: #711934). Modified: trunk/libapache-mod-jk/debian/changelog =================================================================== --- trunk/libapache-mod-jk/debian/changelog 2013-08-12 05:21:54 UTC (rev 17138) +++ trunk/libapache-mod-jk/debian/changelog 2013-08-12 09:11:35 UTC (rev 17139) @@ -1,3 +1,13 @@ +libapache-mod-jk (1:1.2.37-3) unstable; urgency=low + + * d/rules: Fix "Hardening CPPFLAGS missing" (Closes: #710809). + Thanks to Simon Ruderich for providing patch. + * d/patches/0004-corrupted-worker-activation-status.patch: + Fix "Worker activation state corrupted when using jkmanager", + Thanks to David Gubler for patch (Closes: #711934). + + -- Damien Raude-Morvan <[email protected]> Mon, 12 Aug 2013 10:28:44 +0200 + libapache-mod-jk (1:1.2.37-2) unstable; urgency=low * Re-enable Apache 2.4 transition after wheezy release (Closes: #666851): Added: trunk/libapache-mod-jk/debian/patches/0004-corrupted-worker-activation-status.patch =================================================================== --- trunk/libapache-mod-jk/debian/patches/0004-corrupted-worker-activation-status.patch (rev 0) +++ trunk/libapache-mod-jk/debian/patches/0004-corrupted-worker-activation-status.patch 2013-08-12 09:11:35 UTC (rev 17139) @@ -0,0 +1,27 @@ +Description: Worker activation state corrupted when using jkmanager + We use jkmanager to selectively disable (DIS state) workers to do + rolling releases. This worked fine in Squeeze (mod_jk 1.2.30), + but does not work properly anymore in Wheezy (mod_jk 1.2.37). The + effect is: When I set a worker to disabled, it flips back and forth + between disabled an active, and the load on the worker does not + decrease as it should. Same with stopped. Happens on multiple + Apache servers independently. + . + The following change from the upcoming 1.2.38 release fixes the + problem at least for our setup. + . + <URL:http://tomcat.10.x6.nabble.com/mod-jk-worker-activation-not-working-anymore-in-1-2-37-td4999956.html> +Author: David Gubler <[email protected]> +Last-Update: 2013-08-12 +Bug: http://bugs.debian.org/cgi-bin/711934 +--- a/native/common/jk_status.c ++++ b/native/common/jk_status.c +@@ -3647,7 +3647,7 @@ + } + } + if (sync_needed == JK_TRUE) { +- wr->sequence = 0; ++ wr->sequence = -1; + if (!rc) + rc = 3; + } Modified: trunk/libapache-mod-jk/debian/patches/series =================================================================== --- trunk/libapache-mod-jk/debian/patches/series 2013-08-12 05:21:54 UTC (rev 17138) +++ trunk/libapache-mod-jk/debian/patches/series 2013-08-12 09:11:35 UTC (rev 17139) @@ -1,3 +1,4 @@ 0001-disable-logo.patch 0002-debianize-log-directory.patch 0003-upgrade-info-to-error-message.patch +0004-corrupted-worker-activation-status.patch Modified: trunk/libapache-mod-jk/debian/rules =================================================================== --- trunk/libapache-mod-jk/debian/rules 2013-08-12 05:21:54 UTC (rev 17138) +++ trunk/libapache-mod-jk/debian/rules 2013-08-12 09:11:35 UTC (rev 17139) @@ -1,7 +1,7 @@ #!/usr/bin/make -f -# Enable LFS -CFLAGS = -D_LARGEFILE_SUPPORT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $(shell dpkg-buildflags --get CFLAGS) +# Enable LFS, build system doesn't respect CPPFLAGS. +export DEB_CFLAGS_MAINT_APPEND = -D_LARGEFILE_SUPPORT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 $(shell dpkg-buildflags --get CPPFLAGS) %: dh $@ --with autotools_dev,apache2 --sourcedirectory=native _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

