Date: 22 Nov 2009 07:38:43 +0300 From: "Alexey V.Degtyarev" <alexey@renatasystems.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: arved@FreeBSD.org Subject: ports/140763: net-mgmt/nagios-spamd-plugin - fix RUN_DEPENDS Message-ID: <20091122043843.55984.qmail@hs-9.renatasystems.org> Resent-Message-ID: <200911220440.nAM4e2VH014642@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140763 >Category: ports >Synopsis: net-mgmt/nagios-spamd-plugin - fix RUN_DEPENDS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 22 04:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexey V. Degtyarev >Release: FreeBSD 8.0-RC1 amd64 >Organization: >Environment: System: FreeBSD renatasystems.org 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 18:50:57 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: net-mgmt/nagios-spamd-plugin does not have net-mgmt/nagios-plugins as run requirement but use it actually. So it fails to run after beeing installed from packages: Can't locate utils.pm in @INC (@INC contains: /usr/local/libexec/nagios /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at ./work/check_spamd.pl line 42. BEGIN failed--compilation aborted at ./work/check_spamd.pl line 42. >How-To-Repeat: Install plugin on vanilla system and try to use. >Fix: See attachment. --- nagios-spamd-plugin.patch begins here --- diff -u nagios-spamd-plugin.orig/Makefile nagios-spamd-plugin/Makefile --- nagios-spamd-plugin.orig/Makefile 2007-06-14 00:12:27.000000000 +0400 +++ nagios-spamd-plugin/Makefile 2009-11-22 04:00:44.000000000 +0300 @@ -14,7 +14,8 @@ MAINTAINER= arved@FreeBSD.org COMMENT= Nagios plugin for checking SpamAssassins spamd -RUN_DEPENDS+= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long +RUN_DEPENDS+= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ + ${LOCALBASE}/${NAGIOS_PLUGIN_DIR}/utils.pm:${PORTSDIR}/net-mgmt/nagios-plugins USE_PERL5= yes NO_WRKSUBDIR= yes --- nagios-spamd-plugin.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091122043843.55984.qmail>