From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: [PATCH] gnu: Add ssdeep. Date: Tue, 19 Jul 2016 04:05:29 +0200 Message-ID: <20160719020529.8541-1-me@tobias.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPKOv-0005v0-PN for guix-devel@gnu.org; Mon, 18 Jul 2016 22:04:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPKOr-0001bu-Lb for guix-devel@gnu.org; Mon, 18 Jul 2016 22:04:49 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:60267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPKOr-0001bM-Fj for guix-devel@gnu.org; Mon, 18 Jul 2016 22:04:45 -0400 Received: from mfilter26-d.gandi.net (mfilter26-d.gandi.net [217.70.178.154]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id D2809A80CD for ; Tue, 19 Jul 2016 04:04:43 +0200 (CEST) Received: from relay3-d.mail.gandi.net ([IPv6:::ffff:217.70.183.195]) by mfilter26-d.gandi.net (mfilter26-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id fTUMyIQPoz2g for ; Tue, 19 Jul 2016 04:04:42 +0200 (CEST) Received: from sandstone.cloud.online.net (unknown [163.172.141.64]) (Authenticated sender: me@tobias.gr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 7639DA80D2 for ; Tue, 19 Jul 2016 04:04:41 +0200 (CEST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/datastructures.scm (ssdeep): New variable. --- Hullo Guix, I'm not sure where the following package belongs. Kind regards, T G-R gnu/packages/datastructures.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm index 74b9fff..b9e6061 100644 --- a/gnu/packages/datastructures.scm +++ b/gnu/packages/datastructures.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016 Ricardo Wurmus +;;; Copyright © 2016 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -70,3 +71,24 @@ probing. This method is space-efficient -- there is no pointer overhead -- and time-efficient for good hash functions.") (home-page "https://github.com/sparsehash/sparsehash") (license license:bsd-3))) + +(define-public ssdeep + (package + (name "ssdeep") + (version "2.13") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/ssdeep/" + name "-" version "/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "1igqy0j7jrklb8fdlrm6ald4cyl1fda5ipfl8crzyl6bax2ajk3f")))) + (build-system gnu-build-system) + (home-page "http://ssdeep.sourceforge.net") + (synopsis "Context-triggered piecewise hashing algorithm") + (description "ssdeep computes and matches context triggered piecewise +hashes (CTPH), also called fuzzy checksums. It can identify similar files +that have sequences of identical bytes in the same order, even though bytes +in between these sequences may be different in both content and length.") + (license license:gpl2+))) -- 2.9.0