Your message dated Sat, 14 Apr 2012 10:41:14 +0900 (JST)
with message-id <[email protected]>
and subject line 
has caused the Debian Bug report #658068,
regarding nttcp: FTBFS with -Werror=format-security
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
658068: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658068
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nttcp
Version: 1.47-12
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu precise ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Add format-security.diff to resolve FTBFS.


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u nttcp-1.47/debian/rules nttcp-1.47/debian/rules
--- nttcp-1.47/debian/rules
+++ nttcp-1.47/debian/rules
@@ -3,6 +3,7 @@
 # This file is public domain.
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/makefile.mk
 
 ARCH = ""
only in patch2:
unchanged:
--- nttcp-1.47.orig/debian/patches/format-security.diff
+++ nttcp-1.47/debian/patches/format-security.diff
@@ -0,0 +1,12 @@
+diff -Nur -x '*.orig' -x '*~' nttcp-1.47/nttcp.c nttcp-1.47.new/nttcp.c
+--- nttcp-1.47/nttcp.c	2000-12-18 05:16:54.000000000 -0500
++++ nttcp-1.47.new/nttcp.c	2012-01-30 23:44:02.260501225 -0500
+@@ -372,7 +372,7 @@
+ #define Message(x)	fMessage(stdout, x)
+ 
+ void Exit(char *s, int ret) {
+-    syslog(LOG_DEBUG, s);
++    syslog(LOG_DEBUG, "%s", s);
+     fMessage(stderr,s);
+     exit(ret);
+ }

--- End Message ---
--- Begin Message ---
This bug has been fixed on 1.47-13.  Applied this patch.
Thanks,


--- End Message ---

Reply via email to