[Buildroot] [PATCH v3] package/scrub: new package

Samuel Martin s.martin49 at gmail.com
Mon Mar 7 21:06:46 UTC 2016


Fetch a patch fixing autoreconf call.
Patch already sent and merged upstream.

Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
Cc: Ricardo Martincoski <ricardo.martincoski at gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

---
change v2->v3:
- use _PATCH var. to fetch patch and remove the patch from the package
  dir. (Ricardo)
- update project url (Ricardo)
- add DISCLAIMER to the license files (Ricardo)

change v1->v2:
- reword comment in *.mk (ThomasP)
- rework the autoreconf fix (send the patch upstream) (ThomasP)
---
 package/Config.in        |  1 +
 package/scrub/Config.in  |  7 +++++++
 package/scrub/scrub.hash |  3 +++
 package/scrub/scrub.mk   | 17 +++++++++++++++++
 4 files changed, 28 insertions(+)
 create mode 100644 package/scrub/Config.in
 create mode 100644 package/scrub/scrub.hash
 create mode 100644 package/scrub/scrub.mk

diff --git a/package/Config.in b/package/Config.in
index c4d98c4..d916154 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1636,6 +1636,7 @@ endif
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	source "package/rsyslog/Config.in"
 endif
+	source "package/scrub/Config.in"
 	source "package/scrypt/Config.in"
 	source "package/smack/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
diff --git a/package/scrub/Config.in b/package/scrub/Config.in
new file mode 100644
index 0000000..5d101d8
--- /dev/null
+++ b/package/scrub/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_SCRUB
+	bool "scrub"
+	help
+	  Scrub iteratively writes patterns on files or disk devices to make
+	  retrieving the data more difficult.
+
+	  https://github.com/chaos/scrub/
diff --git a/package/scrub/scrub.hash b/package/scrub/scrub.hash
new file mode 100644
index 0000000..0041fd0
--- /dev/null
+++ b/package/scrub/scrub.hash
@@ -0,0 +1,3 @@
+# Locally computed
+sha256  838b061b2e1932b342fb9695c5579cdff5d2d72506cb41d6d8032eba18aed969  scrub-2.6.1.tar.gz
+sha256  6a129b4e0df6ebe02d449fa481db7b75be5eff08ce518aa77edd74c6b17c5ae4  11d30916dd9c11a26c7c8a0f6db9e6ebca301594.patch
diff --git a/package/scrub/scrub.mk b/package/scrub/scrub.mk
new file mode 100644
index 0000000..b816272
--- /dev/null
+++ b/package/scrub/scrub.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# scrub
+#
+################################################################################
+
+SCRUB_VERSION = 2.6.1
+SCRUB_SITE = $(call github,chaos,scrub,$(SCRUB_VERSION))
+SCRUB_LICENSE = GPLv2+
+SCRUB_LICENSE_FILES = COPYING DISCLAIMER
+SCRUB_PATCH = https://github.com/chaos/scrub/commit/11d30916dd9c11a26c7c8a0f6db9e6ebca301594.patch
+
+# Fetching from the git repo, no configure/Makefile generated, and patching
+# configure.ac
+SCRUB_AUTORECONF = YES
+
+$(eval $(autotools-package))
-- 
2.7.2



More information about the buildroot mailing list