Bug 274826

Summary: net/pecl-amqp: Update to 2.1.1
Product: Ports & Packages Reporter: Martin Waschbüsch <martin>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: jnlin, lwhsu
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (jnlin)
Hardware: Any   
OS: Any   
URL: https://pecl.php.net/package-changelog.php?package=amqp&release=2.1.1
Attachments:
Description Flags
Update to 2.1.1 none

Description Martin Waschbüsch 2023-10-31 10:12:35 UTC
Created attachment 246020 [details]
Update to 2.1.1

The version currently in ports only supports PHP up to and including PHP 8.1.

However, according to upstream:
https://pecl.php.net/package/amqp

Version 2.1.1 of this package is now available which also supports PHP versions higher than 8.1.

It seems the new version (like the old one) compiles fine without any tweaking neccessary. See patch attached.
Comment 1 Martin Waschbüsch 2023-10-31 10:22:08 UTC
btw., seeing as there are breaking changes when upgrading from 1.x.x versions
https://github.com/php-amqp/php-amqp/blob/latest/UPGRADING.md
adding a new package net/pecl-amqp2
might be better than upgrading to the newest version?
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-10-31 17:29:09 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ccc1e7a7278dd6545ee40f014eae6326098c1d58

commit ccc1e7a7278dd6545ee40f014eae6326098c1d58
Author:     Martin Waschbüsch <martin@waschbuesch.de>
AuthorDate: 2023-10-31 10:09:07 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-10-31 17:26:06 +0000

    net/pecl-amqp: Update to 2.1.1

    Changes: https://pecl.php.net/package-changelog.php?package=amqp&release=2.1.1

    PR:             274826
    Approved by:    maintainer (implicitly)

 net/pecl-amqp/Makefile | 4 +---
 net/pecl-amqp/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 6 deletions(-)