aboutsummaryrefslogtreecommitdiffstats
path: root/security/ssdeep
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2010-12-25 02:50:05 +0800
committernobutaka <nobutaka@FreeBSD.org>2010-12-25 02:50:05 +0800
commitd8b02498bf59fdfc1e3e3b4e139353b58a33a3d4 (patch)
treeebdf6cbbee7c813ebf56aae0463aa3508bc1841b /security/ssdeep
parentaabca5aec1e4808f085cbb506be877d91d239e27 (diff)
downloadfreebsd-ports-gnome-d8b02498bf59fdfc1e3e3b4e139353b58a33a3d4.tar.gz
freebsd-ports-gnome-d8b02498bf59fdfc1e3e3b4e139353b58a33a3d4.tar.zst
freebsd-ports-gnome-d8b02498bf59fdfc1e3e3b4e139353b58a33a3d4.zip
Add ssdeep, a tool for computing context triggered piecewise hashes.
Diffstat (limited to 'security/ssdeep')
-rw-r--r--security/ssdeep/Makefile26
-rw-r--r--security/ssdeep/distinfo2
-rw-r--r--security/ssdeep/files/patch-main.h12
-rw-r--r--security/ssdeep/pkg-descr6
-rw-r--r--security/ssdeep/pkg-plist6
5 files changed, 52 insertions, 0 deletions
diff --git a/security/ssdeep/Makefile b/security/ssdeep/Makefile
new file mode 100644
index 000000000000..b3383b4d49f1
--- /dev/null
+++ b/security/ssdeep/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: ssdeep
+# Date created: 24 December 2010
+# Whom: Nobutaka Mantani <nobutaka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ssdeep
+PORTVERSION= 2.6
+CATEGORIES= security
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= nobutaka@FreeBSD.org
+COMMENT= A tool for computing context triggered piecewise hashes
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+GNU_CONFIGURE= yes
+USE_AUTOTOOLS= libtool
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+
+MAN1= ssdeep.1
+
+.include <bsd.port.mk>
diff --git a/security/ssdeep/distinfo b/security/ssdeep/distinfo
new file mode 100644
index 000000000000..f9f7feb62446
--- /dev/null
+++ b/security/ssdeep/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ssdeep-2.6.tar.gz) = 06e73821203e0148d0f302b00288fc4d1ad3a94d580a4222bf534b6515372756
+SIZE (ssdeep-2.6.tar.gz) = 334895
diff --git a/security/ssdeep/files/patch-main.h b/security/ssdeep/files/patch-main.h
new file mode 100644
index 000000000000..ad3047967eb8
--- /dev/null
+++ b/security/ssdeep/files/patch-main.h
@@ -0,0 +1,12 @@
+--- main.h.orig Tue Oct 10 00:38:35 2006
++++ main.h Tue Oct 10 00:38:55 2006
+@@ -35,6 +35,9 @@
+ #include <sys/mount.h>
+ #endif
+
++#ifdef __FreeBSD__
++#include <libgen.h>
++#endif
+
+ #define FALSE 0
+ #define TRUE 1
diff --git a/security/ssdeep/pkg-descr b/security/ssdeep/pkg-descr
new file mode 100644
index 000000000000..2e3e756e5c65
--- /dev/null
+++ b/security/ssdeep/pkg-descr
@@ -0,0 +1,6 @@
+ssdeep is a tool for computing context triggered piecewise hashes.
+Unlike other hash calculators such as md5, it supports partial match between
+the original file and modified/truncated files. It can also compute the
+degree of similarity between files.
+
+WWW: http://ssdeep.sourceforge.net/
diff --git a/security/ssdeep/pkg-plist b/security/ssdeep/pkg-plist
new file mode 100644
index 000000000000..fd79c0a0b819
--- /dev/null
+++ b/security/ssdeep/pkg-plist
@@ -0,0 +1,6 @@
+bin/ssdeep
+include/fuzzy.h
+lib/libfuzzy.a
+lib/libfuzzy.la
+lib/libfuzzy.so
+lib/libfuzzy.so.2