pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cross/avrdude Update avrdude to version 5.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/af720eb9b843
branches: trunk
changeset: 522517:af720eb9b843
user: wennmach <wennmach%pkgsrc.org@localhost>
date: Mon Dec 11 16:26:39 2006 +0000
description:
Update avrdude to version 5.2.
Significant enhancements in this version are:
o Support for JTAGICE MkII device
o New devices supported:
- AT90CAN128 ...
o Support for STK500 Version 2 Protocol
(the latter being the principal reason for the update, as the recent
firmware on the STK500 development boards requires protocol version 2)
diffstat:
cross/avrdude/DESCR | 6 +-
cross/avrdude/Makefile | 41 +++++----
cross/avrdude/PLIST | 72 ++++++-----------
cross/avrdude/distinfo | 18 +---
cross/avrdude/patches/patch-aa | 72 +++++++++++-------
cross/avrdude/patches/patch-ab | 61 ---------------
cross/avrdude/patches/patch-ac | 13 ---
cross/avrdude/patches/patch-ad | 30 -------
cross/avrdude/patches/patch-ae | 13 ---
cross/avrdude/patches/patch-af | 158 -----------------------------------------
cross/avrdude/patches/patch-ag | 18 ----
cross/avrdude/patches/patch-ah | 15 ---
cross/avrdude/patches/patch-ai | 80 ++++++++++++++++++++
13 files changed, 181 insertions(+), 416 deletions(-)
diffs (truncated from 667 to 300 lines):
diff -r b52dfb2fa4b7 -r af720eb9b843 cross/avrdude/DESCR
--- a/cross/avrdude/DESCR Mon Dec 11 15:51:52 2006 +0000
+++ b/cross/avrdude/DESCR Mon Dec 11 16:26:39 2006 +0000
@@ -1,5 +1,5 @@
AVRDUDE - AVR Downloader/UploaDEr - is a program for updating the
flash, eeprom, and fuse bit memories of Atmel AVR microcontrollers.
-
-This package currently only supports chip programmers that attach
-to the serial port (e. g. the STK500).
+Avrdude supports a wide variety of chip programmers (including the
+widely used STK500) that attach to the serial port, and, if supported
+by the underlying OS, to the parallel port.
diff -r b52dfb2fa4b7 -r af720eb9b843 cross/avrdude/Makefile
--- a/cross/avrdude/Makefile Mon Dec 11 15:51:52 2006 +0000
+++ b/cross/avrdude/Makefile Mon Dec 11 16:26:39 2006 +0000
@@ -1,29 +1,32 @@
-# $NetBSD: Makefile,v 1.17 2006/08/10 03:21:39 minskim Exp $
+# $NetBSD: Makefile,v 1.18 2006/12/11 16:26:39 wennmach Exp $
-DISTNAME= avrdude-4.1.0
-PKGREVISION= 3
-CATEGORIES= cross
-MASTER_SITES= http://savannah.nongnu.org/download/avrdude/stable.pkg/4.1.0/
+DISTNAME= avrdude-5.2
+#PKGREVISION= 1
+CATEGORIES= cross
+MASTER_SITES= http://download.savannah.gnu.org/releases/avrdude/
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE= http://www.bsdhome.com/avrdude/
-COMMENT= Downloader/uploader for Atmel AVR 8-bit RISC microcontrollers
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://www.bsdhome.com/avrdude/
+COMMENT= Downloader/uploader for Atmel AVR 8-bit RISC microcontrollers
-USE_GNU_READLINE= YES
+USE_GNU_READLINE= yes
TEX_DEPMETHOD= build
TEX_ACCEPTED= teTeX3
-GNU_CONFIGURE= yes
-USE_TOOLS+= makeinfo texi2html
-INFO_FILES= # PLIST
-
-CONFIGURE_ARGS+= --disable-versioned-doc
+.include "../../mk/bsd.prefs.mk"
-# Remove avrdude's buggy and outdated texinfo.tex that was breaking
-# modern etex.
-#
-post-extract:
- ${RM} -f ${WRKSRC}/doc/texinfo.tex
+GNU_CONFIGURE= yes
+USE_TOOLS+= makeinfo texi2html
+INFO_FILES= yes
+EGDIR= ${PREFIX}/share/examples/avrdude
+CONF_FILES= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf
+CONF_FILES_PERMS= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf \
+ ${ROOT_USER} ${ROOT_GROUP} 644
+
+CONFIGURE_ARGS+= --enable-doc
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+= --egconfdir=${EGDIR:Q}
+PLIST_SUBST+= DISTNAME=${DISTNAME:Q}
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/tex.buildlink3.mk"
diff -r b52dfb2fa4b7 -r af720eb9b843 cross/avrdude/PLIST
--- a/cross/avrdude/PLIST Mon Dec 11 15:51:52 2006 +0000
+++ b/cross/avrdude/PLIST Mon Dec 11 16:26:39 2006 +0000
@@ -1,49 +1,29 @@
-@comment $NetBSD: PLIST,v 1.5 2006/03/22 18:41:09 jlam Exp $
+@comment $NetBSD: PLIST,v 1.6 2006/12/11 16:26:39 wennmach Exp $
bin/avrdude
-etc/avrdude.conf
info/avrdude.info
man/man1/avrdude.1
-share/doc/avrdude/avrdude.pdf
-share/doc/avrdude/avrdude-html/avrdude.html
-share/doc/avrdude/avrdude-html/avrdude_abt.html
-share/doc/avrdude/avrdude-html/avrdude_1.html
-share/doc/avrdude/avrdude-html/avrdude_10.html
-share/doc/avrdude/avrdude-html/avrdude_11.html
-share/doc/avrdude/avrdude-html/avrdude_12.html
-share/doc/avrdude/avrdude-html/avrdude_13.html
-share/doc/avrdude/avrdude-html/avrdude_14.html
-share/doc/avrdude/avrdude-html/avrdude_15.html
-share/doc/avrdude/avrdude-html/avrdude_16.html
-share/doc/avrdude/avrdude-html/avrdude_17.html
-share/doc/avrdude/avrdude-html/avrdude_18.html
-share/doc/avrdude/avrdude-html/avrdude_19.html
-share/doc/avrdude/avrdude-html/avrdude_2.html
-share/doc/avrdude/avrdude-html/avrdude_20.html
-share/doc/avrdude/avrdude-html/avrdude_21.html
-share/doc/avrdude/avrdude-html/avrdude_22.html
-share/doc/avrdude/avrdude-html/avrdude_23.html
-share/doc/avrdude/avrdude-html/avrdude_24.html
-share/doc/avrdude/avrdude-html/avrdude_25.html
-share/doc/avrdude/avrdude-html/avrdude_26.html
-share/doc/avrdude/avrdude-html/avrdude_27.html
-share/doc/avrdude/avrdude-html/avrdude_28.html
-share/doc/avrdude/avrdude-html/avrdude_29.html
-share/doc/avrdude/avrdude-html/avrdude_3.html
-share/doc/avrdude/avrdude-html/avrdude_30.html
-share/doc/avrdude/avrdude-html/avrdude_31.html
-share/doc/avrdude/avrdude-html/avrdude_32.html
-share/doc/avrdude/avrdude-html/avrdude_33.html
-share/doc/avrdude/avrdude-html/avrdude_34.html
-share/doc/avrdude/avrdude-html/avrdude_35.html
-share/doc/avrdude/avrdude-html/avrdude_36.html
-share/doc/avrdude/avrdude-html/avrdude_37.html
-share/doc/avrdude/avrdude-html/avrdude_4.html
-share/doc/avrdude/avrdude-html/avrdude_5.html
-share/doc/avrdude/avrdude-html/avrdude_6.html
-share/doc/avrdude/avrdude-html/avrdude_7.html
-share/doc/avrdude/avrdude-html/avrdude_8.html
-share/doc/avrdude/avrdude-html/avrdude_9.html
-share/doc/avrdude/avrdude-html/avrdude_toc.html
-share/doc/avrdude/avrdude.ps
-@dirrm share/doc/avrdude/avrdude-html
-@dirrm share/doc/avrdude
+share/examples/avrdude/avrdude.conf
+share/doc/${DISTNAME}/avrdude.pdf
+share/doc/${DISTNAME}/avrdude-html/avrdude.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_abt.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_1.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_10.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_11.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_12.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_13.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_14.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_15.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_16.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_17.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_2.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_3.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_4.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_5.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_6.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_7.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_8.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_9.html
+share/doc/${DISTNAME}/avrdude-html/avrdude_toc.html
+share/doc/${DISTNAME}/avrdude.ps
+@dirrm share/doc/${DISTNAME}/avrdude-html
+@dirrm share/doc/${DISTNAME}
diff -r b52dfb2fa4b7 -r af720eb9b843 cross/avrdude/distinfo
--- a/cross/avrdude/distinfo Mon Dec 11 15:51:52 2006 +0000
+++ b/cross/avrdude/distinfo Mon Dec 11 16:26:39 2006 +0000
@@ -1,13 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/03/02 13:20:40 wiz Exp $
+$NetBSD: distinfo,v 1.4 2006/12/11 16:26:39 wennmach Exp $
-SHA1 (avrdude-4.1.0.tar.gz) = e3d88668ae06713a4d5576c982f32ff909903525
-RMD160 (avrdude-4.1.0.tar.gz) = be1984a1d1cd7aa5c2b33403bc24ae853c7cb74b
-Size (avrdude-4.1.0.tar.gz) = 327572 bytes
-SHA1 (patch-aa) = 1b7527e8590a098560042ad2dbb5798d162c1462
-SHA1 (patch-ab) = 620d791e8118aeabff5ca10d9e1bc5a2e794b2b6
-SHA1 (patch-ac) = 9fc1969e2db8a04a400ed62292d7da1666e64918
-SHA1 (patch-ad) = 7e3ce331afbf08e9db6a03178c247410e79d820e
-SHA1 (patch-ae) = 96be79ab7aeb1539f175a0e775cf8a536513028e
-SHA1 (patch-af) = 089decf6d74803cfad5a8a5848709f0ab747e03e
-SHA1 (patch-ag) = a24cd88f049aea4dd6246f28d281e82a93114316
-SHA1 (patch-ah) = 664cc6be38bd01934113483eb561c386828696b9
+SHA1 (avrdude-5.2.tar.gz) = 113689a10fb504e9e760e8bbf984d487ec3eff01
+RMD160 (avrdude-5.2.tar.gz) = 39e23f1cad78c8072062727838ff6de753e7ccba
+Size (avrdude-5.2.tar.gz) = 426800 bytes
+SHA1 (patch-aa) = 0d0b4de4d5ec3321afebbac8f14ece3241684534
+SHA1 (patch-ai) = ff10249ae4d6cb80667d622528a5e48a9bd2aaea
diff -r b52dfb2fa4b7 -r af720eb9b843 cross/avrdude/patches/patch-aa
--- a/cross/avrdude/patches/patch-aa Mon Dec 11 15:51:52 2006 +0000
+++ b/cross/avrdude/patches/patch-aa Mon Dec 11 16:26:39 2006 +0000
@@ -1,30 +1,46 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/07/17 19:09:23 wennmach Exp $
+$NetBSD: patch-aa,v 1.2 2006/12/11 16:26:39 wennmach Exp $
---- Makefile.in.org Tue Jul 8 10:04:00 2003
-+++ Makefile.in Tue Jul 8 10:03:55 2003
-@@ -190,14 +190,9 @@
- lists.c \
- lists.h \
- main.c \
-- par.c \
-- par.h \
- pgm.c \
- pgm.h \
- pindefs.h \
-- ppi.c \
-- ppi.h \
-- ppiwin.c \
- serial.h \
- ser_posix.c \
- ser_win32.c \
-@@ -221,8 +216,8 @@
+--- Makefile.in.orig 2006-10-09 16:48:14.000000000 +0200
++++ Makefile.in 2006-12-11 17:05:32.000000000 +0100
+@@ -233,6 +233,7 @@
+ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ sysconfdir = @sysconfdir@
++egconfdir = @egconfdir@
+ target = @target@
+ target_alias = @target_alias@
+ target_cpu = @target_cpu@
+@@ -962,12 +963,12 @@
+ done
+ install-sysconfDATA: $(sysconf_DATA)
+ @$(NORMAL_INSTALL)
+- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
++ test -z "$(egconfdir)" || $(mkdir_p) "$(DESTDIR)$(egconfdir)"
+ @list='$(sysconf_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+- echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
+- $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
++ echo " $(sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(egconfdir)/$$f'"; \
++ $(sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(egconfdir)/$$f"; \
+ done
- am_avrdude_OBJECTS = config_gram.$(OBJEXT) lexer.$(OBJEXT) avr.$(OBJEXT) \
- avr910.$(OBJEXT) config.$(OBJEXT) confwin.$(OBJEXT) \
-- fileio.$(OBJEXT) lists.$(OBJEXT) main.$(OBJEXT) par.$(OBJEXT) \
-- pgm.$(OBJEXT) ppi.$(OBJEXT) ppiwin.$(OBJEXT) \
-+ fileio.$(OBJEXT) lists.$(OBJEXT) main.$(OBJEXT) \
-+ pgm.$(OBJEXT) \
- ser_posix.$(OBJEXT) ser_win32.$(OBJEXT) stk500.$(OBJEXT) \
- term.$(OBJEXT)
- avrdude_OBJECTS = $(am_avrdude_OBJECTS)
+ uninstall-sysconfDATA:
+@@ -1378,11 +1379,12 @@
+
+ # This will get run before the config file is installed.
+ backup-avrdude-conf:
+- @echo "Backing up avrdude.conf in ${DESTDIR}${sysconfdir}"
+- @if test -e ${DESTDIR}${sysconfdir}/avrdude.conf; then \
+- cp -pR ${DESTDIR}${sysconfdir}/avrdude.conf \
+- ${DESTDIR}${sysconfdir}/avrdude.conf.bak; \
+- fi
++ @echo "No backup of avrdude.conf in ${DESTDIR}${sysconfdir} required"
++# @echo "Backing up avrdude.conf in ${DESTDIR}${sysconfdir}"
++# @if test -e ${DESTDIR}${sysconfdir}/avrdude.conf; then \
++# cp -pR ${DESTDIR}${sysconfdir}/avrdude.conf \
++# ${DESTDIR}${sysconfdir}/avrdude.conf.bak; \
++# fi
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff -r b52dfb2fa4b7 -r af720eb9b843 cross/avrdude/patches/patch-ab
--- a/cross/avrdude/patches/patch-ab Mon Dec 11 15:51:52 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2003/07/17 19:09:23 wennmach Exp $
-
---- config_gram.y.org Tue Jul 8 10:06:16 2003
-+++ config_gram.y Tue Jul 8 10:08:38 2003
-@@ -87,8 +87,6 @@
- %token K_MOSI
- %token K_NUM_PAGES
- %token K_PAGEL
--%token K_PAR
--%token K_PARALLEL
- %token K_PART
- %token K_PGMLED
- %token K_PROGRAMMER
-@@ -276,12 +274,6 @@
- }
- } |
-
-- K_TYPE TKN_EQUAL K_PAR {
-- {
-- par_initpgm(current_prog);
-- }
-- } |
--
- K_TYPE TKN_EQUAL K_STK500 {
- {
- stk500_initpgm(current_prog);
-@@ -388,9 +380,6 @@
- K_DEDICATED | K_IO
- ;
-
--parallel_modes :
-- yesno | K_PSEUDO
--;
-
- retry_lines :
- K_RESET | K_SCK
-@@ -473,24 +462,6 @@
- free_token($3);
- } |
-
-- K_PARALLEL TKN_EQUAL parallel_modes
-- {
-- if ($3->primary == K_YES) {
-- current_part->flags |= AVRPART_PARALLELOK;
-- current_part->flags &= ~AVRPART_PSEUDOPARALLEL;
-- }
-- else if ($3->primary == K_NO) {
-- current_part->flags &= ~AVRPART_PARALLELOK;
-- current_part->flags &= ~AVRPART_PSEUDOPARALLEL;
Home |
Main Index |
Thread Index |
Old Index