mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/2] dfu-util: Fix license and bump version
@ 2021-10-05 14:57 Alexander Dahl
  2021-10-05 14:57 ` [ptxdist] [PATCH 1/2] dfu-util: Fix license information Alexander Dahl
  2021-10-05 14:57 ` [ptxdist] [PATCH 2/2] dfu-util: version bump 0.9 -> 0.11 Alexander Dahl
  0 siblings, 2 replies; 6+ messages in thread
From: Alexander Dahl @ 2021-10-05 14:57 UTC (permalink / raw)
  To: ptxdist

Hei hei,

fallout while investigating some firmware loading problems on new
hardware … ;-)

Greets
Alex

Alexander Dahl (2):
  dfu-util: Fix license information
  dfu-util: version bump 0.9 -> 0.11

 rules/dfu-util.make | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)


base-commit: 51994d1b518323d2975491090a2452d34b1a39f9
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ptxdist] [PATCH 1/2] dfu-util: Fix license information
  2021-10-05 14:57 [ptxdist] [PATCH 0/2] dfu-util: Fix license and bump version Alexander Dahl
@ 2021-10-05 14:57 ` Alexander Dahl
  2021-10-08 13:25   ` Michael Olbrich
  2021-10-05 14:57 ` [ptxdist] [PATCH 2/2] dfu-util: version bump 0.9 -> 0.11 Alexander Dahl
  1 sibling, 1 reply; 6+ messages in thread
From: Alexander Dahl @ 2021-10-05 14:57 UTC (permalink / raw)
  To: ptxdist

dfu-util started with the following headers stating GPL-2.0-or-later in
2007 already, and never changed that:

 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.

buildroot and Debian come to the same conclusion.  That was probably
attributed wrong in ptxdist back in 2010 (and converted twice later).

The script 'dfuse-pack.py' was introduced with v0.8 as LGPL-3.0-only.

Fixes: 01006cfdfeda ("[dfu-utils] version bump to first release 0.1")
Fixes: e4fbf806e48a ("dfu-util: version bump 0.7 -> 0.9")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/dfu-util.make | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/rules/dfu-util.make b/rules/dfu-util.make
index 277462e55..89c97d030 100644
--- a/rules/dfu-util.make
+++ b/rules/dfu-util.make
@@ -21,7 +21,10 @@ DFU_UTIL_SUFFIX		:= tar.gz
 DFU_UTIL_URL		:= http://dfu-util.sourceforge.net/releases/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
 DFU_UTIL_SOURCE		:= $(SRCDIR)/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
 DFU_UTIL_DIR		:= $(BUILDDIR)/$(DFU_UTIL)
-DFU_UTIL_LICENSE	:= GPL-2.0-only
+DFU_UTIL_LICENSE	:= GPL-2.0-or-later and LGPL-3.0-only
+DFU_UTIL_LICENSE_FILES	:= \
+    file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
+    file://dfuse-pack.py;startline=3;endline=5;md5=bae9752b1c5f210bb170d5ca7222763e
 
 # ----------------------------------------------------------------------------
 # Prepare
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ptxdist] [PATCH 2/2] dfu-util: version bump 0.9 -> 0.11
  2021-10-05 14:57 [ptxdist] [PATCH 0/2] dfu-util: Fix license and bump version Alexander Dahl
  2021-10-05 14:57 ` [ptxdist] [PATCH 1/2] dfu-util: Fix license information Alexander Dahl
@ 2021-10-05 14:57 ` Alexander Dahl
  1 sibling, 0 replies; 6+ messages in thread
From: Alexander Dahl @ 2021-10-05 14:57 UTC (permalink / raw)
  To: ptxdist

Noteworthy changes over v0.10 and v0.11:

- New --wait option for devices to appear
- New --devnum option to filter devices
- Support large files
- Misc bugfixes, especially for dfuse
- Quirks for several devices
- Improved error reporting

Signed-off-by: Alexander Dahl <ada@thorsis.com>
Link: https://lists.osmocom.org/pipermail/dfu-util/2020-November/000009.html
Link: https://lists.osmocom.org/pipermail/dfu-util/2021-September/000014.html
---
 rules/dfu-util.make | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/rules/dfu-util.make b/rules/dfu-util.make
index 89c97d030..6fee1bb8d 100644
--- a/rules/dfu-util.make
+++ b/rules/dfu-util.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_DFU_UTIL) += dfu-util
 #
 # Paths and names
 #
-DFU_UTIL_VERSION	:= 0.9
-DFU_UTIL_MD5		:= 233bb1e08ef4b405062445d84e28fde6
+DFU_UTIL_VERSION	:= 0.11
+DFU_UTIL_MD5		:= 31c983543a1fe8f03260ca4d56ad4f43
 DFU_UTIL		:= dfu-util-$(DFU_UTIL_VERSION)
 DFU_UTIL_SUFFIX		:= tar.gz
 DFU_UTIL_URL		:= http://dfu-util.sourceforge.net/releases/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
@@ -34,10 +34,10 @@ DFU_UTIL_CONF_ENV	:= \
 	$(CROSS_ENV) \
 	ac_cv_lib_usb_libusb_init=no
 
-#
-# autoconf
-#
 DFU_UTIL_CONF_TOOL	:= autoconf
+DFU_UTIL_CONF_OPT   := \
+    $(CROSS_AUTOCONF_USR) \
+    $(GLOBAL_LARGE_FILE_OPTION)
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 1/2] dfu-util: Fix license information
  2021-10-05 14:57 ` [ptxdist] [PATCH 1/2] dfu-util: Fix license information Alexander Dahl
@ 2021-10-08 13:25   ` Michael Olbrich
  2021-10-08 13:29     ` Alexander Dahl
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2021-10-08 13:25 UTC (permalink / raw)
  To: Alexander Dahl; +Cc: ptxdist

On Tue, Oct 05, 2021 at 04:57:51PM +0200, Alexander Dahl wrote:
> dfu-util started with the following headers stating GPL-2.0-or-later in
> 2007 already, and never changed that:
> 
>  * This program is free software; you can redistribute it and/or modify
>  * it under the terms of the GNU General Public License as published by
>  * the Free Software Foundation; either version 2 of the License, or
>  * (at your option) any later version.
> 
> buildroot and Debian come to the same conclusion.  That was probably
> attributed wrong in ptxdist back in 2010 (and converted twice later).

ack.

> The script 'dfuse-pack.py' was introduced with v0.8 as LGPL-3.0-only.

But we're not actually distributing this file, so it shouldn't be listed
here.

Michael

> 
> Fixes: 01006cfdfeda ("[dfu-utils] version bump to first release 0.1")
> Fixes: e4fbf806e48a ("dfu-util: version bump 0.7 -> 0.9")
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> ---
>  rules/dfu-util.make | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/dfu-util.make b/rules/dfu-util.make
> index 277462e55..89c97d030 100644
> --- a/rules/dfu-util.make
> +++ b/rules/dfu-util.make
> @@ -21,7 +21,10 @@ DFU_UTIL_SUFFIX		:= tar.gz
>  DFU_UTIL_URL		:= http://dfu-util.sourceforge.net/releases/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
>  DFU_UTIL_SOURCE		:= $(SRCDIR)/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
>  DFU_UTIL_DIR		:= $(BUILDDIR)/$(DFU_UTIL)
> -DFU_UTIL_LICENSE	:= GPL-2.0-only
> +DFU_UTIL_LICENSE	:= GPL-2.0-or-later and LGPL-3.0-only
> +DFU_UTIL_LICENSE_FILES	:= \
> +    file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> +    file://dfuse-pack.py;startline=3;endline=5;md5=bae9752b1c5f210bb170d5ca7222763e
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 1/2] dfu-util: Fix license information
  2021-10-08 13:25   ` Michael Olbrich
@ 2021-10-08 13:29     ` Alexander Dahl
  2021-10-08 14:26       ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Dahl @ 2021-10-08 13:29 UTC (permalink / raw)
  To: Alexander Dahl, ptxdist

Hello Michael,

Am Fri, Oct 08, 2021 at 03:25:04PM +0200 schrieb Michael Olbrich:
> On Tue, Oct 05, 2021 at 04:57:51PM +0200, Alexander Dahl wrote:
> > dfu-util started with the following headers stating GPL-2.0-or-later in
> > 2007 already, and never changed that:
> > 
> >  * This program is free software; you can redistribute it and/or modify
> >  * it under the terms of the GNU General Public License as published by
> >  * the Free Software Foundation; either version 2 of the License, or
> >  * (at your option) any later version.
> > 
> > buildroot and Debian come to the same conclusion.  That was probably
> > attributed wrong in ptxdist back in 2010 (and converted twice later).
> 
> ack.
> 
> > The script 'dfuse-pack.py' was introduced with v0.8 as LGPL-3.0-only.
> 
> But we're not actually distributing this file, so it shouldn't be listed
> here.

Okay, so I guess DFU_UTIL_LICENSE_FILES is fine with COPYING only? 
I would add a comment on dfuse-pack.py then.

Alex

> 
> Michael
> 
> > 
> > Fixes: 01006cfdfeda ("[dfu-utils] version bump to first release 0.1")
> > Fixes: e4fbf806e48a ("dfu-util: version bump 0.7 -> 0.9")
> > Signed-off-by: Alexander Dahl <ada@thorsis.com>
> > ---
> >  rules/dfu-util.make | 5 ++++-
> >  1 file changed, 4 insertions(+), 1 deletion(-)
> > 
> > diff --git a/rules/dfu-util.make b/rules/dfu-util.make
> > index 277462e55..89c97d030 100644
> > --- a/rules/dfu-util.make
> > +++ b/rules/dfu-util.make
> > @@ -21,7 +21,10 @@ DFU_UTIL_SUFFIX		:= tar.gz
> >  DFU_UTIL_URL		:= http://dfu-util.sourceforge.net/releases/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
> >  DFU_UTIL_SOURCE		:= $(SRCDIR)/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
> >  DFU_UTIL_DIR		:= $(BUILDDIR)/$(DFU_UTIL)
> > -DFU_UTIL_LICENSE	:= GPL-2.0-only
> > +DFU_UTIL_LICENSE	:= GPL-2.0-or-later and LGPL-3.0-only
> > +DFU_UTIL_LICENSE_FILES	:= \
> > +    file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> > +    file://dfuse-pack.py;startline=3;endline=5;md5=bae9752b1c5f210bb170d5ca7222763e
> >  
> >  # ----------------------------------------------------------------------------
> >  # Prepare
> > -- 
> > 2.30.2
> > 
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> > 
> 
> -- 
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 1/2] dfu-util: Fix license information
  2021-10-08 13:29     ` Alexander Dahl
@ 2021-10-08 14:26       ` Michael Olbrich
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Olbrich @ 2021-10-08 14:26 UTC (permalink / raw)
  To: ptxdist

On Fri, Oct 08, 2021 at 03:29:59PM +0200, Alexander Dahl wrote:
> Hello Michael,
> 
> Am Fri, Oct 08, 2021 at 03:25:04PM +0200 schrieb Michael Olbrich:
> > On Tue, Oct 05, 2021 at 04:57:51PM +0200, Alexander Dahl wrote:
> > > dfu-util started with the following headers stating GPL-2.0-or-later in
> > > 2007 already, and never changed that:
> > > 
> > >  * This program is free software; you can redistribute it and/or modify
> > >  * it under the terms of the GNU General Public License as published by
> > >  * the Free Software Foundation; either version 2 of the License, or
> > >  * (at your option) any later version.
> > > 
> > > buildroot and Debian come to the same conclusion.  That was probably
> > > attributed wrong in ptxdist back in 2010 (and converted twice later).
> > 
> > ack.
> > 
> > > The script 'dfuse-pack.py' was introduced with v0.8 as LGPL-3.0-only.
> > 
> > But we're not actually distributing this file, so it shouldn't be listed
> > here.
> 
> Okay, so I guess DFU_UTIL_LICENSE_FILES is fine with COPYING only? 

Yes.

> I would add a comment on dfuse-pack.py then.

Sounds good.

Michael

> > > Fixes: 01006cfdfeda ("[dfu-utils] version bump to first release 0.1")
> > > Fixes: e4fbf806e48a ("dfu-util: version bump 0.7 -> 0.9")
> > > Signed-off-by: Alexander Dahl <ada@thorsis.com>
> > > ---
> > >  rules/dfu-util.make | 5 ++++-
> > >  1 file changed, 4 insertions(+), 1 deletion(-)
> > > 
> > > diff --git a/rules/dfu-util.make b/rules/dfu-util.make
> > > index 277462e55..89c97d030 100644
> > > --- a/rules/dfu-util.make
> > > +++ b/rules/dfu-util.make
> > > @@ -21,7 +21,10 @@ DFU_UTIL_SUFFIX		:= tar.gz
> > >  DFU_UTIL_URL		:= http://dfu-util.sourceforge.net/releases/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
> > >  DFU_UTIL_SOURCE		:= $(SRCDIR)/$(DFU_UTIL).$(DFU_UTIL_SUFFIX)
> > >  DFU_UTIL_DIR		:= $(BUILDDIR)/$(DFU_UTIL)
> > > -DFU_UTIL_LICENSE	:= GPL-2.0-only
> > > +DFU_UTIL_LICENSE	:= GPL-2.0-or-later and LGPL-3.0-only
> > > +DFU_UTIL_LICENSE_FILES	:= \
> > > +    file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
> > > +    file://dfuse-pack.py;startline=3;endline=5;md5=bae9752b1c5f210bb170d5ca7222763e
> > >  
> > >  # ----------------------------------------------------------------------------
> > >  # Prepare
> > > -- 
> > > 2.30.2
> > > 
> > > 
> > > _______________________________________________
> > > ptxdist mailing list
> > > ptxdist@pengutronix.de
> > > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> > > 
> > 
> > -- 
> > Pengutronix e.K.                           |                             |
> > Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> > 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> > Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-08 14:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 14:57 [ptxdist] [PATCH 0/2] dfu-util: Fix license and bump version Alexander Dahl
2021-10-05 14:57 ` [ptxdist] [PATCH 1/2] dfu-util: Fix license information Alexander Dahl
2021-10-08 13:25   ` Michael Olbrich
2021-10-08 13:29     ` Alexander Dahl
2021-10-08 14:26       ` Michael Olbrich
2021-10-05 14:57 ` [ptxdist] [PATCH 2/2] dfu-util: version bump 0.9 -> 0.11 Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox