Date: Thu, 20 Nov 2008 04:36:22 +0800 (CST) From: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Cc: perky@FreeBSD.org Subject: ports/128997: [PATCH] security/py-openssl: update to 0.8 Message-ID: <200811192036.mAJKaM9S092765@stucgi.cs.nctu.edu.tw> Resent-Message-ID: <200811192040.mAJKe5uD048351@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128997 >Category: ports >Synopsis: [PATCH] security/py-openssl: update to 0.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Nov 19 20:40:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yi-Jheng Lin >Release: FreeBSD 7.0-RELEASE-p4 amd64 >Organization: NCTU CS >Environment: System: FreeBSD stucgi 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep 5 14:56:26 CST >Description: - Update to 0.8 Port maintainer (perky@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py-openssl-0.8.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/py-openssl/Makefile,v retrieving revision 1.9 diff -u -r1.9 Makefile --- Makefile 31 Oct 2008 03:33:27 -0000 1.9 +++ Makefile 19 Nov 2008 20:35:48 -0000 @@ -7,9 +7,9 @@ # PORTNAME= openssl -PORTVERSION= 0.7 +PORTVERSION= 0.8 CATEGORIES= security python -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= SF MASTER_SITE_SUBDIR= pyopenssl PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyOpenSSL-${PORTVERSION} @@ -23,9 +23,33 @@ PYDISTUTILS_PKGNAME= pyOpenSSL USE_OPENSSL= yes +PORTDOCS= COPYING ChangeLog + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} + +TESTFILES= test_crypto.py test_ssl.py + pre-configure: @${ECHO_CMD} "[build_ext]" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "include-dirs = ${OPENSSLINC}" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "library-dirs = ${OPENSSLLIB}" >> ${WRKSRC}/setup.cfg +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) +.endif + +regression-test: +.for f in ${TESTFILES} + @${ECHO_CMD} "import unittest" >> ${WRKSRC}/test/$f + @${ECHO_CMD} "unittest.TestProgram()" >> ${WRKSRC}/test/$f + @(cd ${WRKSRC}/test && ${PYTHON_CMD} $f -v) +.endfor + .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/ncvs/ports/security/py-openssl/distinfo,v retrieving revision 1.7 diff -u -r1.7 distinfo --- distinfo 31 Oct 2008 03:33:27 -0000 1.7 +++ distinfo 19 Nov 2008 20:35:48 -0000 @@ -1,3 +1,3 @@ -MD5 (pyOpenSSL-0.7.tar.gz) = 1924edc58c1e99f27763971d9959ea15 -SHA256 (pyOpenSSL-0.7.tar.gz) = 7d53b7277771f21efb7775bedbaa6f72f5509423e16d08b62e3328b3991db255 -SIZE (pyOpenSSL-0.7.tar.gz) = 189022 +MD5 (pyOpenSSL-0.8.tar.gz) = 00377690f224d9e59c833fb0459603f4 +SHA256 (pyOpenSSL-0.8.tar.gz) = 2284411d21f1031f08f23c4f49dc0a341e38b07833495d0fe21a87eb25f3ffe3 +SIZE (pyOpenSSL-0.8.tar.gz) = 193035 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/security/py-openssl/pkg-plist,v retrieving revision 1.5 diff -u -r1.5 pkg-plist --- pkg-plist 31 Oct 2008 03:33:27 -0000 1.5 +++ pkg-plist 19 Nov 2008 20:35:48 -0000 @@ -21,3 +21,13 @@ %%PYTHON_SITELIBDIR%%/OpenSSL/version.pyo @dirrm %%PYTHON_SITELIBDIR%%/OpenSSL/test @dirrm %%PYTHON_SITELIBDIR%%/OpenSSL +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SecureXMLRPCServer.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/certgen.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mk_simple_certs.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/proxy.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/README +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/client.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple/server.py +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/simple +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% --- py-openssl-0.8.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811192036.mAJKaM9S092765>