Received: by mail.netbsd.org (Postfix, from userid 605) id 09AC884E94; Tue, 30 Jan 2018 19:07:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 893CB84D84 for ; Tue, 30 Jan 2018 19:07:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 01-JnzhLWjIx for ; Tue, 30 Jan 2018 19:07:49 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E86EB84D3B for ; Tue, 30 Jan 2018 19:07:48 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id E3E38FBDE; Tue, 30 Jan 2018 19:07:48 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1517339268257020" MIME-Version: 1.0 Date: Tue, 30 Jan 2018 19:07:48 +0000 From: "Benny Siegert" Subject: CVS commit: pkgsrc/security To: pkgsrc-changes@NetBSD.org Reply-To: bsiegert@netbsd.org X-Mailer: log_accum Message-Id: <20180130190748.E3E38FBDE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1517339268257020 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bsiegert Date: Tue Jan 30 19:07:48 UTC 2018 Modified Files: pkgsrc/security: Makefile Added Files: pkgsrc/security/py-crcmod: DESCR Makefile PLIST distinfo Log Message: New package, py-crcmod. The software in this package is a Python module for generating objects that compute the Cyclic Redundancy Check (CRC). There is no attempt in this package to explain how the CRC works. There are a number of resources on the web that give a good explanation of the algorithms. This package allows the use of any 8, 16, 24, 32, or 64 bit CRC. You can generate a Python function for the selected polynomial or an instance of the Crc class which provides the same interface as the md5 and sha modules from the Python standard library. A Crc class instance can also generate C/C++ source code that can be used in another application. Part of PR pkg/52941. To generate a diff of this commit: cvs rdiff -u -r1.666 -r1.667 pkgsrc/security/Makefile cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-crcmod/DESCR \ pkgsrc/security/py-crcmod/Makefile pkgsrc/security/py-crcmod/PLIST \ pkgsrc/security/py-crcmod/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1517339268257020 Content-Disposition: inline Content-Length: 3596 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/security/Makefile diff -u pkgsrc/security/Makefile:1.666 pkgsrc/security/Makefile:1.667 --- pkgsrc/security/Makefile:1.666 Mon Jan 22 13:30:08 2018 +++ pkgsrc/security/Makefile Tue Jan 30 19:07:48 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.666 2018/01/22 13:30:08 fhajny Exp $ +# $NetBSD: Makefile,v 1.667 2018/01/30 19:07:48 bsiegert Exp $ # COMMENT= Security tools @@ -395,6 +395,7 @@ SUBDIR+= py-bcrypt SUBDIR+= py-certbot SUBDIR+= py-certifi SUBDIR+= py-crack +SUBDIR+= py-crcmod SUBDIR+= py-cryptkit SUBDIR+= py-crypto SUBDIR+= py-cryptodome Added files: Index: pkgsrc/security/py-crcmod/DESCR diff -u /dev/null pkgsrc/security/py-crcmod/DESCR:1.1 --- /dev/null Tue Jan 30 19:07:48 2018 +++ pkgsrc/security/py-crcmod/DESCR Tue Jan 30 19:07:48 2018 @@ -0,0 +1,10 @@ +The software in this package is a Python module for generating objects that +compute the Cyclic Redundancy Check (CRC). There is no attempt in this package +to explain how the CRC works. There are a number of resources on the web that +give a good explanation of the algorithms. + +This package allows the use of any 8, 16, 24, 32, or 64 bit CRC. You can +generate a Python function for the selected polynomial or an instance of the +Crc class which provides the same interface as the md5 and sha modules from the +Python standard library. A Crc class instance can also generate C/C++ source +code that can be used in another application. Index: pkgsrc/security/py-crcmod/Makefile diff -u /dev/null pkgsrc/security/py-crcmod/Makefile:1.1 --- /dev/null Tue Jan 30 19:07:48 2018 +++ pkgsrc/security/py-crcmod/Makefile Tue Jan 30 19:07:48 2018 @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2018/01/30 19:07:48 bsiegert Exp $ + +DISTNAME= crcmod-1.7 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= security +MASTER_SITES= ${MASYER_SITE_PYPI:=c/crcmod/} + +MAINTAINER= bsiegert@NetBSD.org +HOMEPAGE= https://crcmod.sourceforge.net/ +COMMENT= Cyclic Redundancy Checksums in Python +LICENSE= mit + +do-test: + env PYTHONPATH=${WRKSRC} ${PYTHONBIN} -m test + +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/security/py-crcmod/PLIST diff -u /dev/null pkgsrc/security/py-crcmod/PLIST:1.1 --- /dev/null Tue Jan 30 19:07:48 2018 +++ pkgsrc/security/py-crcmod/PLIST Tue Jan 30 19:07:48 2018 @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2018/01/30 19:07:48 bsiegert Exp $ +${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/crcmod/__init__.py +${PYSITELIB}/crcmod/__init__.pyo +${PYSITELIB}/crcmod/__init__.pyc +${PYSITELIB}/crcmod/_crcfunpy.pyo +${PYSITELIB}/crcmod/_crcfunpy.pyc +${PYSITELIB}/crcmod/crcmod.pyo +${PYSITELIB}/crcmod/crcmod.pyc +${PYSITELIB}/crcmod/predefined.pyo +${PYSITELIB}/crcmod/predefined.pyc +${PYSITELIB}/crcmod/test.pyo +${PYSITELIB}/crcmod/test.pyc +${PYSITELIB}/crcmod/_crcfunext.so +${PYSITELIB}/crcmod/_crcfunpy.py +${PYSITELIB}/crcmod/crcmod.py +${PYSITELIB}/crcmod/predefined.py +${PYSITELIB}/crcmod/test.py Index: pkgsrc/security/py-crcmod/distinfo diff -u /dev/null pkgsrc/security/py-crcmod/distinfo:1.1 --- /dev/null Tue Jan 30 19:07:48 2018 +++ pkgsrc/security/py-crcmod/distinfo Tue Jan 30 19:07:48 2018 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/01/30 19:07:48 bsiegert Exp $ + +SHA1 (crcmod-1.7.tar.gz) = 61d9fea169099b87c2e36ce572d2d25e0fd2de59 +RMD160 (crcmod-1.7.tar.gz) = 503b415394d7c833b22e5a999454c0d67598cd54 +SHA512 (crcmod-1.7.tar.gz) = 3c2f65004761c84f19d6ba95a0af74512108bad5007d9e20f8e684822e4196ce17073e58b47d2fa997e058e3d82782f3393458b6f0e86935418f38877d319a31 +Size (crcmod-1.7.tar.gz) = 89670 bytes --_----------=_1517339268257020--