diff options
Diffstat (limited to 'security/py-pow')
-rw-r--r-- | security/py-pow/Makefile | 34 | ||||
-rw-r--r-- | security/py-pow/distinfo | 1 | ||||
-rw-r--r-- | security/py-pow/files/patch-POW.c | 11 | ||||
-rw-r--r-- | security/py-pow/pkg-comment | 1 | ||||
-rw-r--r-- | security/py-pow/pkg-descr | 3 | ||||
-rw-r--r-- | security/py-pow/pkg-plist | 3 |
6 files changed, 53 insertions, 0 deletions
diff --git a/security/py-pow/Makefile b/security/py-pow/Makefile new file mode 100644 index 000000000000..9617de7ff0ba --- /dev/null +++ b/security/py-pow/Makefile @@ -0,0 +1,34 @@ +# ex:ts=8 +# Ports collection makefile for: Python OpenSSL Wrappers +# Date created: Feb 10, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= pow +PORTVERSION= 0.6.1 +CATEGORIES= security python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:U}-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +USE_PYTHON= yes +USE_OPENSSL= yes + +SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py + +do-build: + @${SETUP_CMD} build + +do-install: + @${SETUP_CMD} install +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/POW.pdf ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/security/py-pow/distinfo b/security/py-pow/distinfo new file mode 100644 index 000000000000..ff2a74b43c2d --- /dev/null +++ b/security/py-pow/distinfo @@ -0,0 +1 @@ +MD5 (POW-0.6.1.tar.gz) = a1093b7b8c105869e0538fd4b8bb2228 diff --git a/security/py-pow/files/patch-POW.c b/security/py-pow/files/patch-POW.c new file mode 100644 index 000000000000..1997ea330c77 --- /dev/null +++ b/security/py-pow/files/patch-POW.c @@ -0,0 +1,11 @@ +--- POW.c.orig Mon Feb 11 22:12:50 2002 ++++ POW.c Mon Feb 11 22:13:01 2002 +@@ -34,7 +34,7 @@ + /* */ + /*****************************************************************************/ + +-#include <python2.1/Python.h> ++#include <Python.h> + + #include <openssl/crypto.h> + #include <openssl/rand.h> diff --git a/security/py-pow/pkg-comment b/security/py-pow/pkg-comment new file mode 100644 index 000000000000..5393c8daba24 --- /dev/null +++ b/security/py-pow/pkg-comment @@ -0,0 +1 @@ +Python OpenSSL Wrappers diff --git a/security/py-pow/pkg-descr b/security/py-pow/pkg-descr new file mode 100644 index 000000000000..d2fb79a72cc1 --- /dev/null +++ b/security/py-pow/pkg-descr @@ -0,0 +1,3 @@ +Python OpenSSL Wrappers(POW) is a set of comprehensive wrappers for Python of +the OpenSSL libraries. POW will provide a 'slim' interface which will still +enable Python developers to fully utilise OpenSSL. diff --git a/security/py-pow/pkg-plist b/security/py-pow/pkg-plist new file mode 100644 index 000000000000..25887588a89c --- /dev/null +++ b/security/py-pow/pkg-plist @@ -0,0 +1,3 @@ +lib/%%PYTHON_VERSION%%/site-packages/POW.so +%%PORTDOCS%%share/doc/pow/POW.pdf +%%PORTDOCS%%@dirrm share/doc/pow |