FreeBSD Bugzilla – Attachment 93513 Details for
Bug 131430
[NEW PORT] comms/dfu-util OpenMoko USB Device Firmware Upgrade Utility
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 5.55 KB, created by
Rebecca Cran
on 2009-02-05 20:10:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Rebecca Cran
Created:
2009-02-05 20:10:01 UTC
Size:
5.55 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># dfu-util ># dfu-util/distinfo ># dfu-util/pkg-message ># dfu-util/pkg-descr ># dfu-util/files ># dfu-util/files/patch-src-dfu.c ># dfu-util/files/patch-src-main.c ># dfu-util/files/patch-configure.ac ># dfu-util/files/patch-src-commands.h ># dfu-util/files/patch-src-dfu.h ># dfu-util/files/patch-src-sam7dfu.c ># dfu-util/Makefile ># >echo c - dfu-util >mkdir -p dfu-util > /dev/null 2>&1 >echo x - dfu-util/distinfo >sed 's/^X//' >dfu-util/distinfo << '03334b8ac52fc5211bc2a86ffeb6a935' >XMD5 (dfu-util-0.1.snap20090204.tar.gz) = a188876ad7d0de52c805fd807f266c42 >XSHA256 (dfu-util-0.1.snap20090204.tar.gz) = c272c55ff3900e35fd4849120a2ef12125ed0a05198c4e348539429ae309f00c >XSIZE (dfu-util-0.1.snap20090204.tar.gz) = 21756 >03334b8ac52fc5211bc2a86ffeb6a935 >echo x - dfu-util/pkg-message >sed 's/^X//' >dfu-util/pkg-message << '3dd9fcfcc871f8140fd79c22c3e86793' >XNote: dfu-util may not work on the first run, it might be necessary to run it >Xtwice before it detects the device correctly. >3dd9fcfcc871f8140fd79c22c3e86793 >echo x - dfu-util/pkg-descr >sed 's/^X//' >dfu-util/pkg-descr << '39d267b48b97f882d1f1f3d4e56f7782' >Xdfu-util is a program that implements the host (PC) side of the USB DFU >X(Universal Serial Bus Device Firmware Upgrade) protocol. >X >XIn the OpenMoko project (for example), this program is used to communicate >Xwith the specially enhanced u-boot boot loader, which implements the DFU >Xdevice side. >X >XAuthor: Bruce Cran <bruce@cran.org.uk> >XWWW: http://wiki.openmoko.org/wiki/Dfu-util >39d267b48b97f882d1f1f3d4e56f7782 >echo c - dfu-util/files >mkdir -p dfu-util/files > /dev/null 2>&1 >echo x - dfu-util/files/patch-src-dfu.c >sed 's/^X//' >dfu-util/files/patch-src-dfu.c << 'd85a6b9eb8abf16f00d837c0a08d7dac' >X--- src/dfu.c.orig 2007-02-25 15:43:05.000000000 +0000 >X+++ src/dfu.c 2009-02-04 22:05:08.000000000 +0000 >X@@ -19,7 +19,7 @@ >X */ >X >X #include <stdio.h> >X-#include <usb.h> >X+#include <libusb20_compat01.h> >X #include "dfu.h" >X >X /* DFU commands */ >d85a6b9eb8abf16f00d837c0a08d7dac >echo x - dfu-util/files/patch-src-main.c >sed 's/^X//' >dfu-util/files/patch-src-main.c << '30434a5ab544bd0e33cc568974ae22f4' >X--- src/main.c.orig 2008-10-07 18:34:43.000000000 +0100 >X+++ src/main.c 2009-02-04 22:09:26.000000000 +0000 >X@@ -22,10 +22,12 @@ >X */ >X >X #include <stdio.h> >X+#include <stdlib.h> >X #include <string.h> >X #include <getopt.h> >X-#include <usb.h> >X+#include <libusb20_compat01.h> >X #include <errno.h> >X+#include <unistd.h> >X >X #include "dfu.h" >X #include "usb_dfu.h" >30434a5ab544bd0e33cc568974ae22f4 >echo x - dfu-util/files/patch-configure.ac >sed 's/^X//' >dfu-util/files/patch-configure.ac << '6fbef7b4046092c75747cc060b971ad3' >X--- configure.ac.orig 2008-10-07 14:14:07.000000000 +0100 >X+++ configure.ac 2009-02-04 22:04:02.000000000 +0000 >X@@ -15,9 +15,7 @@ >X >X # Checks for libraries. >X >X-PKG_CHECK_MODULES(USB, libusb >= 0.1.4,, >X- AC_MSG_ERROR([*** Required libusb >= 0.1.4 not installed ***])) >X-AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb) >X+USB_LIBS=-lusb20 >X >X LIBS="$LIBS $USB_LIBS" >X CFLAGS="$CFLAGS $USB_CFLAGS" >6fbef7b4046092c75747cc060b971ad3 >echo x - dfu-util/files/patch-src-commands.h >sed 's/^X//' >dfu-util/files/patch-src-commands.h << '20053727483320ce775b2a511820539f' >X--- src/commands.h.orig 2007-02-22 21:33:15.000000000 +0000 >X+++ src/commands.h 2009-02-04 22:04:41.000000000 +0000 >X@@ -21,7 +21,7 @@ >X #ifndef __COMMANDS_H__ >X #define __COMMANDS_H__ >X >X-#include <usb.h> >X+#include <libusb20_compat01.h> >X #include "arguments.h" >X >X int execute_command( struct usb_dev_handle *device, >20053727483320ce775b2a511820539f >echo x - dfu-util/files/patch-src-dfu.h >sed 's/^X//' >dfu-util/files/patch-src-dfu.h << 'cb41cc8be7108bede8e782188543d593' >X--- src/dfu.h.orig 2007-02-25 15:43:05.000000000 +0000 >X+++ src/dfu.h 2009-02-04 22:05:15.000000000 +0000 >X@@ -21,7 +21,7 @@ >X #ifndef __DFU_H__ >X #define __DFU_H__ >X >X-#include <usb.h> >X+#include <libusb20_compat01.h> >X #include "usb_dfu.h" >X >X /* DFU states */ >cb41cc8be7108bede8e782188543d593 >echo x - dfu-util/files/patch-src-sam7dfu.c >sed 's/^X//' >dfu-util/files/patch-src-sam7dfu.c << '5717b7640dc9e9d59b4d6bd22ab61a24' >X--- src/sam7dfu.c.orig 2008-10-07 18:42:36.000000000 +0100 >X+++ src/sam7dfu.c 2009-02-04 22:04:56.000000000 +0000 >X@@ -11,7 +11,8 @@ >X #include <fcntl.h> >X #include <errno.h> >X #include <string.h> >X-#include <usb.h> >X+#include <libusb20_compat01.h> >X+#include <unistd.h> >X >X #include "config.h" >X #include "dfu.h" >5717b7640dc9e9d59b4d6bd22ab61a24 >echo x - dfu-util/Makefile >sed 's/^X//' >dfu-util/Makefile << '9fcb71f76eb865369e08707a885dc538' >X# New ports collection makefile for: dfu-util >X# Date created: 2008-02-04 >X# Whom: Bruce Cran <bruce@cran.org.uk> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= dfu-util >XDISTVERSION= 0.1.snap${SNAPDATE} >XCATEGORIES= comms >XMASTER_SITES= http://www.cran.org.uk/~brucec/software/ >X >XMAINTAINER= bruce@cran.org.uk >XCOMMENT= Device firmware update (DFU) USB programmer >X >XMAN1= dfu-util.1 >XPLIST_FILES= bin/dfu-util >XUSE_AUTOTOOLS= aclocal:19 automake:19 autoheader:262 >XAUTOMAKE_ARGS= --add-missing --foreign --copy >X >XSNAPDATE= 20090204 >XGNU_CONFIGURE= yes >X >X.include <bsd.port.pre.mk> >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/src/dfu-util ${PREFIX}/bin >X ${INSTALL_MAN} ${WRKSRC}/doc/dfu-util.1 ${MAN1PREFIX}/man/man1 >X >Xpost-install: >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.post.mk> >9fcb71f76eb865369e08707a885dc538 >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 131430
: 93513 |
93514