dc3dd: new package
PATCH 1/1 dc3dd: new package
--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/dc3dd/Config.in | 9 +++++++++ package/dc3dd/dc3dd.hash | 2 ++ package/dc3dd/dc3dd.mk | 19 +++++++++++++++++++ 5 files changed, 34 insertions(+) create mode 100644 package/dc3dd/Config.in create mode 100644 package/dc3dd/dc3dd.hash create mode 100644 package/dc3dd/dc3dd.mk
DEVELOPERS +3 -0
@@ -146,6 +146,9 @@ F: package/taskd/ N: Benjamin Kamath <[email protected]> F: package/lapack/ +N: Beno?t Allard <[email protected]> +F: package/dc3dd/ + N: Bernd Kuhls <[email protected]> F: package/apache/ F: package/apr/
package/Config.in +1 -0
@@ -1762,6 +1762,7 @@ menu "System tools" source "package/cpuload/Config.in" source "package/dcron/Config.in" source "package/ddrescue/Config.in" + source "package/dc3dd/Config.in" source "package/debianutils/Config.in" source "package/docker-containerd/Config.in" source "package/docker-engine/Config.in"
package/dc3dd/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd" + help + dc3dd is a patch to the GNU dd program, this version has several + features intended for forensic acquisition of data. Highlights + include hashing on-the-fly, split output files, pattern writing, a + progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/
package/dc3dd/dc3dd.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From https://sourceforge.net/projects/dc3dd/files/dc3dd/7.2.646/dc3dd%207.2.646/ +sha1 3d3d9ba5f3b18fbf4798e1f3554f2d34d0ce5e2c dc3dd-7.2.646.zip
package/dc3dd/dc3dd.mk new file +19 -0
@@ -0,0 +1,19 @@ +################################################################################ +# +# dc3dd +# +################################################################################ + +DC3DD_VERSION = 7.2.646 +DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).zip +DC3DD_SITE = http://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION)/dc3dd%20$(DC3DD_VERSION) +DC3DD_LICENSE = GPLv3 +DC3DD_LICENSE_FILES = COPYING + +define DC3DD_EXTRACT_CMDS + $(UNZIP) -d $(@D)/.. $(DL_DIR)/$(DC3DD_SOURCE) || true + chmod a+x $(@D)/configure + chmod a+x $(@D)/build-aux/install-sh +endef + +$(eval $(autotools-package))
Signature · 1 line
2.1.4
PATCH 1/1 dc3dd: new package
Hi Benoit,
Strange timezone you live in, GMT+32 or something like that? :-)
Quoted 1 line · Beno?t Allard
Signed-off-by Beno?t Allard <[email protected]>
[snip]
package/dc3dd/Config.in line 6
Quoted 12 lines
package/dc3dd/Config.in new file +6
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd" + help + dc3dd is a patch to the GNU dd program, this version has several + features intended for forensic acquisition of data. Highlights + include hashing on-the-fly, split output files, pattern writing, a
Help text should wrap at 72 columns where the tab counts for 8, so this is 4
characters too many...
package/dc3dd/dc3dd.hash line 2
Quoted 11 lines
package/dc3dd/Config.in new file +3
-0+ progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/package/dc3dd/dc3dd.hash new file +2
-0@@ -0,0 +1,2 @@ +# From https://sourceforge.net/projects/dc3dd/files/dc3dd/7.2.646/dc3dd%207.2.646/ +sha1 3d3d9ba5f3b18fbf4798e1f3554f2d34d0ce5e2c dc3dd-7.2.646.zip
If only a weak hash is available upstream, please add a locally calculated sha256.
package/dc3dd/dc3dd.mk line 7
Quoted 13 lines
package/dc3dd/dc3dd.mk new file +7
-0@@ -0,0 +1,19 @@ +################################################################################ +# +# dc3dd +# +################################################################################ + +DC3DD_VERSION = 7.2.646
There is a version 7.2.641 which is identical except that it has an older (!)
Changelog, and a different version number...
package/dc3dd/dc3dd.mk line 8
Quoted 1 line
package/dc3dd/dc3dd.mk new file +1
-0+DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).zip
and that version has a proper tar.xz.
package/dc3dd/dc3dd.mk line 10
Quoted 2 lines
package/dc3dd/dc3dd.mk new file +2
-0+DC3DD_SITE = http://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION)/dc3dd%20$(DC3DD_VERSION) +DC3DD_LICENSE = GPLv3
I didn't do a full fossology but it looks like all files have the 'or later'
clause, so it's GPLv3+
package/dc3dd/dc3dd.mk line 14
Quoted 4 lines
package/dc3dd/dc3dd.mk new file +4
-0+DC3DD_LICENSE_FILES = COPYING + +define DC3DD_EXTRACT_CMDS + $(UNZIP) -d $(@D)/.. $(DL_DIR)/$(DC3DD_SOURCE) || true
|| true? You want to succeed in case of failure?
Also, we normally extract within $(@D) and then move the result. Cfr. e.g. espeak.
package/dc3dd/dc3dd.mk line 16
Quoted 2 lines
package/dc3dd/dc3dd.mk new file +2
-0+ chmod a+x $(@D)/configure + chmod a+x $(@D)/build-aux/install-sh
The tar.xz has execute permission set on all files. Not sure if that's an
improvement :-)
Regards,
Arnout
Quoted 4 lines
package/dc3dd/dc3dd.mk new file +3
-0+endef + +$(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 dc3dd: new package
Quoted 7 lines · Arnout Vandecappelle
Hi Benoit,
Strange timezone you live in, GMT+32 or something like that? :-)
Quoted 1 line · Beno?t Allard
Signed-off-by Beno?t Allard <[email protected]>[snip]
Quoted 8 lines
package/dc3dd/Config.in line 2
Quoted 8 lines
package/dc3dd/Config.in new file +2
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd"
Also, it fails to build on musl, and uses threads. Use the test-pkg script to
pre-test on the autobuilder toolchains, it just takes an hour or so on an average speed computer.
Regards,
Arnout
Quoted 73 lines
package/dc3dd/Config.in line 6
Quoted 4 lines
package/dc3dd/Config.in new file +4
-0+ help + dc3dd is a patch to the GNU dd program, this version has several + features intended for forensic acquisition of data. Highlights + include hashing on-the-fly, split output files, pattern writing, aHelp text should wrap at 72 columns where the tab counts for 8, so this is 4
characters too many...package/dc3dd/dc3dd.hash line 2
Quoted 11 lines
package/dc3dd/Config.in new file +3
-0+ progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/package/dc3dd/dc3dd.hash new file +2
-0@@ -0,0 +1,2 @@ +# From https://sourceforge.net/projects/dc3dd/files/dc3dd/7.2.646/dc3dd%207.2.646/ +sha1 3d3d9ba5f3b18fbf4798e1f3554f2d34d0ce5e2c dc3dd-7.2.646.zipIf only a weak hash is available upstream, please add a locally calculated sha256.
package/dc3dd/dc3dd.mk line 7
Quoted 13 lines
package/dc3dd/dc3dd.mk new file +7
-0@@ -0,0 +1,19 @@ +################################################################################ +# +# dc3dd +# +################################################################################ + +DC3DD_VERSION = 7.2.646There is a version 7.2.641 which is identical except that it has an older (!)
Changelog, and a different version number...package/dc3dd/dc3dd.mk line 8
Quoted 1 line
package/dc3dd/dc3dd.mk new file +1
-0+DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).zipand that version has a proper tar.xz.
package/dc3dd/dc3dd.mk line 10
Quoted 2 lines
package/dc3dd/dc3dd.mk new file +2
-0+DC3DD_SITE = http://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION)/dc3dd%20$(DC3DD_VERSION) +DC3DD_LICENSE = GPLv3I didn't do a full fossology but it looks like all files have the 'or later'
clause, so it's GPLv3+package/dc3dd/dc3dd.mk line 14
Quoted 4 lines
package/dc3dd/dc3dd.mk new file +4
-0+DC3DD_LICENSE_FILES = COPYING + +define DC3DD_EXTRACT_CMDS + $(UNZIP) -d $(@D)/.. $(DL_DIR)/$(DC3DD_SOURCE) || true|| true? You want to succeed in case of failure?
Also, we normally extract within $(@D) and then move the result. Cfr. e.g. espeak.
package/dc3dd/dc3dd.mk line 16
Quoted 2 lines
package/dc3dd/dc3dd.mk new file +2
-0+ chmod a+x $(@D)/configure + chmod a+x $(@D)/build-aux/install-shThe tar.xz has execute permission set on all files. Not sure if that's an
improvement :-)Regards,
ArnoutQuoted 4 lines
package/dc3dd/dc3dd.mk new file +3
-0+endef + +$(eval $(autotools-package))
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 dc3dd: new package
In reply to Arnout VandecappelleQuoted 4 lines · On Fri, 3 Mar 2017 23:42:49 +0100 Arnout Vandecappelle <[email protected]> wrote:
Hi Benoit,
Strange timezone you live in, GMT+32 or something like that? :-)
That's a development virtual-machine. The date in there was somewhat not synchronized.
Quoted 13 lines · Beno?t Allard
Quoted 1 line
Signed-off-by Beno?t Allard <[email protected]>[snip]
Quoted 10 lines
package/dc3dd/Config.in new file +4
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd" + help + dc3dd is a patch to the GNU dd program, this version has
Quoted 9 lines
Quoted 5 lines
several
+ features intended for forensic acquisition of data.
Highlights
+ include hashing on-the-fly, split output files, pattern
writing, aHelp text should wrap at 72 columns where the tab counts for 8, so
this is 4 characters too many...
Will do.
Quoted 7 lines
Quoted 7 lines
package/dc3dd/Config.in new file +3
-0+ progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/package/dc3dd/dc3dd.hash new file +0
-1--- /dev/null
Quoted 8 lines
Quoted 5 lines
+++ b/package/dc3dd/dc3dd.hash
package/dc3dd/dc3dd.hash new file +1
-0@@ -0,0 +1,2 @@ +# Fromhttps://sourceforge.net/projects/dc3dd/files/dc3dd/7.2.646/dc3dd%207.2.646/
+sha13d3d9ba5f3b18fbf4798e1f3554f2d34d0ce5e2cdc3dd-7.2.646.zipIf only a weak hash is available upstream, please add a locally
calculated sha256.
Sure, will do.
Quoted 18 lines
Quoted 7 lines
package/dc3dd/dc3dd.mk new file +0
-0package/dc3dd/dc3dd.mk line 7
Quoted 7 lines
package/dc3dd/dc3dd.mk new file +7
-0@@ -0,0 +1,19 @@ +################################################################################ +# +# dc3dd +# +################################################################################ + +DC3DD_VERSION = 7.2.646There is a version 7.2.641 which is identical except that it has an
older (!) Changelog, and a different version number...
Quoted 3 lines
package/dc3dd/dc3dd.mk line 8
Quoted 1 line
package/dc3dd/dc3dd.mk new file +1
-0+DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).zipand that version has a proper tar.xz.
Indeed, I will use that older version.
Quoted 7 lines
Quoted 4 lines
package/dc3dd/dc3dd.mk new file +1
-0+DC3DD_SITE =http://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION)/dc3dd%20$(DC3DD_VERSION)
+DC3DD_LICENSE = GPLv3I didn't do a full fossology but it looks like all files have the
'or later' clause, so it's GPLv3+
You are correct, most files have indeed the 'or later' mention.
Quoted 7 lines
package/dc3dd/dc3dd.mk line 14
Quoted 5 lines
package/dc3dd/dc3dd.mk new file +4
-0+DC3DD_LICENSE_FILES = COPYING + +define DC3DD_EXTRACT_CMDS + $(UNZIP) -d $(@D)/.. $(DL_DIR)/$(DC3DD_SOURCE) || true|| true? You want to succeed in case of failure?
Yeah, the zip was somewhat malformed that we need the '|| true'. As we test the checksum beforehand that didn't hurt much.
Quoted 11 lines
Also, we normally extract within $(@D) and then move the result.
Cfr. e.g. espeak.package/dc3dd/dc3dd.mk line 16
Quoted 2 lines
package/dc3dd/dc3dd.mk new file +2
-0+ chmod a+x $(@D)/configure + chmod a+x $(@D)/build-aux/install-shThe tar.xz has execute permission set on all files. Not sure if
that's an improvement :-)
Quoted 8 lines
Regards,
Arnoutpackage/dc3dd/dc3dd.mk line 19
Quoted 4 lines
package/dc3dd/dc3dd.mk new file +3
-0+endef + +$(eval $(autotools-package))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170306/47cd5bcb/attachment.asc>
PATCH 1/1 dc3dd: new package
Quoted 2 lines · Beno?t Allard
On Fri, 3 Mar 2017 23:42:49 +0100
Arnout Vandecappelle <[email protected]> wrote:
[snip]
Quoted 10 lines
Quoted 8 lines
Quoted 1 line
+DC3DD_VERSION = 7.2.646
There is a version 7.2.641 which is identical except that it has an
older (!) Changelog, and a different version number...Quoted 1 line
+DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).zip
and that version has a proper tar.xz.
Indeed, I will use that older version.
Please mention in the commit log that they are identical and why we prefer the
"older" one.
Quoted 7 lines
Quoted 5 lines
package/dc3dd/dc3dd.mk line 10
Quoted 2 lines
package/dc3dd/dc3dd.mk new file +2
-0+DC3DD_SITE = http://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION)/dc3dd%20$(DC3DD_VERSION) +DC3DD_LICENSE = GPLv3I didn't do a full fossology but it looks like all files have the
'or later' clause, so it's GPLv3+You are correct, most files have indeed the 'or later' mention.
Can you please double-check that *all* files mention 'or later'? At least the
ones that do have a copyright header. We don't want to be lying.
Regards,
Arnout
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 dc3dd: new package
Quoted 11 lines · On Mon, 6 Mar 2017 17:41:48 +0100 Arnout Vandecappelle <[email protected]> wrote:
Quoted 2 lines · Beno?t Allard
On Fri, 3 Mar 2017 23:42:49 +0100
Arnout Vandecappelle <[email protected]> wrote:[snip]
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
+DC3DD_VERSION = 7.2.646
There is a version 7.2.641 which is identical except that it has
an older (!) Changelog, and a different version number...
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
+DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).zip
and that version has a proper tar.xz.
Indeed, I will use that older version.
Please mention in the commit log that they are identical and why we
prefer the "older" one.
No problem.
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 4 lines
+DC3DD_SITE =
http://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION)/dc3dd%20$(DC3DD_VERSION)
+DC3DD_LICENSE = GPLv3I didn't do a full fossology but it looks like all files have the
'or later' clause, so it's GPLv3+
Quoted 6 lines
Quoted 1 line
You are correct, most files have indeed the 'or later' mention.
Can you please double-check that *all* files mention 'or later'? At
least the ones that do have a copyright header. We don't want to be lying.
Oh boy, that's gonna get fun. Fortunately, debian has a nice "licensecheck" script (from the "devscripts" package in case you're wondering) that can pretty well extract license information from source code. Output attached.
Here, the files that have a copyright header and no "or later" stanza:
The following three are "freely distributable":./src/hdparm/identify.c: UNKNOWN./src/hdparm/hpa_dco.c: UNKNOWN./src/hdparm/sgio.c: UNKNOWN
The following files are actually extracted from the GNU C library:./lib/strcspn.c: GPL./lib/stpcpy.c: GPL./lib/strtoull.c: GPL./lib/putenv.c: GPL./lib/strtol.c: GPL./lib/memcmp.c: GPL./lib/stpncpy.c: GPL./lib/memchr.c: GPL./lib/utime.c: GPL./lib/utimens.c: GPL./lib/memchr2.c: GPL
Please advise.
Quoted 4 lines
Also, it fails to build on musl, and uses threads. Use the test-pkg script to
pre-test on the autobuilder toolchains, it just takes an hour or so on an average speed computer.
I've done that as well, and I had to add a patch to disable the building of the man page as we don't need it and it failed on some configurations.
New version incoming.
Regards,
Ben.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dc3dd-licensecheck
Type: application/octet-stream
Size: 18659 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170307/afd84d53/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170307/afd84d53/attachment.asc>
PATCH 1/1 dc3dd: new package
Quoted 6 lines · Beno?t Allard
Here, the files that have a copyright header and no "or later" stanza:
The following three are "freely distributable":
./src/hdparm/identify.c: UNKNOWN./src/hdparm/hpa_dco.c: UNKNOWN./src/hdparm/sgio.c: UNKNOWN
These we can ignore.
Quoted 4 lines
The following files are actually extracted from the GNU C library:
./lib/strcspn.c: GPL./lib/stpcpy.c: GPL./lib/strtoull.c: GPL
Quoted 8 lines
./lib/putenv.c: GPL./lib/strtol.c: GPL./lib/memcmp.c: GPL./lib/stpncpy.c: GPL./lib/memchr.c: GPL./lib/utime.c: GPL./lib/utimens.c: GPL./lib/memchr2.c: GPL
Something wrong with your version of licensecheck, because they clearly state
"version 3 or any later version". My licensecheck (sid, 3.0.29-1) correctly identifies them as GPLv3+.
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 dc3dd: new package
Quoted 17 lines · On Tue, 7 Mar 2017 11:31:48 +0100 Arnout Vandecappelle <[email protected]> wrote:
Quoted 4 lines · Beno?t Allard
The following files are actually extracted from the GNU C library:
./lib/strcspn.c: GPL./lib/stpcpy.c: GPL./lib/strtoull.c: GPLQuoted 8 lines
./lib/putenv.c: GPL./lib/strtol.c: GPL./lib/memcmp.c: GPL./lib/stpncpy.c: GPL./lib/memchr.c: GPL./lib/utime.c: GPL./lib/utimens.c: GPL./lib/memchr2.c: GPL
Quoted 4 lines
Something wrong with your version of licensecheck, because they
clearly state "version 3 or any later version". My licensecheck (sid, 3.0.29-1) correctly identifies them as GPLv3+.
Ok, great, thanks for checking ! I indeed used an older version of the script (jessie). With that cleared, please consider reviewing the v2 of my patch :)
Regards,
Ben.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170307/0d197aa7/attachment.asc>
PATCH v2 1/1 dc3dd: new package
In reply to Benoît AllardWe actually prefer the version 7.2.641 (over 7.2.646) as the content of the release is identical and the 641 has the advantage of providing a proper .tar.xz file.
---
Changes v1 -> v2 (Suggestions by Arnoud)
- Fix line lengths in Config.in
- Add a locally calculated sha256
- Use a version that has a proper tar.xz file
- Correct license to be GPLv3+
- Add dependency on THREADS
- Add conflict with musl
- Add patch to not build the manpage
--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/dc3dd/0001-no_man.patch | 12 ++++++++++++ package/dc3dd/Config.in | 9 +++++++++ package/dc3dd/dc3dd.hash | 4 ++++ package/dc3dd/dc3dd.mk | 13 +++++++++++++ 6 files changed, 42 insertions(+) create mode 100644 package/dc3dd/0001-no_man.patch create mode 100644 package/dc3dd/Config.in create mode 100644 package/dc3dd/dc3dd.hash create mode 100644 package/dc3dd/dc3dd.mk
DEVELOPERS +3 -0
@@ -147,6 +147,9 @@ F: package/taskd/ N: Benjamin Kamath <[email protected]> F: package/lapack/ +N: Beno?t Allard <[email protected]> +F: package/dc3dd/ + N: Bernd Kuhls <[email protected]> F: package/apache/ F: package/apr/
package/Config.in +1 -0
@@ -1767,6 +1767,7 @@ menu "System tools" source "package/cpuload/Config.in" source "package/dcron/Config.in" source "package/ddrescue/Config.in" + source "package/dc3dd/Config.in" source "package/debianutils/Config.in" source "package/docker-containerd/Config.in" source "package/docker-engine/Config.in"
package/dc3dd/0001-no_man.patch new file +12 -0
@@ -0,0 +1,12 @@ +--- a/Makefile.in 2017-03-06 16:42:29.728814841 +0100 ++++ b/Makefile.in 2017-03-06 16:42:54.191899036 +0100 +@@ -685,7 +685,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = lib src man po ++SUBDIRS = lib src po + EXTRA_DIST = cfg.mk maint.mk \ + .prev-version THANKS-to-translators THANKStt.in \ + .version \ +
package/dc3dd/Config.in new file +9 -0
@@ -0,0 +1,9 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd" + help + dc3dd is a patch to the GNU dd program, this version has + several features intended for forensic acquisition of data. + Highlights include hashing on-the-fly, split output files, + pattern writing, a progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/
package/dc3dd/dc3dd.hash new file +4 -0
@@ -0,0 +1,4 @@ +# From https://sourceforge.net/projects/dc3dd/files/dc3dd/7.2/ +sha1 1bfe81a921a8473a6ecb46f328ecaab761afb55d dc3dd-7.2.641.tar.xz +# Locally computed +sha256 7f50aadc38649845ab11014d11013928411c9d2128c941e9630939d4c28cae6d dc3dd-7.2.641.tar.xz
package/dc3dd/dc3dd.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# dc3dd +# +################################################################################ + +DC3DD_VERSION = 7.2.641 +DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).tar.xz +DC3DD_SITE = https://downloads.sourceforge.net/project/dc3dd/dc3dd/7.2 +DC3DD_LICENSE = GPLv3+ +DC3DD_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
Signature · 1 line
2.1.4
PATCH v2 1/1 dc3dd: new package
Quoted 78 lines · On Tue, 7 Mar 2017 09:42:18 +0100 Beno?t Allard <[email protected]>…
We actually prefer the version 7.2.641 (over 7.2.646) as the content of the release is identical and the 641 has the advantage of providing a proper .tar.xz file.
Signed-off-by Beno?t Allard <[email protected]>---
Changes v1 -> v2 (Suggestions by Arnoud)
- Fix line lengths in Config.in
- Add a locally calculated sha256
- Use a version that has a proper tar.xz file
- Correct license to be GPLv3+
- Add dependency on THREADS
- Add conflict with musl
- Add patch to not build the manpage--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/dc3dd/0001-no_man.patch | 12 ++++++++++++ package/dc3dd/Config.in | 9 +++++++++ package/dc3dd/dc3dd.hash | 4 ++++ package/dc3dd/dc3dd.mk | 13 +++++++++++++ 6 files changed, 42 insertions(+) create mode 100644 package/dc3dd/0001-no_man.patch create mode 100644 package/dc3dd/Config.in create mode 100644 package/dc3dd/dc3dd.hash create mode 100644 package/dc3dd/dc3dd.mkDEVELOPERS +3
-0@@ -147,6 +147,9 @@ F: package/taskd/ N: Benjamin Kamath <[email protected]> F: package/lapack/ +N: Beno?t Allard <[email protected]> +F: package/dc3dd/ + N: Bernd Kuhls <[email protected]> F: package/apache/ F: package/apr/package/Config.in +1
-0@@ -1767,6 +1767,7 @@ menu "System tools" source "package/cpuload/Config.in" source "package/dcron/Config.in" source "package/ddrescue/Config.in" + source "package/dc3dd/Config.in" source "package/debianutils/Config.in" source "package/docker-containerd/Config.in" source "package/docker-engine/Config.in"(quoted diff) +0
-0
b/package/dc3dd/0001-no_man.patchnew file mode 100644 index 0000000..07bf713package/dc3dd/0001-no_man.patch new file +12
-0@@ -0,0 +1,12 @@ +--- a/Makefile.in 2017-03-06 16:42:29.728814841 +0100 ++++ b/Makefile.in 2017-03-06 16:42:54.191899036 +0100 +@@ -685,7 +685,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = lib src man po ++SUBDIRS = lib src po + EXTRA_DIST = cfg.mk maint.mk \ + .prev-version THANKS-to-translators THANKStt.in \ + .version \ +package/dc3dd/Config.in new file +0
-0
package/dc3dd/Config.in line 2
Quoted 2 lines
package/dc3dd/Config.in new file +2
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd"
Somehow the "depends on" made it to the commit changelog, but not there ... I'll be sending a newer version soon.
Quoted 33 lines
package/dc3dd/Config.in new file +7
-0+ help + dc3dd is a patch to the GNU dd program, this version has + several features intended for forensic acquisition of data. + Highlights include hashing on-the-fly, split output files, + pattern writing, a progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/package/dc3dd/dc3dd.hash new file +4
-0@@ -0,0 +1,4 @@ +# From https://sourceforge.net/projects/dc3dd/files/dc3dd/7.2/ +sha1 1bfe81a921a8473a6ecb46f328ecaab761afb55d dc3dd-7.2.641.tar.xz +# Locally computed +sha256
7f50aadc38649845ab11014d11013928411c9d2128c941e9630939d4c28cae6ddc3dd-7.2.641.tar.xz diff --gita/package/dc3dd/dc3dd.mkb/package/dc3dd/dc3dd.mknew file mode 100644 index 0000000..3c2aebepackage/dc3dd/dc3dd.mk new file +9
-0@@ -0,0 +1,13 @@ +################################################################################ +# +# dc3dd +# +################################################################################ + +DC3DD_VERSION = 7.2.641 +DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).tar.xz +DC3DD_SITE =
package/dc3dd/dc3dd.mk line 13
Quoted 3 lines
package/dc3dd/dc3dd.mk new file +3
-0+DC3DD_LICENSE = GPLv3+ +DC3DD_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170309/3c1eca5b/attachment.asc>
PATCH v3 1/1 dc3dd: new package
In reply to Benoît AllardWe actually prefer the version 7.2.641 (over 7.2.646) as the content of the release is identical and the 641 has the advantage of providing a proper .tar.xz file.
---
Changes v1 -> v2 (Suggestions by Arnoud)
- Fix line lengths in Config.in
- Add a locally calculated sha256
- Use a version that has a proper tar.xz file
- Correct license to be GPLv3+
- Add patch to not build the manpage
Changes v2 -> v3
- Add dependency on THREADS
- Add conflict with musl
--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/dc3dd/0001-no_man.patch | 12 ++++++++++++ package/dc3dd/Config.in | 11 +++++++++++ package/dc3dd/dc3dd.hash | 4 ++++ package/dc3dd/dc3dd.mk | 13 +++++++++++++ 6 files changed, 44 insertions(+) create mode 100644 package/dc3dd/0001-no_man.patch create mode 100644 package/dc3dd/Config.in create mode 100644 package/dc3dd/dc3dd.hash create mode 100644 package/dc3dd/dc3dd.mk
DEVELOPERS +3 -0
@@ -147,6 +147,9 @@ F: package/taskd/ N: Benjamin Kamath <[email protected]> F: package/lapack/ +N: Beno?t Allard <[email protected]> +F: package/dc3dd/ + N: Bernd Kuhls <[email protected]> F: package/apache/ F: package/apr/
package/Config.in +1 -0
@@ -1767,6 +1767,7 @@ menu "System tools" source "package/cpuload/Config.in" source "package/dcron/Config.in" source "package/ddrescue/Config.in" + source "package/dc3dd/Config.in" source "package/debianutils/Config.in" source "package/docker-containerd/Config.in" source "package/docker-engine/Config.in"
package/dc3dd/0001-no_man.patch new file +12 -0
@@ -0,0 +1,12 @@ +--- a/Makefile.in 2017-03-06 16:42:29.728814841 +0100 ++++ b/Makefile.in 2017-03-06 16:42:54.191899036 +0100 +@@ -685,7 +685,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = lib src man po ++SUBDIRS = lib src po + EXTRA_DIST = cfg.mk maint.mk \ + .prev-version THANKS-to-translators THANKStt.in \ + .version \ +
package/dc3dd/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_MUSL + help + dc3dd is a patch to the GNU dd program, this version has + several features intended for forensic acquisition of data. + Highlights include hashing on-the-fly, split output files, + pattern writing, a progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/
package/dc3dd/dc3dd.hash new file +4 -0
@@ -0,0 +1,4 @@ +# From https://sourceforge.net/projects/dc3dd/files/dc3dd/7.2/ +sha1 1bfe81a921a8473a6ecb46f328ecaab761afb55d dc3dd-7.2.641.tar.xz +# Locally computed +sha256 7f50aadc38649845ab11014d11013928411c9d2128c941e9630939d4c28cae6d dc3dd-7.2.641.tar.xz
package/dc3dd/dc3dd.mk new file +13 -0
@@ -0,0 +1,13 @@ +################################################################################ +# +# dc3dd +# +################################################################################ + +DC3DD_VERSION = 7.2.641 +DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).tar.xz +DC3DD_SITE = https://downloads.sourceforge.net/project/dc3dd/dc3dd/7.2 +DC3DD_LICENSE = GPLv3+ +DC3DD_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
Signature · 1 line
2.1.4
PATCH v3 1/1 dc3dd: new package
Hi Beno?t,
Quoted 48 lines
We actually prefer the version 7.2.641 (over 7.2.646) as the content of the release is identical and the 641 has the advantage of providing a proper .tar.xz file.
Signed-off-by Beno?t Allard <[email protected]>---
Changes v1 -> v2 (Suggestions by Arnoud)
- Fix line lengths in Config.in
- Add a locally calculated sha256
- Use a version that has a proper tar.xz file
- Correct license to be GPLv3+
- Add patch to not build the manpage
Changes v2 -> v3
- Add dependency on THREADS
- Add conflict with musl--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/dc3dd/0001-no_man.patch | 12 ++++++++++++ package/dc3dd/Config.in | 11 +++++++++++ package/dc3dd/dc3dd.hash | 4 ++++ package/dc3dd/dc3dd.mk | 13 +++++++++++++ 6 files changed, 44 insertions(+)create mode 100644
package/dc3dd/0001-no_man.patchcreate mode 100644 package/dc3dd/Config.in create mode 100644 package/dc3dd/dc3dd.hash create mode 100644package/dc3dd/dc3dd.mkDEVELOPERS +3
-0@@ -147,6 +147,9 @@ F: package/taskd/ N: Benjamin Kamath <[email protected]> F: package/lapack/ +N: Beno?t Allard <[email protected]> +F: package/dc3dd/ + N: Bernd Kuhls <[email protected]> F: package/apache/ F: package/apr/package/Config.in +0
-0
package/Config.in menu "System tools" · line 1770
Quoted 4 lines
package/Config.in +1
-0@@ -1767,6 +1767,7 @@ menu "System tools" source "package/cpuload/Config.in" source "package/dcron/Config.in" source "package/ddrescue/Config.in" + source "package/dc3dd/Config.in"
This should be alphabetically ordered.
Quoted 54 lines
package/Config.in +0
-0source "package/debianutils/Config.in" source "package/docker-containerd/Config.in" source "package/docker-engine/Config.in"package/dc3dd/0001-no_man.patch new file +12
-0@@ -0,0 +1,12 @@ +--- a/Makefile.in 2017-03-06 16:42:29.728814841 +0100 ++++ b/Makefile.in 2017-03-06 16:42:54.191899036 +0100 +@@ -685,7 +685,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = lib src man po ++SUBDIRS = lib src po + EXTRA_DIST = cfg.mk maint.mk \ + .prev-version THANKS-to-translators THANKStt.in \ + .version \ +package/dc3dd/Config.in new file +11
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_MUSL + help + dc3dd is a patch to the GNU dd program, this version has + several features intended for forensic acquisition of data. + Highlights include hashing on-the-fly, split output files, + pattern writing, a progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/package/dc3dd/dc3dd.hash new file +4
-0@@ -0,0 +1,4 @@ +# From https://sourceforge.net/projects/dc3dd/files/dc3dd/7.2/ +sha1 1bfe81a921a8473a6ecb46f328ecaab761afb55d dc3dd-7.2.641.tar.xz +# Locally computed +sha256 7f50aadc38649845ab11014d11013928411c9d2128c941e9630939d4c28cae6d dc3dd-7.2.641.tar.xzpackage/dc3dd/dc3dd.mk new file +0
-0
package/dc3dd/dc3dd.mk line 6
Quoted 6 lines
package/dc3dd/dc3dd.mk new file +6
-0@@ -0,0 +1,13 @@ +################################################################################ +# +# dc3dd +# +################################################################################ +
And here a cosmetic change:
+DC3DD_VERSION_MAJOR = 7.2
+DC3DD_VERSION = $(DC3DD_VERSION_MAJOR).641
package/dc3dd/dc3dd.mk line 9
Quoted 3 lines
package/dc3dd/dc3dd.mk new file +3
-0+DC3DD_VERSION = 7.2.641 +DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).tar.xz +DC3DD_SITE = https://downloads.sourceforge.net/project/dc3dd/dc3dd/7.2
+DC3DD_SITE = https://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION_MAJOR)
Regards,
Jerzy
Quoted 4 lines
package/dc3dd/dc3dd.mk new file +4
-0+DC3DD_LICENSE = GPLv3+ +DC3DD_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
PATCH v3 1/1 dc3dd: new package
In reply to Benoît AllardHello,
Quoted 5 lines · Beno?t Allard
We actually prefer the version 7.2.641 (over 7.2.646) as the content of the release is identical and the 641 has the advantage of providing a proper .tar.xz file.
Signed-off-by Beno?t Allard <[email protected]>
In addition to the comment from Jerzy, here is another comment (see below).
package/dc3dd/0001-no_man.patch line 2
Quoted 8 lines
package/dc3dd/0001-no_man.patch new file +2
-0@@ -0,0 +1,12 @@ +--- a/Makefile.in 2017-03-06 16:42:29.728814841 +0100 ++++ b/Makefile.in 2017-03-06 16:42:54.191899036 +0100
This patch should have a description + Signed-off-by.
Also it should explain why you are patching Makefile.in and not Makefile.am. We normally prefer patching Makefile.am and use <pkg>_AUTORECONF = YES.
Of course, if the upstream project is active, you can submit a patch adding a --disable-manpages option.
Quoted 7 lines
package/dc3dd/Config.in new file +1
-0@@ -0,0 +1,11 @@ +config BR2_PACKAGE_DC3DD
package/dc3dd/Config.in line 11
Quoted 10 lines
package/dc3dd/Config.in new file +10
-0+ bool "dc3dd" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_MUSL + help + dc3dd is a patch to the GNU dd program, this version has + several features intended for forensic acquisition of data. + Highlights include hashing on-the-fly, split output files, + pattern writing, a progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/
You're missing a Config.in comment here about the threads dependency:
comment "dc3dd needs a glibc or uClibc toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS || \ BR2_TOOLCHAIN_USES_MUSL
Could you fix those issues, and the ones reported by Jerzy, and submit an updated version?
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH v4 1/1 dc3dd: new package
In reply to Benoît AllardWe actually prefer the version 7.2.641 (over 7.2.646) as the content of the release is identical and the 641 has the advantage of providing a proper .tar.xz file.
---
Changes v1 -> v2 (Suggestions by Arnoud)
- Fix line lengths in Config.in
- Add a locally calculated sha256
- Use a version that has a proper tar.xz file
- Correct license to be GPLv3+
- Add patch to not build the manpage
Changes v2 -> v3
- Add dependency on THREADS
- Add conflict with musl
Changes v3 -> v4
- Fix the alphabetical order in Config.in (Suggestion by Jerzy)
- Add MAJOR variable in mk file (Suggestion by Jerzy)
- patch the Makefile.am file and add autoreconf (Suggestion by Thomas)
- Add a comment about the thread dependency in Config.in (Suggestion by Thomas)
--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/dc3dd/0001-no_man.patch | 14 ++++++++++++++ package/dc3dd/Config.in | 15 +++++++++++++++ package/dc3dd/dc3dd.hash | 4 ++++ package/dc3dd/dc3dd.mk | 16 ++++++++++++++++ 6 files changed, 53 insertions(+) create mode 100644 package/dc3dd/0001-no_man.patch create mode 100644 package/dc3dd/Config.in create mode 100644 package/dc3dd/dc3dd.hash create mode 100644 package/dc3dd/dc3dd.mk
DEVELOPERS +3 -0
@@ -149,6 +149,9 @@ F: package/taskd/ N: Benjamin Kamath <[email protected]> F: package/lapack/ +N: Beno?t Allard <[email protected]> +F: package/dc3dd/ + N: Bernd Kuhls <[email protected]> F: package/apache/ F: package/apr/
package/Config.in +1 -0
@@ -1779,6 +1779,7 @@ menu "System tools" source "package/coreutils/Config.in" source "package/cpuload/Config.in" source "package/dcron/Config.in" + source "package/dc3dd/Config.in" source "package/ddrescue/Config.in" source "package/debianutils/Config.in" source "package/docker-containerd/Config.in"
package/dc3dd/0001-no_man.patch new file +14 -0
@@ -0,0 +1,14 @@ +Remove the man directory to the subdirs to prevent building the man pages + +Signed-off-by: Beno?t Allard <[email protected]> +--- a/Makefile.am 2017-03-27 09:53:19.988820588 +0200 ++++ b/Makefile.am 2017-03-27 09:54:14.325817466 +0200 +@@ -15,7 +15,7 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see <http://www.gnu.org/licenses/>. + +-SUBDIRS = lib src man po ++SUBDIRS = lib src po + EXTRA_DIST = cfg.mk maint.mk \ + .prev-version THANKS-to-translators THANKStt.in \ + .version \
package/dc3dd/Config.in new file +15 -0
@@ -0,0 +1,15 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_MUSL + help + dc3dd is a patch to the GNU dd program, this version has + several features intended for forensic acquisition of data. + Highlights include hashing on-the-fly, split output files, + pattern writing, a progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/ + +comment "dc3dd needs a glibc or uClibc toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_TOOLCHAIN_USES_MUSL
package/dc3dd/dc3dd.hash new file +4 -0
@@ -0,0 +1,4 @@ +# From https://sourceforge.net/projects/dc3dd/files/dc3dd/7.2/ +sha1 1bfe81a921a8473a6ecb46f328ecaab761afb55d dc3dd-7.2.641.tar.xz +# Locally computed +sha256 7f50aadc38649845ab11014d11013928411c9d2128c941e9630939d4c28cae6d dc3dd-7.2.641.tar.xz
package/dc3dd/dc3dd.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# dc3dd +# +################################################################################ + +DC3DD_VERSION_MAJOR = 7.2 +DC3DD_VERSION = $(DC3DD_VERSION_MAJOR).641 +DC3DD_SOURCE = dc3dd-$(DC3DD_VERSION).tar.xz +DC3DD_SITE = https://downloads.sourceforge.net/project/dc3dd/dc3dd/$(DC3DD_VERSION_MAJOR) +DC3DD_LICENSE = GPLv3+ +DC3DD_LICENSE_FILES = COPYING +# We are patching the Makefile.am +DC3DD_AUTORECONF = yes + +$(eval $(autotools-package))
Signature · 1 line
2.1.4
Thomas Petazzoni
AppliedPATCH v4 1/1 dc3dd: new package
Hello,
Quoted 5 lines · Beno?t Allard
We actually prefer the version 7.2.641 (over 7.2.646) as the content of the release is identical and the 641 has the advantage of providing a proper .tar.xz file.
Signed-off-by Beno?t Allard <[email protected]>
Quoted 15 lines
---
Changes v1 -> v2 (Suggestions by Arnoud)
- Fix line lengths in Config.in
- Add a locally calculated sha256
- Use a version that has a proper tar.xz file
- Correct license to be GPLv3+
- Add patch to not build the manpage
Changes v2 -> v3
- Add dependency on THREADS
- Add conflict with musl
Changes v3 -> v4
- Fix the alphabetical order in Config.in (Suggestion by Jerzy)
- Add MAJOR variable in mk file (Suggestion by Jerzy)
- patch the Makefile.am file and add autoreconf (Suggestion by Thomas)
- Add a comment about the thread dependency in Config.in (Suggestion by Thomas)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com