head	1.18;
access;
symbols
	pkgsrc-2020Q4:1.16.0.2
	pkgsrc-2020Q4-base:1.16
	pkgsrc-2020Q3:1.14.0.8
	pkgsrc-2020Q3-base:1.14
	pkgsrc-2020Q2:1.14.0.6
	pkgsrc-2020Q2-base:1.14
	pkgsrc-2020Q1:1.14.0.2
	pkgsrc-2020Q1-base:1.14
	pkgsrc-2019Q4:1.14.0.4
	pkgsrc-2019Q4-base:1.14
	pkgsrc-2019Q3:1.12.0.8
	pkgsrc-2019Q3-base:1.12
	pkgsrc-2019Q2:1.12.0.6
	pkgsrc-2019Q2-base:1.12
	pkgsrc-2019Q1:1.12.0.4
	pkgsrc-2019Q1-base:1.12
	pkgsrc-2018Q4:1.12.0.2
	pkgsrc-2018Q4-base:1.12
	pkgsrc-2018Q3:1.8.0.2
	pkgsrc-2018Q3-base:1.8
	pkgsrc-2018Q2:1.4.0.4
	pkgsrc-2018Q2-base:1.4
	pkgsrc-2018Q1:1.4.0.2
	pkgsrc-2018Q1-base:1.4
	pkgsrc-2017Q4:1.1.0.2
	pkgsrc-2017Q4-base:1.1;
locks; strict;
comment	@# @;


1.18
date	2021.01.03.15.18.58;	author taca;	state dead;
branches;
next	1.17;
commitid	MnKdKclh7NIffiCC;

1.17
date	2021.01.02.10.04.10;	author taca;	state Exp;
branches;
next	1.16;
commitid	I1GhjYu2BJBbx8CC;

1.16
date	2020.11.21.19.44.32;	author otis;	state Exp;
branches;
next	1.15;
commitid	wTZzxEp9HWej6NwC;

1.15
date	2020.11.20.15.51.25;	author otis;	state Exp;
branches;
next	1.14;
commitid	0S4FBm8ckI0hQDwC;

1.14
date	2019.12.16.15.58.18;	author taca;	state Exp;
branches;
next	1.13;
commitid	XehOokg9jmI2OWOB;

1.13
date	2019.10.02.14.05.22;	author taca;	state Exp;
branches;
next	1.12;
commitid	jRCU0ceHtZ4YAiFB;

1.12
date	2018.12.12.15.44.43;	author taca;	state Exp;
branches
	1.12.8.1;
next	1.11;
commitid	kTCrIBuK8upIAw3B;

1.11
date	2018.12.09.12.14.36;	author taca;	state Exp;
branches;
next	1.10;
commitid	MCemU5ljKOxsw73B;

1.10
date	2018.12.07.16.04.50;	author taca;	state Exp;
branches;
next	1.9;
commitid	8NomkDfyP2aoRS2B;

1.9
date	2018.12.07.01.54.53;	author manu;	state Exp;
branches;
next	1.8;
commitid	6MP2sSHcqCzn8O2B;

1.8
date	2018.07.31.01.17.56;	author maya;	state Exp;
branches;
next	1.7;
commitid	Gro7CKKmupAo5eMA;

1.7
date	2018.07.30.07.17.16;	author manu;	state Exp;
branches;
next	1.6;
commitid	6JBBnknGjPGH78MA;

1.6
date	2018.07.18.07.33.12;	author manu;	state Exp;
branches;
next	1.5;
commitid	WWXqWIXyjZzNAAKA;

1.5
date	2018.07.16.10.58.50;	author maya;	state Exp;
branches;
next	1.4;
commitid	wY3qhLO395lGMlKA;

1.4
date	2018.02.05.08.51.25;	author jdolecek;	state Exp;
branches
	1.4.4.1;
next	1.3;
commitid	hp2JJuPqjRsvcEpA;

1.3
date	2018.02.04.16.19.00;	author jdolecek;	state Exp;
branches;
next	1.2;
commitid	R7qKjZtNACsMJypA;

1.2
date	2018.01.31.21.10.18;	author jdolecek;	state Exp;
branches;
next	1.1;
commitid	F0QVxk5qVsL5w4pA;

1.1
date	2017.11.15.08.56.12;	author jdolecek;	state Exp;
branches
	1.1.2.1;
next	;
commitid	FEfzotqWnQMyV6fA;

1.12.8.1
date	2019.10.25.11.10.21;	author bsiegert;	state Exp;
branches;
next	;
commitid	5lYFybZrIJj9TeIB;

1.4.4.1
date	2018.08.17.16.08.38;	author bsiegert;	state Exp;
branches;
next	1.4.4.2;
commitid	PDctNNbuluKouuOA;

1.4.4.2
date	2018.09.18.18.34.08;	author bsiegert;	state Exp;
branches;
next	;
commitid	P4OJSKWAz2ExgCSA;

1.1.2.1
date	2018.03.03.09.23.45;	author spz;	state Exp;
branches;
next	;
commitid	Mgixg7A0XxijCZsA;


desc
@@


1.18
log
@lang/php72: remove php72

Remove php72 package which is EOL on 1st December 2020.
@
text
@# $NetBSD: Makefile.php,v 1.17 2021/01/02 10:04:10 taca Exp $
# used by lang/php72/Makefile
# used by www/ap-php/Makefile
# used by www/php-fpm/Makefile

# segfaults when buidling with many compilers
# https://bugs.php.net/bug.php?id=74527
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+=	--disable-gcc-global-regs
.endif

# the binary actually needs full dep on PCRE
BUILDLINK_DEPMETHOD.pcre=	full

USE_LIBTOOL=		YES
USE_LANGUAGES=		c c++
GNU_CONFIGURE=		YES
BUILD_DEFS+=		VARBASE
PLIST_VARS+=		dtrace

.include "../../lang/php72/Makefile.common"

DISTINFO_FILE=	${.CURDIR}/../../lang/php72/distinfo
PATCHDIR=	${.CURDIR}/../../lang/php72/patches

CONFIGURE_ENV+=		EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}"

.include "../../mk/bsd.prefs.mk"

CONFIGURE_ARGS+=	--with-config-file-path=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--with-config-file-scan-dir=${PKG_SYSCONFDIR}/php.d
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}

CONFIGURE_ARGS+=	--without-mysqli
CONFIGURE_ARGS+=	--without-iconv
CONFIGURE_ARGS+=	--without-pear
CONFIGURE_ARGS+=	--without-sqlite3
#CONFIGURE_ARGS+=	--without-intl

CONFIGURE_ARGS+=	--disable-posix
CONFIGURE_ARGS+=	--disable-opcache
CONFIGURE_ARGS+=	--disable-pdo
CONFIGURE_ARGS+=	--disable-json

CONFIGURE_ARGS+=	--enable-cgi
CONFIGURE_ARGS+=	--enable-mysqlnd
CONFIGURE_ARGS+=	--enable-xml
CONFIGURE_ARGS+=	--with-libxml-dir=${PREFIX}
.include "../../textproc/libxml2/buildlink3.mk"

CONFIGURE_ARGS+=	--with-pcre-regex=${BUILDLINK_PREFIX.pcre}

.include "options.mk"

DL_AUTO_VARS=		yes
.include "../../mk/dlopen.buildlink3.mk"
@


1.17
log
@Split off option handling into options.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.16 2020/11/21 19:44:32 otis Exp $
@


1.16
log
@php72: Make php-embed a no-op for other than main php package

This avoids the situation when more than one SAPI is requested to build,
which is unsupported (only one of fpm, filter, module) can be built at
once.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.15 2020/11/20 15:51:25 otis Exp $
d55 1
a55 72
PKG_OPTIONS_VAR=	PKG_OPTIONS.${PHP_PKG_PREFIX}
PKG_SUPPORTED_OPTIONS+=	inet6 ssl maintainer-zts readline argon2 php-embed
PKG_SUPPORTED_OPTIONS+=	disable-filter-url
PKG_SUGGESTED_OPTIONS+=	inet6 ssl readline

.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD"
PKG_SUPPORTED_OPTIONS+=	dtrace
.endif

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=	--enable-ipv6
.else
CONFIGURE_ARGS+=	--disable-ipv6
.endif

.if !empty(PKG_OPTIONS:Mssl)
.  include "../../security/openssl/buildlink3.mk"
.  if ${OPSYS} == "SunOS"
CONFIGURE_ARGS+=	--with-openssl=yes
LIBS.SunOS+=		-lcrypto
.  else
CONFIGURE_ARGS+=	--with-openssl=${BUILDLINK_PREFIX.openssl}
.  endif
.else
CONFIGURE_ARGS+=	--without-openssl
.endif

.if !empty(PKG_OPTIONS:Mmaintainer-zts)
CONFIGURE_ARGS+=	--enable-maintainer-zts
.endif

.if !empty(PKG_OPTIONS:Mreadline)
.include "../../devel/readline/buildlink3.mk"
CONFIGURE_ARGS+=	--with-readline=${BUILDLINK_PREFIX.readline}
.else
CONFIGURE_ARGS+=	--without-readline
.endif

.if !empty(PKG_OPTIONS:Mdtrace)
PLIST.dtrace=		yes
CONFIGURE_ARGS+=	--enable-dtrace

# See https://bugs.php.net/bug.php?id=61268
INSTALL_MAKE_FLAGS+=	-r
.endif

.if !empty(PKG_OPTIONS:Margon2)
CONFIGURE_ARGS+=	--with-password-argon2=${BUILDLINK_PREFIX.argon2}
.include "../../security/argon2/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mdisable-filter-url)
CFLAGS+=		-DDISABLE_FILTER_URL
.endif

PLIST_VARS+=    embed

.if !empty(PKGNAME:Mphp-[7-9]*)
.if !empty(PKG_OPTIONS:Mphp-embed)
CONFIGURE_ARGS+=	--enable-embed
INSTALLATION_DIRS+=	include/php/sapi/embed
PLIST.embed=		yes

.PHONY: post-install-embed
post-install: post-install-embed
post-install-embed:
	${INSTALL_DATA} ${WRKSRC}/sapi/embed/php_embed.h ${DESTDIR}${PREFIX}/include/php/sapi/embed/
	${INSTALL_LIB} ${WRKSRC}/libs/libphp7.so ${DESTDIR}${PREFIX}/lib/
.endif
.endif
@


1.15
log
@php72: add default-off php-embed option to install embed SAPI

Requested by Sergey Osokin in PR 55508.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.14 2019/12/16 15:58:18 taca Exp $
d114 1
d126 1
@


1.14
log
@lang/php*: clean up php langauges

Clean up php languages.

* Clean up php/phpversions.mk a little.
* Add php/replace.mk to provide common shebang line replace for PHP.
* Define USE_TOOLS before including <bsd.prefs.mk>.
* Fix most warnings of pkglint.

No functional change should be done.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.13 2019/10/02 14:05:22 taca Exp $
d56 1
a56 1
PKG_SUPPORTED_OPTIONS+=	inet6 ssl maintainer-zts readline argon2
d112 14
@


1.13
log
@lang/php72: update to 7.2.23

Update lang/php72 to 7.2.23.

pkgsrc changes

* Clean two pkglint's warnings.


26 Sep 2019, PHP 7.2.23

- Core:
  . Fixed bug #78220 (Can't access OneDrive folder). (cmb, ab)
  . Fixed bug #78412 (Generator incorrectly reports non-releasable $this as GC
    child). (Nikita)

- FastCGI:
  . Fixed bug #78469 (FastCGI on_accept hook is not called when using named
    pipes on Windows). (Sergei Turchanov)

- MySQLnd:
  . Fixed connect_attr issues and added the _server_host connection attribute.
    (Qianqian Bu)

- ODBC:
  . Fixed bug #78473 (odbc_close() closes arbitrary resources). (cmb)

- PDO_MySQL:
  . Fixed bug #41997 (SP call yields additional empty result set). (cmb)

- sodium:
  . Fixed bug #78510 (Partially uninitialized buffer returned by
    sodium_crypto_generichash_init()). (Frank Denis, cmb)

- SPL:
  . Fixed bug #72884 (SplObject isCloneable() returns true but errs on clone).
    (Chu Zhaowei)
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.12 2018/12/12 15:44:43 taca Exp $
a15 5
.include "../../lang/php72/Makefile.common"

DISTINFO_FILE=	${.CURDIR}/../../lang/php72/distinfo
PATCHDIR=	${.CURDIR}/../../lang/php72/patches

d22 5
@


1.12
log
@lang/php72: drop sqlite3 PKG_OPTIONS

Drop sqlite3 PKG_OPTIONS since sqlite3 is supported by
databases/php-sqlite3 package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.11 2018/12/09 12:14:36 taca Exp $
a88 1
USE_GNU_READLINE=	yes
@


1.12.8.1
log
@Pullup ticket #6075 - requested by taca
lang/php72: security fix

Revisions pulled up:
- lang/php/phpversion.mk                                        1.269,1.271
- lang/php72/Makefile                                           1.21
- lang/php72/Makefile.php                                       1.13
- lang/php72/distinfo                                           1.45-1.46

---
   Module Name:    pkgsrc
   Committed By:   taca
   Date:           Wed Oct  2 14:05:22 UTC 2019

   Modified Files:
           pkgsrc/lang/php: phpversion.mk
           pkgsrc/lang/php72: Makefile Makefile.php distinfo

   Log Message:
   lang/php72: update to 7.2.23

   Update lang/php72 to 7.2.23.

   pkgsrc changes

   * Clean two pkglint's warnings.

   26 Sep 2019, PHP 7.2.23

   - Core:
     . Fixed bug #78220 (Can't access OneDrive folder). (cmb, ab)
     . Fixed bug #78412 (Generator incorrectly reports non-releasable $this as GC
       child). (Nikita)

   - FastCGI:
     . Fixed bug #78469 (FastCGI on_accept hook is not called when using named
       pipes on Windows). (Sergei Turchanov)

   - MySQLnd:
     . Fixed connect_attr issues and added the _server_host connection attribute.
       (Qianqian Bu)

   - ODBC:
     . Fixed bug #78473 (odbc_close() closes arbitrary resources). (cmb)

   - PDO_MySQL:
     . Fixed bug #41997 (SP call yields additional empty result set). (cmb)

   - sodium:
     . Fixed bug #78510 (Partially uninitialized buffer returned by
       sodium_crypto_generichash_init()). (Frank Denis, cmb)

   - SPL:
     . Fixed bug #72884 (SplObject isCloneable() returns true but errs on clone).
       (Chu Zhaowei)

---
   Module Name:    pkgsrc
   Committed By:   taca
   Date:           Fri Oct 25 02:51:18 UTC 2019

   Modified Files:
           pkgsrc/lang/php: phpversion.mk
           pkgsrc/lang/php72: distinfo

   Log Message:
   lang/php72: update to 7.2.24

   Update php72 to 7.2.24.

   24 Oct 2019, PHP 7.2.24

   - Core:
     . Fixed bug #78535 (auto_detect_line_endings value not parsed as bool).
       (bugreportuser)
     . Fixed bug #78620 (Out of memory error). (cmb, Nikita)

   - Exif:
     . Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)
           (Kalle)

   - FPM:
     . Fixed bug #78599 (env_path_info underflow in fpm_main.c can lead to RCE).
       (CVE-2019-11043) (Jakub Zelenka)

   - MBString:
     . Fixed bug #78579 (mb_decode_numericentity: args number inconsistency).
       (cmb)
     . Fixed bug #78609 (mb_check_encoding() no longer supports stringable
       objects). (cmb)

   - MySQLi:
     . Fixed bug #76809 (SSL settings aren't respected when persistent connections
       are used). (fabiomsouto)

   - PDO_MySQL:
     . Fixed bug #78623 (Regression caused by "SP call yields additional empty
       result set"). (cmb)

   - Session:
     . Fixed bug #78624 (session_gc return value for user defined session
       handlers). (bshaffer)

   - Standard:
     . Fixed bug #76342 (file_get_contents waits twice specified timeout).
       (Thomas Calvet)
     . Fixed bug #78612 (strtr leaks memory when integer keys are used and the
       subject string shorter). (Nikita)
     . Fixed bug #76859 (stream_get_line skips data if used with data-generating
       filter). (kkopachev)

   - Zip:
     . Fixed bug #78641 (addGlob can modify given remove_path value). (cmb)
@
text
@d1 1
a1 1
# $NetBSD$
d89 1
@


1.11
log
@lang/php: remove sqlite3 library

Remove sqlite3 library extension and make it separate package to prevent
dependency to databases/sqlite3 pacakge.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.10 2018/12/07 16:04:50 taca Exp $
d56 1
a56 1
PKG_SUPPORTED_OPTIONS+=	inet6 ssl maintainer-zts readline argon2 sqlite3
d58 1
a58 1
PKG_SUGGESTED_OPTIONS+=	inet6 ssl readline sqlite3
a108 7
.if !empty(PKG_OPTIONS:Msqlite3)
CONFIGURE_ARGS+=	--with-sqlite3=${BUILDLINK_PREFIX.sqlite3}
.include "../../databases/sqlite3/buildlink3.mk"
.else
CONFIGURE_ARGS+=    --without-sqlite3
.endif

@


1.10
log
@lang/php7?: revert previous commit

Revert previous commit and unbreak lang/php7{0,1,2}.

sqlite3 problem would be another way, after update current PHP versions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.9 2018/12/07 01:54:53 manu Exp $
d39 1
@


1.9
log
@Link PHP with shared libsqlite3 isntead of built-in

We used to build PHP with its built-in, statically linked libsqlite3. When
used in an executable with dynamically looaded modules such as Apache, some
module may load a shared libsqlite3, which has the same symbols as PHP's
built-in libsqlite3. This causes unreliable cross-version calls and is
source of crashes.

The fix is to disable PHP's built-in libslite3 and always use an external,
shared libsqlite3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.8 2018/07/31 01:17:56 maya Exp $
a51 3
CONFIGURE_ARGS+=	--with-sqlite3=shared
.include "../../databases/sqlite3/buildlink3.mk"

@


1.8
log
@move --disable-gcc-global-regs to Makefile.php.
Seems to make a previously segfaulting netbsd-8/i386's build not segfault.
ap-php runs PHP's configure and builds some of its code, so it needs the
same flag.

Now we can stop requiring an arbitrary GCC version. The test case in the
GCC bugzilla fails on all GCC versions I tested, but magically some
versions of GCC manage to build a working PHP.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.7 2018/07/30 07:17:16 manu Exp $
d52 3
@


1.7
log
@Fix PHP buidl on i386

The --disable-gcc-global-regs fix is not enough, we really need
GCC 6 to avoid php crashing during www/ap-ph build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.6 2018/07/18 07:33:12 manu Exp $
d6 1
a6 1
# With --disable-gcc-global-regs, works around 
d8 1
d10 1
a10 1
GCC_REQD+=		6.4
@


1.6
log
@Add pkgsrc build option disable-filter-url to disable php://filter URL

php://filter URL is a feature documented here:
http://php.net/manual/en/wrappers.php.php

Unfortunately, it allows remote control of include() behavior
beyond what many developpers expected, enabling easy dump of
PHP source files. The administrator may want to disable the
feature for security sake, and this option makes that possible.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.5 2018/07/16 10:58:50 maya Exp $
d6 6
@


1.5
log
@php*: disable global regs on i386.
Fixes PR pkg/53222 that resurfaced

Remove the previous workaround to add GCC_REQD, which isn't sufficient
any more, possibly due to enabling ssp/fortify?

XXX bumping PKGREVISION might not be sufficient, for the same reason the
GCC_REQD had to be moved to Makefile.php, it affects modules too.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.4 2018/02/05 08:51:25 jdolecek Exp $
d49 1
d108 4
@


1.4
log
@Switch lang/php72 to use pkgsrc pcre library instead of the bundled one

PHP bundles it's own copy of pcre 8.41 with the distribution, which
is used when build doesn't find system one. Switch to the pkgsrc
pcre, so that we don't need to maintain local PHP JIT patch here.
Upcoming PHP 7.3 already switched to pcre2, so no value maintaining
private PCRE patch any more (if there ever was).

XXX devel/pcre doesn't seem to enable PCRE JIT, might be good to do so
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.3 2018/02/04 16:19:00 jdolecek Exp $
a5 5
# PHP bug #74526 - segfaults on build with GCC 4.8.5 i386
.if ${MACHINE_ARCH} == "i386"
GCC_REQD+=              4.9
.endif

@


1.4.4.1
log
@Pullup ticket #5798 - requested by taca
lang/php72: security fix

Revisions pulled up:
- lang/php/phpversion.mk                                        1.223
- lang/php72/Makefile                                           1.9-1.12
- lang/php72/Makefile.php                                       1.5-1.6
- lang/php72/distinfo                                           1.27-1.28
- lang/php72/patches/patch-disable-filter-url                   1.1

---
   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Mon Jul 16 10:58:50 UTC 2018

   Modified Files:
   	pkgsrc/lang/php70: Makefile Makefile.php
   	pkgsrc/lang/php71: Makefile Makefile.php
   	pkgsrc/lang/php72: Makefile Makefile.php

   Log Message:
   php*: disable global regs on i386.
   Fixes PR pkg/53222 that resurfaced

   Remove the previous workaround to add GCC_REQD, which isn't sufficient
   any more, possibly due to enabling ssp/fortify?

   XXX bumping PKGREVISION might not be sufficient, for the same reason the
   GCC_REQD had to be moved to Makefile.php, it affects modules too.

---
   Module Name:	pkgsrc
   Committed By:	manu
   Date:		Wed Jul 18 07:33:12 UTC 2018

   Modified Files:
   	pkgsrc/lang/php56: Makefile.php distinfo
   	pkgsrc/lang/php70: Makefile.php distinfo
   	pkgsrc/lang/php71: Makefile.php distinfo
   	pkgsrc/lang/php72: Makefile.php distinfo
   Added Files:
   	pkgsrc/lang/php56/patches: patch-disable-filter-url
   	pkgsrc/lang/php70/patches: patch-disable-filter-url
   	pkgsrc/lang/php71/patches: patch-disable-filter-url
   	pkgsrc/lang/php72/patches: patch-disable-filter-url

   Log Message:
   Add pkgsrc build option disable-filter-url to disable php://filter URL

   php://filter URL is a feature documented here:
   http://php.net/manual/en/wrappers.php.php

   Unfortunately, it allows remote control of include() behavior
   beyond what many developpers expected, enabling easy dump of
   PHP source files. The administrator may want to disable the
   feature for security sake, and this option makes that possible.

---
   Module Name:	pkgsrc
   Committed By:	ryoon
   Date:		Fri Jul 20 03:34:33 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: Makefile


   Log Message:
   Recursive revbump from textproc/icu-62.1

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Fri Jul 20 13:25:26 UTC 2018

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php72: Makefile distinfo

   Log Message:
   lang/php72: update to 7.2.8

   19 Jul 2018, PHP 7.2.8

   - Core:
     . Fixed bug #76534 (PHP hangs on 'illegal string offset on string references
       with an error handler). (Laruence)
     . Fixed bug #76520 (Object creation leaks memory when executed over HTTP).
       (Nikita)
     . Fixed bug #76502 (Chain of mixed exceptions and errors does not serialize
       properly). (Nikita)

   - Date:
     . Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol)

   - EXIF:
     . Fixed bug #76409 (heap use after free in _php_stream_free). (cmb)
     . Fixed bug #76423 (Int Overflow lead to Heap OverFlow in
       exif_thumbnail_extract of exif.c). (Stas)
     . Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif
       data). (Stas)

   - FPM:
     . Fixed bug #73342 (Vulnerability in php-fpm by changing stdin to
       non-blocking). (Nikita)

   - GMP:
     . Fixed bug #74670 (Integer Underflow when unserializing GMP and possible
       other classes). (Nikita)

   - intl:
     . Fixed bug #76556 (get_debug_info handler for BreakIterator shows wrong
       type). (cmb)

   - mbstring:
     . Fixed bug #76532 (Integer overflow and excessive memory usage
       in mb_strimwidth). (MarcusSchwarz)

   - Opcache:
     . Fixed bug #76477 (Opcache causes empty return value).
       (Nikita, Laruence)

   - PGSQL:
     . Fixed bug #76548 (pg_fetch_result did not fetch the next row). (Anatol)

   - phpdbg:
     . Fix arginfo wrt. optional/required parameters. (cmb)

   - Reflection:
     . Fixed bug #76536 (PHP crashes with core dump when throwing exception in
       error handler). (Laruence)
     . Fixed bug #75231 (ReflectionProperty#getValue() incorrectly works with
       inherited classes). (Nikita)

   - Standard:
     . Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys).
       (Laruence)
     . Fixed bug #71848 (getimagesize with $imageinfo returns false). (cmb)

   - Win32:
     . Fixed bug #76459 (windows linkinfo lacks openbasedir check). (Anatol)

   - ZIP:
     . Fixed bug #76461 (OPSYS_Z_CPM defined instead of OPSYS_CPM).
       (Dennis Birkholz, Remi)

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Fri Jul 20 13:29:51 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: Makefile

   Log Message:
   lang/php72: reset PKGREVISION

   Reset PKGREVISION along with update to 7.2.8.
@
text
@d1 1
a1 1
# $NetBSD$
d6 5
a53 1
PKG_SUPPORTED_OPTIONS+=	disable-filter-url
a111 4
.if !empty(PKG_OPTIONS:Mdisable-filter-url)
CFLAGS+=		-DDISABLE_FILTER_URL
.endif

@


1.4.4.2
log
@Pullup ticket #5833 - requested by taca
lang/php72: security fix

Revisions pulled up:
- lang/php72/Makefile                                           1.13
- lang/php72/Makefile.php                                       1.7-1.8
- lang/php72/distinfo                                           1.29-1.30

---
   Module Name:	pkgsrc
   Committed By:	manu
   Date:		Mon Jul 30 07:17:16 UTC 2018

   Modified Files:
   	pkgsrc/lang/php70: Makefile.php
   	pkgsrc/lang/php71: Makefile.php
   	pkgsrc/lang/php72: Makefile.php

   Log Message:
   Fix PHP buidl on i386

   The --disable-gcc-global-regs fix is not enough, we really need
   GCC 6 to avoid php crashing during www/ap-ph build.

---
   Module Name:	pkgsrc
   Committed By:	maya
   Date:		Tue Jul 31 01:17:56 UTC 2018

   Modified Files:
   	pkgsrc/lang/php70: Makefile Makefile.php
   	pkgsrc/lang/php71: Makefile Makefile.php
   	pkgsrc/lang/php72: Makefile Makefile.php

   Log Message:
   move --disable-gcc-global-regs to Makefile.php.
   Seems to make a previously segfaulting netbsd-8/i386's build not segfau=
   lt.
   ap-php runs PHP's configure and builds some of its code, so it needs th=
   e
   same flag.

   Now we can stop requiring an arbitrary GCC version. The test case in th=
   e
   GCC bugzilla fails on all GCC versions I tested, but magically some
   versions of GCC manage to build a working PHP.

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Sun Aug 19 13:56:59 UTC 2018

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php72: distinfo

   Log Message:
   lang/php72: update to 7.2.9

   16 Aug 2018, PHP 7.2.9

   - Calendar:
     . Fixed bug #52974 (jewish.c: compile error under Windows with GBK ch=
   arset).
       (cmb)

   - Filter:
     . Fixed bug #76366 (References in sub-array for filtering breaks the =
   filter).
       (ZiHang Gao)

   - PDO_Firebird:
     . Fixed bug #76488 (Memory leak when fetching a BLOB field). (Simonov=
    Denis)

   - PDO_PgSQL:
     . Fixed bug #75402 (Possible Memory Leak using PDO::CURSOR_SCROLL opt=
   ion).
       (Anatol)

   - SQLite3:
     . Fixed #76665 (SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't j=
   uggle).
       (cmb)

   - Standard:
     . Fixed bug #73817 (Incorrect entries in get_html_translation_table).=
    (cmb)
     . Fixed bug #68553 (array_column: null values in $index_key become in=
   crementing
       keys in result). (Laruence)
     . Fixed bug #76643 (Segmentation fault when using `output_add_rewrite=
   _var`).
       (cmb)

   - Zip:
     . Fixed bug #76524 (ZipArchive memory leak (OVERWRITE flag and empty =
   archive)).
       (Timur Ibragimov)

---
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Thu Sep 13 15:45:33 UTC 2018

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php72: distinfo

   Log Message:
   lang/php72: Update to 7.2.10

   13 Sep 2018, PHP 7.2.10

   - Core:
     . Fixed bug #76754 (parent private constant in extends class memory l=
   eak).
       (Laruence)
     . Fixed bug #72443 (Generate enabled extension). (petk)
     . Fixed bug #75797 (Memory leak when using class_alias() in non-debug=
    mode).
       (Massimiliano Braglia)

   - Apache2:
     . Fixed bug #76582 (Apache bucket brigade sometimes becomes invalid).=
    (stas)

   - Bz2:
     . Fixed arginfo for bzcompress. (Tyson Andre)

   - gettext:
     . Fixed bug #76517 (incorrect restoring of LDFLAGS). (sji)

   - iconv:
     . Fixed bug #68180 (iconv_mime_decode can return extra characters in =
   a
       header). (cmb)
     . Fixed bug #63839 (iconv_mime_decode_headers function is skipping he=
   aders).
       (cmb)
     . Fixed bug #60494 (iconv_mime_decode does ignore special characters)=
   . (cmb)
     . Fixed bug #55146 (iconv_mime_decode_headers() skips some headers). =
   (cmb)

   - intl:
     . Fixed bug #74484 (MessageFormatter::formatMessage memory corruption=
    with
       11+ named placeholders). (Anatol)

   - libxml:
     . Fixed bug #76777 ("public id" parameter of libxml_set_external_enti=
   ty_loader
       callback undefined). (Ville Hukkam=E4ki)

   - mbstring:
     . Fixed bug #76704 (mb_detect_order return value varies based on argu=
   ment
       type). (cmb)

   - Opcache:
     . Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" =
   as a phar
       file). (Laruence)

   - OpenSSL:
     . Fixed bug #76705 (unusable ssl =3D> peer_fingerprint in
       stream_context_create()). (Jakub Zelenka)

   - phpdbg:
     . Fixed bug #76595 (phpdbg man page contains outdated information).
       (Kevin Abel)

   - SPL:
     . Fixed bug #68825 (Exception in DirectoryIterator::getLinkTarget()).=
    (cmb)
     . Fixed bug #68175 (RegexIterator pregFlags are NULL instead of 0). (=
   Tim
       Siebels)

   - Standard:
     . Fixed bug #76778 (array_reduce leaks memory if callback throws exce=
   ption).
       (cmb)

   - zlib:
     . Fixed bug #65988 (Zlib version check fails when an include/zlib/ st=
   yle dir
       is passed to the --with-zlib configure option). (Jay Bonci)
     . Fixed bug #76709 (Minimal required zlib library is 1.2.0.4). (petk)=
@
text
@a5 7
# segfaults when buidling with many compilers
# https://bugs.php.net/bug.php?id=74527
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+=	--disable-gcc-global-regs
.endif

@


1.3
log
@Switch php72 to use pkgsrc sqlite3 library instead of the bundled one

PHP bundles a sqlite3 lib, it's used when the build can't find
system one. Switch to the pkgsrc-provided one, eliminating also
need to maintain a local patch for it. While here make this into a
tunable compile option 'sqlite3', by default on, same as before.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.2 2018/01/31 21:10:18 jdolecek Exp $
d11 3
d50 2
@


1.2
log
@add new option argon2 to compile in the support for Argon2 password hashes
(new in php 7.2.0)
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.1 2017/11/15 08:56:12 jdolecek Exp $
d48 2
a49 2
PKG_SUPPORTED_OPTIONS+=	inet6 ssl maintainer-zts readline argon2
PKG_SUGGESTED_OPTIONS+=	inet6 ssl readline
d100 7
@


1.1
log
@Add php72 7.2.0RC6

PHP 7.2.x builds upon 7.1.x, adding new features:

* Argument type declarations
* Object return type declarations
* Parameter Type Widening
* Trailing commas in list syntax
* Argon2 in password hash
* Libsodium as part of PHP Core
* Deprecated: __autoload, $php_errormsg, create_function(),
  mbstring.func_overload, parse_str() without second argument,
  gmp_random(), each(), assert(), $errcontext
* uniqid() patch to avoid usleep() integrated, 10000x improvement on NetBSD,
  about 10x on Linux
@
text
@d1 1
a1 1
# $NetBSD: Makefile.php,v 1.6 2017/08/04 23:08:47 taca Exp $
d48 1
a48 1
PKG_SUPPORTED_OPTIONS+=	inet6 ssl maintainer-zts readline
d95 5
@


1.1.2.1
log
@Pullup ticket #5718 - requested by taca
lang/php72: security update

Revisions pulled up:
- lang/php72/Makefile                                           1.4-1.6
- lang/php72/Makefile.common                                    1.2
- lang/php72/Makefile.php                                       1.2-1.4
- lang/php72/PLIST                                              1.2
- lang/php72/buildlink3.mk                                      1.2-1.3
- lang/php72/distinfo                                           1.12-1.22
- lang/php72/patches/patch-configure                            1.5-1.10
- lang/php72/patches/patch-ext_curl_config.m4                   deleted
- lang/php72/patches/patch-ext_imap_config.m4                   deleted
- lang/php72/patches/patch-ext_pcre_pcrelib_config.h            deleted
- lang/php72/patches/patch-ext_pdo__mysql_config.m4             deleted
- lang/php72/patches/patch-ext_pdo_config.m4                    deleted
- lang/php72/patches/patch-ext_sqlite3_libsqlite_sqlite3.c      deleted
- lang/php72/patches/patch-makedist                             deleted
- lang/php72/patches/patch-sapi_fpm_fpm_events_port.c           1.2

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jperkin
   Date:		Tue Jan 16 10:49:57 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   php72: Don't automatically add libgcc on SunOS.


   To generate a diff of this commit:
   cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Wed Jan 31 21:10:18 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: Makefile.php

   Log Message:
   add new option argon2 to compile in the support for Argon2 password hashes
   (new in php 7.2.0)


   To generate a diff of this commit:
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php72/Makefile.php

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Fri Feb  2 12:50:38 UTC 2018

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure
   Removed Files:
   	pkgsrc/lang/php72/patches: patch-ext_curl_config.m4
   	    patch-ext_pdo__mysql_config.m4 patch-ext_pdo_config.m4
   	    patch-makedist

   Log Message:
   Update php72 to php 7.2.2

   Changes since 7.2.1:

   Core:
   Fixed bug #75742 (potential memleak in internal classes's static members).
   Fixed bug #75679 (Path 260 character problem).
   Fixed bug #75614 (Some non-portable = in shell scripts).
   Fixed bug #75786 (segfault when using spread operator on generator passed by reference).
   Fixed bug #75799 (arg of get_defined_functions is optional).
   Fixed bug #75396 (Exit inside generator finally results in fatal error).

   FCGI:
   Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is false).

   IMAP:
   Fixed bug #75774 (imap_append HeapCorruction).

   Opcache:
   Fixed bug #75720 (File cache not populated after SHM runs full).
   Fixed bug #75687 (var 8 (TMP) has array key type but not value type).
   Fixed bug #75698 (Using @@ crashes php7.2-fpm).
   Fixed bug #75579 (Interned strings buffer overflow may cause crash).

   PDO:
   Fixed bug #75616 (PDO extension doesn't allow to be built shared on Darwin).

   PDO MySQL:
   Fixed bug #75615 (PDO Mysql module can't be built as module).

   PGSQL:
   Fixed bug #75671 (pg_version() crashes when called on a connection to cockroach).
   Readline:
   Fixed bug #75775 (readline_read_history segfaults with empty file).

   SAPI:
   Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry).

   SOAP:
   Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is used).
   Fixed bug #75502 (Segmentation fault in zend_string_release).

   SPL:
   Fixed bug #75717 (RecursiveArrayIterator does not traverse arrays by reference).
   Fixed bug #75242 (RecursiveArrayIterator doesn't have constants from parent class).
   Fixed bug #73209 (RecursiveArrayIterator does not iterate object properties).
   Standard:
   Fixed bug #75781 (substr_count incorrect result).
   Fixed bug #75653 (array_values don't work on empty array).

   Zip:
   Display headers (buildtime) and library (runtime) versions in phpinfo (with libzip >= 1.3.1).


   To generate a diff of this commit:
   cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php72/patches/patch-configure
   cvs rdiff -u -r1.2 -r0 pkgsrc/lang/php72/patches/patch-ext_curl_config.m4 \
       pkgsrc/lang/php72/patches/patch-ext_pdo_config.m4 \
       pkgsrc/lang/php72/patches/patch-makedist
   cvs rdiff -u -r1.3 -r0 \
       pkgsrc/lang/php72/patches/patch-ext_pdo__mysql_config.m4

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Sun Feb  4 15:38:41 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-ext_imap_config.m4
   	    patch-sapi_fpm_fpm_events_port.c

   Log Message:
   note upstream bug report numbers for two more patches


   To generate a diff of this commit:
   cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php72/patches/patch-ext_imap_config.m4 \
       pkgsrc/lang/php72/patches/patch-sapi_fpm_fpm_events_port.c

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Sun Feb  4 16:19:00 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: Makefile Makefile.php distinfo
   Removed Files:
   	pkgsrc/lang/php72/patches: patch-ext_sqlite3_libsqlite_sqlite3.c

   Log Message:
   Switch php72 to use pkgsrc sqlite3 library instead of the bundled one

   PHP bundles a sqlite3 lib, it's used when the build can't find
   system one. Switch to the pkgsrc-provided one, eliminating also
   need to maintain a local patch for it. While here make this into a
   tunable compile option 'sqlite3', by default on, same as before.


   To generate a diff of this commit:
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/php72/Makefile
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/php72/Makefile.php
   cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.1 -r0 \
       pkgsrc/lang/php72/patches/patch-ext_sqlite3_libsqlite_sqlite3.c

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Mon Feb  5 08:51:25 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: Makefile Makefile.common Makefile.php PLIST
   	    buildlink3.mk distinfo
   Removed Files:
   	pkgsrc/lang/php72/patches: patch-ext_pcre_pcrelib_config.h

   Log Message:
   Switch lang/php72 to use pkgsrc pcre library instead of the bundled one

   PHP bundles it's own copy of pcre 8.41 with the distribution, which
   is used when build doesn't find system one. Switch to the pkgsrc
   pcre, so that we don't need to maintain local PHP JIT patch here.
   Upcoming PHP 7.3 already switched to pcre2, so no value maintaining
   private PCRE patch any more (if there ever was).

   XXX devel/pcre doesn't seem to enable PCRE JIT, might be good to do so


   To generate a diff of this commit:
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/php72/Makefile
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/php72/Makefile.common \
       pkgsrc/lang/php72/PLIST pkgsrc/lang/php72/buildlink3.mk
   cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/php72/Makefile.php
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.1 -r0 \
       pkgsrc/lang/php72/patches/patch-ext_pcre_pcrelib_config.h

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jperkin
   Date:		Mon Feb  5 11:21:56 UTC 2018

   Modified Files:
   	pkgsrc/lang/php70: buildlink3.mk
   	pkgsrc/lang/php71: buildlink3.mk
   	pkgsrc/lang/php72: buildlink3.mk

   Log Message:
   php7*: Standardise on major.minor.99 usage in buildlink3.mk

   With the introduction of beta and rc releases of php7* into pkgsrc the pattern
   matching is often incorrect (for example the current version of php-7.1.0rc6
   breaks both <7.1.0 and >=7.1.0).  Using .99 is not ideal but does at least
   avoid the confusion developers seem to be having with the pmatch ordering.


   To generate a diff of this commit:
   cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/php72/buildlink3.mk

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Thu Feb  8 20:55:42 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   remove part of configure patch related to sqlite3

   the part of the patch is not needed anymore, we use external sqlite3 lib,
   and the patch was for the bundled sqlite3 build


   To generate a diff of this commit:
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Thu Feb  8 21:23:04 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   drop patch removing pthread checks for apache <2.4.1 module build

   the patch predates php56, doesn't seem to be necessary when building
   with apache22, and we want to reduce diffs against upstream; maybe
   that part was needed with distant past with apache 1.3 or whatnot,
   but that is not in pkgsrc any more


   To generate a diff of this commit:
   cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Thu Feb  8 21:50:55 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   note configure meta_ccld was reported upstream as #75940


   To generate a diff of this commit:
   cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Fri Feb  9 00:01:13 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   	pkgsrc/lang/php72/patches: patch-configure

   Log Message:
   Add upstream bug report number for the libgcc part of patch too

   Thanks Jonathan for elaboration of why it's necessary.


   To generate a diff of this commit:
   cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/php72/patches/patch-configure

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	jdolecek
   Date:		Fri Feb 16 22:26:29 UTC 2018

   Modified Files:
   	pkgsrc/lang/php72: distinfo
   Removed Files:
   	pkgsrc/lang/php72/patches: patch-ext_imap_config.m4

   Log Message:
   remove patches/patch-ext_imap_config.m4, it's not needed any more

   mail/php-imap was changed to not use the option this patch adds; it was
   also entirely ineffective in what it was supposed to do


   To generate a diff of this commit:
   cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/php72/distinfo
   cvs rdiff -u -r1.2 -r0 pkgsrc/lang/php72/patches/patch-ext_imap_config.m4

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	taca
   Date:		Fri Mar  2 02:11:24 UTC 2018

   Modified Files:
   	pkgsrc/lang/php: phpversion.mk
   	pkgsrc/lang/php72: Makefile distinfo

   Log Message:
   lang/php72: update to 7.2.3

   01 Mar 2018, PHP 7.2.3

   - Core:
     . Fixed bug #75864 ("stream_isatty" returns wrong value on s390x). (Sam Ding)

   - Apache2Handler:
     . Fixed bug #75882 (a simple way for segfaults in threadsafe php just with
       configuration). (Anatol)

   - Date:
     . Fixed bug #75857 (Timezone gets truncated when formatted). (carusogabriel)
     . Fixed bug #75928 (Argument 2 for `DateTimeZone::listIdentifiers()` should
       accept `null`). (Pedro Lacerda)
     . Fixed bug #68406 (calling var_dump on a DateTimeZone object modifies it).
       (jhdxr)

   - LDAP:
     . Fixed bug #49876 (Fix LDAP path lookup on 64-bit distros). (dzuelke)

   - libxml2:
     . Fixed bug #75871 (use pkg-config where available). (pmmaga)

   - PGSQL:
     . Fixed bug #75838 (Memory leak in pg_escape_bytea()). (ard_1 at mail dot ru)

   - Phar:
     . Fixed bug #54289 (Phar::extractTo() does not accept specific directories to
       be extracted). (bishop)
     . Fixed bug #65414 (deal with leading slash while adding files correctly).
       (bishopb)
     . Fixed bug #65414 (deal with leading slash when adding files correctly).
       (bishopb)

   - ODBC:
     . Fixed bug #73725 (Unable to retrieve value of varchar(max) type). (Anatol)

   - Opcache:
     . Fixed bug #75729 (opcache segfault when installing Bitrix). (Nikita)
     . Fixed bug #75893 (file_get_contents $http_response_header variable bugged
       with opcache). (Nikita)
     . Fixed bug #75938 (Modulus value not stored in variable). (Nikita)

   - SPL:
     . Fixed bug #74519 (strange behavior of AppendIterator). (jhdxr)

   - Standard:
     . Fixed bug #75916 (DNS_CAA record results contain garbage). (Mike,
       Philip Sharp)
     . Fixed bug #75981 (Prevent reading beyond buffer start in http wrapper).
       (Stas)


   To generate a diff of this commit:
   cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php72/Makefile
   cvs rdiff -u -r1.21 -r1.22 pkgsrc/lang/php72/distinfo
@
text
@d1 1
a1 1
# $NetBSD$
a10 3
# the binary actually needs full dep on PCRE
BUILDLINK_DEPMETHOD.pcre=	full

a46 2
CONFIGURE_ARGS+=	--with-pcre-regex=${BUILDLINK_PREFIX.pcre}

d48 2
a49 2
PKG_SUPPORTED_OPTIONS+=	inet6 ssl maintainer-zts readline argon2 sqlite3
PKG_SUGGESTED_OPTIONS+=	inet6 ssl readline sqlite3
a94 12
.if !empty(PKG_OPTIONS:Margon2)
CONFIGURE_ARGS+=	--with-password-argon2=${BUILDLINK_PREFIX.argon2}
.include "../../security/argon2/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Msqlite3)
CONFIGURE_ARGS+=	--with-sqlite3=${BUILDLINK_PREFIX.sqlite3}
.include "../../databases/sqlite3/buildlink3.mk"
.else
CONFIGURE_ARGS+=    --without-sqlite3
.endif

@


