From ec5165e5ff3cff3b8b7bafc23758d5e9ce06d170 Mon Sep 17 00:00:00 2001 From: khorben Date: Wed, 5 Jun 2013 19:49:36 +0000 Subject: [PATCH] Imported ssdeep 2.9 as security/ssdeep ssdeep is a program for computing context triggered piecewise hashes (CTPH). Also called fuzzy hashes, CTPH can match inputs that have homologies. Such inputs have sequences of identical bytes in the same order, although bytes in between these sequences may be different in both content and length. --- security/ssdeep/DESCR | 4 ++++ security/ssdeep/Makefile | 17 +++++++++++++++++ security/ssdeep/PLIST | 5 +++++ security/ssdeep/buildlink3.mk | 14 ++++++++++++++ security/ssdeep/distinfo | 5 +++++ 5 files changed, 45 insertions(+) create mode 100644 security/ssdeep/DESCR create mode 100644 security/ssdeep/Makefile create mode 100644 security/ssdeep/PLIST create mode 100644 security/ssdeep/buildlink3.mk create mode 100644 security/ssdeep/distinfo diff --git a/security/ssdeep/DESCR b/security/ssdeep/DESCR new file mode 100644 index 000000000000..aaf7c6274a25 --- /dev/null +++ b/security/ssdeep/DESCR @@ -0,0 +1,4 @@ +ssdeep is a program for computing context triggered piecewise hashes (CTPH). +Also called fuzzy hashes, CTPH can match inputs that have homologies. Such +inputs have sequences of identical bytes in the same order, although bytes in +between these sequences may be different in both content and length. diff --git a/security/ssdeep/Makefile b/security/ssdeep/Makefile new file mode 100644 index 000000000000..ba38a4c7c83a --- /dev/null +++ b/security/ssdeep/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2013/06/05 19:49:36 khorben Exp $ +# + +DISTNAME= ssdeep-2.9 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ssdeep/} + +MAINTAINER= khorben@defora.org +HOMEPAGE= http://ssdeep.sourceforge.net/ +COMMENT= Program computing context triggered piecewise hashes (CTPH) +LICENSE= gnu-gpl-v2 + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ + +.include "../../mk/bsd.pkg.mk" diff --git a/security/ssdeep/PLIST b/security/ssdeep/PLIST new file mode 100644 index 000000000000..7a001fcdebaf --- /dev/null +++ b/security/ssdeep/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2013/06/05 19:49:36 khorben Exp $ +bin/ssdeep +include/fuzzy.h +lib/libfuzzy.la +man/man1/ssdeep.1 diff --git a/security/ssdeep/buildlink3.mk b/security/ssdeep/buildlink3.mk new file mode 100644 index 000000000000..8ead4c483288 --- /dev/null +++ b/security/ssdeep/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2013/06/05 19:49:36 khorben Exp $ +# + +BUILDLINK_TREE+= ssdeep + +.if !defined(SSDEEP_BUILDLINK3_MK) +SSDEEP_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ssdeep+= ssdeep>=2.9 +BUILDLINK_ABI_DEPENDS.ssdeep+= ssdeep>=2.9 +BUILDLINK_PKGSRCDIR.ssdeep?= ../../security/ssdeep +.endif # SSDEEP_BUILDLINK3_MK + +BUILDLINK_TREE+= -ssdeep diff --git a/security/ssdeep/distinfo b/security/ssdeep/distinfo new file mode 100644 index 000000000000..1cc672d1d6d0 --- /dev/null +++ b/security/ssdeep/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/06/05 19:49:36 khorben Exp $ + +SHA1 (ssdeep-2.9.tar.gz) = d2845aaa1ebddad177750c57d47918308608c48d +RMD160 (ssdeep-2.9.tar.gz) = 88df55f99a05cfc128d5e65079547713b72e9426 +Size (ssdeep-2.9.tar.gz) = 369135 bytes