pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/tlsh



Module Name:    pkgsrc
Committed By:   ktnb
Date:           Fri Oct 23 14:26:20 UTC 2026

Modified Files:
        pkgsrc/devel/tlsh: Makefile distinfo
        pkgsrc/devel/tlsh/patches: patch-CMakeLists.txt

Log Message:
tlsh: update to 4.12.1

4.12.x fixed memeory bugs

4.11.0 added Jupyter notebook for analysis of Malware Bazaar
- Pattern file for predicting malware family of unknown samples using
  Malware Bazaar clustering

4.10.x added Python tools for clustering file
- using DBSCAN
- using HAC-T
- we provide scripts to show people how to cluster the Malware Bazaar
- dataset using TLSH

4.9.x added options -thread and -private
- -thread the TLSH is evaluated with 2 threads (faster calculation)
- Only done for files / bytestreams >= 10000 bytes
- But this means that it is impossible to calculate the checksum
- So the checksum is set to zero
- -private Does not evaluate the checksum
- Useful if you do not want to leak information
- Slightly faster than default TLSH (code was written to optimize
  this)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/tlsh/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/tlsh/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/tlsh/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/tlsh/Makefile
diff -u pkgsrc/devel/tlsh/Makefile:1.5 pkgsrc/devel/tlsh/Makefile:1.6
--- pkgsrc/devel/tlsh/Makefile:1.5      Wed Aug 20 11:34:53 2025
+++ pkgsrc/devel/tlsh/Makefile  Fri Oct 23 14:26:20 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2025/08/20 11:34:53 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2026/10/23 14:26:20 ktnb Exp $
 
-DISTNAME=              tlsh-4.8.2
+DISTNAME=              tlsh-4.12.1
 CATEGORIES=            devel
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=trendmicro/}
 GITHUB_TAG=            ${PKGVERSION_NOREV}

Index: pkgsrc/devel/tlsh/distinfo
diff -u pkgsrc/devel/tlsh/distinfo:1.10 pkgsrc/devel/tlsh/distinfo:1.11
--- pkgsrc/devel/tlsh/distinfo:1.10     Wed Aug 20 11:34:53 2025
+++ pkgsrc/devel/tlsh/distinfo  Fri Oct 23 14:26:20 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2025/08/20 11:34:53 wiz Exp $
+$NetBSD: distinfo,v 1.11 2026/10/23 14:26:20 ktnb Exp $
 
-BLAKE2s (tlsh-4.8.2.tar.gz) = 846377f453b4365ebcaabe09f22f5579087d50999e7edfc9dc8117277b7cb79e
-SHA512 (tlsh-4.8.2.tar.gz) = 5355c7734f5356a3a7a31ccc078254835871fc0369f1889a34131a0f810735201c68f674eb18e975b6a03a32e5c284899ca9ffdc1f583e42192188c172d2aad0
-Size (tlsh-4.8.2.tar.gz) = 3345458 bytes
-SHA1 (patch-CMakeLists.txt) = 6e566bb2e55727cfac8d844ae9b283170797670e
+BLAKE2s (tlsh-4.12.1.tar.gz) = 1d393731efbb1bff8a0ec269cd5dab509c05cc2400ea155756e711a81fe95a43
+SHA512 (tlsh-4.12.1.tar.gz) = 82d6971baacdede7b4e4fd282d861d264e4ae196d1b5f3ea26648e93c0f0884b90bf9cab4dd1cc0f36fd00fb2e2ca3db8128769725a8858c5fcf48c192f33c45
+Size (tlsh-4.12.1.tar.gz) = 10243609 bytes
+SHA1 (patch-CMakeLists.txt) = 8fbc970f1bab06f2ef0215d9c9638439aadc7d19

Index: pkgsrc/devel/tlsh/patches/patch-CMakeLists.txt
diff -u pkgsrc/devel/tlsh/patches/patch-CMakeLists.txt:1.3 pkgsrc/devel/tlsh/patches/patch-CMakeLists.txt:1.4
--- pkgsrc/devel/tlsh/patches/patch-CMakeLists.txt:1.3  Wed Aug 20 11:34:53 2025
+++ pkgsrc/devel/tlsh/patches/patch-CMakeLists.txt      Fri Oct 23 14:26:20 2026
@@ -1,13 +1,13 @@
-$NetBSD: patch-CMakeLists.txt,v 1.3 2025/08/20 11:34:53 wiz Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.4 2026/10/23 14:26:20 ktnb Exp $
 
 Squelch configure warnings.
 Don't use static linking for libgcc and libstdc++,
 fixes "/bin/ld: cannot find -lstdc++" that occur on
 some systems.
 
---- CMakeLists.txt.orig        2021-09-09 05:56:28.000000000 +0000
+--- CMakeLists.txt.orig        2024-10-08 15:04:28.000000000 +0000
 +++ CMakeLists.txt
-@@ -52,6 +52,9 @@
+@@ -52,6 +52,9 @@ cmake_minimum_required(VERSION 2.6)
  # OF THE POSSIBILITY OF SUCH DAMAGE.
  
  cmake_minimum_required(VERSION 2.6)
@@ -17,12 +17,12 @@ some systems.
  
  project(TLSH)
  
-@@ -139,7 +142,7 @@ if(MSVC)
+@@ -142,7 +145,7 @@ endif()
  endif()
  
  # user can override CXX; make sure tests link and load properly regardless of LD_LIBRARY_PATH
 -if(CMAKE_COMPILER_IS_GNUCXX)
 +if(FALSE)
+     # issue #116 Library will not compile on CENTOS 7
+     # set(CMAKE_EXE_LINKER_FLAGS "-static-libstdc++")
      set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc")
-     set(CMAKE_EXE_LINKER_FLAGS "-static-libstdc++")
- endif()



Home | Main Index | Thread Index | Old Index