summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/php-ssdeep/DESCR8
-rw-r--r--security/php-ssdeep/Makefile17
-rw-r--r--security/php-ssdeep/PLIST2
-rw-r--r--security/php-ssdeep/distinfo5
4 files changed, 32 insertions, 0 deletions
diff --git a/security/php-ssdeep/DESCR b/security/php-ssdeep/DESCR
new file mode 100644
index 00000000000..faa39c5bc94
--- /dev/null
+++ b/security/php-ssdeep/DESCR
@@ -0,0 +1,8 @@
+The ssdeep project page describes it as a library 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".
+
+For an in depth paper explaining context triggered piecewise hashes please see
+http://dfrws.org/2006/proceedings/12-Kornblum.pdf
diff --git a/security/php-ssdeep/Makefile b/security/php-ssdeep/Makefile
new file mode 100644
index 00000000000..a4a1930f365
--- /dev/null
+++ b/security/php-ssdeep/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2013/06/05 19:57:01 khorben Exp $
+#
+
+MODNAME= ssdeep
+PECL_VERSION= 1.0.2
+CATEGORIES+= security
+
+MAINTAINER= khorben@defora.org
+HOMEPAGE= http://treffynnon.github.io/php_ssdeep/
+COMMENT= PHP extension for ssdeep
+LICENSE= artistic
+
+CONFLICTS= php-ssdeep-[0-9]*
+
+.include "../../lang/php/ext.mk"
+.include "../../security/ssdeep/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/php-ssdeep/PLIST b/security/php-ssdeep/PLIST
new file mode 100644
index 00000000000..0007834d3f9
--- /dev/null
+++ b/security/php-ssdeep/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2013/06/05 19:57:01 khorben Exp $
+lib/php/20120301/ssdeep.so
diff --git a/security/php-ssdeep/distinfo b/security/php-ssdeep/distinfo
new file mode 100644
index 00000000000..135f6ba700c
--- /dev/null
+++ b/security/php-ssdeep/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/06/05 19:57:01 khorben Exp $
+
+SHA1 (php-ssdeep/ssdeep-1.0.2.tgz) = e3f31deaac931435c75bd309a504a3688147159f
+RMD160 (php-ssdeep/ssdeep-1.0.2.tgz) = 7335e6ca5e290e346ab8dfeee495bb43b567ff50
+Size (php-ssdeep/ssdeep-1.0.2.tgz) = 6549 bytes