From 4c17179eef64e778829f9e7fbcfdf9883c58b67f Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Tue, 15 Apr 2014 15:02:31 +0000 Subject: - Resurrect - Add LICENSE - Assign maintainer to submitter - Update master site PR: ports/188586 Submitted by: Matthew Rezny --- security/py-fchksum/Makefile | 21 +++++++++++++++++++++ security/py-fchksum/distinfo | 2 ++ security/py-fchksum/pkg-descr | 10 ++++++++++ 3 files changed, 33 insertions(+) create mode 100644 security/py-fchksum/Makefile create mode 100644 security/py-fchksum/distinfo create mode 100644 security/py-fchksum/pkg-descr (limited to 'security/py-fchksum') diff --git a/security/py-fchksum/Makefile b/security/py-fchksum/Makefile new file mode 100644 index 000000000000..1617024cfa24 --- /dev/null +++ b/security/py-fchksum/Makefile @@ -0,0 +1,21 @@ +# Created by: ijliao +# $FreeBSD$ + +PORTNAME= fchksum +PORTVERSION= 1.7.1 +CATEGORIES= security python +MASTER_SITES= http://code.fluffytapeworm.com/projects/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-${PORTNAME}-${PORTVERSION} + +MAINTAINER= matthew@reztek.cz +COMMENT= Python module to find the checksum of files + +LICENSE= GPLv2 + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/fchksum.so +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= python-fchksum + +.include diff --git a/security/py-fchksum/distinfo b/security/py-fchksum/distinfo new file mode 100644 index 000000000000..8c3fe058b67b --- /dev/null +++ b/security/py-fchksum/distinfo @@ -0,0 +1,2 @@ +SHA256 (python-fchksum-1.7.1.tar.gz) = 407625d2bf38be6fcbe8b01007d1803b5c5bd97249114c076edef4fd061405a7 +SIZE (python-fchksum-1.7.1.tar.gz) = 26724 diff --git a/security/py-fchksum/pkg-descr b/security/py-fchksum/pkg-descr new file mode 100644 index 000000000000..aff9600176b1 --- /dev/null +++ b/security/py-fchksum/pkg-descr @@ -0,0 +1,10 @@ +fchksum is a Python module to find the checksum of files. Currently it +supports crc32 and md5 checksums. + +The advantage of using fchksum over the python md5 and zlib(.crc32) modules +is both ease of use and speed. You only need to tell it the filename and the +actual work is done by C code. Compared to the implementing a read loop in +python with the standard python modules, fchksum is approximatly 2.0x faster +in md5 and 1.1x faster in crc32. + +WWW: http://users.dakotacom.net/~donut/programs/fchksum.html -- cgit v1.2.3