diff options
-rw-r--r-- | devel/py-tlsh/DESCR | 8 | ||||
-rw-r--r-- | devel/py-tlsh/Makefile | 12 | ||||
-rw-r--r-- | devel/py-tlsh/PLIST | 3 | ||||
-rw-r--r-- | devel/py-tlsh/distinfo | 6 |
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/py-tlsh/DESCR b/devel/py-tlsh/DESCR new file mode 100644 index 00000000000..2a2e0e3a313 --- /dev/null +++ b/devel/py-tlsh/DESCR @@ -0,0 +1,8 @@ +TLSH is a fuzzy matching library. Given a byte stream with a minimum +length of 256 bytes (and a minimum amount of randomness - see note +in Python extension below), TLSH generates a hash value which can +be used for similarity comparisons. Similar objects will have +similar hash values which allows for the detection of similar +objects by comparing their hash values. Note that the byte stream +should have a sufficient amount of complexity. For example, a byte +stream of identical bytes will not generate a hash value. diff --git a/devel/py-tlsh/Makefile b/devel/py-tlsh/Makefile new file mode 100644 index 00000000000..e93bc235263 --- /dev/null +++ b/devel/py-tlsh/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1 2015/12/02 17:22:57 wiz Exp $ + +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +WRKSRC= ${WRKDIR}/${DISTNAME}/py_ext + +USE_LANGUAGES= c c++ +EGG_NAME= tlsh-0.2.0 + +.include "../../devel/tlsh/Makefile.common" +.include "../../devel/tlsh/buildlink3.mk" +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-tlsh/PLIST b/devel/py-tlsh/PLIST new file mode 100644 index 00000000000..3d64c1e50ed --- /dev/null +++ b/devel/py-tlsh/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2015/12/02 17:22:57 wiz Exp $ +${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/tlsh.so diff --git a/devel/py-tlsh/distinfo b/devel/py-tlsh/distinfo new file mode 100644 index 00000000000..72f222a6e67 --- /dev/null +++ b/devel/py-tlsh/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/12/02 17:22:57 wiz Exp $ + +SHA1 (tlsh-3.4.3.tar.gz) = 0364110b437cec2d90f3df2396b84715f5178d7e +RMD160 (tlsh-3.4.3.tar.gz) = 9921d6d693a5dcccd5db44eb84669790e38215e8 +SHA512 (tlsh-3.4.3.tar.gz) = 7e95c2933f25dc4a2700ad2245313d798ee0048e977b0cc3c8f5def258cf0f2372518a916cd9ffb098072aa79ca8f8339532541ca3115ef95520d0ebbb6a7b73 +Size (tlsh-3.4.3.tar.gz) = 1411903 bytes |