diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-11 23:25:59 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-11 23:25:59 +0000 |
commit | 3abd2d8fbf4db9dcfb3284c40b64ec56a0f5d568 (patch) | |
tree | 65eeb3a0903774b3939ba139e4a72c5a7d876c82 /security | |
parent | ba0649486d38341d237c86ebfb9ad9a0e4a84c24 (diff) | |
download | pkgsrc-3abd2d8fbf4db9dcfb3284c40b64ec56a0f5d568.tar.gz |
Don't use text relocations, link against shared libcrypto.
DESTDIR support. Simplify. Bump revision.
Diffstat (limited to 'security')
-rw-r--r-- | security/py-SSLCrypto/Makefile | 17 | ||||
-rw-r--r-- | security/py-SSLCrypto/distinfo | 3 | ||||
-rw-r--r-- | security/py-SSLCrypto/patches/patch-aa | 13 |
3 files changed, 21 insertions, 12 deletions
diff --git a/security/py-SSLCrypto/Makefile b/security/py-SSLCrypto/Makefile index f625d55896e..38cf9b7f2e1 100644 --- a/security/py-SSLCrypto/Makefile +++ b/security/py-SSLCrypto/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.4 2008/04/25 22:30:47 tnn Exp $ +# $NetBSD: Makefile,v 1.5 2009/02/11 23:25:59 joerg Exp $ # DISTNAME= SSLCrypto-0.1.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= security python MASTER_SITES= http://www.freenet.org.nz/python/SSLCrypto/ @@ -11,19 +11,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.freenet.org.nz/python/SSLCrypto/ COMMENT= Python bindings for openssl +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= ${PYPKGPREFIX}-pyrex>=0.9.4.1:../../lang/py-pyrex PYTHON_VERSIONS_ACCEPTED= 25 24 +PYDISTUTILSPKG= yes -PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q} - -do-build: - cd ${WRKSRC} && ${PYTHONBIN} setup.py build - -do-install: - cd ${WRKSRC} && ${PYTHONBIN} setup.py install - -.include "../../lang/python/application.mk" +.include "../../lang/python/extension.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/py-SSLCrypto/distinfo b/security/py-SSLCrypto/distinfo index 5371b595098..7cf4bce85f7 100644 --- a/security/py-SSLCrypto/distinfo +++ b/security/py-SSLCrypto/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/05/05 00:03:54 agc Exp $ +$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 diff --git a/security/py-SSLCrypto/patches/patch-aa b/security/py-SSLCrypto/patches/patch-aa new file mode 100644 index 00000000000..9c9c2cf6c01 --- /dev/null +++ b/security/py-SSLCrypto/patches/patch-aa @@ -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", |