diff options
author | kamil <kamil@pkgsrc.org> | 2016-06-14 07:58:40 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2016-06-14 07:58:40 +0000 |
commit | 449c5e67aa01767cfd7782243b1873f2a1e4132d (patch) | |
tree | 34ef3da1cfbf29bfe9be859b5359a0684d92afbe /security | |
parent | 363770f051b9a7e374b610259db5a943cc0ea3be (diff) | |
download | pkgsrc-449c5e67aa01767cfd7782243b1873f2a1e4132d.tar.gz |
Import pyaes-1.6.0 as security/py-aes
A pure-Python implmentation of the AES block cipher algorithm and the common
modes of operation (CBC, CFB, CTR, ECB and OFB).
Features:
- Supports all AES key sizes
- Supports all AES common modes
- Pure-Python (no external dependancies)
- BlockFeeder API allows streams to easily be encrypted and decrypted
- Python 2.x and 3.x support (make sure you pass in bytes(), not strings for
Python 3)
Diffstat (limited to 'security')
-rw-r--r-- | security/py-aes/DESCR | 10 | ||||
-rw-r--r-- | security/py-aes/Makefile | 18 | ||||
-rw-r--r-- | security/py-aes/PLIST | 14 | ||||
-rw-r--r-- | security/py-aes/distinfo | 6 |
4 files changed, 48 insertions, 0 deletions
diff --git a/security/py-aes/DESCR b/security/py-aes/DESCR new file mode 100644 index 00000000000..e786dae54b3 --- /dev/null +++ b/security/py-aes/DESCR @@ -0,0 +1,10 @@ +A pure-Python implmentation of the AES block cipher algorithm and the common +modes of operation (CBC, CFB, CTR, ECB and OFB). + +Features: + - Supports all AES key sizes + - Supports all AES common modes + - Pure-Python (no external dependancies) + - BlockFeeder API allows streams to easily be encrypted and decrypted + - Python 2.x and 3.x support (make sure you pass in bytes(), not strings for + Python 3) diff --git a/security/py-aes/Makefile b/security/py-aes/Makefile new file mode 100644 index 00000000000..25b4f851636 --- /dev/null +++ b/security/py-aes/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2016/06/14 07:58:40 kamil Exp $ + +DISTNAME= pyaes-1.6.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +CATEGORIES= security python +MASTER_SITES= ${MASTER_SITE_GITHUB:=ricmoo/} +GITHUB_PROJECT= pyaes +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/ricmoo/pyaes/ +COMMENT= Pure-Python implementation of AES block-cipher +LICENSE= mit + +USE_LANGUAGES= # none + +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/py-aes/PLIST b/security/py-aes/PLIST new file mode 100644 index 00000000000..93b6f8265b8 --- /dev/null +++ b/security/py-aes/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1 2016/06/14 07:58:40 kamil Exp $ +${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/pyaes/__init__.py +${PYSITELIB}/pyaes/__init__.pyc +${PYSITELIB}/pyaes/__init__.pyo +${PYSITELIB}/pyaes/aes.py +${PYSITELIB}/pyaes/aes.pyc +${PYSITELIB}/pyaes/aes.pyo +${PYSITELIB}/pyaes/blockfeeder.py +${PYSITELIB}/pyaes/blockfeeder.pyc +${PYSITELIB}/pyaes/blockfeeder.pyo +${PYSITELIB}/pyaes/util.py +${PYSITELIB}/pyaes/util.pyc +${PYSITELIB}/pyaes/util.pyo diff --git a/security/py-aes/distinfo b/security/py-aes/distinfo new file mode 100644 index 00000000000..ac3c410bcfc --- /dev/null +++ b/security/py-aes/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/06/14 07:58:40 kamil Exp $ + +SHA1 (pyaes-1.6.0.tar.gz) = 9068e3e30e4ecc6dd91c96a4251fda810a2249c2 +RMD160 (pyaes-1.6.0.tar.gz) = c77341f48d8210fe4078f76aa062835802cc13ae +SHA512 (pyaes-1.6.0.tar.gz) = e9886cd09e9c803ecd71d72716c33b2721daab940356300726e34951cae945c995b3057e9574299585b77a0bd96058b505a07bfd146dcaf04db63c0ac251d454 +Size (pyaes-1.6.0.tar.gz) = 28855 bytes |