Import py34-tlsh-3.4.3 as devel/py-tlsh.

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.
This commit is contained in:
wiz 2015-12-02 17:22:57 +00:00
parent 9bd141ddea
commit 8dee5ee0c0
4 changed files with 29 additions and 0 deletions

8
devel/py-tlsh/DESCR Normal file
View file

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

12
devel/py-tlsh/Makefile Normal file
View file

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

3
devel/py-tlsh/PLIST Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2015/12/02 17:22:57 wiz Exp $
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/tlsh.so

6
devel/py-tlsh/distinfo Normal file
View file

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