Add ssdeep, a tool for computing context triggered piecewise hashes.

This commit is contained in:
MANTANI Nobutaka 2010-12-24 18:50:05 +00:00
parent d655af1249
commit b51cacefa9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266851
6 changed files with 53 additions and 0 deletions

View file

@ -819,6 +819,7 @@
SUBDIR += srm
SUBDIR += srp
SUBDIR += sscep
SUBDIR += ssdeep
SUBDIR += ssh
SUBDIR += ssh-gui
SUBDIR += ssh-multiadd

26
security/ssdeep/Makefile Normal file
View file

@ -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>

2
security/ssdeep/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (ssdeep-2.6.tar.gz) = 06e73821203e0148d0f302b00288fc4d1ad3a94d580a4222bf534b6515372756
SIZE (ssdeep-2.6.tar.gz) = 334895

View file

@ -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

View file

@ -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/

View file

@ -0,0 +1,6 @@
bin/ssdeep
include/fuzzy.h
lib/libfuzzy.a
lib/libfuzzy.la
lib/libfuzzy.so
lib/libfuzzy.so.2