Bug 261546 - net/pecl-xmlrpc: Update to 1.0.0 RC3
Summary: net/pecl-xmlrpc: Update to 1.0.0 RC3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL: https://pecl.php.net/package-changelo...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-29 05:09 UTC by Derek Schrock
Modified: 2022-02-05 02:52 UTC (History)
1 user (show)

See Also:


Attachments
Update to 1.0.0 RC3 (1.52 KB, patch)
2022-01-29 05:09 UTC, Derek Schrock
dereks: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Schrock 2022-01-29 05:09:16 UTC
Created attachment 231422 [details]
Update to 1.0.0 RC3

- Update to 1.0.0 RC3
- RC3 adds PHP 8.1 support

portlint: ok. looks fine.
testport: ok. 13amd64.
unittest: ok:

Number of tests :   35                33
Tests skipped   :    2 (  5.7%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :   16 ( 45.7%) ( 48.5%)
Tests passed    :   17 ( 48.6%) ( 51.5%)
----------------------------------------
Time taken      :    0 seconds


Tested on both 8.0 and 8.1.  Like previous bug failed test are not related.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-02-05 02:06:18 UTC
A commit in branch main references this bug:

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

commit 46e4c843c9222f7fef45c09da649239f8f15ffd5
Author:     Derek Schrock <dereks@lifeofadishwasher.com>
AuthorDate: 2022-02-05 02:02:03 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2022-02-05 02:05:42 +0000

    net/pecl-xmlrpc: Update to 1.0.0 RC3

    - RC3 adds PHP 8.1 support

    PR:             261546

 net/pecl-xmlrpc/Makefile | 6 +++---
 net/pecl-xmlrpc/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2022-02-05 02:10:35 UTC
Committed with minor changes, thanks!

We can't use DISTVERSIONSUFFIX here because it will make the pkg version the same:

$ make -V PKGVERSION
1.0.0

Changing to `DISTVERSION= 1.0.0RC3` fixes this but because the previous version would be considered higher:

$ make -V PKGVERSION
1.0.0.r3
$ pkg version -t 1.0.0 1.0.0.r3
>

So unfortunately we need to use PORTEPOCH:

$ make -V PKGVERSION
1.0.0.r3,1
$ pkg version -t 1.0.0 1.0.0.r3,1
<
Comment 3 Derek Schrock 2022-02-05 02:16:15 UTC
When/if 1.0.0 is released does epoch get bumped again?
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2022-02-05 02:52:25 UTC
(In reply to Derek Schrock from comment #3)
No, PORTEPOCH doesn't need to be bumped unless the version goes backward again:

$ pkg version -t 1.0.0,1 1.0.0.r3,1
>