Author: tmancill
Date: 2012-02-04 07:29:50 +0000 (Sat, 04 Feb 2012)
New Revision: 15753

Added:
   trunk/libapache-mod-jk/debian/patches/0004-compiler-hardening.patch
   trunk/libapache-mod-jk/debian/source.lintian-overrides
Modified:
   trunk/libapache-mod-jk/debian/changelog
   trunk/libapache-mod-jk/debian/compat
   trunk/libapache-mod-jk/debian/control
   trunk/libapache-mod-jk/debian/patches/series
   trunk/libapache-mod-jk/debian/rules
Log:
enabled hardening flags; remove Michael Koch from Uploaders

Modified: trunk/libapache-mod-jk/debian/changelog
===================================================================
--- trunk/libapache-mod-jk/debian/changelog     2012-02-04 05:30:36 UTC (rev 
15752)
+++ trunk/libapache-mod-jk/debian/changelog     2012-02-04 07:29:50 UTC (rev 
15753)
@@ -1,9 +1,12 @@
-libapache-mod-jk (1:1.2.32-2) UNRELEASED; urgency=low
+libapache-mod-jk (1:1.2.32-2) unstable; urgency=low
 
   * Team upload.
-  * Remove Michael Koch from Uploaders.  Closes: #654045
+  * Set debian/compat to 9; bump debhelper dependency to 8.1.3.
+  * Modify debian/rules to enable hardening flags 
+    and add patches/0004-compiler-hardening.patch (Closes: #656876)
+  * Remove Michael Koch from Uploaders. (Closes: #654045)
 
- -- tony mancill <tmanc...@debian.org>  Sun, 22 Jan 2012 16:34:54 -0800
+ -- tony mancill <tmanc...@debian.org>  Sat, 04 Feb 2012 07:17:54 +0000
 
 libapache-mod-jk (1:1.2.32-1) unstable; urgency=low
 

Modified: trunk/libapache-mod-jk/debian/compat
===================================================================
--- trunk/libapache-mod-jk/debian/compat        2012-02-04 05:30:36 UTC (rev 
15752)
+++ trunk/libapache-mod-jk/debian/compat        2012-02-04 07:29:50 UTC (rev 
15753)
@@ -1 +1 @@
-8
+9

Modified: trunk/libapache-mod-jk/debian/control
===================================================================
--- trunk/libapache-mod-jk/debian/control       2012-02-04 05:30:36 UTC (rev 
15752)
+++ trunk/libapache-mod-jk/debian/control       2012-02-04 07:29:50 UTC (rev 
15753)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Damien Raude-Morvan <draz...@debian.org>
-Build-Depends: debhelper (>= 8), apache2-threaded-dev, libtool, autotools-dev
+Build-Depends: debhelper (>= 8.1.3~), apache2-threaded-dev, libtool, 
autotools-dev
 Build-Depends-Indep: xsltproc, lynx
 Standards-Version: 3.9.2
 Homepage: http://tomcat.apache.org/

Added: trunk/libapache-mod-jk/debian/patches/0004-compiler-hardening.patch
===================================================================
--- trunk/libapache-mod-jk/debian/patches/0004-compiler-hardening.patch         
                (rev 0)
+++ trunk/libapache-mod-jk/debian/patches/0004-compiler-hardening.patch 
2012-02-04 07:29:50 UTC (rev 15753)
@@ -0,0 +1,25 @@
+Author: tony mancill <tmanc...@debian.org>
+Last-Update: 2012-02-03 
+Description: patch for "error: format not a string literal and no format 
arguments [-Werror=format-security]" 
+--- a/native/apache-2.0/mod_jk.c.orig  2012-02-04 05:51:31.000000000 +0000
++++ b/native/apache-2.0/mod_jk.c       2012-02-04 06:42:01.018105253 +0000
+@@ -673,15 +673,15 @@
+     }
+ 
+ #if (MODULE_MAGIC_NUMBER_MAJOR >= 20100606)
+-    ap_log_error(file, line, APLOG_MODULE_INDEX, level, 0, s, res);
++    ap_log_error(file, line, APLOG_MODULE_INDEX, level, 0, s, "%s", res);
+ #else
+-    ap_log_error(file, line, level, 0, s, res);
++    ap_log_error(file, line, level, 0, s, "%s", res);
+ #endif
+     if ( s ) {
+ #if (MODULE_MAGIC_NUMBER_MAJOR >= 20100606)
+-        ap_log_error(file, line, APLOG_MODULE_INDEX, level, 0, NULL, res);
++        ap_log_error(file, line, APLOG_MODULE_INDEX, level, 0, NULL, "%s", 
res);
+ #else
+-        ap_log_error(file, line, level, 0, NULL, res);
++        ap_log_error(file, line, level, 0, NULL, "%s", res);
+ #endif
+     }
+ 

Modified: trunk/libapache-mod-jk/debian/patches/series
===================================================================
--- trunk/libapache-mod-jk/debian/patches/series        2012-02-04 05:30:36 UTC 
(rev 15752)
+++ trunk/libapache-mod-jk/debian/patches/series        2012-02-04 07:29:50 UTC 
(rev 15753)
@@ -1,3 +1,4 @@
 0001-disable-logo.patch
 0002-debianize-log-directory.patch
 0003-upgrade-info-to-error-message.patch
+0004-compiler-hardening.patch

Modified: trunk/libapache-mod-jk/debian/rules
===================================================================
--- trunk/libapache-mod-jk/debian/rules 2012-02-04 05:30:36 UTC (rev 15752)
+++ trunk/libapache-mod-jk/debian/rules 2012-02-04 07:29:50 UTC (rev 15753)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 # Enable LFS
-CFLAGS = -D_LARGEFILE_SUPPORT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+CFLAGS = -D_LARGEFILE_SUPPORT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 
$(shell dpkg-buildflags --get CFLAGS)
 
 %:
        dh $@ --with autotools_dev --sourcedirectory=native

Added: trunk/libapache-mod-jk/debian/source.lintian-overrides
===================================================================
--- trunk/libapache-mod-jk/debian/source.lintian-overrides                      
        (rev 0)
+++ trunk/libapache-mod-jk/debian/source.lintian-overrides      2012-02-04 
07:29:50 UTC (rev 15753)
@@ -0,0 +1,2 @@
+# override: using compat=9 with debhelper 8.1.3 for build-hardening flags
+package-needs-versioned-debhelper-build-depends 9


_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to