pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-twisted



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb  6 15:44:58 UTC 2020

Modified Files:
        pkgsrc/net/py-twisted: Makefile Makefile.common PLIST distinfo
        pkgsrc/net/py-twisted/patches: patch-src_twisted_python___setup.py

Log Message:
py-twisted: updated to 19.10.0

Twisted 19.10.0:

Features
- twisted.trial.successResultOf, twisted.trial.failureResultOf, and
  twisted.trial.assertNoResult accept coroutines as well as Deferreds.

Bugfixes
- Fixed circular import in twisted.trial.reporter, introduced in Twisted 16.0.0.
- The POP3 server implemented by twisted.mail.pop3 now accepts passwords that contain spaces.
- Incoming HTTP/2 connections will now not time out if they persist for longer than one minute.
- The serial extra now requires pywin32 on Windows enabling use of twisted.internet.serialport without specifying the windows_platform extra.

Bugfixes
- twisted.conch.ssh.keys now correctly writes the "iqmp" parameter in serialized RSA private keys as q^-1 mod p rather than p^-1 mod q.

Features
- twisted.web.server.Request will now use twisted.web.server.Site.getContentFile, if it exists, to get a file into which to write request content.  If getContentFile is not provided by the site, it 
will fall back to the previous behavior of using io.BytesIO for small requests and tempfile.TemporaryFile for large ones.

Bugfixes
- twisted.web.client.FileBodyProducer will now stop producing when the Deferred returned by FileBodyProducer.startProducing is cancelled.
- The HTTP/2 server implementation now enforces TCP flow control on control frame messages and times out clients that send invalid data without reading responses.  This closes CVE-2019-9512 (Ping 
Flood), CVE-2019-9514 (Reset Flood), and CVE-2019-9515 (Settings Flood).  Thanks to Jonathan Looney and Piotr Sikora.

Twisted 19.7.0:

Features
- The callable argument to twisted.internet.task.deferLater() is no longer required.
- Twisted's minimum Cryptography requirement is now 2.5.
- twisted.internet.utils.getProcessOutputAndValue now accepts `stdinBytes` to write to the child process's standard input.
- Add new twisted.logger.capturedLogs context manager for capturing observed log events in tests.
- twisted.internet.base.PluggableResolverMixin, which implements the pluggable resolver interfaces for easier re-use in other reactors, has been factored out of ReactorBase.
- The PyPI page for Twisted has been enhanced to include more information and useful links.

Bugfixes
- twisted.internet.endpoints is now importable on Windows when pywin32 is not installed.
- twisted.conch.ssh now generates correct keys when using hmac-sha2-512 with SHA1 based KEX algorithms.
- twisted.internet.iocpreactor.abstract.FileHandle no longer duplicates/looses outgoing data when .write() is called in rapid succession with large payloads
- twisted.application.backoffPolicy will not fail on connection attempts > 1750 with default settings.
- Trial on Python 3 will now properly re-raise ImportErrors that occur during the import of a module, rather than saying the module doesn't exist.
- twisted.internet.process does not fail on import when the process has more than 1024 file descriptors opened.
- Add the stackLevel keyword argument to twisted.logger.STDLibLogObserver._findCaller to fix an incompatibility with Python 3.8.

Improved Documentation
- Fix the incorrect docstring for twisted.python.components.Componentized.addComponent which stated that the function returned a list of interfaces, even though the function doesn't actually do so.

Deprecations and Removals
- twisted.test.proto_helpers has moved to twisted.internet.testing. twisted.test.proto_helpers has been deprecated.
- twisted.protocols.mice, deprecated since Twisted 16.0, has been removed.
- twisted.conch.insults.client and twisted.conch.insults.colors, deprecated since Twisted 10.1, have been removed.
- The __version__ attribute of Twisted submodules that were previously packaged separately, deprecated since Twisted 16.0, has been removed.
- Python 3.4 is no longer supported.
- twisted.python.compat.OrderedDict, an alias for collections.OrderedDict and deprecated since Twisted 15.5, has been removed.

Bugfixes
- t.c.ssh.connection.SSHConnection now fails channels that are in the process of opening when the connection is lost.

Features
- twisted.web.tap, the module that is run by `twist web`, now accepts --display-tracebacks to render tracebacks on uncaught exceptions.

Bugfixes
- twisted.web.http.Request.write after the channel is disconnected will no longer raise AttributeError.
- twisted.web.client.Agent.request() and twisted.web.client.ProxyAgent.request() now produce TypeError when the method argument is not bytes, rather than failing to generate the request.
- twisted.web.http.HTTPChannel no longer raises TypeError internally when receiving a line-folded HTTP header on Python 3.
- All HTTP clients in twisted.web.client now raise a ValueError when called with a method and/or URL that contain invalid characters.  This mitigates CVE-2019-12387.  Thanks to Alex Brasetvik for 
reporting this vulnerability.
- twisted.web.server.Site's instance variable displayTracebacks is now set to False by default.

Improved Documentation
- twisted.web.iweb.IRequest's "prepath" and "postpath" attributes, which have existed for a long time, are now documented.
- The documented type of t.w.iweb.IRequest's "method" and "uri" attributes on Python 3 has been corrected to match the implementation.
- t.w.iweb.IRequest's "args" attribute is now correctly documented to be bytes.
- The API documentation of twisted.web.iweb.IRequest and twisted.web.http.Request has been updated and extended to match the implementation.

Deprecations and Removals
- Passing a path argument to twisted.web.resource.Resource.putChild which is not of type bytes is now deprecated.  In the future, passing a non-bytes argument to putChild will return an error.
- Passing --notracebacks/-n to twisted.web.tap, the module that is run by `twist web`, is now deprecated due to traceback rendering being disabled by default.

Features
- twisted.words.protocols.jabber.xmlstream.TLSInitiatingInitializer and twisted.words.protocols.jabber.client.XMPPClientFactory now take an optional configurationForTLS for customizing certificate 
options for StartTLS.

Bugfixes
- twisted.words.protocols.jabber.xmlstream.TLSInitiatingInitializer now properly verifies the server's certificate against platform CAs and the stream's domain, mitigating CVE-2019-12855.

Bugfixes
- twisted.names.client.Resolver will no longer infinite loop if it cannot bind a UDP port to use for resolving.

Twisted 19.2.0:
This is the final release that will support Python 3.4.

Features
- twisted.internet.ssl.CertificateOptions now uses 32 random bytes instead of an MD5 hash for the ssl session identifier context.
- DeferredLock and DeferredSemaphore can be used as asynchronous context
  managers on Python 3.5+.
- t.i.b.BaseConnector has custom __repr__
- twisted.internet.ssl.optionsForClientTLS now supports validating IP addresses from the certificate subjectAltName
- Twisted's minimum Cryptography requirement is now 2.5.

Bugfixes
- twisted.web.proxy.ReverseProxyResource fixed documentation and example snippet
- twisted.python.failure.Failure.getTracebackObject now returns traceback objects whose frames can be passed into traceback.print_stack for better debugging of where the exception came from.
- twisted.internet.ssl.KeyPair.generate: No longer generate 1024-bit RSA keys by default. Anyone who generated a key with this method using the default value should move to replace it immediately.
- The message of twisted.internet.error.ConnectionAborted is no longer truncated.
- twisted.enterprise.adbapi.ConnectionPool.connect now logs only the dbapiName and not the connection arguments, which may contain credentials
- twisted.python.runtime.Platform.supportsINotify no longer considers the result of isDocker for its own result.

Improved Documentation
- The documentation for the the twisted.internet.interfaces.IConsumer, IProducer, and IPullProducer interfaces is more detailed.
- The errback example in the docstring of twisted.logger.Logger.failure has been corrected.
- The sample code in the "Twisted Web In 60 Seconds" tutorial runs on Python 3.

Features
- twisted.conch.ssh.keys can now read private keys in the new "openssh-key-v1" format, introduced in OpenSSH 6.5 and made the default in OpenSSH 7.8.

Bugfixes
- Conch now uses pyca/cryptography for Diffie-Hellman key generation and agreement.

Features
- twisted.web.client.HostnameCachingHTTPSPolicy was added as a new contextFactory option.  The policy caches a specified number of twisted.internet.interfaces.IOpenSSLClientConnectionCreator 
instances to to avoid the cost of instantiating a connection creator for multiple requests to the same host.

Bugfixes
- twisted.web.http.Request.cookies, twisted.web.http.HTTPChannel.writeHeaders, and twisted.web.http_headers.Headers were all vulnerable to header injection attacks.  They now replace linear 
whitespace ('\r', '\n', and '\r\n') with a single space.  twisted.web.http.Reqeuest.cookies also replaces semicolons (';') with a single space.
- twisted.web.client.Request and twisted.web.client.HTTPClient were both vulnerable to header injection attacks.  They now replace linear whitespace ('\r', '\n', and '\r\n') with a single space.

Features
- twisted.names.dns now has IRecord implementations for the SSHFP and TSIG record types.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 pkgsrc/net/py-twisted/Makefile
cvs rdiff -u -r1.42 -r1.43 pkgsrc/net/py-twisted/Makefile.common
cvs rdiff -u -r1.31 -r1.32 pkgsrc/net/py-twisted/PLIST
cvs rdiff -u -r1.37 -r1.38 pkgsrc/net/py-twisted/distinfo
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/net/py-twisted/patches/patch-src_twisted_python___setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/py-twisted/Makefile
diff -u pkgsrc/net/py-twisted/Makefile:1.41 pkgsrc/net/py-twisted/Makefile:1.42
--- pkgsrc/net/py-twisted/Makefile:1.41 Sun Aug 11 13:22:28 2019
+++ pkgsrc/net/py-twisted/Makefile      Thu Feb  6 15:44:57 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.41 2019/08/11 13:22:28 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2020/02/06 15:44:57 adam Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   1
 COMMENT=       Framework for writing networked applications
 .include "../../net/py-twisted/Makefile.common"
 
@@ -14,20 +13,19 @@ DEPENDS+=   ${PYPKGPREFIX}-incremental>=16
 DEPENDS+=      ${PYPKGPREFIX}-ZopeInterface>=4.4.2:../../devel/py-ZopeInterface
 # TLS
 DEPENDS+=      ${PYPKGPREFIX}-OpenSSL>=16.0.0:../../security/py-OpenSSL
-DEPENDS+=      ${PYPKGPREFIX}-service_identity-[0-9]*:../../security/py-service_identity
+DEPENDS+=      ${PYPKGPREFIX}-service_identity>=18.1.0:../../security/py-service_identity
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.4:../../www/py-idna
 
 REPLACE_PYTHON+=       src/twisted/mail/test/pop3testserver.py
 REPLACE_PYTHON+=       src/twisted/trial/test/scripttest.py
-REPLACE_PYTHON+=       src/twisted/python/test/pullpipe.py
 
-USE_LANGUAGES=         c99
+USE_LANGUAGES= c99
 
 post-install:
+.for bin in cftp ckeygen conch mailmail pyhtmlizer tkconch trial twist twistd
        cd ${DESTDIR}${PREFIX}/bin && \
-       for i in cftp ckeygen conch mailmail pyhtmlizer tkconch trial twist twistd; do \
-               ${MV} $$i $$i-${PYVERSSUFFIX} || ${TRUE}; \
-       done
+       ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE}
+.endfor
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"

Index: pkgsrc/net/py-twisted/Makefile.common
diff -u pkgsrc/net/py-twisted/Makefile.common:1.42 pkgsrc/net/py-twisted/Makefile.common:1.43
--- pkgsrc/net/py-twisted/Makefile.common:1.42  Tue Oct 16 09:44:51 2018
+++ pkgsrc/net/py-twisted/Makefile.common       Thu Feb  6 15:44:57 2020
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.42 2018/10/16 09:44:51 adam Exp $
+# $NetBSD: Makefile.common,v 1.43 2020/02/06 15:44:57 adam Exp $
 #
 # used by net/py-twisted/Makefile
 # used by net/py-twisted-docs/Makefile
 
-DISTNAME=      Twisted-18.9.0
+DISTNAME=      Twisted-19.10.0
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=T/Twisted/}
 EXTRACT_SUFX=  .tar.bz2

Index: pkgsrc/net/py-twisted/PLIST
diff -u pkgsrc/net/py-twisted/PLIST:1.31 pkgsrc/net/py-twisted/PLIST:1.32
--- pkgsrc/net/py-twisted/PLIST:1.31    Tue Oct 16 09:44:51 2018
+++ pkgsrc/net/py-twisted/PLIST Thu Feb  6 15:44:57 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2018/10/16 09:44:51 adam Exp $
+@comment $NetBSD: PLIST,v 1.32 2020/02/06 15:44:57 adam Exp $
 bin/cftp-${PYVERSSUFFIX}
 bin/ckeygen-${PYVERSSUFFIX}
 bin/conch-${PYVERSSUFFIX}
@@ -168,12 +168,6 @@ ${PYSITELIB}/twisted/conch/error.pyo
 ${PYSITELIB}/twisted/conch/insults/__init__.py
 ${PYSITELIB}/twisted/conch/insults/__init__.pyc
 ${PYSITELIB}/twisted/conch/insults/__init__.pyo
-${PYSITELIB}/twisted/conch/insults/client.py
-${PYSITELIB}/twisted/conch/insults/client.pyc
-${PYSITELIB}/twisted/conch/insults/client.pyo
-${PYSITELIB}/twisted/conch/insults/colors.py
-${PYSITELIB}/twisted/conch/insults/colors.pyc
-${PYSITELIB}/twisted/conch/insults/colors.pyo
 ${PYSITELIB}/twisted/conch/insults/helper.py
 ${PYSITELIB}/twisted/conch/insults/helper.pyc
 ${PYSITELIB}/twisted/conch/insults/helper.pyo
@@ -689,6 +683,9 @@ ${PYSITELIB}/twisted/internet/test/test_
 ${PYSITELIB}/twisted/internet/test/test_epollreactor.py
 ${PYSITELIB}/twisted/internet/test/test_epollreactor.pyc
 ${PYSITELIB}/twisted/internet/test/test_epollreactor.pyo
+${PYSITELIB}/twisted/internet/test/test_error.py
+${PYSITELIB}/twisted/internet/test/test_error.pyc
+${PYSITELIB}/twisted/internet/test/test_error.pyo
 ${PYSITELIB}/twisted/internet/test/test_fdset.py
 ${PYSITELIB}/twisted/internet/test/test_fdset.pyc
 ${PYSITELIB}/twisted/internet/test/test_fdset.pyo
@@ -752,6 +749,9 @@ ${PYSITELIB}/twisted/internet/test/test_
 ${PYSITELIB}/twisted/internet/test/test_tcp.py
 ${PYSITELIB}/twisted/internet/test/test_tcp.pyc
 ${PYSITELIB}/twisted/internet/test/test_tcp.pyo
+${PYSITELIB}/twisted/internet/test/test_testing.py
+${PYSITELIB}/twisted/internet/test/test_testing.pyc
+${PYSITELIB}/twisted/internet/test/test_testing.pyo
 ${PYSITELIB}/twisted/internet/test/test_threads.py
 ${PYSITELIB}/twisted/internet/test/test_threads.pyc
 ${PYSITELIB}/twisted/internet/test/test_threads.pyo
@@ -776,6 +776,9 @@ ${PYSITELIB}/twisted/internet/test/test_
 ${PYSITELIB}/twisted/internet/test/test_win32serialport.py
 ${PYSITELIB}/twisted/internet/test/test_win32serialport.pyc
 ${PYSITELIB}/twisted/internet/test/test_win32serialport.pyo
+${PYSITELIB}/twisted/internet/testing.py
+${PYSITELIB}/twisted/internet/testing.pyc
+${PYSITELIB}/twisted/internet/testing.pyo
 ${PYSITELIB}/twisted/internet/threads.py
 ${PYSITELIB}/twisted/internet/threads.pyc
 ${PYSITELIB}/twisted/internet/threads.pyo
@@ -806,6 +809,9 @@ ${PYSITELIB}/twisted/logger/__init__.pyo
 ${PYSITELIB}/twisted/logger/_buffer.py
 ${PYSITELIB}/twisted/logger/_buffer.pyc
 ${PYSITELIB}/twisted/logger/_buffer.pyo
+${PYSITELIB}/twisted/logger/_capture.py
+${PYSITELIB}/twisted/logger/_capture.pyc
+${PYSITELIB}/twisted/logger/_capture.pyo
 ${PYSITELIB}/twisted/logger/_file.py
 ${PYSITELIB}/twisted/logger/_file.pyc
 ${PYSITELIB}/twisted/logger/_file.pyo
@@ -851,6 +857,9 @@ ${PYSITELIB}/twisted/logger/test/__init_
 ${PYSITELIB}/twisted/logger/test/test_buffer.py
 ${PYSITELIB}/twisted/logger/test/test_buffer.pyc
 ${PYSITELIB}/twisted/logger/test/test_buffer.pyo
+${PYSITELIB}/twisted/logger/test/test_capture.py
+${PYSITELIB}/twisted/logger/test/test_capture.pyc
+${PYSITELIB}/twisted/logger/test/test_capture.pyo
 ${PYSITELIB}/twisted/logger/test/test_file.py
 ${PYSITELIB}/twisted/logger/test/test_file.pyc
 ${PYSITELIB}/twisted/logger/test/test_file.pyo
@@ -1320,12 +1329,6 @@ ${PYSITELIB}/twisted/protocols/loopback.
 ${PYSITELIB}/twisted/protocols/memcache.py
 ${PYSITELIB}/twisted/protocols/memcache.pyc
 ${PYSITELIB}/twisted/protocols/memcache.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/protocols/mice/__init__.py
-${PLIST.py2x}${PYSITELIB}/twisted/protocols/mice/__init__.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/protocols/mice/__init__.pyo
-${PLIST.py2x}${PYSITELIB}/twisted/protocols/mice/mouseman.py
-${PLIST.py2x}${PYSITELIB}/twisted/protocols/mice/mouseman.pyc
-${PLIST.py2x}${PYSITELIB}/twisted/protocols/mice/mouseman.pyo
 ${PYSITELIB}/twisted/protocols/pcp.py
 ${PYSITELIB}/twisted/protocols/pcp.pyc
 ${PYSITELIB}/twisted/protocols/pcp.pyo
@@ -1844,6 +1847,7 @@ ${PYSITELIB}/twisted/test/test_cooperato
 ${PYSITELIB}/twisted/test/test_cooperator.pyc
 ${PYSITELIB}/twisted/test/test_cooperator.pyo
 ${PYSITELIB}/twisted/test/test_defer.py
+${PYSITELIB}/twisted/test/test_defer.py.3only
 ${PYSITELIB}/twisted/test/test_defer.pyc
 ${PYSITELIB}/twisted/test/test_defer.pyo
 ${PYSITELIB}/twisted/test/test_defgen.py
@@ -1987,9 +1991,6 @@ ${PYSITELIB}/twisted/test/test_stdio.pyo
 ${PYSITELIB}/twisted/test/test_strerror.py
 ${PYSITELIB}/twisted/test/test_strerror.pyc
 ${PYSITELIB}/twisted/test/test_strerror.pyo
-${PYSITELIB}/twisted/test/test_stringtransport.py
-${PYSITELIB}/twisted/test/test_stringtransport.pyc
-${PYSITELIB}/twisted/test/test_stringtransport.pyo
 ${PYSITELIB}/twisted/test/test_strports.py
 ${PYSITELIB}/twisted/test/test_strports.pyc
 ${PYSITELIB}/twisted/test/test_strports.pyo
@@ -2110,6 +2111,7 @@ ${PYSITELIB}/twisted/trial/runner.pyo
 ${PYSITELIB}/twisted/trial/test/__init__.py
 ${PYSITELIB}/twisted/trial/test/__init__.pyc
 ${PYSITELIB}/twisted/trial/test/__init__.pyo
+${PYSITELIB}/twisted/trial/test/_assertiontests.py.3only
 ${PYSITELIB}/twisted/trial/test/detests.py
 ${PYSITELIB}/twisted/trial/test/detests.pyc
 ${PYSITELIB}/twisted/trial/test/detests.pyo
@@ -2320,6 +2322,9 @@ ${PYSITELIB}/twisted/web/test/__init__.p
 ${PYSITELIB}/twisted/web/test/_util.py
 ${PYSITELIB}/twisted/web/test/_util.pyc
 ${PYSITELIB}/twisted/web/test/_util.pyo
+${PYSITELIB}/twisted/web/test/injectionhelpers.py
+${PYSITELIB}/twisted/web/test/injectionhelpers.pyc
+${PYSITELIB}/twisted/web/test/injectionhelpers.pyo
 ${PYSITELIB}/twisted/web/test/requesthelper.py
 ${PYSITELIB}/twisted/web/test/requesthelper.pyc
 ${PYSITELIB}/twisted/web/test/requesthelper.pyo

Index: pkgsrc/net/py-twisted/distinfo
diff -u pkgsrc/net/py-twisted/distinfo:1.37 pkgsrc/net/py-twisted/distinfo:1.38
--- pkgsrc/net/py-twisted/distinfo:1.37 Tue Oct 16 09:44:51 2018
+++ pkgsrc/net/py-twisted/distinfo      Thu Feb  6 15:44:57 2020
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.37 2018/10/16 09:44:51 adam Exp $
+$NetBSD: distinfo,v 1.38 2020/02/06 15:44:57 adam Exp $
 
-SHA1 (Twisted-18.9.0.tar.bz2) = 9dae1ef0978a4fad8d5143d782580553375adab5
-RMD160 (Twisted-18.9.0.tar.bz2) = 76c506213c00d48c381bf9d74ff917823b0a6227
-SHA512 (Twisted-18.9.0.tar.bz2) = a9878750f46207b8758f5407a0e4332d9e367bd3ed4e18001825982c3ba78c56372934e634f1866805b9b9bc452698ad36396285172b61cf84da0de5efa7cc29
-Size (Twisted-18.9.0.tar.bz2) = 3088398 bytes
-SHA1 (patch-src_twisted_python___setup.py) = 3c1a44f4249d545426d1a63ca09ffbd1761d1a3a
+SHA1 (Twisted-19.10.0.tar.bz2) = 38a7f1b9c63ba0d2db553e2d210af2fd01b3ed21
+RMD160 (Twisted-19.10.0.tar.bz2) = d1c3684e564f13f554f08656ec2a03f725796505
+SHA512 (Twisted-19.10.0.tar.bz2) = de8d7fd0b2081cebeff68b060c8469377011648bc563a94a993d3530fb007ed42c3a54925c9a10c465ee7a3065cc9108ace12d10d358223fab13494becb9ac4b
+Size (Twisted-19.10.0.tar.bz2) = 3118485 bytes
+SHA1 (patch-src_twisted_python___setup.py) = 3094320805707f13c64e0f9b4e2e67b5b26dac37

Index: pkgsrc/net/py-twisted/patches/patch-src_twisted_python___setup.py
diff -u pkgsrc/net/py-twisted/patches/patch-src_twisted_python___setup.py:1.2 pkgsrc/net/py-twisted/patches/patch-src_twisted_python___setup.py:1.3
--- pkgsrc/net/py-twisted/patches/patch-src_twisted_python___setup.py:1.2       Tue Jul 24 15:10:04 2018
+++ pkgsrc/net/py-twisted/patches/patch-src_twisted_python___setup.py   Thu Feb  6 15:44:58 2020
@@ -1,11 +1,11 @@
-$NetBSD: patch-src_twisted_python___setup.py,v 1.2 2018/07/24 15:10:04 adam Exp $
+$NetBSD: patch-src_twisted_python___setup.py,v 1.3 2020/02/06 15:44:58 adam Exp $
 
 Allow building with a c99 compiler on SunOS
 
---- src/twisted/python/_setup.py.orig  2017-09-23 05:51:46.000000000 +0000
+--- src/twisted/python/_setup.py.orig  2019-11-02 16:29:27.000000000 +0000
 +++ src/twisted/python/_setup.py
-@@ -293,8 +293,7 @@ class build_ext_twisted(build_ext.build_
-         # http://stackoverflow.com/questions/1034587).  See the documentation
+@@ -355,8 +355,7 @@ class build_ext_twisted(build_ext.build_
+         # https://stackoverflow.com/questions/1034587).  See the documentation
          # of X/Open CAE in the standards(5) man page of Solaris.
          if sys.platform.startswith('sunos'):
 -            self.define_macros.append(('_XOPEN_SOURCE', 1))



Home | Main Index | Thread Index | Old Index