Created attachment 192367 [details]
Patch that updates + splits port
This update consists of two parts which updates current port and creates a new port with the old version as there are breaking changes in the new version.
First, copy databases/pecl-redis to databases/pecl-redis3
svn cp databases/pecl-redis databases/pecl-redis3
Secondly, apply patch
Both ports passes poudriere testport + portlint -AC after patch.
Hey Daniel :-)
A few questions about this:
why SUBDIR += pecl-redis3?
The new port is 4.0.0. so pecl-predis4 would not be better with "PKGNAMESUFFIX=4"?
If you read through my submission again you will see that it creates a new port and also updates the current one.
Note the "svn cp databases/pecl-redis databases/pecl-redis3" in my submission which is supposed to be run before applying the patch.
both these ports will be present after doing what i wrote in the submission:
databases/pecl-redis (current version)
databases/pecl-redis3 (older version)
This is how other pecl- ports have done it, for example:
pecl-memcached (current version)
pecl-memcached2 (older version)
A commit references this bug:
Date: Wed Apr 25 10:33:56 UTC 2018
New revision: 468272
databases/pecl-redis: Update and split into new port
This update consists of two parts which updates current port
and creates a new port with the old version as there are breaking
changes in the new version.
Submitted by: Daniel Ylitalo <email@example.com> (maintainer)
Differential Revision: https://reviews.freebsd.org/D15146