Skip to contentSkip to conversation

package/scrub: new package

PATCH New Ricardo Martincoski 2 participants 2 messages Mar 6, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/scrub: new package

Samuel,

Below some comments about:
- your patch was merged upstream!
- license files
- website

Quoted 5 lines · Samuel Martin

Add a patch fixing autoreconf call.
Patch already sent upstream.

---

[snip]

package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch line 1

Quoted 4 lines
package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch new file +1 -0
@@ -0,0 +1,49 @@
+Fetched from: https://github.com/chaos/scrub/pull/7

This patch can now be used with _PATCH since it is merged to upstream.

[snip]

package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch line 7

Quoted 9 lines
package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch new file +8 -0
+++ 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://code.google.com/p/diskscrub/

Google Code is being shut down. I think it's better to use
https://github.com/chaos/scrub/
here. See
git log -Scode.google

[snip]

package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch line 7

Quoted 9 lines

+++ b/package/scrub/scrub.mk

package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch new file +7 -0
@@ -0,0 +1,16 @@
+################################################################################
+#
+# scrub
+#
+################################################################################
+
+SCRUB_VERSION = 2.6.1

You could now change the version to the upstream master
or keep this version and add
SCRUB_PATCH = https://github.com/chaos/scrub/commit/11d30916dd9c11a26c7c8a0f6db9e6ebca301594.patch
and its hash

Based on the output from
git log -S_PATCH
I think using _PATCH is ok in this case.
Some use it after _SITE, others use it after _LICENSE_FILES.

package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch line 10

Quoted 3 lines
package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch new file +3 -0
+SCRUB_SITE = $(call github,chaos,scrub,$(SCRUB_VERSION))
+SCRUB_LICENSE = GPLv2+
+SCRUB_LICENSE_FILES = COPYING

COPYING is the license raw text.
I think adding also DISCLAIMER would be nice since it brings this text:
"
Scrub 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.
"

Quoted 8 lines
package/scrub/0001-configure.ac-make-sure-m4-macros-are-included-in-the.patch new file +6 -0
+
+# Fetching from the git repo, no configure/Makefile generated, and patching
+# configure.ac
+SCRUB_AUTORECONF = YES
+
+$(eval $(autotools-package))
Signature · 1 line
2.7.0

Regards,
Ricardo

#1 lore raw

PATCH v2 1/1 package/scrub: new package

Ricardo,

Thanks for your review of Samuel's patch. Unfortunately, it seems like you have a mail client problem: your e-mail does not appear as a reply to Samuel's patch, because it does not contain the In-Reply-To: and
References: fields in the e-mail header.

Due to this, your answer was not recorded by patchwork (see
http://patchwork.ozlabs.org/patch/569675/).

I'm Cc'ing Samuel to make sure he sees you review.

I've marked the patch as Changes Requested in patchwork.

Thanks for your review!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com