Bug 217363 - New port - databases/pear-nrk-Predis: PEAR channel for Predis
Summary: New port - databases/pear-nrk-Predis: PEAR channel for Predis
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-25 23:00 UTC by T. S.
Modified: 2021-05-07 11:17 UTC (History)
3 users (show)

See Also:


Attachments
nrk pear channel (3.09 KB, patch)
2017-02-25 23:00 UTC, T. S.
no flags Details | Diff
devel/pear-Predis svn diff (2.41 KB, patch)
2017-02-25 23:01 UTC, T. S.
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description T. S. 2017-02-25 23:00:44 UTC
Created attachment 180302 [details]
nrk pear channel

Hello,

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 T. S. 2017-02-25 23:01:13 UTC
Created attachment 180303 [details]
devel/pear-Predis svn diff
Comment 2 T. S. 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 T. S. 2017-03-29 18:44:00 UTC
Hello,

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:
/usr/ports/devel/pear-channel-nrk/files/pear.nrk.io.reg.
*** Error code 1

Stop.

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 2019-08-14 08:45:36 UTC
Any news here?
Comment 9 Rodrigo Osorio freebsd_committer freebsd_triage 2019-11-24 18:51:58 UTC
Hi,

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.

Cheers,
-- rodrigo
Comment 10 Rodrigo Osorio freebsd_committer freebsd_triage 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.