pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/py-tlslite
Module Name: pkgsrc
Committed By: schmonz
Date: Sun Jan 1 21:50:31 UTC 2017
Modified Files:
pkgsrc/security/py-tlslite: Makefile PLIST distinfo
Added Files:
pkgsrc/security/py-tlslite/patches: patch-setup.py
patch-tests_httpsserver.sh patch-tests_tlstest.py
Log Message:
Update to 0.4.8. From the changelog:
0.4.8 - 11/12/2014
- Added more acknowledgements and security considerations
0.4.7 - 11/12/2014
- Added TLS 1.2 support (Yngve Pettersen and Paul Sokolovsky)
- Don't offer SSLv3 by default (e.g. POODLE)
- Fixed bug with PyCrypto_RSA integration
- Fixed harmless bug that added non-prime into sieves list
- Added "make test" and "make test-dev" targets (Hubert Kario)
0.4.5 - 3/20/2013
- **API CHANGE**: TLSClosedConnectionError instead of ValueError when writing
to a closed connection. This inherits from socket.error, so should
interact better with SocketServer (see http://bugs.python.org/issue14574)
and other things expecting a socket.error in this situation.
- Added support for RC4-MD5 ciphersuite (if enabled in settings)
- This is allegedly necessary to connect to some Internet servers.
- Added TLSConnection.unread() function
- Switched to New-style classes (inherit from 'object')
- Minor cleanups
0.4.4 - 2/25/2013
- Added Python 3 support (Martin von Loewis)
- Added NPN client support (Marcelo Fernandez)
- Switched to RC4 as preferred cipher
- faster in Python, avoids "Lucky 13" timing attacks
- Fixed bug when specifying ciphers for anon ciphersuites
- Made RSA hashAndVerify() tolerant of sigs w/o encoded NULL AlgorithmParam
- (this function is not used for TLS currently, and this tolerance may
not even be necessary)
0.4.3 - 9/27/2012
- Minor bugfix (0.4.2 doesn't load tackpy)
0.4.2 - 9/25/2012
- Updated TACK (compatible with tackpy 0.9.9)
0.4.1 - 5/22/2012
- Fixed RSA padding bugs (w/help from John Randolph)
- Updated TACK (compatible with tackpy 0.9.7)
- Added SNI
- Added NPN server support (Sam Rushing/Google)
- Added AnonDH (Dimitris Moraitis)
- Added X509CertChain.parsePemList
- Improved XML-RPC (Kees Bos)
0.4.0 - 2/11/2012
- Fixed pycrypto support
- Fixed python 2.6 problems
0.3.9.x - 2/7/2012
Much code cleanup, in particular decomposing the handshake functions so they
are readable. The main new feature is support for TACK, an experimental
authentication method that provides a new way to pin server certificates (See
https://github.com/moxie0/Convergence/wiki/TACK ).
Also:
- Security Fixes
- Sends SCSV ciphersuite as per RFC 5746, to signal non-renegotiated
Client Hello. Does not support renegotiation (never has).
- Change from e=3 to e=65537 for generated RSA keys, not strictly
necessary but mitigates risk of sloppy verifier.
- 1/(n-1) countermeasure for BEAST.
- Behavior changes:
- Split cmdline into tls.py and tlstest.py, improved options.
- Formalized LICENSE.
- Defaults to closing socket after sending close_notify, fixes hanging.
problem that would occur sometime when waiting for other party's
close_notify.
- Update SRP to RFC 5054 compliance.
- Removed client handshake "callbacks", no longer support the SRP
re-handshake idiom within a single handshake function.
- Bugfixes
- Added hashlib support, removes Deprecation Warning due to sha and md5.
- Handled GeneratorExit exceptions that are a new Python feature, and
interfere with the async code if not handled.
- Removed:
- Shared keys (it was based on an ancient I-D, not TLS-PSK).
- cryptlib support, it wasn't used much, we have enough other options.
- cryptoIDs (TACK is better).
- win32prng extension module, as os.urandom is now available.
- Twisted integration (unused?, slowed down loading).
- Jython code (ancient, didn't work).
- Compat support for python versions < 2.7.
- Additions
- Support for TACK via TACKpy.
- Support for CertificateRequest.certificate_authorities ("reqCAs")
- Added TLSConnection.shutdown() to better mimic socket.
- Enabled Session resumption for XMLRPCTransport.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/security/py-tlslite/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/py-tlslite/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/py-tlslite/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-tlslite/patches/patch-setup.py \
pkgsrc/security/py-tlslite/patches/patch-tests_httpsserver.sh \
pkgsrc/security/py-tlslite/patches/patch-tests_tlstest.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/security/py-tlslite/Makefile
diff -u pkgsrc/security/py-tlslite/Makefile:1.12 pkgsrc/security/py-tlslite/Makefile:1.13
--- pkgsrc/security/py-tlslite/Makefile:1.12 Sun Jan 1 14:43:56 2017
+++ pkgsrc/security/py-tlslite/Makefile Sun Jan 1 21:50:30 2017
@@ -1,20 +1,32 @@
-# $NetBSD: Makefile,v 1.12 2017/01/01 14:43:56 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2017/01/01 21:50:30 schmonz Exp $
-DISTNAME= tlslite-0.3.8
+DISTNAME= tlslite-0.4.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= security python
-MASTER_SITES= ${HOMEPAGE}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=trevp/}
+
+GITHUB_PROJECT= tlslite
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= schmonz%NetBSD.org@localhost
HOMEPAGE= http://trevp.net/tlslite/
COMMENT= SSL 3.0, TLS 1.0, and TLS 1.1 in Python
LICENSE= public-domain
-PYTHON_SELF_CONFLICT= yes
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 0.3.8
-
USE_LANGUAGES= # none
+post-extract:
+ mv ${WRKSRC}/scripts/tls.py ${WRKSRC}/scripts/tls${PYVERSSUFFIX}.py
+ mv ${WRKSRC}/scripts/tlsdb.py ${WRKSRC}/scripts/tlsdb${PYVERSSUFFIX}.py
+
+REPLACE_PYTHON= setup.py tests/httpsclient.py tests/tlstest.py
+
+SUBST_CLASSES+= pyclash
+SUBST_STAGE.pyclash= do-configure
+SUBST_FILES.pyclash= setup.py tests/tlstest.py tests/httpsserver.sh
+SUBST_SED.pyclash= -e 's|@PYTHONBIN@|${PYTHONBIN}|g'
+SUBST_SED.pyclash+= -e 's|@PYVERSSUFFIX@|${PYVERSSUFFIX}|g'
+
.include "../../lang/python/distutils.mk"
+.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/py-tlslite/PLIST
diff -u pkgsrc/security/py-tlslite/PLIST:1.4 pkgsrc/security/py-tlslite/PLIST:1.5
--- pkgsrc/security/py-tlslite/PLIST:1.4 Sun Apr 8 20:21:55 2012
+++ pkgsrc/security/py-tlslite/PLIST Sun Jan 1 21:50:30 2017
@@ -1,184 +1,163 @@
-@comment $NetBSD: PLIST,v 1.4 2012/04/08 20:21:55 wiz Exp $
-bin/tls.py
-bin/tlsdb.py
+@comment $NetBSD: PLIST,v 1.5 2017/01/01 21:50:30 schmonz Exp $
+bin/tls${PYVERSSUFFIX}.py
+bin/tlsdb${PYVERSSUFFIX}.py
${PYSITELIB}/${EGG_FILE}
-${PYSITELIB}/tlslite/BaseDB.py
-${PYSITELIB}/tlslite/BaseDB.pyc
-${PYSITELIB}/tlslite/BaseDB.pyo
-${PYSITELIB}/tlslite/Checker.py
-${PYSITELIB}/tlslite/Checker.pyc
-${PYSITELIB}/tlslite/Checker.pyo
-${PYSITELIB}/tlslite/FileObject.py
-${PYSITELIB}/tlslite/FileObject.pyc
-${PYSITELIB}/tlslite/FileObject.pyo
-${PYSITELIB}/tlslite/HandshakeSettings.py
-${PYSITELIB}/tlslite/HandshakeSettings.pyc
-${PYSITELIB}/tlslite/HandshakeSettings.pyo
-${PYSITELIB}/tlslite/Session.py
-${PYSITELIB}/tlslite/Session.pyc
-${PYSITELIB}/tlslite/Session.pyo
-${PYSITELIB}/tlslite/SessionCache.py
-${PYSITELIB}/tlslite/SessionCache.pyc
-${PYSITELIB}/tlslite/SessionCache.pyo
-${PYSITELIB}/tlslite/SharedKeyDB.py
-${PYSITELIB}/tlslite/SharedKeyDB.pyc
-${PYSITELIB}/tlslite/SharedKeyDB.pyo
-${PYSITELIB}/tlslite/TLSConnection.py
-${PYSITELIB}/tlslite/TLSConnection.pyc
-${PYSITELIB}/tlslite/TLSConnection.pyo
-${PYSITELIB}/tlslite/TLSRecordLayer.py
-${PYSITELIB}/tlslite/TLSRecordLayer.pyc
-${PYSITELIB}/tlslite/TLSRecordLayer.pyo
-${PYSITELIB}/tlslite/VerifierDB.py
-${PYSITELIB}/tlslite/VerifierDB.pyc
-${PYSITELIB}/tlslite/VerifierDB.pyo
-${PYSITELIB}/tlslite/X509.py
-${PYSITELIB}/tlslite/X509.pyc
-${PYSITELIB}/tlslite/X509.pyo
-${PYSITELIB}/tlslite/X509CertChain.py
-${PYSITELIB}/tlslite/X509CertChain.pyc
-${PYSITELIB}/tlslite/X509CertChain.pyo
${PYSITELIB}/tlslite/__init__.py
-${PYSITELIB}/tlslite/__init__.pyc
${PYSITELIB}/tlslite/__init__.pyo
-${PYSITELIB}/tlslite/api.py
-${PYSITELIB}/tlslite/api.pyc
+${PYSITELIB}/tlslite/__init__.pyc
${PYSITELIB}/tlslite/api.pyo
-${PYSITELIB}/tlslite/constants.py
-${PYSITELIB}/tlslite/constants.pyc
+${PYSITELIB}/tlslite/api.pyc
+${PYSITELIB}/tlslite/basedb.pyo
+${PYSITELIB}/tlslite/basedb.pyc
+${PYSITELIB}/tlslite/checker.pyo
+${PYSITELIB}/tlslite/checker.pyc
${PYSITELIB}/tlslite/constants.pyo
-${PYSITELIB}/tlslite/errors.py
-${PYSITELIB}/tlslite/errors.pyc
+${PYSITELIB}/tlslite/constants.pyc
${PYSITELIB}/tlslite/errors.pyo
-${PYSITELIB}/tlslite/integration/AsyncStateMachine.py
-${PYSITELIB}/tlslite/integration/AsyncStateMachine.pyc
-${PYSITELIB}/tlslite/integration/AsyncStateMachine.pyo
-${PYSITELIB}/tlslite/integration/ClientHelper.py
-${PYSITELIB}/tlslite/integration/ClientHelper.pyc
-${PYSITELIB}/tlslite/integration/ClientHelper.pyo
-${PYSITELIB}/tlslite/integration/HTTPTLSConnection.py
-${PYSITELIB}/tlslite/integration/HTTPTLSConnection.pyc
-${PYSITELIB}/tlslite/integration/HTTPTLSConnection.pyo
-${PYSITELIB}/tlslite/integration/IMAP4_TLS.py
-${PYSITELIB}/tlslite/integration/IMAP4_TLS.pyc
-${PYSITELIB}/tlslite/integration/IMAP4_TLS.pyo
-${PYSITELIB}/tlslite/integration/IntegrationHelper.py
-${PYSITELIB}/tlslite/integration/IntegrationHelper.pyc
-${PYSITELIB}/tlslite/integration/IntegrationHelper.pyo
-${PYSITELIB}/tlslite/integration/POP3_TLS.py
-${PYSITELIB}/tlslite/integration/POP3_TLS.pyc
-${PYSITELIB}/tlslite/integration/POP3_TLS.pyo
-${PYSITELIB}/tlslite/integration/SMTP_TLS.py
-${PYSITELIB}/tlslite/integration/SMTP_TLS.pyc
-${PYSITELIB}/tlslite/integration/SMTP_TLS.pyo
-${PYSITELIB}/tlslite/integration/TLSAsyncDispatcherMixIn.py
-${PYSITELIB}/tlslite/integration/TLSAsyncDispatcherMixIn.pyc
-${PYSITELIB}/tlslite/integration/TLSAsyncDispatcherMixIn.pyo
-${PYSITELIB}/tlslite/integration/TLSSocketServerMixIn.py
-${PYSITELIB}/tlslite/integration/TLSSocketServerMixIn.pyc
-${PYSITELIB}/tlslite/integration/TLSSocketServerMixIn.pyo
-${PYSITELIB}/tlslite/integration/TLSTwistedProtocolWrapper.py
-${PYSITELIB}/tlslite/integration/TLSTwistedProtocolWrapper.pyc
-${PYSITELIB}/tlslite/integration/TLSTwistedProtocolWrapper.pyo
-${PYSITELIB}/tlslite/integration/XMLRPCTransport.py
-${PYSITELIB}/tlslite/integration/XMLRPCTransport.pyc
-${PYSITELIB}/tlslite/integration/XMLRPCTransport.pyo
+${PYSITELIB}/tlslite/errors.pyc
+${PYSITELIB}/tlslite/handshakesettings.pyo
+${PYSITELIB}/tlslite/handshakesettings.pyc
+${PYSITELIB}/tlslite/mathtls.pyo
+${PYSITELIB}/tlslite/mathtls.pyc
+${PYSITELIB}/tlslite/messages.pyo
+${PYSITELIB}/tlslite/messages.pyc
+${PYSITELIB}/tlslite/session.pyo
+${PYSITELIB}/tlslite/session.pyc
+${PYSITELIB}/tlslite/sessioncache.pyo
+${PYSITELIB}/tlslite/sessioncache.pyc
+${PYSITELIB}/tlslite/tlsconnection.pyo
+${PYSITELIB}/tlslite/tlsconnection.pyc
+${PYSITELIB}/tlslite/tlsrecordlayer.pyo
+${PYSITELIB}/tlslite/tlsrecordlayer.pyc
+${PYSITELIB}/tlslite/verifierdb.pyo
+${PYSITELIB}/tlslite/verifierdb.pyc
+${PYSITELIB}/tlslite/x509.pyo
+${PYSITELIB}/tlslite/x509.pyc
+${PYSITELIB}/tlslite/x509certchain.pyo
+${PYSITELIB}/tlslite/x509certchain.pyc
+${PYSITELIB}/tlslite/api.py
+${PYSITELIB}/tlslite/basedb.py
+${PYSITELIB}/tlslite/checker.py
+${PYSITELIB}/tlslite/constants.py
+${PYSITELIB}/tlslite/errors.py
+${PYSITELIB}/tlslite/handshakesettings.py
${PYSITELIB}/tlslite/integration/__init__.py
-${PYSITELIB}/tlslite/integration/__init__.pyc
${PYSITELIB}/tlslite/integration/__init__.pyo
+${PYSITELIB}/tlslite/integration/__init__.pyc
+${PYSITELIB}/tlslite/integration/asyncstatemachine.pyo
+${PYSITELIB}/tlslite/integration/asyncstatemachine.pyc
+${PYSITELIB}/tlslite/integration/clienthelper.pyo
+${PYSITELIB}/tlslite/integration/clienthelper.pyc
+${PYSITELIB}/tlslite/integration/httptlsconnection.pyo
+${PYSITELIB}/tlslite/integration/httptlsconnection.pyc
+${PYSITELIB}/tlslite/integration/imap4_tls.pyo
+${PYSITELIB}/tlslite/integration/imap4_tls.pyc
+${PYSITELIB}/tlslite/integration/pop3_tls.pyo
+${PYSITELIB}/tlslite/integration/pop3_tls.pyc
+${PYSITELIB}/tlslite/integration/smtp_tls.pyo
+${PYSITELIB}/tlslite/integration/smtp_tls.pyc
+${PYSITELIB}/tlslite/integration/tlsasyncdispatchermixin.pyo
+${PYSITELIB}/tlslite/integration/tlsasyncdispatchermixin.pyc
+${PYSITELIB}/tlslite/integration/tlssocketservermixin.pyo
+${PYSITELIB}/tlslite/integration/tlssocketservermixin.pyc
+${PYSITELIB}/tlslite/integration/xmlrpcserver.pyo
+${PYSITELIB}/tlslite/integration/xmlrpcserver.pyc
+${PYSITELIB}/tlslite/integration/xmlrpctransport.pyo
+${PYSITELIB}/tlslite/integration/xmlrpctransport.pyc
+${PYSITELIB}/tlslite/integration/asyncstatemachine.py
+${PYSITELIB}/tlslite/integration/clienthelper.py
+${PYSITELIB}/tlslite/integration/httptlsconnection.py
+${PYSITELIB}/tlslite/integration/imap4_tls.py
+${PYSITELIB}/tlslite/integration/pop3_tls.py
+${PYSITELIB}/tlslite/integration/smtp_tls.py
+${PYSITELIB}/tlslite/integration/tlsasyncdispatchermixin.py
+${PYSITELIB}/tlslite/integration/tlssocketservermixin.py
+${PYSITELIB}/tlslite/integration/xmlrpcserver.py
+${PYSITELIB}/tlslite/integration/xmlrpctransport.py
${PYSITELIB}/tlslite/mathtls.py
-${PYSITELIB}/tlslite/mathtls.pyc
-${PYSITELIB}/tlslite/mathtls.pyo
${PYSITELIB}/tlslite/messages.py
-${PYSITELIB}/tlslite/messages.pyc
-${PYSITELIB}/tlslite/messages.pyo
-${PYSITELIB}/tlslite/utils/AES.py
-${PYSITELIB}/tlslite/utils/AES.pyc
-${PYSITELIB}/tlslite/utils/AES.pyo
-${PYSITELIB}/tlslite/utils/ASN1Parser.py
-${PYSITELIB}/tlslite/utils/ASN1Parser.pyc
-${PYSITELIB}/tlslite/utils/ASN1Parser.pyo
-${PYSITELIB}/tlslite/utils/Cryptlib_AES.py
-${PYSITELIB}/tlslite/utils/Cryptlib_AES.pyc
-${PYSITELIB}/tlslite/utils/Cryptlib_AES.pyo
-${PYSITELIB}/tlslite/utils/Cryptlib_RC4.py
-${PYSITELIB}/tlslite/utils/Cryptlib_RC4.pyc
-${PYSITELIB}/tlslite/utils/Cryptlib_RC4.pyo
-${PYSITELIB}/tlslite/utils/Cryptlib_TripleDES.py
-${PYSITELIB}/tlslite/utils/Cryptlib_TripleDES.pyc
-${PYSITELIB}/tlslite/utils/Cryptlib_TripleDES.pyo
-${PYSITELIB}/tlslite/utils/OpenSSL_AES.py
-${PYSITELIB}/tlslite/utils/OpenSSL_AES.pyc
-${PYSITELIB}/tlslite/utils/OpenSSL_AES.pyo
-${PYSITELIB}/tlslite/utils/OpenSSL_RC4.py
-${PYSITELIB}/tlslite/utils/OpenSSL_RC4.pyc
-${PYSITELIB}/tlslite/utils/OpenSSL_RC4.pyo
-${PYSITELIB}/tlslite/utils/OpenSSL_RSAKey.py
-${PYSITELIB}/tlslite/utils/OpenSSL_RSAKey.pyc
-${PYSITELIB}/tlslite/utils/OpenSSL_RSAKey.pyo
-${PYSITELIB}/tlslite/utils/OpenSSL_TripleDES.py
-${PYSITELIB}/tlslite/utils/OpenSSL_TripleDES.pyc
-${PYSITELIB}/tlslite/utils/OpenSSL_TripleDES.pyo
-${PYSITELIB}/tlslite/utils/PyCrypto_AES.py
-${PYSITELIB}/tlslite/utils/PyCrypto_AES.pyc
-${PYSITELIB}/tlslite/utils/PyCrypto_AES.pyo
-${PYSITELIB}/tlslite/utils/PyCrypto_RC4.py
-${PYSITELIB}/tlslite/utils/PyCrypto_RC4.pyc
-${PYSITELIB}/tlslite/utils/PyCrypto_RC4.pyo
-${PYSITELIB}/tlslite/utils/PyCrypto_RSAKey.py
-${PYSITELIB}/tlslite/utils/PyCrypto_RSAKey.pyc
-${PYSITELIB}/tlslite/utils/PyCrypto_RSAKey.pyo
-${PYSITELIB}/tlslite/utils/PyCrypto_TripleDES.py
-${PYSITELIB}/tlslite/utils/PyCrypto_TripleDES.pyc
-${PYSITELIB}/tlslite/utils/PyCrypto_TripleDES.pyo
-${PYSITELIB}/tlslite/utils/Python_AES.py
-${PYSITELIB}/tlslite/utils/Python_AES.pyc
-${PYSITELIB}/tlslite/utils/Python_AES.pyo
-${PYSITELIB}/tlslite/utils/Python_RC4.py
-${PYSITELIB}/tlslite/utils/Python_RC4.pyc
-${PYSITELIB}/tlslite/utils/Python_RC4.pyo
-${PYSITELIB}/tlslite/utils/Python_RSAKey.py
-${PYSITELIB}/tlslite/utils/Python_RSAKey.pyc
-${PYSITELIB}/tlslite/utils/Python_RSAKey.pyo
-${PYSITELIB}/tlslite/utils/RC4.py
-${PYSITELIB}/tlslite/utils/RC4.pyc
-${PYSITELIB}/tlslite/utils/RC4.pyo
-${PYSITELIB}/tlslite/utils/RSAKey.py
-${PYSITELIB}/tlslite/utils/RSAKey.pyc
-${PYSITELIB}/tlslite/utils/RSAKey.pyo
-${PYSITELIB}/tlslite/utils/TripleDES.py
-${PYSITELIB}/tlslite/utils/TripleDES.pyc
-${PYSITELIB}/tlslite/utils/TripleDES.pyo
+${PYSITELIB}/tlslite/session.py
+${PYSITELIB}/tlslite/sessioncache.py
+${PYSITELIB}/tlslite/tlsconnection.py
+${PYSITELIB}/tlslite/tlsrecordlayer.py
${PYSITELIB}/tlslite/utils/__init__.py
-${PYSITELIB}/tlslite/utils/__init__.pyc
${PYSITELIB}/tlslite/utils/__init__.pyo
-${PYSITELIB}/tlslite/utils/cipherfactory.py
-${PYSITELIB}/tlslite/utils/cipherfactory.pyc
+${PYSITELIB}/tlslite/utils/__init__.pyc
+${PYSITELIB}/tlslite/utils/aes.pyo
+${PYSITELIB}/tlslite/utils/aes.pyc
+${PYSITELIB}/tlslite/utils/asn1parser.pyo
+${PYSITELIB}/tlslite/utils/asn1parser.pyc
${PYSITELIB}/tlslite/utils/cipherfactory.pyo
-${PYSITELIB}/tlslite/utils/codec.py
-${PYSITELIB}/tlslite/utils/codec.pyc
+${PYSITELIB}/tlslite/utils/cipherfactory.pyc
${PYSITELIB}/tlslite/utils/codec.pyo
-${PYSITELIB}/tlslite/utils/compat.py
-${PYSITELIB}/tlslite/utils/compat.pyc
+${PYSITELIB}/tlslite/utils/codec.pyc
${PYSITELIB}/tlslite/utils/compat.pyo
-${PYSITELIB}/tlslite/utils/cryptomath.py
-${PYSITELIB}/tlslite/utils/cryptomath.pyc
+${PYSITELIB}/tlslite/utils/compat.pyc
${PYSITELIB}/tlslite/utils/cryptomath.pyo
-${PYSITELIB}/tlslite/utils/dateFuncs.py
-${PYSITELIB}/tlslite/utils/dateFuncs.pyc
-${PYSITELIB}/tlslite/utils/dateFuncs.pyo
-${PYSITELIB}/tlslite/utils/hmac.py
-${PYSITELIB}/tlslite/utils/hmac.pyc
-${PYSITELIB}/tlslite/utils/hmac.pyo
-${PYSITELIB}/tlslite/utils/jython_compat.py
-${PYSITELIB}/tlslite/utils/jython_compat.pyc
-${PYSITELIB}/tlslite/utils/jython_compat.pyo
-${PYSITELIB}/tlslite/utils/keyfactory.py
-${PYSITELIB}/tlslite/utils/keyfactory.pyc
+${PYSITELIB}/tlslite/utils/cryptomath.pyc
+${PYSITELIB}/tlslite/utils/datefuncs.pyo
+${PYSITELIB}/tlslite/utils/datefuncs.pyc
${PYSITELIB}/tlslite/utils/keyfactory.pyo
-${PYSITELIB}/tlslite/utils/rijndael.py
-${PYSITELIB}/tlslite/utils/rijndael.pyc
+${PYSITELIB}/tlslite/utils/keyfactory.pyc
+${PYSITELIB}/tlslite/utils/openssl_aes.pyo
+${PYSITELIB}/tlslite/utils/openssl_aes.pyc
+${PYSITELIB}/tlslite/utils/openssl_rc4.pyo
+${PYSITELIB}/tlslite/utils/openssl_rc4.pyc
+${PYSITELIB}/tlslite/utils/openssl_rsakey.pyo
+${PYSITELIB}/tlslite/utils/openssl_rsakey.pyc
+${PYSITELIB}/tlslite/utils/openssl_tripledes.pyo
+${PYSITELIB}/tlslite/utils/openssl_tripledes.pyc
+${PYSITELIB}/tlslite/utils/pem.pyo
+${PYSITELIB}/tlslite/utils/pem.pyc
+${PYSITELIB}/tlslite/utils/pycrypto_aes.pyo
+${PYSITELIB}/tlslite/utils/pycrypto_aes.pyc
+${PYSITELIB}/tlslite/utils/pycrypto_rc4.pyo
+${PYSITELIB}/tlslite/utils/pycrypto_rc4.pyc
+${PYSITELIB}/tlslite/utils/pycrypto_rsakey.pyo
+${PYSITELIB}/tlslite/utils/pycrypto_rsakey.pyc
+${PYSITELIB}/tlslite/utils/pycrypto_tripledes.pyo
+${PYSITELIB}/tlslite/utils/pycrypto_tripledes.pyc
+${PYSITELIB}/tlslite/utils/python_aes.pyo
+${PYSITELIB}/tlslite/utils/python_aes.pyc
+${PYSITELIB}/tlslite/utils/python_rc4.pyo
+${PYSITELIB}/tlslite/utils/python_rc4.pyc
+${PYSITELIB}/tlslite/utils/python_rsakey.pyo
+${PYSITELIB}/tlslite/utils/python_rsakey.pyc
+${PYSITELIB}/tlslite/utils/rc4.pyo
+${PYSITELIB}/tlslite/utils/rc4.pyc
${PYSITELIB}/tlslite/utils/rijndael.pyo
-${PYSITELIB}/tlslite/utils/xmltools.py
-${PYSITELIB}/tlslite/utils/xmltools.pyc
-${PYSITELIB}/tlslite/utils/xmltools.pyo
+${PYSITELIB}/tlslite/utils/rijndael.pyc
+${PYSITELIB}/tlslite/utils/rsakey.pyo
+${PYSITELIB}/tlslite/utils/rsakey.pyc
+${PYSITELIB}/tlslite/utils/tackwrapper.pyo
+${PYSITELIB}/tlslite/utils/tackwrapper.pyc
+${PYSITELIB}/tlslite/utils/tripledes.pyo
+${PYSITELIB}/tlslite/utils/tripledes.pyc
+${PYSITELIB}/tlslite/utils/aes.py
+${PYSITELIB}/tlslite/utils/asn1parser.py
+${PYSITELIB}/tlslite/utils/cipherfactory.py
+${PYSITELIB}/tlslite/utils/codec.py
+${PYSITELIB}/tlslite/utils/compat.py
+${PYSITELIB}/tlslite/utils/cryptomath.py
+${PYSITELIB}/tlslite/utils/datefuncs.py
+${PYSITELIB}/tlslite/utils/keyfactory.py
+${PYSITELIB}/tlslite/utils/openssl_aes.py
+${PYSITELIB}/tlslite/utils/openssl_rc4.py
+${PYSITELIB}/tlslite/utils/openssl_rsakey.py
+${PYSITELIB}/tlslite/utils/openssl_tripledes.py
+${PYSITELIB}/tlslite/utils/pem.py
+${PYSITELIB}/tlslite/utils/pycrypto_aes.py
+${PYSITELIB}/tlslite/utils/pycrypto_rc4.py
+${PYSITELIB}/tlslite/utils/pycrypto_rsakey.py
+${PYSITELIB}/tlslite/utils/pycrypto_tripledes.py
+${PYSITELIB}/tlslite/utils/python_aes.py
+${PYSITELIB}/tlslite/utils/python_rc4.py
+${PYSITELIB}/tlslite/utils/python_rsakey.py
+${PYSITELIB}/tlslite/utils/rc4.py
+${PYSITELIB}/tlslite/utils/rijndael.py
+${PYSITELIB}/tlslite/utils/rsakey.py
+${PYSITELIB}/tlslite/utils/tackwrapper.py
+${PYSITELIB}/tlslite/utils/tripledes.py
+${PYSITELIB}/tlslite/verifierdb.py
+${PYSITELIB}/tlslite/x509.py
+${PYSITELIB}/tlslite/x509certchain.py
Index: pkgsrc/security/py-tlslite/distinfo
diff -u pkgsrc/security/py-tlslite/distinfo:1.2 pkgsrc/security/py-tlslite/distinfo:1.3
--- pkgsrc/security/py-tlslite/distinfo:1.2 Wed Nov 4 01:18:05 2015
+++ pkgsrc/security/py-tlslite/distinfo Sun Jan 1 21:50:30 2017
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.2 2015/11/04 01:18:05 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/01/01 21:50:30 schmonz Exp $
-SHA1 (tlslite-0.3.8.tar.gz) = 56e1a5af611a17e3a59d797922bbf0e9cb13d321
-RMD160 (tlslite-0.3.8.tar.gz) = 18d1ebcf5891aff97ed1c96af65c54136b0f211b
-SHA512 (tlslite-0.3.8.tar.gz) = 6c85242c2e8281db400f90ef792d204b6d297d4483d8553170c9cfe62d89c47a23c6b7f71e4a3720b5a06f1624a9ce408dbaab1478c918c74d5e5f41a2c1c0d6
-Size (tlslite-0.3.8.tar.gz) = 637558 bytes
+SHA1 (tlslite-0.4.8.tar.gz) = b20f2a35fe0510a8ee9d1fed2bc1ed6a03a8baba
+RMD160 (tlslite-0.4.8.tar.gz) = 8d470941fe4cabd714b12c76a681d19450c3be1d
+SHA512 (tlslite-0.4.8.tar.gz) = 03cf5d661f6eff3cd2810146387ce4cc80b45f244129afd0a2c69c4df3428d4a98ce31c4238621e74ca10d07eca3f992c2e5d73441f7a97aa2043f4ca51082a9
+Size (tlslite-0.4.8.tar.gz) = 93256 bytes
+SHA1 (patch-setup.py) = fdb3ce8d0ce0bbee4e10ef76e768d83d3a180189
+SHA1 (patch-tests_httpsserver.sh) = 65f583fa3bbac36cccd5239142219e9551d87549
+SHA1 (patch-tests_tlstest.py) = abd577315a1f690fb280b9ed58f0e73e6ebbdf4d
Added files:
Index: pkgsrc/security/py-tlslite/patches/patch-setup.py
diff -u /dev/null pkgsrc/security/py-tlslite/patches/patch-setup.py:1.1
--- /dev/null Sun Jan 1 21:50:31 2017
+++ pkgsrc/security/py-tlslite/patches/patch-setup.py Sun Jan 1 21:50:31 2017
@@ -0,0 +1,13 @@
+$NetBSD: patch-setup.py,v 1.1 2017/01/01 21:50:31 schmonz Exp $
+
+Allow installation with multiple Python versions.
+
+--- setup.py.orig 2014-11-13 02:22:47.000000000 +0000
++++ setup.py
+@@ -12,5 +12,5 @@ setup(name="tlslite",
+ url="http://trevp.net/tlslite/",
+ description="tlslite implements SSL and TLS.",
+ license="public domain and BSD",
+- scripts=["scripts/tls.py", "scripts/tlsdb.py"],
++ scripts=["scripts/tls@PYVERSSUFFIX@.py", "scripts/tlsdb@PYVERSSUFFIX@.py"],
+ packages=["tlslite", "tlslite.utils", "tlslite.integration"],)
Index: pkgsrc/security/py-tlslite/patches/patch-tests_httpsserver.sh
diff -u /dev/null pkgsrc/security/py-tlslite/patches/patch-tests_httpsserver.sh:1.1
--- /dev/null Sun Jan 1 21:50:31 2017
+++ pkgsrc/security/py-tlslite/patches/patch-tests_httpsserver.sh Sun Jan 1 21:50:31 2017
@@ -0,0 +1,10 @@
+$NetBSD: patch-tests_httpsserver.sh,v 1.1 2017/01/01 21:50:31 schmonz Exp $
+
+Use the intended Python interpreter.
+
+--- tests/httpsserver.sh.orig 2014-11-13 02:22:47.000000000 +0000
++++ tests/httpsserver.sh
+@@ -1,2 +1,2 @@
+ # /bin/sh
+-python ../scripts/tls.py server -k serverX509Key.pem -c serverX509Cert.pem -t TACK1.pem localhost:4443
++@PYTHONBIN@ ../scripts/tls@PYVERSSUFFIX@.py server -k serverX509Key.pem -c serverX509Cert.pem -t TACK1.pem localhost:4443
Index: pkgsrc/security/py-tlslite/patches/patch-tests_tlstest.py
diff -u /dev/null pkgsrc/security/py-tlslite/patches/patch-tests_tlstest.py:1.1
--- /dev/null Sun Jan 1 21:50:31 2017
+++ pkgsrc/security/py-tlslite/patches/patch-tests_tlstest.py Sun Jan 1 21:50:31 2017
@@ -0,0 +1,15 @@
+$NetBSD: patch-tests_tlstest.py,v 1.1 2017/01/01 21:50:31 schmonz Exp $
+
+Allow installation with multiple Python versions.
+
+--- tests/tlstest.py.orig 2014-11-13 02:22:47.000000000 +0000
++++ tests/tlstest.py
+@@ -51,7 +51,7 @@ def printUsage(s=None):
+ crypto = "Python crypto"
+ if s:
+ print("ERROR: %s" % s)
+- print("""\ntls.py version %s (using %s)
++ print("""\ntls@PYVERSSUFFIX@.py version %s (using %s)
+
+ Commands:
+ server HOST:PORT DIRECTORY
Home |
Main Index |
Thread Index |
Old Index