Dear maintainer,
I've prepared an NMU for gpe-conf (versioned as 0.2.9-1.1). The diff is attached to this message. Regards. -- Alessio Treglia | www.alessiotreglia.com Debian Developer | ales...@debian.org Ubuntu Core Developer | quadris...@ubuntu.com 0416 0004 A827 6E40 BB98 90FB E8A4 8AE5 311D 765A
diff -Nru gpe-conf-0.2.9/debian/changelog gpe-conf-0.2.9/debian/changelog --- gpe-conf-0.2.9/debian/changelog 2011-03-13 12:33:59.000000000 +0100 +++ gpe-conf-0.2.9/debian/changelog 2012-01-29 13:03:14.000000000 +0100 @@ -1,3 +1,10 @@ +gpe-conf (0.2.9-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with GCC hardened flag -Wformat-security (Closes: #657624) + + -- Alessio Treglia <ales...@debian.org> Sun, 29 Jan 2012 13:02:27 +0100 + gpe-conf (0.2.9-1) unstable; urgency=low * New upstream release diff -Nru gpe-conf-0.2.9/debian/patches/format-security.patch gpe-conf-0.2.9/debian/patches/format-security.patch --- gpe-conf-0.2.9/debian/patches/format-security.patch 1970-01-01 01:00:00.000000000 +0100 +++ gpe-conf-0.2.9/debian/patches/format-security.patch 2012-01-29 13:02:11.000000000 +0100 @@ -0,0 +1,42 @@ +Description: Fix FTBFS with -Wformat-security +Author: Alessio Treglia <ales...@debian.org> +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657624 +Forwarded: no +--- + modules/cardinfo.c | 1 + + modules/serial.c | 2 +- + suid.c | 2 +- + 3 files changed, 3 insertions(+), 2 deletions(-) + +--- gpe-conf-0.2.9.orig/suid.c ++++ gpe-conf-0.2.9/suid.c +@@ -94,7 +94,7 @@ update_system_hostname (const gchar * sy + return; + } + +- fprintf (fnew, system_hostname); ++ fprintf (fnew, "%s", system_hostname); + + fclose (fnew); + } +--- gpe-conf-0.2.9.orig/modules/serial.c ++++ gpe-conf-0.2.9/modules/serial.c +@@ -390,7 +390,7 @@ Serial_Build_Objects (void) + FIRST_SERIAL = get_first_serial_port (); + + portlist[0][1] = FIRST_SERIAL; +- sprintf (cur_port, FIRST_SERIAL); ++ sprintf (cur_port, "%s", FIRST_SERIAL); + + gpsd_installed = !access (GPSD_STARTUP_SCRIPT, F_OK); + getty_installed = !access ("/sbin/getty", F_OK); +--- gpe-conf-0.2.9.orig/modules/cardinfo.c ++++ gpe-conf-0.2.9/modules/cardinfo.c +@@ -164,6 +164,7 @@ save_config (char *config, int socket) + cfg = g_strsplit (config, "\n", 4); // idstr,version,manfid,binding + cur_bind = malloc (strlen (st[socket].card.str) - 5); // current driver binding + snprintf (cur_bind, strlen (st[socket].card.str) - 6, ++ "%s", + st[socket].card.str + 3); + + /* determine config file type */ diff -Nru gpe-conf-0.2.9/debian/patches/series gpe-conf-0.2.9/debian/patches/series --- gpe-conf-0.2.9/debian/patches/series 2009-12-17 22:02:35.000000000 +0100 +++ gpe-conf-0.2.9/debian/patches/series 2012-01-29 13:01:48.000000000 +0100 @@ -1 +1,2 @@ desktop-validity +format-security.patch
signature.asc
Description: Digital signature