diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-07-23 17:03:45 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-07-23 17:03:45 +0800 |
commit | a929724cb9c66b2655a33aebfb4cf0849b26b3ca (patch) | |
tree | a07a830ae009a669815bc552d06ea03dfe26cd0a /security | |
parent | 62ad46dd0f016b70835045d2b75162fe201f2ad0 (diff) | |
download | freebsd-ports-graphics-a929724cb9c66b2655a33aebfb4cf0849b26b3ca.tar.gz freebsd-ports-graphics-a929724cb9c66b2655a33aebfb4cf0849b26b3ca.tar.zst freebsd-ports-graphics-a929724cb9c66b2655a33aebfb4cf0849b26b3ca.zip |
add py-rijndael
A pure python implementation of the Rijndael encryption algorithm
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/py-rijndael/Makefile | 33 | ||||
-rw-r--r-- | security/py-rijndael/distinfo | 1 | ||||
-rw-r--r-- | security/py-rijndael/pkg-comment | 1 | ||||
-rw-r--r-- | security/py-rijndael/pkg-descr | 5 | ||||
-rw-r--r-- | security/py-rijndael/pkg-plist | 3 |
6 files changed, 44 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 0ce9f918cb1..d17e88e631d 100644 --- a/security/Makefile +++ b/security/Makefile @@ -142,6 +142,7 @@ SUBDIR += py-fchksum SUBDIR += py-gnupg SUBDIR += py-m2crypto + SUBDIR += py-rijndael SUBDIR += racoon SUBDIR += radiusniff SUBDIR += rid diff --git a/security/py-rijndael/Makefile b/security/py-rijndael/Makefile new file mode 100644 index 00000000000..9861bc2a73b --- /dev/null +++ b/security/py-rijndael/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# New ports collection makefile for: py-rijndael +# Date created: Jul 23, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= rijndael +PORTVERSION= 1.1 +CATEGORIES= security python +MASTER_SITES= http://bluesine.com/archives/software/python-mods/rijndael/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyRijndael-${PORTVERSION}.py +EXTRACT_SUFX= .gz + +MAINTAINER= ports@FreeBSD.org + +EXTRACT_AFTER_ARGS= > ${DISTNAME} +USE_PYTHON= yes +NO_WRKSUBDIR= yes + +post-extract: + @${MV} ${WRKSRC}/${DISTNAME} ${WRKSRC}/pyRijndael.py + +do-build: + @cd ${WRKSRC} && ${PYTHON_CMD} -c 'import pyRijndael' + @cd ${WRKSRC} && ${PYTHON_CMD} -O -c 'import pyRijndael' + +do-install: + @${INSTALL_DATA} ${WRKSRC}/pyRijndael.* ${PYTHON_SITELIBDIR} + +.include <bsd.port.mk> diff --git a/security/py-rijndael/distinfo b/security/py-rijndael/distinfo new file mode 100644 index 00000000000..438ea7dcca3 --- /dev/null +++ b/security/py-rijndael/distinfo @@ -0,0 +1 @@ +MD5 (pyRijndael-1.1.py.gz) = aa0053ffecbddb1fbfc685ae467663e5 diff --git a/security/py-rijndael/pkg-comment b/security/py-rijndael/pkg-comment new file mode 100644 index 00000000000..069f6bb5a48 --- /dev/null +++ b/security/py-rijndael/pkg-comment @@ -0,0 +1 @@ +A pure python implementation of the Rijndael encryption algorithm diff --git a/security/py-rijndael/pkg-descr b/security/py-rijndael/pkg-descr new file mode 100644 index 00000000000..92a7651bb6d --- /dev/null +++ b/security/py-rijndael/pkg-descr @@ -0,0 +1,5 @@ +A pure python implementation of the Rijndael encryption algorithm. Useful for +quick string encryption in python programs but probably is not fast enough for +anything too big. + +WWW: http://bluesine.com/archives/software/python-mods/rijndael/ diff --git a/security/py-rijndael/pkg-plist b/security/py-rijndael/pkg-plist new file mode 100644 index 00000000000..9a4262458bd --- /dev/null +++ b/security/py-rijndael/pkg-plist @@ -0,0 +1,3 @@ +lib/%%PYTHON_VERSION%%/site-packages/pyRijndael.py +lib/%%PYTHON_VERSION%%/site-packages/pyRijndael.pyc +lib/%%PYTHON_VERSION%%/site-packages/pyRijndael.pyo |