Thanks, committed.
On 2017/03/29 09:17, Caspar Schutijser wrote:
> Hi all,
>
> Since perl 5.24, I think net/smokeping needs a run_depends on
> www/p5-CGI-Fast, since without it, I see the following when I try to
> start smokeping_fcgi (just starting it with the rc.d-script is not
> sufficient; the script returns successfully but smokeping_fcgi fails
> shorty after; that's why I added '-n'):
>
>
> # /usr/local/bin/spawn-fcgi -n -s /var/www/run/smokeping.sock \
> -u _smokeping -U www -M 0660 /usr/local/bin/smokeping_cgi \
> /etc/smokeping/config
> [Tue Mar 28 12:10:03 2017] smokeping_cgi: Can't locate CGI/Fast.pm:
> ./CGI/Fast.pm: Permission denied at /usr/local/bin/smokeping_cgi line 19.
> [Tue Mar 28 12:10:03 2017] smokeping_cgi: BEGIN failed--compilation aborted
> at /usr/local/bin/smokeping_cgi line 19.
> Status: 500
> Content-type: text/html
>
> <h1>Software error:</h1>
> <pre>Can't locate CGI/Fast.pm: ./CGI/Fast.pm: Permission denied at
> /usr/local/bin/smokeping_cgi line 19.
> BEGIN failed--compilation aborted at /usr/local/bin/smokeping_cgi line 19.
> </pre>
> <p>
> For help, please send mail to this site's webmaster, giving this error
> message
> and the time and date of the error.
>
> </p>
>
>
> CGI/Fast.pm does not exist anywhere on the disk as CGI::Fast is not
> shipped with base perl anymore.
>
> I was able to build a smokeping package without p5-CGI-Fast installed so
> I assume it only is a run_depends. Diff attached below. I'm not sure
> whether any other ports are similarly affected.
>
> Thanks,
> Caspar Schutijser
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/smokeping/Makefile,v
> retrieving revision 1.48
> diff -u -p -r1.48 Makefile
> --- Makefile 10 Jul 2016 12:07:26 -0000 1.48
> +++ Makefile 28 Mar 2017 10:06:22 -0000
> @@ -3,7 +3,7 @@
> COMMENT= latency logging and graphing system
>
> DISTNAME= smokeping-2.6.11
> -REVISION= 9
> +REVISION= 10
>
> CATEGORIES= net
>
> @@ -27,6 +27,7 @@ RUN_DEPENDS= ${COMMON_DEPENDS} \
> net/p5-SNMP_Session \
> net/p5-Socket6 \
> www/fcgi \
> + www/p5-CGI-Fast \
> www/spawn-fcgi
> SYSCONFDIR= ${BASESYSCONFDIR}/smokeping
>
>