head	1.13;
access;
symbols
	pkgsrc-2026Q1:1.13.0.2
	pkgsrc-2026Q1-base:1.13
	pkgsrc-2025Q4:1.12.0.8
	pkgsrc-2025Q4-base:1.12
	pkgsrc-2025Q3:1.12.0.6
	pkgsrc-2025Q3-base:1.12
	pkgsrc-2025Q2:1.12.0.4
	pkgsrc-2025Q2-base:1.12
	pkgsrc-2025Q1:1.12.0.2
	pkgsrc-2025Q1-base:1.12
	pkgsrc-2024Q4:1.11.0.4
	pkgsrc-2024Q4-base:1.11
	pkgsrc-2024Q3:1.11.0.2
	pkgsrc-2024Q3-base:1.11
	pkgsrc-2024Q2:1.10.0.6
	pkgsrc-2024Q2-base:1.10
	pkgsrc-2024Q1:1.10.0.4
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.10.0.2
	pkgsrc-2023Q4-base:1.10
	pkgsrc-2023Q3:1.9.0.6
	pkgsrc-2023Q3-base:1.9
	pkgsrc-2023Q2:1.9.0.4
	pkgsrc-2023Q2-base:1.9
	pkgsrc-2023Q1:1.9.0.2
	pkgsrc-2023Q1-base:1.9
	pkgsrc-2022Q4:1.8.0.2
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.6.0.6
	pkgsrc-2022Q3-base:1.6
	pkgsrc-2022Q2:1.6.0.4
	pkgsrc-2022Q2-base:1.6
	pkgsrc-2022Q1:1.6.0.2
	pkgsrc-2022Q1-base:1.6
	pkgsrc-2021Q4:1.5.0.2
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.4.0.42
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.40
	pkgsrc-2021Q2-base:1.4
	pkgsrc-2021Q1:1.4.0.38
	pkgsrc-2021Q1-base:1.4
	pkgsrc-2020Q4:1.4.0.36
	pkgsrc-2020Q4-base:1.4
	pkgsrc-2020Q3:1.4.0.34
	pkgsrc-2020Q3-base:1.4
	pkgsrc-2020Q2:1.4.0.30
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.4.0.10
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.4.0.32
	pkgsrc-2019Q4-base:1.4
	pkgsrc-2019Q3:1.4.0.28
	pkgsrc-2019Q3-base:1.4
	pkgsrc-2019Q2:1.4.0.26
	pkgsrc-2019Q2-base:1.4
	pkgsrc-2019Q1:1.4.0.24
	pkgsrc-2019Q1-base:1.4
	pkgsrc-2018Q4:1.4.0.22
	pkgsrc-2018Q4-base:1.4
	pkgsrc-2018Q3:1.4.0.20
	pkgsrc-2018Q3-base:1.4
	pkgsrc-2018Q2:1.4.0.18
	pkgsrc-2018Q2-base:1.4
	pkgsrc-2018Q1:1.4.0.16
	pkgsrc-2018Q1-base:1.4
	pkgsrc-2017Q4:1.4.0.14
	pkgsrc-2017Q4-base:1.4
	pkgsrc-2017Q3:1.4.0.12
	pkgsrc-2017Q3-base:1.4
	pkgsrc-2017Q2:1.4.0.8
	pkgsrc-2017Q2-base:1.4
	pkgsrc-2017Q1:1.4.0.6
	pkgsrc-2017Q1-base:1.4
	pkgsrc-2016Q4:1.4.0.4
	pkgsrc-2016Q4-base:1.4
	pkgsrc-2016Q3:1.4.0.2
	pkgsrc-2016Q3-base:1.4
	pkgsrc-2016Q2:1.3.0.6
	pkgsrc-2016Q2-base:1.3
	pkgsrc-2016Q1:1.3.0.4
	pkgsrc-2016Q1-base:1.3
	pkgsrc-2015Q4:1.3.0.2
	pkgsrc-2015Q4-base:1.3
	pkgsrc-2015Q3:1.2.0.2
	pkgsrc-2015Q3-base:1.2
	pkgsrc-2015Q2:1.1.0.2
	pkgsrc-2015Q2-base:1.1;
locks; strict;
comment	@# @;


1.13
date	2026.01.11.07.50.11;	author wiz;	state Exp;
branches;
next	1.12;
commitid	UB2dvv3LU62zOWpG;

1.12
date	2025.02.08.03.41.13;	author taca;	state Exp;
branches;
next	1.11;
commitid	6zkxhZXhuWPLgCIF;

1.11
date	2024.09.22.14.50.09;	author taca;	state Exp;
branches;
next	1.10;
commitid	J5uFfet64PngrOqF;

1.10
date	2023.12.14.15.39.22;	author taca;	state Exp;
branches;
next	1.9;
commitid	T0ji0aSuQ799OrQE;

1.9
date	2023.03.15.13.53.54;	author taca;	state Exp;
branches;
next	1.8;
commitid	vOLuFH0ZKiU02ehE;

1.8
date	2022.11.10.14.58.38;	author taca;	state Exp;
branches;
next	1.7;
commitid	UFfAoAoYD54lpa1E;

1.7
date	2022.11.08.15.29.11;	author taca;	state Exp;
branches;
next	1.6;
commitid	nSTc2veCDdTNDU0E;

1.6
date	2022.02.20.13.31.43;	author taca;	state Exp;
branches;
next	1.5;
commitid	iVqHaa9SfcwEnmtD;

1.5
date	2021.12.13.14.44.32;	author taca;	state Exp;
branches;
next	1.4;
commitid	A7I5X6Ad813rZukD;

1.4
date	2016.09.11.17.03.25;	author taca;	state Exp;
branches;
next	1.3;
commitid	XDtGRwjQmpsZrTlz;

1.3
date	2015.12.19.14.27.13;	author taca;	state Exp;
branches;
next	1.2;
commitid	DMd0ulpW9fGwazNy;

1.2
date	2015.07.02.13.05.32;	author wiz;	state Exp;
branches;
next	1.1;
commitid	wmbobvKIYLPqbIry;

1.1
date	2015.04.07.11.23.09;	author rodent;	state Exp;
branches;
next	;
commitid	wGPUokD2nfkKnEgy;


desc
@@


1.13
log
@php-igbinary: does not compile against php 8.5
@
text
@# $NetBSD: Makefile,v 1.12 2025/02/08 03:41:13 taca Exp $

MODNAME=	igbinary
PECL_VERSION=	3.2.16
PKGREVISION=	1
CATEGORIES=	devel

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/igbinary/igbinary
COMMENT=	Binary serialization for PHP
LICENSE=	modified-bsd

# does not support 56 nor 85
PHP_VERSIONS_ACCEPTED=	84 83 82 74

USE_LANGUAGES=		c c++
USE_TOOLS+=		gsed
CONFIGURE_ARGS+=	--enable-${MODNAME}

PLIST_SRC+=		PLIST

INSTALLATION_DIRS+=	${PHP_INCDIR}/ext/igbinary

post-install:
	${INSTALL_DATA} ${WRKSRC}/igbinary.h \
		${DESTDIR}${PREFIX}/${PHP_INCDIR}/ext/igbinary

.include "../../www/php-apcu/buildlink3.mk"
.include "../../lang/php/ext.mk"
.include "../../mk/bsd.pkg.mk"
@


1.12
log
@multiple PHP support

* Use PHP_BASE_VERS in DEPENDS if required.
* Use REPLACE_PHP.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/09/22 14:50:09 taca Exp $
d13 2
a14 1
PHP_VERSIONS_INCOMPATIBLE=	56
@


1.11
log
@devel/php-igbinary: update to 3.2.16

3.2.16 (2024-08-10)

* Fix test failures in php 8.4.0alpha1 due to tests calling deprecated
  functions (#390)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/12/14 15:39:22 taca Exp $
d5 1
d21 1
a21 1
INSTALLATION_DIRS+=	include/php/ext/igbinary
d25 1
a25 1
		${DESTDIR}${PREFIX}/include/php/ext/igbinary
d27 1
@


1.10
log
@devel/php-igbinary: update to 3.2.15

3.2.15 (2023-12-02)

* Fix crash in igbinary_unserialize_object_enum_case with opcache protected
  memory and non-constant value.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/03/15 13:53:54 taca Exp $
d4 1
a4 1
PECL_VERSION=	3.2.15
@


1.9
log
@devel/php-igbinary: update to 3.2.14

3.2.14 (2023-02-26)

* Fix build error in PHP 8.3-dev
* Fix test expectation errors in php 8.3-dev due to change to php's
  TypeErrors.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/11/10 14:58:38 taca Exp $
d4 1
a4 1
PECL_VERSION=	3.2.14
@


1.8
log
@devel/php-igbinary: update to 3.2.12

3.2.12 (2022-11-07)

* Fix symbol error seen in php 8.2.0 loading zend_class_unserialize_deny,
  due to failing to load a header defining a macro.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/11/08 15:29:11 taca Exp $
d4 1
a4 1
PECL_VERSION=	3.2.12
@


1.7
log
@devel/php-igbinary: update to 3.2.11

3.2.7 (2022-01-12)

* Update test expectations for php 8.2.0-dev.  Add
  `#[AllowDynamicProperties]` Attribute to some tests to avoid notices.

* In php 8.1+, make igbinary_unserialize check to see if an equivalent
  interned string already exists when unserializing object property names,
  array keys, and class names and use that instead of creating a brand new
  string.
  (This deliberately doesn't create a new interned string if one doesn't
  already exist.)
  (Before this change, igbinary would deduplicate strings when serializing,
  but would not check if strings were interned by PHP itself when
  unserializing)

* Avoid debug build assertion failure for `HT_ASSERT_RC1` the same way as
  PHP's unserialize - this is a case where ostensibly there are no other
  references to the array being unserialized.

3.2.8 (2022-10-17)

* Reduce excessive inlining to reduce shared library size.

* Miscellaneous optimizations.

* Update test expectations to handle changes to var_export output (fully
  qualified class names) in PHP 8.2.

* Throw an Error when igbinary_unserialize would add dynamic properties to
  class definitions that forbid them in PHP 8.0+
  (especially PHP 8.2 `readonly` classes)

* Emit a deprecation notice when igbinary_unserialize() adds dynamic
  properties to a class without `#[AllowDynamicProperties]` in PHP 8.2.
  Doing that would become an Error in PHP 9.0.

* Set up CI job to build dlls on https://github.com/igbinary/igbinary - at
  the moment, the infrastructure used by the Windows for php team has been
  broken for months.

3.2.9 (2022-10-17)

* Fix invalid release artifact name in job to build dlls for
  https://github.com/igbinary/igbinary

3.2.10 (2022-11-06)

* Add a macro that callers can use to check if igbinary will accept the
  header for data being unserialized.

* Fix bug preventing the unserialization of data containing representations
  of strings larger than 4GB.

3.2.11 (2022-11-06)

* Fix a bug that could prevent objects/arrays with reference cycles from
  being properly garbage collected.

* Fix bugs in unserializing PHP references to values found in php 7.4 typed
  properties (#363)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/02/20 13:31:43 taca Exp $
d4 1
a4 1
PECL_VERSION=	3.2.11
@


1.6
log
@devel/php-igbinary: update to

3.2.7 (2022-01-12)

* Update test expectations for php 8.2.0-dev.  Add
  `#[AllowDynamicProperties]` Attribute to some tests to avoid notices.

* In php 8.1+, make igbinary_unserialize check to see if an equivalent
  interned string already exists when unserializing object property names,
  array keys, and class names and use that instead of creating a brand new
  string.
  (This deliberately doesn't create a new interned string if one doesn't
  already exist.)
  (Before this change, igbinary would deduplicate strings when serializing,
  but would not check if strings were interned by PHP itself when
  unserializing)
* Avoid debug build assertion failure for `HT_ASSERT_RC1` the same way as
  PHP's unserialize - this is a case where ostensibly there are no other
  references to the array being unserialized.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2021/12/13 14:44:32 taca Exp $
d4 1
a4 1
PECL_VERSION=	3.2.7
@


1.5
log
@devel/php-igbinary: update to 3.2.6

* After contacting MAINTAINER, reset it now.
* This version supports PHP 7 and later.

Changes are too many to write here, please refer
<https://github.com/igbinary/igbinary/edit/master/NEWS>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2016/09/11 17:03:25 taca Exp $
d4 1
a4 1
PECL_VERSION=	3.2.6
@


1.4
log
@Drop "55" (php55) from PHP_VERSIONS_ACCEPTED.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2015/12/19 14:27:13 taca Exp $
d4 1
a4 1
PECL_VERSION=	1.2.1
d7 1
a7 1
MAINTAINER=	mbowie@@buzmo.com
d12 1
a12 3
BUILD_DEPENDS+=	re2c>=0.13.0.4:../../devel/re2c

PHP_VERSIONS_ACCEPTED=	56
a16 1
USE_LIBTOOL=		yes
@


1.3
log
@Restrict PHP_VERSIONS_ACCEPTED to 55 and 56.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2015/07/02 13:05:32 wiz Exp $
d14 1
a14 1
PHP_VERSIONS_ACCEPTED=	55 56
@


1.2
log
@Fix package and distinfo.
This package does not need the php patches.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2015/04/07 11:23:09 rodent Exp $
d14 2
@


1.1
log
@Import php55-igbinary-1.2.1 as devel/php-igbinary.

Igbinary is a drop in replacement for the standard PHP serializer. Instead of
time and space consuming textual representation, igbinary stores PHP data
structures in a compact binary form. Savings are significant when using
memcached or similar memory based storages for serialized data.
@
text
@d1 1
a1 2
# $NetBSD$
#
a18 2
USE_PHP_EXT_PATCHES=	yes

@

