Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2021 02:13:29 -0400
From:      Paul Procacci <pprocacci@gmail.com>
To:        Victor Sudakov <vas@sibptus.ru>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: lang/php72 needed
Message-ID:  <CAFbbPuj7UKvj6dTQDCrqiGKRKA5RXZu=Yz29Mq2E-UVE2EL5xQ@mail.gmail.com>
In-Reply-To: <YL2wyD2jAk4jt12D@admin.sibptus.ru>
References:  <YL2LXuswiy18RU/n@admin.sibptus.ru> <CAFbbPuhcz-pdodiake8BpYT%2B0R73VyLQQN5BNWfpYOv%2B6fACag@mail.gmail.com> <YL2Z2eAni8%2Bl1hKg@admin.sibptus.ru> <CAFbbPug44FKmW6sXeX8ugpd2v5o_LMnm_GpEVaMFeUCY4yyGSw@mail.gmail.com> <YL2wyD2jAk4jt12D@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 ( On=
d=C5=99ej
Sur=C3=BD ) 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@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 t=
he
> > 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@fidonet
>


--=20
__________________

:(){ :|:& };:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFbbPuj7UKvj6dTQDCrqiGKRKA5RXZu=Yz29Mq2E-UVE2EL5xQ>