Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586624 - dev-php/PEAR-Net_Sieve Update to roundcube fork 1.5.2
Summary: dev-php/PEAR-Net_Sieve Update to roundcube fork 1.5.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL: http://github.com/roundcube/Net_Sieve
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-21 18:34 UTC by Alan Swanson
Modified: 2016-07-12 22:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
PEAR-Net_Sieve-1.5.2.ebuild (PEAR-Net_Sieve-1.5.2.ebuild,533 bytes, text/plain)
2016-06-21 18:34 UTC, Alan Swanson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Swanson 2016-06-21 18:34:56 UTC
Created attachment 438358 [details]
PEAR-Net_Sieve-1.5.2.ebuild

Specified dependency of Roundcube 1.2.0.

Essentially PEAR-Net_Sieve is stated upstream as being obsoleted by Horde_ManageSieve so Roundcube team took on maintenance themselves. Forked from the un-released 1.3.5 with PHP7 warning fixes and TLS>1.0 support. See https://github.com/pear/Net_Sieve/pull/5 and https://pear.php.net/bugs/bug.php?id=20552 for reference.

Updated ebuild attached. Warning about mv package.xml as its already in ${P}  unlike most PEAR packages. Not sure whether you'd want a src_prepare() to move it out only for php-pear-r1.eclass to move it back in?
Comment 1 Michael Orlitzky gentoo-dev 2016-07-12 22:02:11 UTC
I decided to remove the pear eclass entirely, since the ebuild is only two lines of code. I'm *pretty* sure I installed Sieve.php in the right place, so please let me know if Roundcube has a problem finding it (we haven't upgraded to v1.2.0 yet).

Thanks for letting us know about the fork!

commit 711eea5c97051a9945a89eea54010f8f861db0ca
Author: Michael Orlitzky <mjo@gentoo.org>
Date:   Tue Jul 12 17:57:08 2016 -0400

    dev-php/PEAR-Net_Sieve: new version v1.5.2 from the Roundcube team.

    The Net_Sieve upstream project has been abandoned in favor of another
    package, Horde_ManageSieve. Roundcube still uses Net_Sieve, so the
    Roundcube team has forked this package and updated it for php7.

    The old maintainer of Net_Sieve did not want to let the Roundcube
    people take over maintenance (and the old Net_Sieve truly is dead), so
    in this case it seems acceptable to let Roundcube usurp upstream for
    Net_Sieve. In the past, the Roundcube team has taken over maintenance
    of other related PEAR mail packages.

    The PEAR eclass has been dropped from the ebuild, which now uses
    EAPI=6. In the future this can be renamed without the "PEAR" prefix.

    Gentoo-Bug: 586624