--- m16c-flash-0.1.orig/debian/changelog +++ m16c-flash-0.1/debian/changelog @@ -0,0 +1,19 @@ +m16c-flash (0.1-1.1build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:33:44 +0000 + +m16c-flash (0.1-1.1) unstable; urgency=low + + * NMU + * Trivial fix for format-security FTBFS. Closes: #643438 + + -- Steve McIntyre Thu, 08 Dec 2011 16:28:48 +0000 + +m16c-flash (0.1-1) unstable; urgency=low + + * Initial release (Closes: #384171). + + -- Uwe Hermann Wed, 23 Aug 2006 12:48:34 +0200 + --- m16c-flash-0.1.orig/debian/compat +++ m16c-flash-0.1/debian/compat @@ -0,0 +1 @@ +5 --- m16c-flash-0.1.orig/debian/control +++ m16c-flash-0.1/debian/control @@ -0,0 +1,15 @@ +Source: m16c-flash +Section: electronics +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Uwe Hermann +Build-Depends: cdbs, debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: m16c-flash +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Flash programmer for Renesas M16C and R8C microcontrollers + m16c-flash uses a serial protocol to program Renesas M16C and R8C + microcontrollers. + --- m16c-flash-0.1.orig/debian/copyright +++ m16c-flash-0.1/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Uwe Hermann on +Sun, 20 Aug 2006 16:26:08 +0200. + +It was downloaded from: +http://www.fischl.de/thomas/elektronik/r8c/r8c_flasher.html + +Upstream Authors: Greg Reynolds + Jim Hawkridge + Thomas Fischl + +Copyright: 2002 Greg Reynolds + 2002 Jim Hawkridge + 2005 Thomas Fischl + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2006, Uwe Hermann and +is licensed under the GPL, see above. + --- m16c-flash-0.1.orig/debian/dirs +++ m16c-flash-0.1/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/doc/m16c-flash/examples --- m16c-flash-0.1.orig/debian/m16c-flash.install +++ m16c-flash-0.1/debian/m16c-flash.install @@ -0,0 +1,3 @@ +m16c-flash usr/bin +simple.s usr/share/doc/m16c-flash/examples + --- m16c-flash-0.1.orig/debian/patches/10_cosmetic.patch +++ m16c-flash-0.1/debian/patches/10_cosmetic.patch @@ -0,0 +1,16 @@ +--- flashm16.cxx.orig 2006-08-23 12:36:22.000000000 +0200 ++++ flashm16.cxx 2006-08-23 12:37:10.000000000 +0200 +@@ -57,10 +57,10 @@ + void displayUsage(void) + { + printf("Programs an M16C/62 or R8C microcontroller in asynchronous mode.\n\n"); +- printf("Usage: flash [COM_DEV] [CPU_TYPE] [FILE] [ID1:...:ID7] [OPTIONS]\n"); ++ printf("Usage: m16c-flash [COM_DEV] [CPU_TYPE] [FILE] [ID1:...:ID7] [OPTIONS]\n"); + printf("Examples:\n"); +- printf("\t flash /dev/ttyS1 M16C simple.s 0:0:0:0:0:0:0\n"); +- printf("\t flash /dev/ttyS1 R8C test.mot ff:ff:ff:ff:ff:ff:ff\n\n"); ++ printf("\t m16c-flash /dev/ttyS1 M16C simple.s 0:0:0:0:0:0:0\n"); ++ printf("\t m16c-flash /dev/ttyS1 R8C test.mot ff:ff:ff:ff:ff:ff:ff\n\n"); + fflush(stdout); + } + --- m16c-flash-0.1.orig/debian/patches/11_format_security_643438.patch +++ m16c-flash-0.1/debian/patches/11_format_security_643438.patch @@ -0,0 +1,11 @@ +--- m16c-flash-0.1/cm16flash.cxx.old 2011-12-08 16:25:17.244440173 +0000 ++++ m16c-flash-0.1/cm16flash.cxx 2011-12-08 16:25:22.176439506 +0000 +@@ -227,7 +227,7 @@ + return 0; + } + +- printf(pszVersionInfo); ++ printf("%s", pszVersionInfo); + // printf("OK."); + fflush(stdout); + return 1; --- m16c-flash-0.1.orig/debian/rules +++ m16c-flash-0.1/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +DEB_INSTALL_MANPAGES_m16c-flash := m16c-flash.1 + +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# Remove unneeded files from the deb. +binary-post-install/m16c-flash:: + rm -f debian/m16c-flash/usr/share/doc/m16c-flash/README + rm -f debian/m16c-flash/usr/share/doc/m16c-flash/TODO +