pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
dfu-util: Rename to dfu-util-git
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sat Sep 24 13:05:32 2016 +0200
Changeset: cdde456ad41e6003fc74b2eadd51e3d152bb7e62
Modified Files:
Makefile
Added Files:
dfu-util-git/DESCR
dfu-util-git/Makefile
dfu-util-git/PLIST
dfu-util-git/TODO
dfu-util-git/distinfo
dfu-util-git/patches/patch-aa
dfu-util-git/patches/patch-ab
Removed Files:
dfu-util/DESCR
dfu-util/Makefile
dfu-util/PLIST
dfu-util/TODO
dfu-util/distinfo
dfu-util/patches/patch-aa
dfu-util/patches/patch-ab
Log Message:
dfu-util: Rename to dfu-util-git
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=cdde456ad41e6003fc74b2eadd51e3d152bb7e62
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 2 +-
dfu-util-git/DESCR | 2 ++
dfu-util-git/Makefile | 29 +++++++++++++++++++++++++++++
dfu-util-git/PLIST | 3 +++
dfu-util-git/TODO | 1 +
dfu-util-git/distinfo | 7 +++++++
dfu-util-git/patches/patch-aa | 29 +++++++++++++++++++++++++++++
dfu-util-git/patches/patch-ab | 31 +++++++++++++++++++++++++++++++
dfu-util/DESCR | 2 --
dfu-util/Makefile | 29 -----------------------------
dfu-util/PLIST | 3 ---
dfu-util/TODO | 1 -
dfu-util/distinfo | 7 -------
dfu-util/patches/patch-aa | 29 -----------------------------
dfu-util/patches/patch-ab | 31 -------------------------------
15 files changed, 103 insertions(+), 103 deletions(-)
diffs:
diff --git a/Makefile b/Makefile
index cb134e6..dcabf0f 100644
--- a/Makefile
+++ b/Makefile
@@ -511,7 +511,7 @@ SUBDIR+= devkitARM-newlib
SUBDIR+= devkitARM-tools
SUBDIR+= dfbpoint
SUBDIR+= dfbsee
-SUBDIR+= dfu-util
+SUBDIR+= dfu-util-git
SUBDIR+= dhcpd-snmp
SUBDIR+= diablo
SUBDIR+= dicom3tools
diff --git a/dfu-util-git/DESCR b/dfu-util-git/DESCR
new file mode 100644
index 0000000..ba39c63
--- /dev/null
+++ b/dfu-util-git/DESCR
@@ -0,0 +1,2 @@
+Host (PC) side of
+the USB DFU (Universal Serial Bus Device Firmware Upgrade) protocol.
diff --git a/dfu-util-git/Makefile b/dfu-util-git/Makefile
new file mode 100644
index 0000000..ccc58a8
--- /dev/null
+++ b/dfu-util-git/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.9 2014/02/11 21:04:07 noud4 Exp $
+#
+
+DISTNAME= dfu-util-${SVN_TAG.dfu-util}
+CATEGORIES= comms
+MASTER_SITES= #
+
+MAINTAINER= noud4%users.sourceforge.net@localhost
+HOMEPAGE= http://wiki.openmoko.org/wiki/Dfu-util
+COMMENT= Host side of the USB DFU protocol
+LICENSE= gnu-gpl-v2
+
+GIT_REPOSITORIES= dfu-util
+GIT_REPO.dfu-util= git://git.code.sf.net/p/dfu-util/dfu-util
+
+SUBDIR= dfu-util
+WRKSRC= ${WRKDIR}/${SUBDIR}
+USE_TOOLS+= autoconf automake tar
+HAS_CONFIGURE= YES
+CONFIGURE_ARGS+= -prefix=${PREFIX}
+CFLAGS+= -lusb
+
+pre-configure:
+ ${CHMOD} u+x ${WRKSRC}/autogen.sh
+ cd ${WRKSRC} && ./autogen.sh
+
+.include "../../wip/mk/git-package.mk"
+.include "../../devel/libusb/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dfu-util-git/PLIST b/dfu-util-git/PLIST
new file mode 100644
index 0000000..20a860d
--- /dev/null
+++ b/dfu-util-git/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/20 13:03:04 noud4 Exp $
+bin/dfu-util
+bin/dfu-util_static
diff --git a/dfu-util-git/TODO b/dfu-util-git/TODO
new file mode 100644
index 0000000..3a568b3
--- /dev/null
+++ b/dfu-util-git/TODO
@@ -0,0 +1 @@
+configure lib usb integration i.s.o. outcommenting w/ patch-aa.
diff --git a/dfu-util-git/distinfo b/dfu-util-git/distinfo
new file mode 100644
index 0000000..7acd450
--- /dev/null
+++ b/dfu-util-git/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.7 2013/10/20 20:16:17 noud4 Exp $
+
+SHA1 (dfu-util-4412.tar.gz) = 23d545c8844d3082fea77917b4534365fdc43111
+RMD160 (dfu-util-4412.tar.gz) = 423df0ca85b9d71d23f3182fde2b6dc5e256ae65
+Size (dfu-util-4412.tar.gz) = 22151 bytes
+SHA1 (patch-aa) = 7d8cfc653ebb7097d8550565166c0ca762524b16
+SHA1 (patch-ab) = 5b2714edb4cad5405b47b010d46451c4643b8b4a
diff --git a/dfu-util-git/patches/patch-aa b/dfu-util-git/patches/patch-aa
new file mode 100644
index 0000000..7da04b5
--- /dev/null
+++ b/dfu-util-git/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.2 2013/07/27 18:32:50 khorben Exp $
+
+Fix build on MacOS X (Lion)
+
+--- configure.ac.orig 2008-01-14 20:36:23.000000000 +0000
++++ configure.ac
+@@ -6,7 +6,7 @@ AC_INIT([dfu-util],[0.1])
+ AC_CONFIG_AUX_DIR(m4)
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+ #AC_CONFIG_SRCDIR([src/atmel.c])
+-AM_CONFIG_HEADER([config.h])
++AC_CONFIG_HEADER([config.h])
+ AC_C_BIGENDIAN
+
+ AM_MAINTAINER_MODE
+@@ -16,13 +16,6 @@ AC_PROG_CC
+
+ # Checks for libraries.
+
+-PKG_CHECK_MODULES(USB, libusb >= 0.1.4,,
+- AC_MSG_ERROR([*** Required libusb >= 0.1.4 not installed ***]))
+-AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
+-
+-LIBS="$LIBS $USB_LIBS"
+-CFLAGS="$CFLAGS $USB_CFLAGS"
+-
+ # Checks for header files.
+ AC_HEADER_STDC
+ AC_CHECK_HEADERS([stdlib.h string.h stdio.h usbpath.h])
diff --git a/dfu-util-git/patches/patch-ab b/dfu-util-git/patches/patch-ab
new file mode 100644
index 0000000..1d90344
--- /dev/null
+++ b/dfu-util-git/patches/patch-ab
@@ -0,0 +1,31 @@
+$NetBSD: patch-ab,v 1.5 2013/10/20 20:16:18 noud4 Exp $
+
+Adds MacOS X (Lion) and NetBSD support.
+
+--- src/main.c.orig 2013-10-20 19:54:40.000000000 +0000
++++ src/main.c 2013-10-20 20:04:55.000000000 +0000
+@@ -26,8 +26,15 @@
+ #include <getopt.h>
+ #include <usb.h>
+ #include <errno.h>
++#if defined(__APPLE__)
++#include <machine/endian.h>
++#elif defined(__NetBSD__)
++#include <machine/bswap.h>
++#include <sys/endian.h>
++#else
+ #include <byteswap.h>
+ #include <endian.h>
++#endif
+
+ #include "dfu.h"
+ #include "usb_dfu.h"
+@@ -47,7 +54,7 @@
+ # include <libkern/OSByteOrder.h>
+ # define LE2CPU16(x) OSSwapInt16(x)
+ # else
+-# define LE2CPU16(x) bswap_16(x)
++# define LE2CPU16(x) bswap16(x)
+ # endif
+ #else
+ # define LE2CPU16(x) (x)
diff --git a/dfu-util/DESCR b/dfu-util/DESCR
deleted file mode 100644
index ba39c63..0000000
--- a/dfu-util/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-Host (PC) side of
-the USB DFU (Universal Serial Bus Device Firmware Upgrade) protocol.
diff --git a/dfu-util/Makefile b/dfu-util/Makefile
deleted file mode 100644
index ccc58a8..0000000
--- a/dfu-util/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2014/02/11 21:04:07 noud4 Exp $
-#
-
-DISTNAME= dfu-util-${SVN_TAG.dfu-util}
-CATEGORIES= comms
-MASTER_SITES= #
-
-MAINTAINER= noud4%users.sourceforge.net@localhost
-HOMEPAGE= http://wiki.openmoko.org/wiki/Dfu-util
-COMMENT= Host side of the USB DFU protocol
-LICENSE= gnu-gpl-v2
-
-GIT_REPOSITORIES= dfu-util
-GIT_REPO.dfu-util= git://git.code.sf.net/p/dfu-util/dfu-util
-
-SUBDIR= dfu-util
-WRKSRC= ${WRKDIR}/${SUBDIR}
-USE_TOOLS+= autoconf automake tar
-HAS_CONFIGURE= YES
-CONFIGURE_ARGS+= -prefix=${PREFIX}
-CFLAGS+= -lusb
-
-pre-configure:
- ${CHMOD} u+x ${WRKSRC}/autogen.sh
- cd ${WRKSRC} && ./autogen.sh
-
-.include "../../wip/mk/git-package.mk"
-.include "../../devel/libusb/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/dfu-util/PLIST b/dfu-util/PLIST
deleted file mode 100644
index 20a860d..0000000
--- a/dfu-util/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2007/10/20 13:03:04 noud4 Exp $
-bin/dfu-util
-bin/dfu-util_static
diff --git a/dfu-util/TODO b/dfu-util/TODO
deleted file mode 100644
index 3a568b3..0000000
--- a/dfu-util/TODO
+++ /dev/null
@@ -1 +0,0 @@
-configure lib usb integration i.s.o. outcommenting w/ patch-aa.
diff --git a/dfu-util/distinfo b/dfu-util/distinfo
deleted file mode 100644
index 7acd450..0000000
--- a/dfu-util/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.7 2013/10/20 20:16:17 noud4 Exp $
-
-SHA1 (dfu-util-4412.tar.gz) = 23d545c8844d3082fea77917b4534365fdc43111
-RMD160 (dfu-util-4412.tar.gz) = 423df0ca85b9d71d23f3182fde2b6dc5e256ae65
-Size (dfu-util-4412.tar.gz) = 22151 bytes
-SHA1 (patch-aa) = 7d8cfc653ebb7097d8550565166c0ca762524b16
-SHA1 (patch-ab) = 5b2714edb4cad5405b47b010d46451c4643b8b4a
diff --git a/dfu-util/patches/patch-aa b/dfu-util/patches/patch-aa
deleted file mode 100644
index 7da04b5..0000000
--- a/dfu-util/patches/patch-aa
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2013/07/27 18:32:50 khorben Exp $
-
-Fix build on MacOS X (Lion)
-
---- configure.ac.orig 2008-01-14 20:36:23.000000000 +0000
-+++ configure.ac
-@@ -6,7 +6,7 @@ AC_INIT([dfu-util],[0.1])
- AC_CONFIG_AUX_DIR(m4)
- AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
- #AC_CONFIG_SRCDIR([src/atmel.c])
--AM_CONFIG_HEADER([config.h])
-+AC_CONFIG_HEADER([config.h])
- AC_C_BIGENDIAN
-
- AM_MAINTAINER_MODE
-@@ -16,13 +16,6 @@ AC_PROG_CC
-
- # Checks for libraries.
-
--PKG_CHECK_MODULES(USB, libusb >= 0.1.4,,
-- AC_MSG_ERROR([*** Required libusb >= 0.1.4 not installed ***]))
--AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
--
--LIBS="$LIBS $USB_LIBS"
--CFLAGS="$CFLAGS $USB_CFLAGS"
--
- # Checks for header files.
- AC_HEADER_STDC
- AC_CHECK_HEADERS([stdlib.h string.h stdio.h usbpath.h])
diff --git a/dfu-util/patches/patch-ab b/dfu-util/patches/patch-ab
deleted file mode 100644
index 1d90344..0000000
--- a/dfu-util/patches/patch-ab
+++ /dev/null
@@ -1,31 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2013/10/20 20:16:18 noud4 Exp $
-
-Adds MacOS X (Lion) and NetBSD support.
-
---- src/main.c.orig 2013-10-20 19:54:40.000000000 +0000
-+++ src/main.c 2013-10-20 20:04:55.000000000 +0000
-@@ -26,8 +26,15 @@
- #include <getopt.h>
- #include <usb.h>
- #include <errno.h>
-+#if defined(__APPLE__)
-+#include <machine/endian.h>
-+#elif defined(__NetBSD__)
-+#include <machine/bswap.h>
-+#include <sys/endian.h>
-+#else
- #include <byteswap.h>
- #include <endian.h>
-+#endif
-
- #include "dfu.h"
- #include "usb_dfu.h"
-@@ -47,7 +54,7 @@
- # include <libkern/OSByteOrder.h>
- # define LE2CPU16(x) OSSwapInt16(x)
- # else
--# define LE2CPU16(x) bswap_16(x)
-+# define LE2CPU16(x) bswap16(x)
- # endif
- #else
- # define LE2CPU16(x) (x)
Home |
Main Index |
Thread Index |
Old Index