head	1.6;
access;
symbols
	pkgsrc-2026Q2:1.6.0.10
	pkgsrc-2026Q2-base:1.6
	pkgsrc-2026Q1:1.6.0.8
	pkgsrc-2026Q1-base:1.6
	pkgsrc-2025Q4:1.6.0.6
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.6.0.4
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.6.0.2
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.5.0.2
	pkgsrc-2025Q1-base:1.5
	pkgsrc-2024Q4:1.4.0.4
	pkgsrc-2024Q4-base:1.4
	pkgsrc-2024Q3:1.4.0.2
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.3.0.30
	pkgsrc-2024Q2-base:1.3
	pkgsrc-2024Q1:1.3.0.28
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.3.0.26
	pkgsrc-2023Q4-base:1.3
	pkgsrc-2023Q3:1.3.0.24
	pkgsrc-2023Q3-base:1.3
	pkgsrc-2023Q2:1.3.0.22
	pkgsrc-2023Q2-base:1.3
	pkgsrc-2023Q1:1.3.0.20
	pkgsrc-2023Q1-base:1.3
	pkgsrc-2022Q4:1.3.0.18
	pkgsrc-2022Q4-base:1.3
	pkgsrc-2022Q3:1.3.0.16
	pkgsrc-2022Q3-base:1.3
	pkgsrc-2022Q2:1.3.0.14
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.3.0.12
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.3.0.10
	pkgsrc-2021Q4-base:1.3
	pkgsrc-2021Q3:1.3.0.8
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.3.0.6
	pkgsrc-2021Q2-base:1.3
	pkgsrc-2021Q1:1.3.0.4
	pkgsrc-2021Q1-base:1.3
	pkgsrc-2020Q4:1.3.0.2
	pkgsrc-2020Q4-base:1.3
	pkgsrc-2020Q3:1.2.0.28
	pkgsrc-2020Q3-base:1.2
	pkgsrc-2020Q2:1.2.0.24
	pkgsrc-2020Q2-base:1.2
	pkgsrc-2020Q1:1.2.0.4
	pkgsrc-2020Q1-base:1.2
	pkgsrc-2019Q4:1.2.0.26
	pkgsrc-2019Q4-base:1.2
	pkgsrc-2019Q3:1.2.0.22
	pkgsrc-2019Q3-base:1.2
	pkgsrc-2019Q2:1.2.0.20
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.2.0.18
	pkgsrc-2019Q1-base:1.2
	pkgsrc-2018Q4:1.2.0.16
	pkgsrc-2018Q4-base:1.2
	pkgsrc-2018Q3:1.2.0.14
	pkgsrc-2018Q3-base:1.2
	pkgsrc-2018Q2:1.2.0.12
	pkgsrc-2018Q2-base:1.2
	pkgsrc-2018Q1:1.2.0.10
	pkgsrc-2018Q1-base:1.2
	pkgsrc-2017Q4:1.2.0.8
	pkgsrc-2017Q4-base:1.2
	pkgsrc-2017Q3:1.2.0.6
	pkgsrc-2017Q3-base:1.2
	pkgsrc-2017Q2:1.2.0.2
	pkgsrc-2017Q2-base:1.2
	pkgsrc-2017Q1:1.1.0.14
	pkgsrc-2017Q1-base:1.1
	pkgsrc-2016Q4:1.1.0.12
	pkgsrc-2016Q4-base:1.1
	pkgsrc-2016Q3:1.1.0.10
	pkgsrc-2016Q3-base:1.1
	pkgsrc-2016Q2:1.1.0.8
	pkgsrc-2016Q2-base:1.1
	pkgsrc-2016Q1:1.1.0.6
	pkgsrc-2016Q1-base:1.1
	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.6
date	2025.04.13.11.12.52;	author wiz;	state Exp;
branches;
next	1.5;
commitid	H9gsBvDoU8scISQF;

1.5
date	2025.01.23.08.26.23;	author adam;	state Exp;
branches;
next	1.4;
commitid	2S5M9BTRneGrmAGF;

1.4
date	2024.08.10.07.19.21;	author wiz;	state Exp;
branches;
next	1.3;
commitid	yZz7y12PtkhhkflF;

1.3
date	2020.10.03.18.09.10;	author adam;	state Exp;
branches;
next	1.2;
commitid	W01x4PaIlBia9uqC;

1.2
date	2017.04.14.13.08.15;	author leot;	state Exp;
branches;
next	1.1;
commitid	riPzK6Dlqy0XevNz;

1.1
date	2015.08.23.14.06.11;	author leot;	state Exp;
branches;
next	;
commitid	ujmETm55mK04Qoyy;


desc
@@


1.6
log
@py-hpack: fix for setuptools>=78
@
text
@@@comment $NetBSD: PLIST,v 1.5 2025/01/23 08:26:23 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/hpack/__init__.py
${PYSITELIB}/hpack/__init__.pyc
${PYSITELIB}/hpack/__init__.pyo
${PYSITELIB}/hpack/exceptions.py
${PYSITELIB}/hpack/exceptions.pyc
${PYSITELIB}/hpack/exceptions.pyo
${PYSITELIB}/hpack/hpack.py
${PYSITELIB}/hpack/hpack.pyc
${PYSITELIB}/hpack/hpack.pyo
${PYSITELIB}/hpack/huffman.py
${PYSITELIB}/hpack/huffman.pyc
${PYSITELIB}/hpack/huffman.pyo
${PYSITELIB}/hpack/huffman_constants.py
${PYSITELIB}/hpack/huffman_constants.pyc
${PYSITELIB}/hpack/huffman_constants.pyo
${PYSITELIB}/hpack/huffman_table.py
${PYSITELIB}/hpack/huffman_table.pyc
${PYSITELIB}/hpack/huffman_table.pyo
${PYSITELIB}/hpack/py.typed
${PYSITELIB}/hpack/struct.py
${PYSITELIB}/hpack/struct.pyc
${PYSITELIB}/hpack/struct.pyo
${PYSITELIB}/hpack/table.py
${PYSITELIB}/hpack/table.pyc
${PYSITELIB}/hpack/table.pyo
@


1.5
log
@py-hpack: updated to 4.1.0

4.1.0 (2025-01-22)

**API Changes (Backward Incompatible)**

- Support for Python 3.6 has been removed.
- Support for Python 3.7 has been removed.
- Support for Python 3.8 has been removed.
- Renamed `InvalidTableIndex` exception to `InvalidTableIndexError`.

**API Changes (Backward Compatible)**

- Support for Python 3.9 has been added.
- Support for Python 3.10 has been added.
- Support for Python 3.11 has been added.
- Support for Python 3.12 has been added.
- Support for Python 3.13 has been added.
- Optimized bytes encoding of headers.
- Updated packaging and testing infrastructure.
- Code cleanup and linting.
- Added type hints.
@
text
@d1 1
a1 2
@@comment $NetBSD: PLIST,v 1.4 2024/08/10 07:19:21 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
d5 1
@


1.4
log
@py-hpack: convert to wheel.mk

Remove unused test dependency.

Bump PKGREVISION.
@
text
@d1 1
a1 1
@@comment $NetBSD$
d25 1
@


1.3
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 6
a6 5
@@comment $NetBSD: PLIST,v 1.2 2017/04/14 13:08:15 leot Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
@


1.2
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
@@comment $NetBSD$
a8 3
${PYSITELIB}/hpack/compat.py
${PYSITELIB}/hpack/compat.pyc
${PYSITELIB}/hpack/compat.pyo
@


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
@a17 3
${PYSITELIB}/hpack/hpack_compat.py
${PYSITELIB}/hpack/hpack_compat.pyc
${PYSITELIB}/hpack/hpack_compat.pyo
d24 6
@

