This is an extension to efficiently schedule I/O,
time and signal based events using the best I/O
notification mechanism available for specific platform.
This is a port of libevent to the PHP infrastructure.
devel/pecl-event: update to 3.1.4 release (+)
What's new:
3.1.1 Fixed build in RHEL 7 and 8 (thanks to Remi Collet).
3.1.2 Fixed an issue in EventDnsBase::__construct() where it failed to accept
the init flag set to true when using libevent version < 2.1.0.
3.1.3 EventDnsBase::__construct() now throws a TypeError if the type of the
$initialize argument is anything other than int or bool.
3.1.4 Fixed tests failing with PHP 8.4.0-alpha1 (thanks to Remi Collet).
devel/pecl-event: update to 3.1.0 release (+)
- The loop will now be stopped if an event callback throws an exception.
This prevents user from losing control on the event loop.
- EventDnsBase::__construct() now accepts bool|int as its second parameter:
* false and true have the same meaning as before;
* EventDnsBase::DISABLE_WHEN_INACTIVE - Do not prevent the libevent event loop
from exiting when we have no active DNS requests.
* EventDnsBase::INITIALIZE_NAMESERVERS - Process resolv.conf.
* EventDnsBase::NAMESERVERS_NO_DEFAULT - Do not add default nameserver if there
are no nameservers in resolv.conf.
- Internally, a safer strlcpy() will be used instead of strcpy().
- Fixed a segmentation fault that might occur in the EventHttpRequest callback.
- Fixed a bug where the EventBuffer::copyout method didn't populate the output
variable properly in PHP >= 8.2 (thanks to Joseph Tseng).
Changelog: https://pecl.php.net/package-changelog.php?package=event&release=3.1.0
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
devel/pecl-event: update to 3.0.6 release
- Fixed tests for the builds in debug mode where libevent complained about STDIN
and STDOUT being not set to non-blocking mode
- Fixed build with OpenSSL 3.0 (Thanks to Remi Collet).
Release notes: https://pecl.php.net/package/event/3.0.6
devel/pecl-event: update to 3.0.5 release
Fixed a test not working with PHP 8.1.0alpha1
Internal changes: Created a non-fastcall wrapper for zend_objects_new().
Fixed #66: Segmentation fault when calling EventConfig::avoidMethod because of
incorrect arg info
Update to 2.4.2
Changelog:
- Fixed: SSL verification callback failed when EventSslContext was used with
either EventBufferEvent::createSslFilter or EventBufferEvent::sslFilter.
Sponsored by: Netzkommune GmbH
Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.
Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php. A PHP extension will be automatically activated
when installed. The order into which extensions are loaded is
automatically guessed. In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php
section of the Porter's Handbook for more information.
Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.
And finally, bump PORTREVISION for all php extensions.
PR: 210697
Submitted by: mat
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D7022
- Update to 2.0.4 and unbreak build with PHP 7.0
- While I'm here:
- Add LICENSE_FILE
- Remove unnecessary PHP_MODNAME
- Pet portlint
- Update BROKEN: use lowercase for leading character
Changes: https://pecl.php.net/package-changelog.php?package=event
PR: 208956
Submitted by: Mickael Maillot <mickael.maillot@gmail.com>
Approved by: John Chen <johnpupu@gmail.com> (maintainer)
Only use libevent2
Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2
With hat: portmgr