Tue Feb 7 00:21:49 2012 UTC ()
PR/45924 --- update to 5.11 with minor changes
(1) update 5.10 to 5.11
(2) Trying to remove pkglint -Wall warning
(3) Update HOMEPAGE URL
----- ----- -----
AVRDUDE 5.11 relesed
     (2011/8/27 By joerg_wunsch)

Finally, more than 1.5 years after the previous release,
AVRDUDE 5.11 is finally done. This is mostly a bugfix
release, but also includes a few enhancements. The two
most important enhancements are:

- TPI (i.e. ATtiny4/5/9/10) programming support for bitbang
  programmers.

- FTDI MPSSE (FT2232 etc.) bitbang support.
----- ----- -----


(mef)
diff -r1.31 -r1.32 pkgsrc/cross/avrdude/Makefile
diff -r1.8 -r1.9 pkgsrc/cross/avrdude/distinfo
diff -r1.5 -r1.6 pkgsrc/cross/avrdude/patches/patch-af
diff -r1.4 -r1.5 pkgsrc/cross/avrdude/patches/patch-ag

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

--- pkgsrc/cross/avrdude/Makefile 2011/11/08 20:41:40 1.31
+++ pkgsrc/cross/avrdude/Makefile 2012/02/07 00:21:48 1.32
@@ -1,48 +1,47 @@ @@ -1,48 +1,47 @@
1# $NetBSD: Makefile,v 1.31 2011/11/08 20:41:40 minskim Exp $ 1# $NetBSD: Makefile,v 1.32 2012/02/07 00:21:48 mef Exp $
2 2
3DISTNAME= avrdude-5.10 3DISTNAME= avrdude-5.11
4PKGREVISION= 2 
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.bsdhome.com/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
17PKG_DESTDIR_SUPPORT= user-destdir 16PKG_DESTDIR_SUPPORT= user-destdir
18MAKE_JOBS_SAFE= no 17MAKE_JOBS_SAFE= no
19 18
20USE_GNU_READLINE= yes 19USE_GNU_READLINE= yes
21 20
22.include "../../mk/bsd.prefs.mk" 21.include "../../mk/bsd.prefs.mk"
23 22
24GNU_CONFIGURE= yes 23GNU_CONFIGURE= yes
25USE_TOOLS+= autoconf automake autoreconf makeinfo texi2html yacc lex 24USE_TOOLS+= autoconf automake autoreconf makeinfo texi2html yacc lex
26INFO_FILES= yes 25INFO_FILES= yes
27EGDIR= ${PREFIX}/share/examples/avrdude 26EGDIR= ${PREFIX}/share/examples/avrdude
28CONF_FILES= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf 27CONF_FILES= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf
29CONF_FILES_PERMS= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf \ 28CONF_FILES_PERMS= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf \
30 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 644 29 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 644
31 30
32CONFIGURE_ARGS+= --enable-doc 31CONFIGURE_ARGS+= --enable-doc
33CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} 32CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
34CONFIGURE_ENV+= DEFAULT_SER_PORT=${DEFAULT_SERIAL_DEVICE:Q} 33CONFIGURE_ENV+= DEFAULT_SER_PORT=${DEFAULT_SERIAL_DEVICE:Q}
35PLIST_SUBST+= DISTNAME=${DISTNAME:Q} 34PLIST_SUBST+= DISTNAME=${DISTNAME}
36 35
37# The autotools used by this pkg are older than what's in pkgsrc 36# The autotools used by this pkg are older than what's in pkgsrc
38# currently. This makes the diffs huge. 37# currently. This makes the diffs huge.
39pre-configure: 38pre-configure:
40 cd ${WRKSRC} && autoreconf -vif 39 cd ${WRKSRC} && autoreconf -vif
41 40
42# DragonFly has stripped makeinfo in the base - without texi2dvi. 41# DragonFly has stripped makeinfo in the base - without texi2dvi.
43.if ${OPSYS} == "DragonFly" 42.if ${OPSYS} == "DragonFly"
44BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo 43BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
45.endif 44.endif
46 45
47.include "../../devel/libusb/buildlink3.mk" 46.include "../../devel/libusb/buildlink3.mk"
48.include "../../devel/readline/buildlink3.mk" 47.include "../../devel/readline/buildlink3.mk"

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

--- pkgsrc/cross/avrdude/distinfo 2010/02/08 01:47:14 1.8
+++ pkgsrc/cross/avrdude/distinfo 2012/02/07 00:21:48 1.9
@@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
1$NetBSD: distinfo,v 1.8 2010/02/08 01:47:14 jakllsch Exp $ 1$NetBSD: distinfo,v 1.9 2012/02/07 00:21:48 mef Exp $
2 2
3SHA1 (avrdude-5.10.tar.gz) = c09167ea64c3f60b594d0e4da71af7edea0d6f83 3SHA1 (avrdude-5.11.tar.gz) = 3427bf7df61e2b09c0fa33085da796ed5e9698e3
4RMD160 (avrdude-5.10.tar.gz) = 38ce9407a33bf4a4c656651071b44a92fdbdd639 4RMD160 (avrdude-5.11.tar.gz) = a91777fd81c0ab8275c96db2b390d62607bd5383
5Size (avrdude-5.10.tar.gz) = 525750 bytes 5Size (avrdude-5.11.tar.gz) = 549113 bytes
6SHA1 (patch-aa) = 619f682af2e8eff36684993b331ba37cd1b446b6 6SHA1 (patch-aa) = 619f682af2e8eff36684993b331ba37cd1b446b6
7SHA1 (patch-ab) = d49e5988a83385471f863dd0ccb50db96f1c1783 7SHA1 (patch-ab) = d49e5988a83385471f863dd0ccb50db96f1c1783
8SHA1 (patch-ac) = f5281a525f0e61517c507db91f9abe71d2f02ae4 8SHA1 (patch-ac) = f5281a525f0e61517c507db91f9abe71d2f02ae4
9SHA1 (patch-ad) = a91b4576d49953148054a7a1522690d1e4a2d9da 9SHA1 (patch-ad) = a91b4576d49953148054a7a1522690d1e4a2d9da
10SHA1 (patch-ae) = 2476a0d1ff93a4372ff64dc07e39b1c93f8a557f 10SHA1 (patch-ae) = 2476a0d1ff93a4372ff64dc07e39b1c93f8a557f
11SHA1 (patch-af) = 17447618ef8fc140e52dc52ff38cdf711dff2b48 11SHA1 (patch-af) = 4ae54ce739ff41964fe56bc1b3e85611288a6e0c
12SHA1 (patch-ag) = 796763a888bb153d0794de8a152267e78a209056 12SHA1 (patch-ag) = 7a1652db68769ade576dd8825a562ab8e75167f5

cvs diff -r1.5 -r1.6 pkgsrc/cross/avrdude/patches/patch-af (expand / switch to unified diff)

--- pkgsrc/cross/avrdude/patches/patch-af 2010/02/08 01:47:14 1.5
+++ pkgsrc/cross/avrdude/patches/patch-af 2012/02/07 00:21:49 1.6
@@ -1,13 +1,15 @@ @@ -1,13 +1,15 @@
1$NetBSD: patch-af,v 1.5 2010/02/08 01:47:14 jakllsch Exp $ 1$NetBSD: patch-af,v 1.6 2012/02/07 00:21:49 mef Exp $
 2
 3Add DragonFly
2 4
3--- ppi.c.orig 2010-01-19 10:39:11.000000000 +0000 5--- ppi.c.orig 2010-01-19 10:39:11.000000000 +0000
4+++ ppi.c 6+++ ppi.c
5@@ -33,7 +33,7 @@ 7@@ -33,7 +33,7 @@
6 #include <unistd.h> 8 #include <unistd.h>
7 #include <errno.h> 9 #include <errno.h>
8  10
9-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) 11-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
10+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) 12+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
11 # include "freebsd_ppi.h" 13 # include "freebsd_ppi.h"
12 #elif defined(__linux__) 14 #elif defined(__linux__)
13 # include "linux_ppdev.h" 15 # include "linux_ppdev.h"

cvs diff -r1.4 -r1.5 pkgsrc/cross/avrdude/patches/patch-ag (expand / switch to unified diff)

--- pkgsrc/cross/avrdude/patches/patch-ag 2010/02/08 01:47:14 1.4
+++ pkgsrc/cross/avrdude/patches/patch-ag 2012/02/07 00:21:49 1.5
@@ -1,15 +1,17 @@ @@ -1,15 +1,17 @@
1$NetBSD: patch-ag,v 1.4 2010/02/08 01:47:14 jakllsch Exp $ 1$NetBSD: patch-ag,v 1.5 2012/02/07 00:21:49 mef Exp $
 2
2Work around AVRISP mkII initial sync stalls on NetBSD. 3Work around AVRISP mkII initial sync stalls on NetBSD.
 4
3--- usb_libusb.c.orig 2010-01-19 10:39:11.000000000 +0000 5--- usb_libusb.c.orig 2010-01-19 10:39:11.000000000 +0000
4+++ usb_libusb.c 6+++ usb_libusb.c
5@@ -237,6 +237,17 @@ static void usbdev_close(union filedescr 7@@ -237,6 +237,17 @@ static void usbdev_close(union filedescr
6 { 8 {
7 usb_dev_handle *udev = (usb_dev_handle *)fd->usb.handle; 9 usb_dev_handle *udev = (usb_dev_handle *)fd->usb.handle;
8  10
9+#if defined(__NetBSD__) 11+#if defined(__NetBSD__)
10+#define USB_FEAT_ENDPOINT_HALT 0 12+#define USB_FEAT_ENDPOINT_HALT 0
11+ /* 13+ /*
12+ * Clear Feature Endpoint Halt to reset device's data toggle to DATA0. 14+ * Clear Feature Endpoint Halt to reset device's data toggle to DATA0.
13+ * This way, when we reopen expecting DATA0, things don't time out. 15+ * This way, when we reopen expecting DATA0, things don't time out.
14+ */ 16+ */
15+ usb_control_msg(udev, USB_TYPE_STANDARD | USB_RECIP_ENDPOINT, 17+ usb_control_msg(udev, USB_TYPE_STANDARD | USB_RECIP_ENDPOINT,