Sun Jan 29 02:24:54 2017 UTC ()
Updated cross/avrdude to 6.3
----------------------------
Version 6.3:
  * Major changes compared to the previous version:
    - Backout of
      patch #8380: adds 500k 1M 2M baud to ser_posix.c
      It broke the functionality in too many situations
      (bug #46610/46483)

  * New devices supported:
    - ATmega48PB, ATmega88PB, ATmega168PB
    - ATtiny28 (HVPP-only device)

  * New programmers supported:
    - Atmel mEDBG: xplainedmini, xplainedmini_dw

  * Bugfixes
    - bug #46610: Floating point exception (core dumped) arch linux rpi2
    - bug #46483: version 6.2. ser_open(): can't set attributes for device
    - patch #8435: Implementing mEDBG CMSIS-DAP protocol
    - patch #8735: ATtiny28 support in avrdude.conf
    - patch #8896: Silence cppcheck warnings in 6.2 code
    - patch #8895: Spelling in 6.2 code

Version 6.2:
  * Major changes compared to the previous version:
    - The stk500v2 implementation now uses its own higher-level
      command implementation for byte-wide access, rather than the
      historic SPI_MULTI command where all the low-level ISP
      implementation had to be assembled manually inside AVRDUDE.  In
      addition to the traditional STK500, this implementation is also
      used by all the more modern Atmel tools (AVRISPmkII, JTAGICEmkII
      in ISP mode, STK600 in ISP mode).

    - The -B option can be suffixed with "Hz", "kHz", or "MHz", in
      order to specify a bitclock frequency rather than period.

    - Print part id after signature (patch #8440 )

    - buspirate: Also support "cpufreq" extended parameter
      in binary mode (patch #8504 )

    - The "-P net:" syntax (forwarding of serial data over TCP) is now
      also implemented for Win32 systems.

    - Allow for arbitrary serial baudrates under Linux (OSX and *BSD
      could already handle it).

  * New devices supported:
    - AT90PWM216 (bug #42310: New part description for AT90PWM216)
    - ATmega32M1 (patch #7694 Add support for the atmega32m1)

  * New programmers supported:
    - ftdi_syncbb
      + uncompatino, ttl232r (FTDI TTL232R-5V with ICSP adapter)
        (patch #8529 2 more ftdi_syncbb devices)

  * Bugfixes
    - bug #45727: Wrong atmega8u2 flash parameters
    - bug #46020: Add TIAO TUMPA to the conf file.
    - bug #46021: Please add read in the memory lock section of ATtiny85
    - bug #42337 avrdude.conf updates for UM232H/CM232H
    - bug #42056: double free or corruption triggered at exit
    - bug #42158: Linux GPIO - Source Typo
    - bug #42516 spelling-error-in-binary
    - patch #8419 fix ftdi_syncbb hang with libftdi 1
    - bug #43002 usbasp debug output typo
    - patch #8511 Fix reset on FT245R
    - bug #40142 Floating point exception on Ubuntu 10.04
    - bug #22248: Read efuse error (partial fix)
    - bug #42267: jtag3isp fails to read lock and fuse bytes directly
                  after changing lock byte
    - bug #41561: AVRDUDE 6.0.1/USBasp doesn't write first bytes of
                  flash page
    - bug #43078: AVRDUDE crashes after sucessfully reading/writing eeprom
    - bug #43137: Writing and reading incorrect pages when using jtagicemkI
    - bug #40870: config nitpick: ATtiny25/45/85 have 1 calibration byte not 2
    - bug #42908: no external reset at JTAGICE3
    - patch #8437: [PATCH] Serial-over-ethernet for Win32
    - bug #44717: avrdude creates empty flash dump

  * Internals:
    - Removing exit calls from config parser
    - bug #42662 clang warnings under FreeBSD 10.x


(mef)
diff -r1.40 -r1.41 pkgsrc/cross/avrdude/Makefile
diff -r1.10 -r1.11 pkgsrc/cross/avrdude/PLIST
diff -r1.13 -r1.14 pkgsrc/cross/avrdude/distinfo
diff -r1.8 -r1.9 pkgsrc/cross/avrdude/patches/patch-ae

cvs diff -r1.40 -r1.41 pkgsrc/cross/avrdude/Makefile (expand / switch to unified diff)

--- pkgsrc/cross/avrdude/Makefile 2015/01/18 06:18:58 1.40
+++ pkgsrc/cross/avrdude/Makefile 2017/01/29 02:24:54 1.41
@@ -1,17 +1,16 @@ @@ -1,17 +1,16 @@
1# $NetBSD: Makefile,v 1.40 2015/01/18 06:18:58 mef Exp $ 1# $NetBSD: Makefile,v 1.41 2017/01/29 02:24:54 mef Exp $
2 2
3DISTNAME= avrdude-6.1 3DISTNAME= avrdude-6.3
4PKGREVISION= 1 
5CATEGORIES= cross 4CATEGORIES= cross
6MASTER_SITES= http://download.savannah.gnu.org/releases/avrdude/ 5MASTER_SITES= http://download.savannah.gnu.org/releases/avrdude/
7 6
8MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.nongnu.org/avrdude/ 8HOMEPAGE= http://www.nongnu.org/avrdude/
10COMMENT= Downloader/uploader for Atmel AVR 8-bit RISC microcontrollers 9COMMENT= Downloader/uploader for Atmel AVR 8-bit RISC microcontrollers
11LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
12 11
13BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk 12BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
14BUILD_DEPENDS+= tex-latex-fonts-[0-9]*:../../fonts/tex-latex-fonts 13BUILD_DEPENDS+= tex-latex-fonts-[0-9]*:../../fonts/tex-latex-fonts
15BUILD_DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex 14BUILD_DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
16 15
17# make: make: don't know how to make ./libavrdude.a. Stop 16# make: make: don't know how to make ./libavrdude.a. Stop

cvs diff -r1.10 -r1.11 pkgsrc/cross/avrdude/PLIST (expand / switch to unified diff)

--- pkgsrc/cross/avrdude/PLIST 2014/10/07 15:10:29 1.10
+++ pkgsrc/cross/avrdude/PLIST 2017/01/29 02:24:54 1.11
@@ -1,16 +1,18 @@ @@ -1,16 +1,18 @@
1@comment $NetBSD: PLIST,v 1.10 2014/10/07 15:10:29 mef Exp $ 1@comment $NetBSD: PLIST,v 1.11 2017/01/29 02:24:54 mef Exp $
2bin/avrdude 2bin/avrdude
 3include/libavrdude.h
3info/avrdude.info 4info/avrdude.info
 5lib/libavrdude.la
4man/man1/avrdude.1 6man/man1/avrdude.1
5share/doc/${DISTNAME}/avrdude-html/avrdude.html 7share/doc/${DISTNAME}/avrdude-html/avrdude.html
6share/doc/${DISTNAME}/avrdude-html/avrdude_1.html 8share/doc/${DISTNAME}/avrdude-html/avrdude_1.html
7share/doc/${DISTNAME}/avrdude-html/avrdude_10.html 9share/doc/${DISTNAME}/avrdude-html/avrdude_10.html
8share/doc/${DISTNAME}/avrdude-html/avrdude_11.html 10share/doc/${DISTNAME}/avrdude-html/avrdude_11.html
9share/doc/${DISTNAME}/avrdude-html/avrdude_12.html 11share/doc/${DISTNAME}/avrdude-html/avrdude_12.html
10share/doc/${DISTNAME}/avrdude-html/avrdude_13.html 12share/doc/${DISTNAME}/avrdude-html/avrdude_13.html
11share/doc/${DISTNAME}/avrdude-html/avrdude_14.html 13share/doc/${DISTNAME}/avrdude-html/avrdude_14.html
12share/doc/${DISTNAME}/avrdude-html/avrdude_15.html 14share/doc/${DISTNAME}/avrdude-html/avrdude_15.html
13share/doc/${DISTNAME}/avrdude-html/avrdude_16.html 15share/doc/${DISTNAME}/avrdude-html/avrdude_16.html
14share/doc/${DISTNAME}/avrdude-html/avrdude_17.html 16share/doc/${DISTNAME}/avrdude-html/avrdude_17.html
15share/doc/${DISTNAME}/avrdude-html/avrdude_18.html 17share/doc/${DISTNAME}/avrdude-html/avrdude_18.html
16share/doc/${DISTNAME}/avrdude-html/avrdude_19.html 18share/doc/${DISTNAME}/avrdude-html/avrdude_19.html

cvs diff -r1.13 -r1.14 pkgsrc/cross/avrdude/distinfo (expand / switch to unified diff)

--- pkgsrc/cross/avrdude/distinfo 2015/11/03 00:47:43 1.13
+++ pkgsrc/cross/avrdude/distinfo 2017/01/29 02:24:54 1.14
@@ -1,13 +1,13 @@ @@ -1,13 +1,13 @@
1$NetBSD: distinfo,v 1.13 2015/11/03 00:47:43 agc Exp $ 1$NetBSD: distinfo,v 1.14 2017/01/29 02:24:54 mef Exp $
2 2
3SHA1 (avrdude-6.1.tar.gz) = 15525cbff5918568ef3955d871dbb94feaf83c79 3SHA1 (avrdude-6.3.tar.gz) = c6a84df8f6392b671e546efab42dff64e60cfcab
4RMD160 (avrdude-6.1.tar.gz) = f2c31951c0941e86ff6deab6bd0348b54d05658c 4RMD160 (avrdude-6.3.tar.gz) = 245c20fa6f6be274093f43fa4932295ea47dafaa
5SHA512 (avrdude-6.1.tar.gz) = 7d9d12f1597308dd059a1ab43dca31ad145601c59f8655d7edb596224a754694202c0838f2b907398f796ef7bed90c5dc6a58d811481dd775da1e07b842362de 5SHA512 (avrdude-6.3.tar.gz) = b671008388d6a552e71066fec46429bc7f6639e8eac41113bcbba5a56212b78be31fcf04956b31e11c6b14888b0f6e825f7458395b9ff4fc28406074c7ded2b2
6Size (avrdude-6.1.tar.gz) = 714595 bytes 6Size (avrdude-6.3.tar.gz) = 909744 bytes
7SHA1 (patch-aa) = 619f682af2e8eff36684993b331ba37cd1b446b6 7SHA1 (patch-aa) = 619f682af2e8eff36684993b331ba37cd1b446b6
8SHA1 (patch-ab) = a9105ae562c078eec5c87df6e7f27a80184bb6d4 8SHA1 (patch-ab) = a9105ae562c078eec5c87df6e7f27a80184bb6d4
9SHA1 (patch-ac) = df871808200e5732f77d50ef2d7fb51234173445 9SHA1 (patch-ac) = df871808200e5732f77d50ef2d7fb51234173445
10SHA1 (patch-ad) = f9e7465b355f5b3feda8868287d6aaa5cd1dcd28 10SHA1 (patch-ad) = f9e7465b355f5b3feda8868287d6aaa5cd1dcd28
11SHA1 (patch-ae) = 4ad74b5abe90ddf29dd419043a2e6026f704d1c9 11SHA1 (patch-ae) = 8268734c36c02dfded64addba99e542747e746c7
12SHA1 (patch-af) = 4ae54ce739ff41964fe56bc1b3e85611288a6e0c 12SHA1 (patch-af) = 4ae54ce739ff41964fe56bc1b3e85611288a6e0c
13SHA1 (patch-ag) = fa8828a50faa835fa957de036af925dafd5584cb 13SHA1 (patch-ag) = fa8828a50faa835fa957de036af925dafd5584cb

cvs diff -r1.8 -r1.9 pkgsrc/cross/avrdude/patches/patch-ae (expand / switch to unified diff)

--- pkgsrc/cross/avrdude/patches/patch-ae 2013/12/06 07:27:15 1.8
+++ pkgsrc/cross/avrdude/patches/patch-ae 2017/01/29 02:24:54 1.9
@@ -1,47 +1,47 @@ @@ -1,47 +1,47 @@
1$NetBSD: patch-ae,v 1.8 2013/12/06 07:27:15 mef Exp $ 1$NetBSD: patch-ae,v 1.9 2017/01/29 02:24:54 mef Exp $
2 2
3- ERROR: [check-portability.awk] => Found test ... == ...: 3- ERROR: [check-portability.awk] => Found test ... == ...:
4 4
5- automake-1.13 compat. 5- automake-1.13 compat.
6 6
7- add missing AM_PROG_CC_C_O that automake wants for the yacc 7- add missing AM_PROG_CC_C_O that automake wants for the yacc
8 sources. 8 sources.
9 9
10- allow a different default serial/parallel port to be specified 10- allow a different default serial/parallel port to be specified
11 which is useful for pkgsrc (since we have defaults for various 11 which is useful for pkgsrc (since we have defaults for various
12 platforms available and they're not the same for different 12 platforms available and they're not the same for different
13 MACHINE_ARCH's in NetBSD). 13 MACHINE_ARCH's in NetBSD).
14 14
15--- configure.ac.orig 2013-09-18 15:19:42.000000000 +0900 15--- configure.ac.orig 2016-02-17 06:29:19.000000000 +0900
16+++ configure.ac 2013-10-06 19:44:09.000000000 +0900 16+++ configure.ac 2017-01-29 11:15:27.000000000 +0900
17@@ -50,7 +50,7 @@ AC_PROG_AR 17@@ -49,7 +49,7 @@ AC_PROG_AR
18 AH_TEMPLATE([HAVE_YYLEX_DESTROY], 18 AH_TEMPLATE([HAVE_YYLEX_DESTROY],
19 [Define if lex/flex has yylex_destroy]) 19 [Define if lex/flex has yylex_destroy])
20 # flex should have this 20 # flex should have this
21-if test "x$LEX" == xflex; then 21-if test "x$LEX" == xflex; then
22+if test "x$LEX" = xflex; then 22+if test "x$LEX" = xflex; then
23 AC_MSG_CHECKING([whether yylex_destroy is generated by flex]) 23 AC_MSG_CHECKING([whether yylex_destroy is generated by flex])
24 flex_version=`$LEX -V -v --version 2>/dev/null | $SED -e 's/^.* //'` 24 flex_version=`$LEX -V -v --version 2>/dev/null | $SED -e 's/^.* //'`
25 case $flex_version in 25 case $flex_version in
26@@ -190,6 +190,7 @@ AC_CHECK_HEADERS([ddk/hidsdi.h],,,[#incl 26@@ -189,6 +189,7 @@ AC_CHECK_HEADERS([ddk/hidsdi.h],,,[#incl
27  27
28 # Checks for typedefs, structures, and compiler characteristics. 28 # Checks for typedefs, structures, and compiler characteristics.
29 AC_C_CONST 29 AC_C_CONST
30+AM_PROG_CC_C_O 30+AM_PROG_CC_C_O
31 AC_HEADER_TIME 31 AC_HEADER_TIME
32  32
33 # Checks for library functions. 33 # WinSock2
34@@ -317,32 +318,44 @@ AC_SUBST(DIST_SUBDIRS_AC, $DIST_SUBDIRS_ 34@@ -318,32 +319,44 @@ AC_SUBST(DIST_SUBDIRS_AC, $DIST_SUBDIRS_
35 # If a system doesn't have a PC style parallel, mark it as unknown. 35 # If a system doesn't have a PC style parallel, mark it as unknown.
36 case $target in 36 case $target in
37 i[[3456]]86-*-linux*|x86_64-*-linux*) 37 i[[3456]]86-*-linux*|x86_64-*-linux*)
38- DEFAULT_PAR_PORT="/dev/parport0" 38- DEFAULT_PAR_PORT="/dev/parport0"
39- DEFAULT_SER_PORT="/dev/ttyS0" 39- DEFAULT_SER_PORT="/dev/ttyS0"
40+ DEFAULT_PAR_PORT=${DEFAULT_PAR_PORT:-"/dev/parport0"} 40+ DEFAULT_PAR_PORT=${DEFAULT_PAR_PORT:-"/dev/parport0"}
41+ DEFAULT_SER_PORT=${DEFAULT_SER_PORT:-"/dev/ttyS0"} 41+ DEFAULT_SER_PORT=${DEFAULT_SER_PORT:-"/dev/ttyS0"}
42 ;; 42 ;;
43 *-*-linux*) 43 *-*-linux*)
44- DEFAULT_PAR_PORT="unknown" 44- DEFAULT_PAR_PORT="unknown"
45- DEFAULT_SER_PORT="/dev/ttyS0" 45- DEFAULT_SER_PORT="/dev/ttyS0"
46+ DEFAULT_PAR_PORT=${DEFAULT_PAR_PORT:-"unknown"} 46+ DEFAULT_PAR_PORT=${DEFAULT_PAR_PORT:-"unknown"}
47+ DEFAULT_SER_PORT=${DEFAULT_SER_PORT:-"/dev/ttyS0"} 47+ DEFAULT_SER_PORT=${DEFAULT_SER_PORT:-"/dev/ttyS0"}