Date: Wed, 18 Jan 2006 12:21:53 -0800 (PST) From: Andrew Kilpatrick <tiger@whitetigersd.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/91969: Update port: net-mgmt/nagios-spamd-plugin Message-ID: <200601182021.k0IKLr5P010703@morrigan.ixomaxip.com> Resent-Message-ID: <200601182030.k0IKUBVJ023661@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 91969 >Category: ports >Synopsis: Update port: net-mgmt/nagios-spamd-plugin >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 18 20:30:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Andrew Kilpatrick >Release: FreeBSD 5.4-RELEASE i386 >Organization: >Environment: System: FreeBSD morrigan.ixomaxip.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I am not the maintainer of this port, however I found a flaw in the install of it. The directory for the nagios libexec files is inconsistant with what is located in net-mgmt/nagios and net-mgmt/nagios-plugins, this patch corrects this. I updated the port revision to 1. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # nagios-spamd-plugin/ # nagios-spamd-plugin/files # nagios-spamd-plugin/files/patch-plugindir # nagios-spamd-plugin/Makefile # nagios-spamd-plugin/distinfo # nagios-spamd-plugin/pkg-descr # echo c - nagios-spamd-plugin/ mkdir -p nagios-spamd-plugin/ > /dev/null 2>&1 echo c - nagios-spamd-plugin/files mkdir -p nagios-spamd-plugin/files > /dev/null 2>&1 echo x - nagios-spamd-plugin/files/patch-plugindir sed 's/^X//' >nagios-spamd-plugin/files/patch-plugindir << 'END-of-nagios-spamd-plugin/files/patch-plugindir' X--- check_spamd.pl.orig Wed Jan 18 09:28:16 2006 X+++ check_spamd.pl Wed Jan 18 09:29:00 2006 X@@ -23,7 +23,7 @@ X use strict; X use Socket; X use Getopt::Long; X-use lib "/usr/local/nagios/libexec"; X+use lib "/usr/local/libexec/nagios"; X use utils qw(%ERRORS $TIMEOUT &print_revision &support); X use vars qw($PROGNAME $PORT $CRIT $WARN $opt_H $opt_V $opt_c $opt_h $opt_p X $opt_t $opt_v $opt_w); END-of-nagios-spamd-plugin/files/patch-plugindir echo x - nagios-spamd-plugin/Makefile sed 's/^X//' >nagios-spamd-plugin/Makefile << 'END-of-nagios-spamd-plugin/Makefile' X# New ports collection makefile for: nagios-spamd-plugin X# Date created: 2005-10-29 X# Whom: arved X# X# $FreeBSD: ports/net-mgmt/nagios-spamd-plugin/Makefile,v 1.1 2005/11/01 11:29:24 arved Exp $ X XPORTNAME= nagios-spamd-plugin XPORTVERSION= 1.1 XPORTREVISION= 1 XCATEGORIES= net-mgmt XMASTER_SITES= ftp://jhweiss.de/pub/users/weiss/nagios/plugins/ XDISTNAME= check_spamd.pl XEXTRACT_SUFX= X XMAINTAINER= arved@FreeBSD.org XCOMMENT= Nagios plugin for checking SpamAssassins spamd X XRUN_DEPENDS+= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long X XUSE_PERL5= yes XNO_WRKSUBDIR= yes XNO_BUILD= yes XPLIST_FILES= ${NAGIOS_PLUGIN_DIR}/check_spamd.pl XPLIST_DIRS= ${NAGIOS_PLUGIN_DIR} X XNAGIOS_PLUGIN_DIR= libexec/nagios X Xdo-extract: X ${MKDIR} ${WRKSRC} X ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} X Xdo-install: X ${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR} X ${INSTALL_SCRIPT} ${WRKSRC}/check_spamd.pl ${PREFIX}/${NAGIOS_PLUGIN_DIR} X X.include <bsd.port.mk> END-of-nagios-spamd-plugin/Makefile echo x - nagios-spamd-plugin/distinfo sed 's/^X//' >nagios-spamd-plugin/distinfo << 'END-of-nagios-spamd-plugin/distinfo' XMD5 (check_spamd.pl) = bbed1ea3678dcbe9ee6faade3e91ecb4 XSIZE (check_spamd.pl) = 5202 END-of-nagios-spamd-plugin/distinfo echo x - nagios-spamd-plugin/pkg-descr sed 's/^X//' >nagios-spamd-plugin/pkg-descr << 'END-of-nagios-spamd-plugin/pkg-descr' Xcheck_spamd is a Nagios plugin for checking SpamAssassins SPAMD. It's written Xin Perl, should work with the embedded Perl interpreter (not tested though), Xdoes not require spamc to be installed on the Nagios host and has no other Xprerequisites. X XAuthor: Holger Weiss <holger@CIS.FU-Berlin.DE> XWWW: http://www.jhweiss.de/code.html END-of-nagios-spamd-plugin/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601182021.k0IKLr5P010703>