diff options
author | rodent <rodent@pkgsrc.org> | 2014-06-02 00:00:15 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2014-06-02 00:00:15 +0000 |
commit | 6a2a6ba8658448dcc0a104949471cf7f7cfe71a4 (patch) | |
tree | 54d6ee1b875121bbe7779c6c9d5d4cf947c72d6c /security | |
parent | c9bb670aac96188b30f0cd662f2d178631ef1591 (diff) | |
download | pkgsrc-6a2a6ba8658448dcc0a104949471cf7f7cfe71a4.tar.gz |
Import py27-pydeep-0.2 as security/py-pydeep.
Python/C bindings for the ssdeep library at http://ssdeep.sourceforge.net:
* hash_buf / hash_bytes - returns the ssdeep hash for a given buffer
* hash_file - returns the ssdeep hash for filepath
* compare - returns the % match between 2 hashes
import pydeep
pydeep.hash_buf('somedata')
pydeep.hash_file('path-to-file')
pydeep.compare('hash1','hash2')
Diffstat (limited to 'security')
-rw-r--r-- | security/py-pydeep/DESCR | 10 | ||||
-rw-r--r-- | security/py-pydeep/Makefile | 15 | ||||
-rw-r--r-- | security/py-pydeep/PLIST | 3 | ||||
-rw-r--r-- | security/py-pydeep/distinfo | 5 |
4 files changed, 33 insertions, 0 deletions
diff --git a/security/py-pydeep/DESCR b/security/py-pydeep/DESCR new file mode 100644 index 00000000000..ebfa052c7e4 --- /dev/null +++ b/security/py-pydeep/DESCR @@ -0,0 +1,10 @@ +Python/C bindings for the ssdeep library at http://ssdeep.sourceforge.net: + + * hash_buf / hash_bytes - returns the ssdeep hash for a given buffer + * hash_file - returns the ssdeep hash for filepath + * compare - returns the % match between 2 hashes + +import pydeep +pydeep.hash_buf('somedata') +pydeep.hash_file('path-to-file') +pydeep.compare('hash1','hash2') diff --git a/security/py-pydeep/Makefile b/security/py-pydeep/Makefile new file mode 100644 index 00000000000..260f23b5ac2 --- /dev/null +++ b/security/py-pydeep/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2014/06/02 00:00:15 rodent Exp $ + +DISTNAME= pydeep-0.2 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= python security +MASTER_SITES= https://pypi.python.org/packages/source/p/pydeep/ + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= http://www.github.com/kbandla/pydeep +COMMENT= Python bindings for ssdeep +LICENSE= modified-bsd + +.include "../../security/ssdeep/buildlink3.mk" +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/py-pydeep/PLIST b/security/py-pydeep/PLIST new file mode 100644 index 00000000000..704ad513acc --- /dev/null +++ b/security/py-pydeep/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2014/06/02 00:00:15 rodent Exp $ +${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/pydeep.so diff --git a/security/py-pydeep/distinfo b/security/py-pydeep/distinfo new file mode 100644 index 00000000000..da789c742c6 --- /dev/null +++ b/security/py-pydeep/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/06/02 00:00:15 rodent Exp $ + +SHA1 (pydeep-0.2.tar.gz) = 948a0dd5f8e3894ee8c11a6fd7b710a4b7542def +RMD160 (pydeep-0.2.tar.gz) = 4b232bc55d9da0a0883a50ac9e260b35672baebd +Size (pydeep-0.2.tar.gz) = 1645 bytes |