pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-SSLCrypto Don't use text relocations, link...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/174e3a1048e6
branches:  trunk
changeset: 554305:174e3a1048e6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Feb 11 23:25:59 2009 +0000

description:
Don't use text relocations, link against shared libcrypto.
DESTDIR support. Simplify. Bump revision.

diffstat:

 security/py-SSLCrypto/Makefile         |  17 ++++++-----------
 security/py-SSLCrypto/distinfo         |   3 ++-
 security/py-SSLCrypto/patches/patch-aa |  13 +++++++++++++
 3 files changed, 21 insertions(+), 12 deletions(-)

diffs (67 lines):

diff -r 83deb9574d5e -r 174e3a1048e6 security/py-SSLCrypto/Makefile
--- a/security/py-SSLCrypto/Makefile    Wed Feb 11 23:19:21 2009 +0000
+++ b/security/py-SSLCrypto/Makefile    Wed Feb 11 23:25:59 2009 +0000
@@ -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 @@
 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
-
-PLIST_SUBST+=          PYSITELIB=${PYSITELIB:Q}
+PYDISTUTILSPKG=                yes
 
-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 -r 83deb9574d5e -r 174e3a1048e6 security/py-SSLCrypto/distinfo
--- a/security/py-SSLCrypto/distinfo    Wed Feb 11 23:19:21 2009 +0000
+++ b/security/py-SSLCrypto/distinfo    Wed Feb 11 23:25:59 2009 +0000
@@ -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 -r 83deb9574d5e -r 174e3a1048e6 security/py-SSLCrypto/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-SSLCrypto/patches/patch-aa    Wed Feb 11 23:25:59 2009 +0000
@@ -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",



Home | Main Index | Thread Index | Old Index