Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
SSLCrypto is a package for Python that dramatically eases the task of
adding encryption to Python programs.
It provides a unified API that is almost totally compatible with that
of ezPyCrypto, except that it takes advantage of the OpenSSL Crypto
Library to deliver massive improvements in speed and security.
After using ezPyCrypto myself, I found that while it performed ok with
smaller public key sizes, it proved impossibly slow with larger keys.
This slowness, resulting from non-optimal code in its backend (the
Python Cryptography Toolkit) meant that on a 1.5 GHz Athlon XP, it was
taking several minutes to generate 4096-bit keys. Completely
unacceptable if you need real security.
Performance is absolutely critical for an encryption API. If slowness
deters people from using adequate-sized keys, security will be
severely compromised, almost to the extent that there's little point
in using encryption in the first place.

View File

@@ -0,0 +1,21 @@
# $NetBSD: Makefile,v 1.10 2013/02/06 23:21:02 jperkin Exp $
#
DISTNAME= SSLCrypto-0.1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 4
CATEGORIES= security python
MASTER_SITES= http://www.freenet.org.nz/python/SSLCrypto/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freenet.org.nz/python/SSLCrypto/
COMMENT= Python bindings for openssl
DEPENDS+= ${PYPKGPREFIX}-pyrex>=0.9.4.1:../../lang/py-pyrex
PYDISTUTILSPKG= yes
.include "../../lang/python/extension.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2007/05/05 00:03:54 agc Exp $
${PYSITELIB}/SSLCrypto.so

View File

@@ -0,0 +1,15 @@
# $NetBSD: buildlink3.mk,v 1.8 2013/02/16 12:07:26 wiz Exp $
BUILDLINK_TREE+= py-SSLCrypto
.if !defined(PY_SSLCRYPTO_BUILDLINK3_MK)
PY_SSLCRYPTO_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.py-SSLCrypto+= ${PYPKGPREFIX}-SSLCrypto>=0.1.1
BUILDLINK_ABI_DEPENDS.py-SSLCrypto+= ${PYPKGPREFIX}-SSLCrypto>=0.1.1nb4
BUILDLINK_PKGSRCDIR.py-SSLCrypto?= ../../security/py-SSLCrypto
#.include "../../security/openssl/buildlink3.mk"
.endif # PY_SSLCRYPTO_BUILDLINK3_MK
BUILDLINK_TREE+= -py-SSLCrypto

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2009/02/11 23:25:59 joerg Exp $
SHA1 (SSLCrypto-0.1.1.tar.gz) = 3e33e86ed6ad0db5546f53d6809008398d7b8ae5
RMD160 (SSLCrypto-0.1.1.tar.gz) = c2dfaaed00105ff0d039cda3b1a2f19cca556632
Size (SSLCrypto-0.1.1.tar.gz) = 141376 bytes
SHA1 (patch-aa) = 708dec7a73ac84f878d570ae447b838ae5cc36df

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2009/02/11 23:25:59 joerg Exp $
--- setup.py.orig 2009-02-12 00:04:33.000000000 +0100
+++ setup.py
@@ -9,7 +9,7 @@ if sys.platform == 'win32':
extra_link_args = []
else:
sslLibs = []
- extra_link_args = ['/usr/lib/libcrypto.a']
+ extra_link_args = ['-lcrypto']
setup(
name = "SSLCrypto",