head 1.7; access; symbols pkgsrc-2023Q4:1.7.0.16 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.14 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.12 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.10 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.8 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.6 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.4 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.2 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.6.0.10 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.8 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.6 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.4 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.2 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.5.0.28 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.24 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.4 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.26 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.22 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.20 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.18 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.16 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.14 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.12 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.10 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.8 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.6 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.2 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.4.0.8 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.6 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.4 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.2 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.1.0.4 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.2 pkgsrc-2015Q3-base:1.1; locks; strict; comment @# @; 1.7 date 2022.01.04.20.54.28; author wiz; state Exp; branches; next 1.6; commitid CYyhdK9qtoffkmnD; 1.6 date 2020.10.03.18.09.10; author adam; state Exp; branches; next 1.5; commitid W01x4PaIlBia9uqC; 1.5 date 2017.04.14.13.08.15; author leot; state Exp; branches; next 1.4; commitid riPzK6Dlqy0XevNz; 1.4 date 2016.06.01.12.34.16; author wiz; state Exp; branches; next 1.3; commitid XKzhRXqEJG08fL8z; 1.3 date 2016.02.16.13.43.09; author leot; state Exp; branches; next 1.2; commitid 5D8ofuGRFDGB19Vy; 1.2 date 2015.12.30.14.59.02; author leot; state Exp; branches; next 1.1; commitid Hq9Gnh0BR4gCZYOy; 1.1 date 2015.08.23.14.06.11; author leot; state Exp; branches; next ; commitid ujmETm55mK04Qoyy; desc @@ 1.7 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @# $NetBSD: Makefile,v 1.6 2020/10/03 18:09:10 adam Exp $ DISTNAME= hpack-4.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 1 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=h/hpack/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/python-hyper/hpack COMMENT= Pure-Python HPACK header compression LICENSE= mit TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner USE_LANGUAGES= # none PYSETUPTESTTARGET= pytest PYTHON_VERSIONS_INCOMPATIBLE= 27 pre-test: ${MKDIR} ${WRKSRC}/test/test_fixtures/raw-data .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.6 log @py-hpack: updated to 4.0.0 4.0.0: API Changes (Backward-Incompatible) Support for Python 2.7 has been removed. Support for Python 3.4 has been removed. Support for Python 3.5 has been removed. Support for PyPy (Python 2.7 compatible) has been removed. Support for Python 3.8 has been added. Bugfixes Performance improvement of static header search. Use dict search instead of linear search. Fix debug output of headers during encoding. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/04/14 13:08:15 leot Exp $ d5 1 @ 1.5 log @Update net/py-hpack to 3.0.0 Changes: 3.0.0 (2017-03-29) ------------------ **API Changes (Backward Incompatible)** - Removed nghttp2 support. This support had rotted and was essentially non-functional, so it has now been removed until someone has time to re-add the support in a functional form. - Attempts by the encoder to exceed the maximum allowed header table size via dynamic table size updates (or the absence thereof) are now forbidden. **API Changes (Backward Compatible)** - Added a new ``InvalidTableSizeError`` thrown when the encoder does not respect the maximum table size set by the user. - Added a ``Decoder.max_allowed_table_size`` field that sets the maximum allowed size of the decoder header table. See the documentation for an indication of how this should be used. **Bugfixes** - Up to 25% performance improvement decoding HPACK-packed integers, depending on the platform. - HPACK now tolerates receiving multiple header table size changes in sequence, rather than only one. - HPACK now forbids header table size changes anywhere but first in a header block, as required by RFC 7541 ยง 4.2. - Other miscellaneous performance improvements. 2.3.0 (2016-08-04) ------------------ **Security Fixes** - CVE-2016-6581: HPACK Bomb. This release now enforces a maximum value of the decompressed size of the header list. This is to avoid the so-called "HPACK Bomb" vulnerability, which is caused when a malicious peer sends a compressed HPACK body that decompresses to a gigantic header list size. This also adds a ``OversizedHeaderListError``, which is thrown by the ``decode`` method if the maximum header list size is being violated. This places the HPACK decoder into a broken state: it must not be used after this exception is thrown. This also adds a ``max_header_list_size`` to the ``Decoder`` object. This controls the maximum allowable decompressed size of the header list. By default this is set to 64kB. 2.2.0 (2016-04-20) ------------------ **API Changes (Backward Compatible)** - Added ``HeaderTuple`` and ``NeverIndexedHeaderTuple`` classes that signal whether a given header field may ever be indexed in HTTP/2 header compression. - Changed ``Decoder.decode()`` to return the newly added ``HeaderTuple`` class and subclass. These objects behave like two-tuples, so this change does not break working code. **Bugfixes** - Improve Huffman decoding speed by 4x using an approach borrowed from nghttp2. - Improve HPACK decoding speed by 10% by caching header table sizes. 2.1.1 (2016-03-16) ------------------ **Bugfixes** - When passing a dictionary or dictionary subclass to ``Encoder.encode``, HPACK now ensures that HTTP/2 special headers (headers whose names begin with ``:`` characters) appear first in the header block. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/06/01 12:34:16 wiz Exp $ d3 1 a3 1 DISTNAME= hpack-3.0.0 d5 1 a5 1 CATEGORIES= net d9 1 a9 1 HOMEPAGE= http://hyper.rtfd.org/ d13 3 d18 7 @ 1.4 log @Fix MASTER_SITES. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2016/02/16 13:43:09 leot Exp $ d3 1 a3 1 DISTNAME= hpack-2.1.0 @ 1.3 log @Update net/py-hpack to 2.1.0. Changes: 2.1.0 (2016-02-02) ------------------ **API Changes (Backward Compatible)** - Added new ``InvalidTableIndex`` exception, a subclass of ``HPACKDecodingError``. - Instead of throwing ``IndexError`` when encountering invalid encoded integers HPACK now throws ``HPACKDecodingError``. - Instead of throwing ``UnicodeDecodeError`` when encountering headers that are not UTF-8 encoded, HPACK now throws ``HPACKDecodingError``. - Instead of throwing ``IndexError`` when encountering invalid table offsets, HPACK now throws ``InvalidTableIndex``. - Added ``raw`` flag to ``decode``, allowing ``decode`` to return bytes instead of attempting to decode the headers as UTF-8. **Bugfixes** - ``memoryview`` objects are now used when decoding HPACK, improving the performance by avoiding unnecessary data copies. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2015/12/30 14:59:02 leot Exp $ d6 1 a6 1 MASTER_SITES= ${MASTER_SITE_PYPI} @ 1.2 log @Update net/py-hpack to 2.0.1. Changes: 2.0.1 (2015-11-09) ------------------ Fixed a bug where the Python HPACK implementation would only emit header table size changes for the total change between one header block and another, rather than for the entire sequence of changes. 2.0.0 (2015-10-12) ------------------ Remove unused HPACKEncodingError. Add the shortcut ability to import the public API (Encoder, Decoder, HPACKError, HPACKDecodingError) directly, rather than from hpack.hpack. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2015/08/23 14:06:11 leot Exp $ d3 1 a3 1 DISTNAME= hpack-2.0.1 @ 1.1 log @Import net/py-hpack as py-hpack-1.1.0 (needed to update net/mitmproxy). ok bsiegert@@. Pure-Python HTTP/2 header encoding (HPACK) logic for use in Python programs that implement HTTP/2. It also contains a compatibility layer that automatically enables the use of nghttp2 if it's available. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 DISTNAME= hpack-1.1.0 d6 1 a6 1 MASTER_SITES= ${MASTER_SITE_PYPI:=h/hpack/} @