pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security



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.

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



Home | Main Index | Thread Index | Old Index