head	1.33;
access;
symbols
	pkgsrc-2021Q3:1.30.0.4
	pkgsrc-2021Q3-base:1.30
	pkgsrc-2021Q2:1.30.0.2
	pkgsrc-2021Q2-base:1.30
	pkgsrc-2021Q1:1.29.0.2
	pkgsrc-2021Q1-base:1.29
	pkgsrc-2020Q4:1.28.0.6
	pkgsrc-2020Q4-base:1.28
	pkgsrc-2020Q3:1.28.0.4
	pkgsrc-2020Q3-base:1.28
	pkgsrc-2020Q2:1.28.0.2
	pkgsrc-2020Q2-base:1.28
	pkgsrc-2020Q1:1.25.0.2
	pkgsrc-2020Q1-base:1.25
	pkgsrc-2019Q4:1.22.0.6
	pkgsrc-2019Q4-base:1.22
	pkgsrc-2019Q3:1.22.0.2
	pkgsrc-2019Q3-base:1.22
	pkgsrc-2019Q2:1.19.0.6
	pkgsrc-2019Q2-base:1.19
	pkgsrc-2019Q1:1.19.0.4
	pkgsrc-2019Q1-base:1.19
	pkgsrc-2018Q4:1.19.0.2
	pkgsrc-2018Q4-base:1.19
	pkgsrc-2018Q3:1.17.0.2
	pkgsrc-2018Q3-base:1.17
	pkgsrc-2018Q2:1.16.0.2
	pkgsrc-2018Q2-base:1.16
	pkgsrc-2018Q1:1.15.0.2
	pkgsrc-2018Q1-base:1.15
	pkgsrc-2017Q4:1.14.0.6
	pkgsrc-2017Q4-base:1.14
	pkgsrc-2017Q3:1.14.0.4
	pkgsrc-2017Q3-base:1.14
	pkgsrc-2017Q2:1.13.0.2
	pkgsrc-2017Q2-base:1.13
	pkgsrc-2017Q1:1.12.0.2
	pkgsrc-2017Q1-base:1.12
	pkgsrc-2016Q4:1.10.0.2
	pkgsrc-2016Q4-base:1.10
	pkgsrc-2016Q3:1.9.0.2
	pkgsrc-2016Q3-base:1.9
	pkgsrc-2016Q2:1.8.0.4
	pkgsrc-2016Q2-base:1.8
	pkgsrc-2016Q1:1.8.0.2
	pkgsrc-2016Q1-base:1.8
	pkgsrc-2015Q4:1.5.0.2
	pkgsrc-2015Q4-base:1.5
	pkgsrc-2015Q3:1.4.0.2
	pkgsrc-2015Q3-base:1.4
	pkgsrc-2015Q2:1.3.0.2
	pkgsrc-2015Q2-base:1.3
	pkgsrc-2015Q1:1.2.0.10
	pkgsrc-2015Q1-base:1.2
	pkgsrc-2014Q4:1.2.0.8
	pkgsrc-2014Q4-base:1.2
	pkgsrc-2014Q3:1.2.0.6
	pkgsrc-2014Q3-base:1.2
	pkgsrc-2014Q2:1.2.0.4
	pkgsrc-2014Q2-base:1.2
	pkgsrc-2014Q1:1.2.0.2
	pkgsrc-2014Q1-base:1.2
	pkgsrc-2013Q4:1.1.0.4
	pkgsrc-2013Q4-base:1.1
	pkgsrc-2013Q3:1.1.0.2
	pkgsrc-2013Q3-base:1.1;
locks; strict;
comment	@# @;


1.33
date	2021.12.14.00.14.08;	author taca;	state dead;
branches;
next	1.32;
commitid	FEIyiH0os5Ml9ykD;

1.32
date	2021.12.08.16.06.59;	author adam;	state Exp;
branches;
next	1.31;
commitid	2PyWjHx5T8rqARjD;

1.31
date	2021.09.29.19.01.28;	author adam;	state Exp;
branches;
next	1.30;
commitid	WsBUbBM52TSePSaD;

1.30
date	2021.04.21.13.25.31;	author adam;	state Exp;
branches;
next	1.29;
commitid	RAyVO2K5RkoQ8aQC;

1.29
date	2021.03.07.13.31.49;	author taca;	state Exp;
branches;
next	1.28;
commitid	AMDEVFO3QNY5DnKC;

1.28
date	2020.05.27.19.37.44;	author wiz;	state Exp;
branches;
next	1.27;
commitid	anuppwIr6jQDMU9C;

1.27
date	2020.05.22.10.56.46;	author adam;	state Exp;
branches;
next	1.26;
commitid	m1Z0QPvTTTWz3e9C;

1.26
date	2020.05.06.14.05.07;	author adam;	state Exp;
branches;
next	1.25;
commitid	dLR3o37Fk2B5Cb7C;

1.25
date	2020.03.08.16.51.38;	author wiz;	state Exp;
branches;
next	1.24;
commitid	rcNYzTQo8icypCZB;

1.24
date	2020.01.18.21.51.10;	author jperkin;	state Exp;
branches;
next	1.23;
commitid	JW4hJgY8ZdoTFdTB;

1.23
date	2020.01.12.20.20.48;	author ryoon;	state Exp;
branches;
next	1.22;
commitid	5tyaDUwPevcZnrSB;

1.22
date	2019.08.22.12.23.54;	author ryoon;	state Exp;
branches;
next	1.21;
commitid	UuiyQ10Dn9Rtl1AB;

1.21
date	2019.07.20.22.46.56;	author wiz;	state Exp;
branches;
next	1.20;
commitid	dMrQLvIeoazTQPvB;

1.20
date	2019.07.01.04.08.53;	author ryoon;	state Exp;
branches;
next	1.19;
commitid	qsMjwmrvOSh6hitB;

1.19
date	2018.12.15.21.12.24;	author wiz;	state Exp;
branches;
next	1.18;
commitid	MNezDhBeO99pjW3B;

1.18
date	2018.12.13.19.52.26;	author adam;	state Exp;
branches;
next	1.17;
commitid	XjJhLcEnCzYFVF3B;

1.17
date	2018.08.16.18.55.15;	author adam;	state Exp;
branches;
next	1.16;
commitid	myXuojHMA7ifrnOA;

1.16
date	2018.04.29.21.32.08;	author adam;	state Exp;
branches;
next	1.15;
commitid	QKwzJtFzAE0cOnAA;

1.15
date	2018.01.01.21.18.56;	author adam;	state Exp;
branches;
next	1.14;
commitid	VDVceOVT4khVwdlA;

1.14
date	2017.08.24.20.03.42;	author adam;	state Exp;
branches;
next	1.13;
commitid	SAladHuASDqXhv4A;

1.13
date	2017.04.30.01.22.03;	author ryoon;	state Exp;
branches;
next	1.12;
commitid	1A40BlmMDYkiOuPz;

1.12
date	2017.01.31.11.02.45;	author fhajny;	state Exp;
branches;
next	1.11;
commitid	SycdT5mkU2DAS6Ez;

1.11
date	2017.01.01.16.06.39;	author adam;	state Exp;
branches;
next	1.10;
commitid	jkBZ9Kd0NEyexhAz;

1.10
date	2016.10.07.18.26.13;	author adam;	state Exp;
branches;
next	1.9;
commitid	WWBLkSP9Isuv4fpz;

1.9
date	2016.09.11.17.03.29;	author taca;	state Exp;
branches;
next	1.8;
commitid	XDtGRwjQmpsZrTlz;

1.8
date	2016.03.12.08.39.47;	author fhajny;	state Exp;
branches;
next	1.7;
commitid	3I08nXTtOr87ykYy;

1.7
date	2016.03.12.08.38.39;	author fhajny;	state Exp;
branches;
next	1.6;
commitid	vOBWo35vlSIbxkYy;

1.6
date	2016.03.05.11.29.39;	author jperkin;	state Exp;
branches;
next	1.5;
commitid	1LoxeQftu903HrXy;

1.5
date	2015.12.19.14.27.15;	author taca;	state Exp;
branches;
next	1.4;
commitid	DMd0ulpW9fGwazNy;

1.4
date	2015.08.30.08.24.42;	author taca;	state Exp;
branches;
next	1.3;
commitid	MBURbMt3Z0QhJgzy;

1.3
date	2015.04.08.19.57.23;	author fhajny;	state Exp;
branches;
next	1.2;
commitid	bT9dgno9oLeXbPgy;

1.2
date	2014.02.12.23.18.46;	author tron;	state Exp;
branches;
next	1.1;
commitid	dfJj7CwMMWJzNRox;

1.1
date	2013.09.13.08.28.18;	author fhajny;	state Exp;
branches;
next	;
commitid	ihnhZxSQOkpDLf5x;


desc
@@


1.33
log
@www/php-http: remove package

Remove php-http package.  This package is for php56 only and no depending
package to it.
@
text
@# $NetBSD: Makefile,v 1.32 2021/12/08 16:06:59 adam Exp $

MODNAME=		http
PECL_VERSION=		2.6.0
CATEGORIES+=		www

PECL_DISTNAME=		pecl_http-${PECL_VERSION}

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		http://pecl.php.net/package/pecl_http
COMMENT=		PHP extension for extended HTTP support
PKGREVISION=		17
LICENSE=		2-clause-bsd AND isc

CONFLICTS=		php-http-[0-9]*

PHP_VERSIONS_ACCEPTED=	56

USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes

CONFIGURE_ARGS+=	--with-http
CONFIGURE_ARGS+=	--with-http-libcurl-dir=${BUILDLINK_PREFIX.curl}
CONFIGURE_ARGS+=	--with-http-libevent-dir=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+=	--with-http-libidn-dir=${BUILDLINK_PREFIX.libidn}
CONFIGURE_ARGS+=	--with-http-zlib-dir=${BUILDLINK_PREFIX.zlib}

SUBST_CLASSES+=		ini
SUBST_STAGE.ini=	pre-patch
SUBST_MESSAGE.ini=	Redirecting to temporary php.ini file
SUBST_FILES.ini=	config9.m4
SUBST_SED.ini=		-e 's,PHP_EXECUTABLE -m,PHP_EXECUTABLE -c ${WRKDIR} -m,'

post-extract:
	(${ECHO} "[PHP]" ;\
	${ECHO} "extension=propro.so" ; ${ECHO} "extension=raphf.so" \
	) > ${WRKDIR}/php.ini

.include "../../devel/libevent/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/php-raphf/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../www/php-propro/buildlink3.mk"
.include "../../converters/php-iconv/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
@


1.32
log
@revbump for icu and libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2021/09/29 19:01:28 adam Exp $
@


1.31
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2021/04/21 13:25:31 adam Exp $
d12 1
a12 1
PKGREVISION=		16
@


1.30
log
@revbump for boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2021/03/07 13:31:49 taca Exp $
d12 1
a12 1
PKGREVISION=		15
@


1.29
log
@www/php-http: fix build problem

This package require converters/php-iconv.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2020/05/27 19:37:44 wiz Exp $
d12 1
a12 1
PKGREVISION=		14
@


1.28
log
@*: reset MAINTAINER for fhajny on his request
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2020/05/22 10:56:46 adam Exp $
d46 1
@


1.27
log
@revbump after updating security/nettle
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2020/05/06 14:05:07 adam Exp $
d9 1
a9 1
MAINTAINER=		fhajny@@NetBSD.org
@


1.26
log
@revbump after boost update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2020/03/08 16:51:38 wiz Exp $
d12 1
a12 1
PKGREVISION=		13
@


1.25
log
@*: recursive bump for libffi
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2020/01/18 21:51:10 jperkin Exp $
d12 1
a12 1
PKGREVISION=		12
@


1.24
log
@*: Recursive revision bump for openssl 1.1.1.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2020/01/12 20:20:48 ryoon Exp $
d12 1
a12 1
PKGREVISION=		11
@


1.23
log
@*: Recursive revbump from devel/boost-libs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2019/08/22 12:23:54 ryoon Exp $
d12 1
a12 1
PKGREVISION=		10
@


1.22
log
@Recursive revbump from boost-1.71.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2019/07/20 22:46:56 wiz Exp $
d12 1
a12 1
PKGREVISION=		9
@


1.21
log
@*: recursive bump for nettle 3.5.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2019/07/01 04:08:53 ryoon Exp $
d12 1
a12 1
PKGREVISION=		8
@


1.20
log
@Recursive revbump from boost-1.70.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2018/12/15 21:12:24 wiz Exp $
d12 1
a12 1
PKGREVISION=		7
@


1.19
log
@*: update email for fhajny
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2018/12/13 19:52:26 adam Exp $
d12 1
a12 1
PKGREVISION=		6
@


1.18
log
@revbump for boost 1.69.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2018/08/16 18:55:15 adam Exp $
d9 1
a9 1
MAINTAINER=		filip@@joyent.com
@


1.17
log
@revbump after boost-libs update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2018/04/29 21:32:08 adam Exp $
d12 1
a12 1
PKGREVISION=		5
@


1.16
log
@revbump for boost-libs update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2018/01/01 21:18:56 adam Exp $
d12 1
a12 1
PKGREVISION=		4
@


1.15
log
@Revbump after boost update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2017/08/24 20:03:42 adam Exp $
d12 1
a12 1
PKGREVISION=		3
@


1.14
log
@Revbump for boost update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2017/04/30 01:22:03 ryoon Exp $
d12 1
a12 1
PKGREVISION=		2
@


1.13
log
@Recursive revbump from boost update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2017/01/31 11:02:45 fhajny Exp $
d12 1
a12 1
PKGREVISION=		1
@


1.12
log
@Update www/php-http to 2.6.0.

- Added http\Client\Curl\User interface for userland event loops
- Added http\Url::IGNORE_ERRORS, http\Url::SILENT_ERRORS and
  http\Url::STDFLAGS
- Added http\Client::setDebug(callable $debug)
- Added http\Client\Curl\FEATURES constants and namespace
- Added http\Client\Curl\VERSIONS constants and namespace
- Added share_cookies and share_ssl (libcurl >= 7.23.0) options to
  http\Client::configure()
- http\Client uses curl_share handles to properly share cookies and
  SSL/TLS sessions between requests
- Improved configure checks for default CA bundles
- Improved negotiation precision
- Fixed regression introduced by http\Params::PARSE_RFC5987:
  negotiation using the params parser would receive param keys without
  the trailing asterisk, stripped by http\Params::PARSE_RFC5987.
- Fix gh-issue #50: http\Client::dequeue() within
  http\Client::setDebug() causes segfault
- Fix gh-issue #47: http\Url: Null pointer deref in sanitize_value()
- Fix gh-issue #45: HTTP/2 response message parsing broken with
  libcurl >= 7.49.1
- Fix gh-issue #43: Joining query with empty original variable in
  query
- Fix gh-issue #42: fatal error when using punycode in URLs
- Fix gh-issue #41: Use curl_version_info_data.features when
  initializing options
- Fix gh-issue #40: determinde the SSL backend used by curl at runtime
- Fix gh-issue #39: Notice: http\Client::enqueue(): Could not set
  option proxy_service_name
- Fix gh-issue #38: Persistent curl handles: error code not properly
  reset
- Fix gh-issue #36: Unexpected cookies sent if persistent_handle_id is
  used
- Fix gh-issue #34: allow setting multiple headers with the same name
- Fix gh-issue #33: allow setting prodyhost request option to NULL
- Fix gh-issue #31: add/improve configure checks for default CA
  bundle/path

Changes from beta1:
- Fixed PHP-5.3 compatibility
- Fixed recursive calls to the event loop dispatcher

Changes from beta2:
- Fix bug #73055: crash in http\QueryString (CVE-2016-7398)
- Fix bug #73185: Buffer overflow in HTTP parse_hostinfo()
  (CVE-2016-7961)
- Fix HTTP/2 version parser for older libcurl versions
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2017/01/01 16:06:39 adam Exp $
d12 1
@


1.11
log
@Revbump after boost update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2016/10/07 18:26:13 adam Exp $
d4 1
a4 1
PECL_VERSION=		2.5.6
a11 1
PKGREVISION=		2
@


1.10
log
@Revbump post boost update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2016/09/11 17:03:29 taca Exp $
d12 1
a12 1
PKGREVISION=		1
@


1.9
log
@Drop "55" (php55) from PHP_VERSIONS_ACCEPTED.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2016/03/12 08:39:47 fhajny Exp $
d12 1
@


1.8
log
@Clear PKGREVISION on update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2016/03/12 08:38:39 fhajny Exp $
d16 1
a16 1
PHP_VERSIONS_ACCEPTED=	55 56
@


1.7
log
@Update www/php-http to 2.5.6.

2.5.6
* Fix php-bug #71719: Buffer overflow in HTTP url parsing
  functions
* Fix gh-issue #28: Possible null pointer dereference
  in php_http_url_mod()
* Fix gh-issue #22: Fix PHP5 config.w32
* Fix gh-issue #20: setSslOptions notice with curl 7.43

2.5.5
* Fixed gh-issue #16: No Content-Length header with empty
  POST requests

2.5.3
* Fixed gh-issue #12: crash on bad url passed
  to http\Message::setRequestUrl()
* The URL parser now fails on empty labels

2.5.2
* Fixed regression with HEAD requests always warning about
  a partial file transfer
+ Added "path_as_is" request option (libcurl >= 7.42)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2016/03/05 11:29:39 jperkin Exp $
a11 1
PKGREVISION=		1
@


1.6
log
@Bump PKGREVISION for security/openssl ABI bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2015/12/19 14:27:15 taca Exp $
d4 1
a4 1
PECL_VERSION=		2.5.1
@


1.5
log
@Restrict PHP_VERSIONS_ACCEPTED to 55 and 56.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2015/08/30 08:24:42 taca Exp $
d12 1
@


1.4
log
@Update php-http to 2.5.1.

2.5.1

* Fixed VC11 build (Jan Erhardt)
* Fixed gh-issue #2: comparison of obsolete pointers in the header parser
  (xiaoyjy)
* Fixed gh-issue #6: allow RFC1738 unsafe characters in query/fragment
* Fixed gh-issue #7: crash with querystring and exception from error handler
+ SSL certinfo is available for libcurl >= 7.42 with gnutls (openssl has
  already been since 7.19.1)
+ Added "falsestart" SSL request option (available with libcurl >= 7.42 and
  darwinssl/NSS)
+ Added "service_name" and "proxy_service_name" request options for SPNEGO
  (available with libcurl >= 7.43)
+ Enabled "certinfo" transfer info on all supporting SSL backends (OpenSSL:
  libcurl v7.19.1, NSS: libcurl v7.34.0, GSKit: libcurl v7.39.0, GnuTLS:
  libcurl v7.42.0)

2.5.0

+ Added RFC5988 (Web Linking) support to http\Params
+ Added http\Url::SANITIZE_PATH to default flags of http\Url::mod()
* Fixed overly aggressive response caching to only consider 2xx cachable

2.5.0RC1

* Added RFC5988 (Web Linking) support to http\Params
* Added http\Url::SANITIZE_PATH to default flags of http\Url::mod()
* Fixed overly aggressive response chaching to only consider 2xx cachable
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2015/04/08 19:57:23 fhajny Exp $
d16 2
@


1.3
log
@Update php-http to 2.4.3, based on patches provided by rodent@@NetBSD.org.
Not backwards compatible with 1.x. Now depends on php-propro and php-raphf.

Upstream changelog:

2.4.3
* Fixed bug #69357 (HTTP/1.1 100 Continue overriding subsequent 200 response
  code with PUT request)

2.4.2
* Fixed bug 69076 (http\Url throws Exception on empty querystring)
* Fixed bug 69313 (http\Client doesn't send GET body)
+ Added libidn2 and UIDNA as fallbacks for IDN support
- Deferred warnings/exceptions of the client, so callbacks for the
  currently failing requests will still be called

2.4.1
* Fixed build with PHP <= 5.4 (Remi)

2.4.0
* Split off pecl/apfd and pecl/json_post

2.3.2
* Fixed bug with http\QueryString::offsetSet() resetting the complete
  query string

2.3.1
* Fixed build on platforms that need stddef.h to define ptrdiff_t
  (e.g. CentOS 7.5)

2.3.0
+ Preliminiary HTTP2 support for http\Client (libcurl with nghttp2 support)
+ Improved performance of HTTP info parser (request/response line)
+ Improved performance of updating client observers
+ Improved performance of http\Env\Response output to streams
+ Improved the error messages of the header parser
+ Added http\Header\Parser class
+ Added http\Client::configure() method accepting an array with the following
  options for libcurl:
. maxconnects (int, size of the connection cache)
. max_host_connections (int, max number of connections to a single host,
  libcurl >= 7.30.0)
. max_pipeline_length (int, max number of requests in a pipeline,
  libcurl >= 7.30.0)
. max_total_connections (int, max number of simultaneous open connections
  of this client, libcurl >= 7.30.0)
. pipelining (bool, whether to enable HTTP/1.1 pipelining)
. chunk_length_penalty_size (int, chunk length threshold for pipelining,
  libcurl >= 7.30.0)
. content_length_penalty_size (int, size threshold for pipelining,
  libcurl >= 7.30.0)
. pipelining_server_bl (array, list of server software names to blacklist
  for pipelining, libcurl >= 7.30.0)
. pipelining_site_bl (array, list of server host names to blacklist
  for pipelining, libcurl >= 7.30.0)
. use_eventloop (bool, whether to use libevent, libcurl+libevent)
+ Added http\Client::getAvailableOptions() and
  http\Client::getAvailableConfiguration() methods
+ Added support for HTTP2 if libcurl was built with nghttp2 support.
+ Added http\Client\Curl\HTTP_VERSION_2_0 constant (libcurl >= 7.33.0)
+ Added http\Client\Curl\TLS_AUTH_SRP constant (libcurl >= 7.21.4)
+ Added pinned_publickey SSL request option (libcurl >= 7.39.0)
+ Added tlsauthtype, tlsauthuser and tlsauthpass SSL request option
  (libcurl >= 7.21.4)
+ Added verifystatus (a.k.a OCSP) SSL request option (libcurl >= 7.41.0)
+ Added proxyheader request option (libcurl >= 7.37.0)
+ Added unix_socket_path request option (libcurl >= 7.40.0)
* Fixed compress request option
* Fixed parsing authorities of CONNECT messages
* Fixed parsing Content-Range messages
* Fixed http\Env\Response to default to chunked encoding over streams
* Fixed superfluous output of Content-Length:0 headers
* Fixed persistent easy handles to be only created for persistent
  multi handles
* Fixed the header parser to accept not-yet-complete header lines
* Fixed http\Message::toStream() crash in ZTS mode
* Fixed the message stream parser to handle intermediary data bigger than 4k
* Fixed the message stream parser to handle single header lines without EOL
* Fixed http\Message\Body to not generate stat based etags
  for temporary streams
- Deprecated http\Client::enablePipelining(), use
  http\Client::configure(["pipelining" => true]) instead
- Deprecated http\Client::enableEvents(), use
  http\Client::configure(["use_eventloop" => true]) instead
- Removed the cookies entry from the transfer info, wich was very slow
  and generated a Netscape formatted list of cookies
- Changed the header parser to reject illegal characters

2.2.1
* Fixed Bug #69000 (http\Url breaks down with very long URL query strings)

2.2.0
- var_dump(http\Message) no longer automatically creates an empty body
+ Added http\Message\Parser class
+ Made http\Client::once() and http\Client::wait() available when using events
+ Added http\Url::PARSE_MBLOC, http\Url::PARSE_MBUTF8,
  http\Url::PARSE_TOIDN and http\Url::PARSE_TOPCT constants
+ Added http\Env\Response::setCookie()
+ Added http\Env\Request::getCookie()

2.1.4
* Fixed bug #68353 (QsoSSL support removed in libcurl 7.39)
* Fixed bug #68149 (duplicate content-length with libcurl < 7.23)
* Fixed bug #66891 (Unexpected HTTP 401 after NTLM authentication)

2.1.3
* Fix build with libcurl < 7.26 (Remi)

2.1.2
+ Added missing request option constants: POSTREDIR_303, AUTH_SPNEGO
  (libcurl >= 7.38.0), SSL_VERSION_TLSv1_{0,1,2} (libcurl >= 7.34)
* Fixed bug #68083 (PUT method not working after DELETE)
* Fixed bug #68009 (Segmentation fault after calling exit(0) after a request)
* Fixed bug #68000 (Extension does not build on FreeBSD)

2.1.1
* Fix httpVersion retrieval on bigendian (Remi)
* Fix etag/crc32b on bigendian (Remi)

2.1.0
- Removed port and scheme guessing of http\Url for portability
* Fixed PHP-5.3 compatibility
* Fixed PHP-5.4 compatibility
* Fixed possible bus error on shutdown when using events
* Fixed sovereignty of clients when using events
* Fixed a possible crash with http\Encoding\Stream\Dechunk::decode($unencoded)
* Fixed a leak in http\Client\Curl options
* Fixed bug #67733 (Compile error with libevent 2.x)
+ Added RFC5987 support in http\Params
+ Improved synthetic HTTP message parsing performace for ~20%
+ Added request options if libcurl has builtin c-ares support:
dns_interface, dns_local_ip4, dns_local_ip6 (all libcurl >= 7.33.0)
+ Added request options:
expect_100_timeout (libcurl >= 7.36.0), tcp_nodelay
+ Added transfer info:
curlcode, tls_session (libcurl >= 7.34.0), only available during transfer

2.0.7
* General improvements to the test suite
* Fixed http\Env\Response::send() ignoring some write errors
* Fixed bug #67528 (RFC compliant default user agent)
* Fixed a garbage collector issue with JSON POSTs
* Fixed refcount issue and double free of message bodies
* Fixed use after free if the http\Client::enqueue() closure returns TRUE
* Fixed bug #67584 (http\Client\Response not initialized as response
  on failure)

2.0.6
+ Added "uploaded" progress state
* Fixed bug #67089 (Segmentaion fault with ZTS)
* Fixed compatibility with PHP-5.6+
* Fixed re-use of request messages which content length remained untouched
  when the body was reset

2.0.5
* Fix rare crash with uninitialized CURLOPT_HTTPHEADER
* Fix build with -Werror=format-security (Remi)
* Fix build with extenal libs needed by libcurl

2.0.4
* Removed the pecl/event conflict
* Fixed bug #66388 (Crash on POST with Content-Length:0 and untouched body)

2.0.3
* Fixed typo

2.0.2
* Fixed bug #66250 (shutdown crash as shared extension)

2.0.1
* Fixed a bug with multiple ob_start(http\Env\Response) while
  replacing the body
* Fixed build on Windows with libevent2

2.0.0
Extended HTTP support. Again. Keep in mind that it's got the major version 2,
because it's incompatible with pecl_http v1.

* Introduces the http namespace.
* Message bodies have been remodeled to use PHP temporary streams instead
  of in-memory buffers.
* The utterly misunderstood HttpResponse class has been reimplemented
  as http\Env\Response inheriting http\Message.
* Currently, there's only one Exception class left, http\Exception.
* Errors triggered by the extension can be configured statically by
  http\Object::$defaultErrorHandling or inherited http\Object->errorHandling.
* The request ecosystem has been modularized to support different libraries,
  though for the moment only libcurl is supported.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2014/02/12 23:18:46 tron Exp $
d4 1
a4 1
PECL_VERSION=		2.4.3
@


1.2
log
@Recursive PKGREVISION bump for OpenSSL API version bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2013/09/13 08:28:18 fhajny Exp $
d4 1
a4 2
PKGREVISION=		1
PECL_VERSION=		1.7.6
d16 19
a34 4
CONFIGURE_ARGS+=	--with-http-curl-requests=${BUILDLINK_PREFIX.curl}
CONFIGURE_ARGS+=	--with-http-curl-libevent=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+=	--with-http-magic-mime=${BUILDLINK_PREFIX.file}
CONFIGURE_ARGS+=	--with-http-zlib-compression=${BUILDLINK_PREFIX.zlib}
a35 2
.include "../../lang/php/ext.mk"
.include "../../www/curl/buildlink3.mk"
d37 3
d41 3
a43 1
.include "../../devel/zlib/buildlink3.mk"
@


1.1
log
@Import www/php-http.

This HTTP extension aims to provide a convenient and powerful
set of functionality for one of PHPs major applications.

It eases handling of HTTP urls, dates, redirects, headers and
messages, provides means for negotiation of clients preferred
language and charset, as well as a convenient way to send any
arbitrary data with caching and resuming capabilities.
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
@

