aboutsummaryrefslogtreecommitdiff
path: root/security/py-twofish
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-02-09 12:56:58 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-02-09 12:56:58 +0000
commit04e44e1a9e5054894880e5b8f573e4524e7ab933 (patch)
treef220c84f20168c916e3fda19d439180b41c6e48a /security/py-twofish
parent8f2debd663273b9f182c2cf750426b75978c50c1 (diff)
downloadports-04e44e1a9e5054894880e5b8f573e4524e7ab933.tar.gz
ports-04e44e1a9e5054894880e5b8f573e4524e7ab933.zip
Notes
Diffstat (limited to 'security/py-twofish')
-rw-r--r--security/py-twofish/Makefile30
-rw-r--r--security/py-twofish/distinfo1
-rw-r--r--security/py-twofish/files/patch-Makefile.in11
-rw-r--r--security/py-twofish/pkg-comment1
-rw-r--r--security/py-twofish/pkg-descr5
-rw-r--r--security/py-twofish/pkg-plist8
6 files changed, 56 insertions, 0 deletions
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