Created attachment 211910 [details] git diff (from GitHub freebsd-ports repo) with port A simple port. jkim requested that it be in devel/ rather than security/ Tested on amd64 only.
jkim has requested further changes, new patch coming shortly-- please don't commit the first diff.
I'll take it.
Created attachment 227628 [details] Updated patch, with many improvements
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a6c9a9718c02555996e0a63aae981f356e09d067 commit a6c9a9718c02555996e0a63aae981f356e09d067 Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2021-09-03 22:09:39 +0000 Commit: Jung-uk Kim <jkim@FreeBSD.org> CommitDate: 2021-09-03 22:12:26 +0000 devel/tlsh: New port: Trend Micro Locality Sensitive Hash TLSH is a fuzzy matching program and library. Given a file (min 50 bytes), TLSH generates a hash value which can be used for similarity comparisons. Similar files will have similar hash values which allows for the detection of similar objects by comparing their hash values. This port only includes the core C++ library. WWW: https://tlsh.org PR: 244381 devel/Makefile | 1 + devel/tlsh/Makefile (new) | 69 ++++++ devel/tlsh/distinfo (new) | 3 + devel/tlsh/files/patch-Testing_test.sh (new) | 268 ++++++++++++++++++++++++ devel/tlsh/files/patch-src_CMakeLists.txt (new) | 22 ++ devel/tlsh/pkg-descr (new) | 8 + devel/tlsh/pkg-plist (new) | 8 + 7 files changed, 379 insertions(+)
Committed with some modifications. Thanks!