diff options
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/py-twofish/Makefile | 30 | ||||
-rw-r--r-- | security/py-twofish/distinfo | 1 | ||||
-rw-r--r-- | security/py-twofish/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | security/py-twofish/pkg-comment | 1 | ||||
-rw-r--r-- | security/py-twofish/pkg-descr | 5 | ||||
-rw-r--r-- | security/py-twofish/pkg-plist | 8 |
7 files changed, 57 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index ef7ab26bc6a8..090ce2f43276 100644 --- a/security/Makefile +++ b/security/Makefile @@ -181,6 +181,7 @@ SUBDIR += py-gnupg SUBDIR += py-m2crypto SUBDIR += py-rijndael + SUBDIR += py-twofish SUBDIR += qident SUBDIR += qtfw SUBDIR += racoon diff --git a/security/py-twofish/Makefile b/security/py-twofish/Makefile new file mode 100644 index 000000000000..70f0d8254465 --- /dev/null +++ b/security/py-twofish/Makefile @@ -0,0 +1,30 @@ +# ex:ts=8 +# Ports collection makefile for: py-twofish +# Date created: Feb 9, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= twofish +PORTVERSION= 0.7 +CATEGORIES= security python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= twofish-py +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= twofishmodule-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +USE_PYTHON= yes +GNU_CONFIGURE= yes + +do-install: + ${INSTALL_DATA} ${WRKSRC}/_twofish.so ${PYTHON_SITELIBDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/security/py-twofish/distinfo b/security/py-twofish/distinfo new file mode 100644 index 000000000000..2a3d2aeecbcd --- /dev/null +++ b/security/py-twofish/distinfo @@ -0,0 +1 @@ +MD5 (twofishmodule-0.7.tar.gz) = 557f60dc6d37a6eb43ade9ec52f71556 diff --git a/security/py-twofish/files/patch-Makefile.in b/security/py-twofish/files/patch-Makefile.in new file mode 100644 index 000000000000..06edf6c79c48 --- /dev/null +++ b/security/py-twofish/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sat Feb 9 20:43:21 2002 ++++ Makefile.in Sat Feb 9 20:43:31 2002 +@@ -63,7 +63,7 @@ + + #CFLAGS=-g -O2 + +-CFLAGS=-g $(INCLUDES) ++CFLAGS+=$(INCLUDES) + + all: _twofish.so + diff --git a/security/py-twofish/pkg-comment b/security/py-twofish/pkg-comment new file mode 100644 index 000000000000..22f7ccfd2d7c --- /dev/null +++ b/security/py-twofish/pkg-comment @@ -0,0 +1 @@ +Twofish cryptographic module for Python diff --git a/security/py-twofish/pkg-descr b/security/py-twofish/pkg-descr new file mode 100644 index 000000000000..92a7651bb6d9 --- /dev/null +++ b/security/py-twofish/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-twofish/pkg-plist b/security/py-twofish/pkg-plist new file mode 100644 index 000000000000..4e1bc6844a82 --- /dev/null +++ b/security/py-twofish/pkg-plist @@ -0,0 +1,8 @@ +lib/%%PYTHON_VERSION%%/site-packages/_twofish.so +lib/%%PYTHON_VERSION%%/site-packages/bin2hex.py +lib/%%PYTHON_VERSION%%/site-packages/cryptfile.py +lib/%%PYTHON_VERSION%%/site-packages/cryptrand.py +lib/%%PYTHON_VERSION%%/site-packages/decryptfile.py +lib/%%PYTHON_VERSION%%/site-packages/twofish.py +%%PORTDOCS%%share/doc/twofish/README +%%PORTDOCS%%@dirrm share/doc/twofish |