--- avrp-1.0beta3.orig/debian/changelog +++ avrp-1.0beta3/debian/changelog @@ -0,0 +1,72 @@ +avrp (1.0beta3-7) unstable; urgency=low + + * Adopt the package (Closes: #404468). + + Repackage from scratch using cdbs + debhelper 7. + * debian/control: + + Add Homepage field. + + Standards-Version: 3.8.0 (no changes required). + * debian/copyright: Switch to machine-readable format. + * debian/watch: Add file. + * Fix 'nostrip' option support (Closes: #436494). + + -- Uwe Hermann Thu, 27 Nov 2008 18:56:09 +0100 + +avrp (1.0beta3-6) unstable; urgency=low + + * QA upload. (ACK NMU; Closes: #329449, #359365) + * Set maintainer to QA Group; Orphaned: #404468 + * Bump compat level, depend on at least dh 4.0.0 + * Remove debian/conffiles, debhelper gets it anyway, + lintian complains about it. + * Conforms with latest Standards Version 3.7.2 + + -- Michael Ablassmeier Mon, 8 Jan 2007 07:46:26 +0100 + +avrp (1.0beta3-5.2) unstable; urgency=low + + * Non-maintainer upload. + * s/PAQUETE/avrp/g in postinst. Sorry + + -- Amaya Rodrigo Sastre Wed, 12 Jul 2006 21:31:06 +0200 + +avrp (1.0beta3-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Applied patch by Aurelien Jarno so that it does not + FTBFS on GNU/kFreeBSD (Closes: #329449). + * Get rid of the /usr/doc/ link (Closes: #359365). + + -- Amaya Rodrigo Sastre Wed, 12 Jul 2006 12:47:03 +0200 + +avrp (1.0beta3-5) unstable; urgency=low + + * Apply patch to build on Hurd (closes: Bug#122160) + + -- Jefferson E. Noxon Wed, 12 Dec 2001 13:19:24 -0600 + +avrp (1.0beta3-4) unstable; urgency=low + + * Copyright file now refers to correct location of GPL + * Fix build failure with gcc 3.0 (closes: Bug#97366) + + -- Jefferson E. Noxon Tue, 15 May 2001 13:31:44 -0500 + +avrp (1.0beta3-3) unstable; urgency=low + + * Added Build-Depends (closes: Bug#70160) + + -- Jefferson E. Noxon Sun, 5 Nov 2000 16:44:45 -0600 + +avrp (1.0beta3-2) unstable; urgency=low + + * Updated to debian-policy 3.0.1.1 + * Updated the upstream author's web, e-mail, and postal addresses + * Changed maintainer address + + -- Jefferson E. Noxon Wed, 15 Sep 1999 22:07:12 -0500 + +avrp (1.0beta3-1) unstable; urgency=low + + * Initial Release. + + -- Jefferson E. Noxon Mon, 28 Sep 1998 14:25:32 -0500 --- avrp-1.0beta3.orig/debian/compat +++ avrp-1.0beta3/debian/compat @@ -0,0 +1 @@ +7 --- avrp-1.0beta3.orig/debian/control +++ avrp-1.0beta3/debian/control @@ -0,0 +1,19 @@ +Source: avrp +Section: electronics +Priority: extra +Maintainer: Uwe Hermann +Standards-Version: 3.8.0 +Build-Depends: cdbs, debhelper (>= 7) +Homepage: http://tihlde.org/~jonah/el/avrp.html + +Package: avrp +Architecture: any +Depends: ${shlibs:Depends} +Suggests: avra +Description: Programmer for Atmel AVR microcontrollers + Avrp is a FLASH/EEPROM programmer for Atmel's family of AVR 8-bit + RISC microcontrollers. It can also program the Atmel AT89 series + microcontrollers. It supports at least four different programming + devices including Atmel's own AVR development board and in-circuit + programming. + --- avrp-1.0beta3.orig/debian/avrp.install +++ avrp-1.0beta3/debian/avrp.install @@ -0,0 +1,2 @@ +avrp usr/bin +avrp.def etc --- avrp-1.0beta3.orig/debian/copyright +++ avrp-1.0beta3/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by: + + Uwe Hermann on Thu, 27 Nov 2008 10:04:45 +0100 + + It was originally debianized by Jefferson E. Noxon + on Wed, 30 Sep 1998 13:52:19 -0500. + +It was downloaded from: + + http://tihlde.org/~jonah/el/avrp.html + +Upstream Author: + + Jon Anders Haugum + +------------------------------------------------------------------------------- + +Files: * +Copyright: © 1997-1998 Jon Anders Haugum +License: GPL-2+ + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +------------------------------------------------------------------------------- + +Files: debian/* +Copyright: © 2008 Uwe Hermann +License: PD + The packaging done by Uwe Hermann is hereby + released as public domain. + --- avrp-1.0beta3.orig/debian/watch +++ avrp-1.0beta3/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/\-beta/beta/" \ + http://tihlde.org/~jonah/el/avrp.html avrp-(.*)\.tar\.gz --- avrp-1.0beta3.orig/debian/docs +++ avrp-1.0beta3/debian/docs @@ -0,0 +1 @@ +README --- avrp-1.0beta3.orig/debian/rules +++ avrp-1.0beta3/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/makefile.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_MAKE_MAKEFILE := Makefile.linux + +DEB_INSTALL_MANPAGES_avrp := avrp.1 + --- avrp-1.0beta3.orig/debian/patches/10_makefile.patch +++ avrp-1.0beta3/debian/patches/10_makefile.patch @@ -0,0 +1,14 @@ +Don't hardcode CFLAGS (let cdbs handle it) and don't unconditionally strip +the binary (let cdbs do the correct 'nostrip' handling). + +--- Makefile.linux.orig 2008-11-27 18:31:00.000000000 +0100 ++++ Makefile.linux 2008-11-27 18:31:30.000000000 +0100 +@@ -4,8 +4,6 @@ + + CC = gcc + LD = gcc +-CFLAGS = -O3 -Wall +-LDFLAGS = -s + + SOURCES = avrp.c io_linux.c talking.c file.c memtalk.c + --- avrp-1.0beta3.orig/debian/patches/20_misc.patch +++ avrp-1.0beta3/debian/patches/20_misc.patch @@ -0,0 +1,19 @@ +--- avrp-1.0beta3.orig/avrp.c ++++ avrp-1.0beta3/avrp.c +@@ -129,12 +129,13 @@ + } + } + else +- printf("Missing argument: No serial port specified\n" + #ifdef __amigaos__ +- "Use: -s \n" ++#define AMIG_PRINT "Use: -s \n" + #else +- "Use: -s \n" ++#define AMIG_PRINT "Use: -s \n" + #endif ++ printf("Missing argument: No serial port specified\n" ++ AMIG_PRINT + "Or set the environment variable: AVRP_SERIALPORT\n"); + FreePI(PI); + } --- avrp-1.0beta3.orig/debian/patches/30_configfile_kfreebsd.patch +++ avrp-1.0beta3/debian/patches/30_configfile_kfreebsd.patch @@ -0,0 +1,15 @@ +Fix config file location. Also, add Debian GNU/kFreeBSD support. + +--- avrp.h.orig 1998-09-28 19:39:16.000000000 +0200 ++++ avrp.h 2008-11-27 18:39:46.000000000 +0100 +@@ -41,8 +41,8 @@ + #define DEFFILENAME "env:avrp.def" + #endif + +-#if defined(__linux__) || defined(__FreeBSD__) +-#define DEFFILENAME "/usr/local/etc/avrp.def" ++#if defined(__linux__) || defined(__FreeBSD__) || defined (__GNU__) || defined(__GLIBC__) ++#define DEFFILENAME "/etc/avrp.def" + #endif + + #ifdef _WIN32 --- avrp-1.0beta3.orig/debian/patches/40_manpage_hyphen.patch +++ avrp-1.0beta3/debian/patches/40_manpage_hyphen.patch @@ -0,0 +1,94 @@ +Silence lintian warning 'I: avrp: hyphen-used-as-minus-sign'. + +--- avrp.1.orig 2008-11-27 18:43:03.000000000 +0100 ++++ avrp.1 2008-11-27 18:45:10.000000000 +0100 +@@ -1,6 +1,6 @@ + .TH avrp 1 "28 September 1998" "Version 1.0 beta 3" + .SH NAME +-avrp \- Atmel AVR programming software to use with Atmel's serial-port programmers ++avrp \- Atmel AVR programming software to use with Atmel's serial\-port programmers + .SH SYNOPSIS + .B avrp + [\-s ] [\-a ] [\-prv] [\-f ] [\-e ] +@@ -8,8 +8,8 @@ + [\-\-version] [\-\-help] [\-qIh] + .SH DESCRIPTION + .B avrp +-works on serial-port programmers which use Atmel's communication protocol +-for serial-port programmers. These programmers can program AVR (and other) ++works on serial\-port programmers which use Atmel's communication protocol ++for serial\-port programmers. These programmers can program AVR (and other) + chips both in serial and parallel mode. + .PP + These programmers are known: +@@ -20,7 +20,7 @@ + .PP + Adrian Godwin's programmer can be found on http://www.fangorn.demon.co.uk + .PP +-Instruction on how to build Atmel's in-circuit programmer can be found on ++Instruction on how to build Atmel's in\-circuit programmer can be found on + Atmel's homepage (http://www.atmel.com). Look for application note avr910 + .PP + avrp is currently supporting these systems: +@@ -29,7 +29,7 @@ + AmigaOS + win32 (windows 95++ and NT) + .PP +-The source-code part of Atmel's application note AVR910 was used to determine ++The source\-code part of Atmel's application note AVR910 was used to determine + how to communicate with these programmers. + .PP + .SH OPTIONS +@@ -39,7 +39,7 @@ + Specifies which serial port to talk through. This option can be avoided if you + set the environment variable AVRP_SERIALPORT + .IP "\-a " +-Specifies what kind of chip to talk to. Use '-a list' for chip type to get a list ++Specifies what kind of chip to talk to. Use '\-a list' for chip type to get a list + of supported devices. You can use the shortest possible abbreviation to + identify a chip. This option can be avoided if you set the environment variable + AVRP_AVRTYPE +@@ -54,13 +54,13 @@ + inline verify) \-f and/or \-e must be specified to determine + which files to read from. (\-f specifes flash, and \-e eeprom) + .IP "\-f " +-Specifies which flash-file to read/write. Supportet formats are Intel HEX and ++Specifies which flash\-file to read/write. Supportet formats are Intel HEX and + Atmel's generic fileformat. + .IP "\-e " +-Specifies which eeprom-file to read/write. Supportet formats are Intel HEX and ++Specifies which eeprom\-file to read/write. Supportet formats are Intel HEX and + Atmel's generic fileformat. + .IP "\-l " +-Specifies lockmode to progam into the chip. Use '-l list' to get a list of ++Specifies lockmode to progam into the chip. Use '\-l list' to get a list of + possible lockmodes. + .IP \-q + Quiet. Don't write any progress information. Will speed up programming. +@@ -97,15 +97,15 @@ + avrp \-s /dev/ttyS1 + + Same as above, but also give information on the inserted chip: +- avrp \-s /dev/ttyS1 \-a AT90S1200-D/E/F ++ avrp \-s /dev/ttyS1 \-a AT90S1200\-D/E/F + +-Program a chip (flash only, and using a short chip-descriptor): ++Program a chip (flash only, and using a short chip\-descriptor): + avrp \-s /dev/ttyS1 \-a 1200-d \-p \-f avr910.rom + + Read a chip (flash and eeprom, AVRP_SERIALPORT is set): + avrp \-a 8515 \-rf test.hex \-e test.eep.hex + .SH COPYRIGHT +-Copyright (C) 1997-1998 Jon Anders Haugum ++Copyright (C) 1997\-1998 Jon Anders Haugum + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by +@@ -120,6 +120,6 @@ + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 59 Temple Place \- Suite 330, +-Boston, MA 02111-1307, USA. ++Boston, MA 02111\-1307, USA. + .SH AUTHOR + Jon Anders Haugum --- avrp-1.0beta3.orig/debian/patches/50_manpage_fix.patch +++ avrp-1.0beta3/debian/patches/50_manpage_fix.patch @@ -0,0 +1,11 @@ +--- avrp.1.orig 2008-11-28 12:18:59.000000000 +0100 ++++ avrp.1 2008-11-28 12:19:08.000000000 +0100 +@@ -81,7 +81,7 @@ + .IP "\-\-help \-h" + Print out a short help text. + .SH FILES +-.I /usr/local/etc/avrp.def ++.I /etc/avrp.def + .RS + Definition file + .RE