summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorkhorben <khorben>2013-06-05 19:57:01 +0000
committerkhorben <khorben>2013-06-05 19:57:01 +0000
commita71afb83069675ca1eebe3043d196048085538f6 (patch)
treead27ff1a9423fda8c3834ff60fb2b4ef5eb13c1a /security
parent3671693fecfbd92d7021dda2821e4ed9597baf8c (diff)
downloadpkgsrc-a71afb83069675ca1eebe3043d196048085538f6.tar.gz
Imported php-ssdeep 1.0.2 as security/php-ssdeep
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".
Diffstat (limited to 'security')
-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