Bug 217363

Summary: New port - databases/pear-nrk-Predis: PEAR channel for Predis
Product: Ports & Packages Reporter: net
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Only Me CC: peo, rodrigo, w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
nrk pear channel
devel/pear-Predis svn diff none

Description net 2017-02-25 23:00:44 UTC
Created attachment 180302 [details]
nrk pear channel


attached are 2 svn diff's for the ports tree pulling in Predis, a PEAR extension similar to the existing pecl one.
Apart the extension itself, the required PEAR channel is also pulled in.

The port(s) have been tested under FreeBSD 10.3, 11.0 (i386 and amd64), with Poudiere, manual installation / deinstallation and the functionality again with choosing Redis as Hashtable / Session Handler with having www/horde-base installed.
Comment 1 net 2017-02-25 23:01:13 UTC
Created attachment 180303 [details]
devel/pear-Predis svn diff
Comment 2 net 2017-02-25 23:01:51 UTC
Additional comment - since that's my first pear based port, also with adding a new pear channel any comments, suggestions are very welcome.
Comment 3 peo 2017-03-29 18:28:16 UTC
Hello, has this gotten anywhere? +1 for this new port.
Comment 4 peo 2017-03-29 18:36:21 UTC
Just tested the patches and it works - FreeBSD 10.3-STABLE #0 r315143M amd64
Comment 5 net 2017-03-29 18:44:00 UTC

from my side it can be commited, if no - yet unknown to me - problems are going to be found.
Comment 6 peo 2017-03-29 18:49:40 UTC
Well, I saw no problems - will test on 11-STABLE as well and report back
Comment 7 peo 2017-03-29 19:05:27 UTC
root@www1:/usr/ports/devel/pear-channel-nrk # make install clean
===>  pear-channel-nrk-20160621 Cannot find registry file:
*** Error code 1


Moved pear.nrk.io.reg to files/ -> OK

Tested now on both 10 and 11 with Horde, Apache24 and php56.
Wordpress and Joomla also seems to work
Comment 8 Walter Schwarzenfeld freebsd_triage 2019-08-14 08:45:36 UTC
Any news here?
Comment 9 Rodrigo Osorio freebsd_committer 2019-11-24 18:51:58 UTC

I tested your ports today and found an issue on devel/pear-channel-nrk:
"Error: devel/pear-channel-nrk has dependency on devel/pear with invalid empty FLAVOR;"

I'm not a pear expert but checking other ports similar to your who includes "bsd.pear.channel.mk", and the footer of the script looks like :

.include "${PORTSDIR}/devel/pear/bsd.pear.channel.mk"
.include <bsd.port.mk>

instead of 

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.channel.mk"
.include <bsd.port.post.mk>

After this change the ports build without major issue.

Can you check if that works for you and if the resulting packages are usable.

Feel free to contact me if you have questions.

-- rodrigo
Comment 10 Rodrigo Osorio freebsd_committer 2021-05-07 09:56:26 UTC
back to the pool
Comment 11 Mark Linimon freebsd_committer freebsd_triage 2021-05-07 11:17:01 UTC
^Triage: correct assignment and status.