diff options
author | wiz <wiz> | 2015-12-02 17:22:57 +0000 |
---|---|---|
committer | wiz <wiz> | 2015-12-02 17:22:57 +0000 |
commit | 319dd093c7c529fb1a05d2e7d1e025fc658746c2 (patch) | |
tree | 751a7cf76218efb0bdc45de531b3dca24e4e9417 /devel/py-tlsh | |
parent | a96ac16c5b07e49a07b1acf2153981b3e1dd6769 (diff) | |
download | pkgsrc-319dd093c7c529fb1a05d2e7d1e025fc658746c2.tar.gz |
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.
Diffstat (limited to 'devel/py-tlsh')
-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 |