Bug 244381 - New port: devel/tlsh: Trend Micro Locality Sensitive Hash
Summary: New port: devel/tlsh: Trend Micro Locality Sensitive Hash
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-24 20:24 UTC by John Hood
Modified: 2021-09-03 22:14 UTC (History)
2 users (show)

See Also:


Attachments
git diff (from GitHub freebsd-ports repo) with port (11.99 KB, patch)
2020-02-24 20:24 UTC, John Hood
no flags Details | Diff
Updated patch, with many improvements (12.86 KB, patch)
2021-09-02 21:16 UTC, cgull
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Hood 2020-02-24 20:24:28 UTC
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.
Comment 1 John Hood 2020-02-24 20:28:32 UTC
jkim has requested further changes, new patch coming shortly-- please don't commit the first diff.
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2020-02-24 21:48:10 UTC
I'll take it.
Comment 3 cgull 2021-09-02 21:16:11 UTC
Created attachment 227628 [details]
Updated patch, with many improvements
Comment 4 commit-hook freebsd_committer freebsd_triage 2021-09-03 22:13:14 UTC
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(+)
Comment 5 Jung-uk Kim freebsd_committer freebsd_triage 2021-09-03 22:14:18 UTC
Committed with some modifications.  Thanks!