lang/php72 needed

Paul Procacci pprocacci at gmail.com
Mon Jun 7 06:13:42 UTC 2021


I'm not sure if it's either strange nor alarming like you claim.
That version of php is EOL from the vendor afterall.
The specific topic of maintaining support for old software, or retaining
backwards compatibility has been hashed before not only here, but in most
venerable software.

Your packages.sury.org example exists because someone out in the world ( Ondřej
Surý ) has a need for it on Linux and makes his packages available to all.
He happens to not only have a need for it, he's actually one of the Debian
developers as well; though I digress.
In the same vein, if you have a need for it, `make package` on your FreeBSD
version, work through the kinks and also make it available.
The next bloke who's looking for a package will find yours and be grateful.

In the case of Moodle, I'm not going to question your reason for using old
software, but will kindly point out that they have a version that's
compatible w/ more recent versions of php.
Without knowing your evaluation process or conclusion thereof, I'd suggest
upgrading Moodle instead.

Sorry I can't be of any further help.  Take Care.
~Paul


On Mon, Jun 7, 2021 at 1:38 AM Victor Sudakov <vas at sibptus.ru> wrote:

> Paul Procacci wrote:
> > Having lots of php72 is no problem if you `find | xargs`.
> > I tried this and didn't _really_ run into any problems.
> > I didn't try any of the extensions however.
> >
> > This is what I did:
> > # svn co -r r559730  https://svn.freebsd.org/port/head /tmp/ports
> > # cd /tmp/ports
> > # find . -iname "php72*" -type d -print0 | xargs -0 -I% cp -R %
> /usr/ports/%
> > # cd /usr/ports/lang/php72
> > # make install
> >
> > There were some errors, but they were easily cleaned up by installing the
> > missing pieces via pkg.  Just to name one:
> > # pkg install p5-Locale-gettext
>
> This will not work in poudriere. I'd like to have a reproducible build,
> if possible, not some kind of one-time hack.
>
> [dd]
>
> >
> > Extensions would be similar, but I didn't try any.
>
> There may be many dependencies to fix.
>
> I have already tried going your way with the php52 port on a recent
> FreeBSD, this turned out to be an unpleasant manual process of fixing
> dependencies etc, and eventually I failed to overcome the problem.
>
> It's strange and alarming that nobody cares in the FreeBSD world. In
> Linux, you can install all versions from packages.sury.org, and what's
> more, you can even have different versions simultaneously on one system.
>
> --
> Victor Sudakov VAS4-RIPE
> http://vas.tomsk.ru/
> 2:5005/49 at fidonet
>


-- 
__________________

:(){ :|:& };:


More information about the freebsd-questions mailing list