From patchwork Sun Jan 17 22:04:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 569334 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 4AB5414076E for ; Mon, 18 Jan 2016 09:05:07 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=zowmcCNX; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5EC063201D; Sun, 17 Jan 2016 22:05:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gNiq6GQqw6ph; Sun, 17 Jan 2016 22:05:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0458C22F5B; Sun, 17 Jan 2016 22:05:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 282A11C1EE6 for ; Sun, 17 Jan 2016 22:05:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 240462212F for ; Sun, 17 Jan 2016 22:05:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6-kEERPeDnSN for ; Sun, 17 Jan 2016 22:05:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by silver.osuosl.org (Postfix) with ESMTPS id 6F803314CE for ; Sun, 17 Jan 2016 22:05:00 +0000 (UTC) Received: by mail-wm0-f46.google.com with SMTP id l65so78582915wmf.1 for ; Sun, 17 Jan 2016 14:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=vfsPbvJVbvYsaEmKKyEVeg4/tZ2SoUh+svrNRoT9O5c=; b=zowmcCNX2fl7IPJ6JPPKdB3HVqvl9Up83qYqWXb057apnL10wplEnTz6zcbkD1DQ5X fXvCGCET5uH+gN7S1W9BCDsU5O/ZYX25MyMn0fEHjz2BtiDppioCvDuJKoEQidZnZLD8 AU2BZWvCspY7sfDEEb/6s+6Pm+O34q5Cgu+K12gdfNhtNduILdruTtztOnxhNVF08am8 VUq8aYieSkzOTpH+zIbl14BnAg//3xfw9UGti4StnOyvGvs63GsCafqtYZjALkeIpdpW j1qUNv+k3iHQsOnAr3YlNmX5Da/0fmHGHFvuySTxZCfyNXySwoCyiRA1CtxrkWc1K5Gk ApGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=vfsPbvJVbvYsaEmKKyEVeg4/tZ2SoUh+svrNRoT9O5c=; b=ULy/fZXH7e1zdCED/8Y7uyHFuqQRWY+H68wplpZzMl5MTXlvT8HnCI2cKSotFL4wCy 2KGAKMi2RGbpacdUD0o2S45qV267CusnKjY6EOEdi9p5L1/FihD9XK1xP8Hcwket2Gnd mRCw9a+Clf1/7ed/dIj4cMWSE9F6hN13p4s3rubz8g/0y3FZANNF92lWjkvCTn99pK4q QMeKrnFw6sZwHhrmqhRi6D7/r5OSkX5xXqPA5v1pRk3gHrZD4EXZraEWuxvwkuRhmr32 nfcckhHdak37NcpE1pvMgTpCRRgJx1emC6W/lrhDOacXmnLnMn/ePYZ276S/Xq7lcGUz Btsw== X-Gm-Message-State: AG10YOSYavMTYInaSSxwd5nvPa55DP8WcQuwDz5U52QBmdPFxkpbQXUDfqF3EGAfDa+OXg== X-Received: by 10.28.16.78 with SMTP id 75mr10092368wmq.82.1453068298944; Sun, 17 Jan 2016 14:04:58 -0800 (PST) Received: from bobook.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by smtp.gmail.com with ESMTPSA id ft4sm20953280wjb.37.2016.01.17.14.04.57 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jan 2016 14:04:57 -0800 (PST) From: Samuel Martin To: buildroot@buildroot.org Date: Sun, 17 Jan 2016 23:04:53 +0100 Message-Id: <1453068293-16263-1-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 2.7.0 Subject: [Buildroot] [PATCH] package/scrub: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Samuel Martin --- package/Config.in | 1 + package/scrub/Config.in | 7 +++++++ package/scrub/scrub.hash | 2 ++ package/scrub/scrub.mk | 18 ++++++++++++++++++ 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 06ed4a8..0f6a61c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1585,6 +1585,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..3c7d28b --- /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://code.google.com/p/diskscrub/ diff --git a/package/scrub/scrub.hash b/package/scrub/scrub.hash new file mode 100644 index 0000000..42f7b2f --- /dev/null +++ b/package/scrub/scrub.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 838b061b2e1932b342fb9695c5579cdff5d2d72506cb41d6d8032eba18aed969 scrub-2.6.1.tar.gz diff --git a/package/scrub/scrub.mk b/package/scrub/scrub.mk new file mode 100644 index 0000000..92837a1 --- /dev/null +++ b/package/scrub/scrub.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# scrub +# +################################################################################ + +SCRUB_VERSION = 2.6.1 +SCRUB_SITE = $(call github,chaos,scrub,$(SCRUB_VERSION)) +SCRUB_LICENSE = GPLv2+ +SCRUB_LICENSE_FILES = COPYING + +# tarball of the git repo, but autoreconf does not work as expected, so: +define SCRUB_AUTOCONF_HOOK + ( cd $(@D) && PATH=$(BR_PATH) $(@D)/autogen.sh ) +endef +SCRUB_PRE_CONFIGURE_HOOKS += SCRUB_AUTOCONF_HOOK + +$(eval $(autotools-package))