summaryrefslogtreecommitdiff
path: root/security/ssdeep
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2013-06-05 19:49:36 +0000
committerkhorben <khorben@pkgsrc.org>2013-06-05 19:49:36 +0000
commitec5165e5ff3cff3b8b7bafc23758d5e9ce06d170 (patch)
tree8c09e7e7bf17481752f04fc590f73df73ffe6d00 /security/ssdeep
parent86d8f427d342b4621322a7ccfacdcee1ca7be60d (diff)
downloadpkgsrc-ec5165e5ff3cff3b8b7bafc23758d5e9ce06d170.tar.gz
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.
Diffstat (limited to 'security/ssdeep')
-rw-r--r--security/ssdeep/DESCR4
-rw-r--r--security/ssdeep/Makefile17
-rw-r--r--security/ssdeep/PLIST5
-rw-r--r--security/ssdeep/buildlink3.mk14
-rw-r--r--security/ssdeep/distinfo5
5 files changed, 45 insertions, 0 deletions
diff --git a/security/ssdeep/DESCR b/security/ssdeep/DESCR
new file mode 100644
index 00000000000..aaf7c6274a2
--- /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 00000000000..ba38a4c7c83
--- /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 00000000000..7a001fcdeba
--- /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 00000000000..8ead4c48328
--- /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 00000000000..1cc672d1d6d
--- /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