Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2016 18:37:19 +0800
From:      Gasol Wu <gasol.wu@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Future of pecl ports
Message-ID:  <CAHYWXROhehMz8qKBs20On-6AUOF2R362fqwbWVr4JJTpPDMjvQ@mail.gmail.com>
In-Reply-To: <CAFY%2ByEkfxu%2BTSaSAJsJpcnFhEUxd=RLt26CpSLUmVStG3tPFxQ@mail.gmail.com>
References:  <CAFY%2ByEkfxu%2BTSaSAJsJpcnFhEUxd=RLt26CpSLUmVStG3tPFxQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi miwi,

First of all, I'm appreciated for your PHP support in FreeBSD.

I have received many outdated notices regarding the PECL ports from
portscout because I'm the maintainer.
I saw the same problem here when I start to packaging, So I'm so happy
 to see this discussion here.

IMHO, I will vote option (c). Here is my thought.

1. Explicit is better than implicit
2. It will be bad if we upgrade ports without changing port name,
especially they have BC problems.
3. I would like to see official support for installing different
version of PHP in same FreeBSD box
    without using 3rd-party tools like phpbrew or phpenv.
    Imagine that we have /usr/local/bin/{php55,php56,php70} respectively

Regards,
Gasol.

On Thu, Feb 18, 2016 at 11:51 PM, Martin Wilke <miwi@freebsd.org> wrote:
> Hi all,
>
> I've spent a lot of time on FreeBSD PHP and pecl ports this past
> week, and have also been thinking about the future of these ports.
>
> We now have 3 PHP versions in the tree (5.5, 5.6 and 7.0) and 7.0 is
> not backwards compatible. This means a separate set of PHP 7.0 specific
> versions of our PECL ports need to exist.
>
> We can also expect additional PHP 7.x versions in the future, which
> we currently expect will be backward compatible within all 7.x major
> version releases.
>
> a) Existing ports copied to create new ones named
>    php70-pecl-name, or pecl-name-php70.
>
>    pecl-name ports stay the same (only PHP 5.x)
>
> b) Existing ports copied to create new ones named php5-pecl-name or
>    pecl-name-php5.
>
>    Existing pecl-name ports then updated to support the latest
>    (php70) version only.
>
> c) Existing ports copied to create new ones named php5-pecl-name or
>    pecl-name-php5.
>
>    Existing ports copied to create new ones named
>    php70-pecl-name, or pecl-name-php70. pecl-name ports stay the same.
>
>    We are left with pecl-name-php5 and pecl-name-php7.
>
>    pecl-name ports go away.
>
> Regarding (a) and (b) above, even though today PHP 7 is far from being
> the 'default' version, at some point PHP 5.x will go away, and this will
> mean having to go through the the pecl-* ports tree and rename all the
> ports anyway.
>
> Given the above, I am leaning towards option (X), but I'd like to open
> a discussion and welcome your thoughts and feedback.
>
> --
> +-----------------oOO--(_)--OOo-------------------------+
> With best Regards,
>         Martin Wilke (miwi_(at)_FreeBSD.org)
>
> Mess with the Best, Die like the Rest
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHYWXROhehMz8qKBs20On-6AUOF2R362fqwbWVr4JJTpPDMjvQ>