mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Denis OSTERLAND <denis.osterland@diehl.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH v2] dc3dd: add new package
Date: Fri, 22 Jun 2018 11:15:16 +0000	[thread overview]
Message-ID: <20180622111427.1079-1-Denis.Osterland@diehl.com> (raw)
In-Reply-To: <20180621131229.21012-1-Denis.Osterland@diehl.com>

From: Thorsten Liepert <thorsten.liepert@diehl.com>

dd like tool with inline checksum validation.

Signed-off-by: Thorsten Liepert <thorsten.liepert@diehl.com>
Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
---
 rules/dc3dd.in   | 11 ++++++++++
 rules/dc3dd.make | 57 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
 create mode 100644 rules/dc3dd.in
 create mode 100644 rules/dc3dd.make

diff --git a/rules/dc3dd.in b/rules/dc3dd.in
new file mode 100644
index 000000000..ea95631ed
--- /dev/null
+++ b/rules/dc3dd.in
@@ -0,0 +1,11 @@
+## SECTION=disk_and_file
+
+config DC3DD
+	tristate
+	select LIBC_PTHREAD
+	select LIBC
+	prompt "dc3dd"
+	help
+	  dc3dd is a patched version of GNU dd with added features for computer forensics.
+	  It was developed at the DoD Cyber Crime Center by Jesse Kornblum.
+	  See https://tools.kali.org/forensics/dc3dd for usage.
diff --git a/rules/dc3dd.make b/rules/dc3dd.make
new file mode 100644
index 000000000..16520f3c5
--- /dev/null
+++ b/rules/dc3dd.make
@@ -0,0 +1,57 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2016 by Thorsten Liepert
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+PACKAGES-$(PTXCONF_DC3DD) += dc3dd
+
+DC3DD_VERSION		:= 7.2.641
+DC3DD_MD5		:= 63987a467310d7b8a5102cb33e1945f4
+DC3DD			:= dc3dd-$(DC3DD_VERSION)
+DC3DD_SUFFIX		:= tar.xz
+DC3DD_URL		:= $(call ptx/mirror, SF, dc3dd/7.2/dc3dd-$(DC3DD_VERSION).$(DC3DD_SUFFIX))
+DC3DD_SOURCE		:= $(SRCDIR)/$(DC3DD).$(DC3DD_SUFFIX)
+DC3DD_DIR		:= $(BUILDDIR)/$(DC3DD)
+DC3DD_LICENSE		:= GPL-3.0-or-later
+DC3DD_LICENSE_FILES	:= file://COPYING;md5=d32239bcb673463ab874e80d47fae504
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+DC3DD_AUTOCONF := \
+	$(CROSS_AUTOCONF_USR) \
+	$(GLOBAL_LARGE_FILE_OPTION) \
+	--enable-dependency-tracking \
+	--disable-assert \
+	--disable-rpath \
+	--disable-hdparm \
+	--disable-nls \
+	--without-included-regex \
+	--with-gnu-ld
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/dc3dd.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, dc3dd)
+	@$(call install_fixup, dc3dd,PRIORITY,optional)
+	@$(call install_fixup, dc3dd,SECTION,base)
+	@$(call install_fixup, dc3dd,AUTHOR,"Thorsten Liepert <thorsten.liepert@diehl.com>")
+	@$(call install_fixup, dc3dd,DESCRIPTION,missing)
+
+	@$(call install_copy, dc3dd, 0, 0, 0755, -, /usr/bin/dc3dd)
+
+	@$(call install_finish, dc3dd)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.18.0


Diehl AKO Stiftung & Co. KG, Pfannerstraße 75-83, 88239 Wangen im Allgäu
Bereichsvorstand: Dipl.-Ing. Michael Siedentop (Sprecher), Josef Fellner (Mitglied)
Sitz der Gesellschaft: Wangen i.A. – Registergericht: Amtsgericht Ulm HRA 620609 – Persönlich haftende Gesellschafterin: Diehl Verwaltungs-Stiftung – Sitz: Nürnberg – Registergericht: Amtsgericht Nürnberg HRA 11756 –
Vorstand: Dr.-Ing. Karl Tragl (Vorsitzender), Herr Dipl.-Wirtsch.-Ing. Wolfgang Weggen (stellvertretender Vorsitzender), Dipl.-Kfm. Claus Günther, Dipl.-Kfm. Frank Gutzeit, Dr.-Ing. Heinrich Schunk, Dr.-Ing. Michael Siedentop , Dipl.-Kfm. Dr.-Ing. Martin Sommer, Dipl.-Ing. (FH) Rainer von Borstel, Vorsitzender des Aufsichtsrates: Dr. Klaus Maier
___________________________________________________________________________________________________
Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.
The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2018-06-22 11:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21 13:12 [ptxdist] [PATCH] " Denis OSTERLAND
2018-06-22  7:23 ` Michael Olbrich
2018-06-22  8:26   ` Denis OSTERLAND
2018-06-22 10:09     ` Michael Olbrich
2018-06-22 11:15 ` Denis OSTERLAND [this message]
2018-07-24 11:54   ` [ptxdist] [PATCH v2] " Denis OSTERLAND
2018-07-25 13:16     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180622111427.1079-1-Denis.Osterland@diehl.com \
    --to=denis.osterland@diehl.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox