aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Benoît Allard <benoit.allard@greenbone.net>2017-03-27 10:32:10 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-29 23:22:34 +0200
commitbf2f6f49ff106a80dce8c973f4869a0c7947d298 (patch)
treeed93a4657f7366ad0cf99861b759be42f9203236
parent3c940603046d0dcc1a7b0de0a01cca19b71acc9e (diff)
downloadbuildroot-bf2f6f49ff106a80dce8c973f4869a0c7947d298.tar.gz
buildroot-bf2f6f49ff106a80dce8c973f4869a0c7947d298.tar.bz2
dc3dd: new package
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 <benoit.allard@greenbone.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--DEVELOPERS3
-rw-r--r--package/Config.in1
-rw-r--r--package/dc3dd/0001-no_man.patch15
-rw-r--r--package/dc3dd/Config.in15
-rw-r--r--package/dc3dd/dc3dd.hash4
-rw-r--r--package/dc3dd/dc3dd.mk16
6 files changed, 54 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index 2f0e6f7358..5293de0265 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -149,6 +149,9 @@ F: package/taskd/
N: Benjamin Kamath <kamath.ben@gmail.com>
F: package/lapack/
+N: Benoît Allard <benoit.allard@greenbone.net>
+F: package/dc3dd/
+
N: Bernd Kuhls <bernd.kuhls@t-online.de>
F: package/apache/
F: package/apr/
diff --git a/package/Config.in b/package/Config.in
index 24c8a0877d..1d9d2acd93 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1779,6 +1779,7 @@ menu "System tools"
source "package/circus/Config.in"
source "package/coreutils/Config.in"
source "package/cpuload/Config.in"
+ source "package/dc3dd/Config.in"
source "package/dcron/Config.in"
source "package/ddrescue/Config.in"
source "package/debianutils/Config.in"
diff --git a/package/dc3dd/0001-no_man.patch b/package/dc3dd/0001-no_man.patch
new file mode 100644
index 0000000000..9fefc8ca61
--- /dev/null
+++ b/package/dc3dd/0001-no_man.patch
@@ -0,0 +1,15 @@
+Remove the man directory to the subdirs to prevent building the man pages
+
+Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
+
+--- 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 \
diff --git a/package/dc3dd/Config.in b/package/dc3dd/Config.in
new file mode 100644
index 0000000000..0383897cd5
--- /dev/null
+++ b/package/dc3dd/Config.in
@@ -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
diff --git a/package/dc3dd/dc3dd.hash b/package/dc3dd/dc3dd.hash
new file mode 100644
index 0000000000..5490d8d3f7
--- /dev/null
+++ b/package/dc3dd/dc3dd.hash
@@ -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
diff --git a/package/dc3dd/dc3dd.mk b/package/dc3dd/dc3dd.mk
new file mode 100644
index 0000000000..fef9093bcc
--- /dev/null
+++ b/package/dc3dd/dc3dd.mk
@@ -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))