From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 18 20:30:12 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98A2516A420 for ; Wed, 18 Jan 2006 20:30:12 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1C8943D45 for ; Wed, 18 Jan 2006 20:30:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0IKUBLN023662 for ; Wed, 18 Jan 2006 20:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0IKUBVJ023661; Wed, 18 Jan 2006 20:30:11 GMT (envelope-from gnats) Resent-Date: Wed, 18 Jan 2006 20:30:11 GMT Resent-Message-Id: <200601182030.k0IKUBVJ023661@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Kilpatrick Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B69C16A41F for ; Wed, 18 Jan 2006 20:21:56 +0000 (GMT) (envelope-from tiger@whitetigersd.com) Received: from smtp.ixomaxip.com (dsl254-004-099.sea1.dsl.speakeasy.net [216.254.4.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4295F43D45 for ; Wed, 18 Jan 2006 20:21:54 +0000 (GMT) (envelope-from tiger@whitetigersd.com) Received: from morrigan.ixomaxip.com (morrigan.ixomaxip.com [10.254.3.2]) by smtp.ixomaxip.com (8.13.3/8.13.5) with ESMTP id k0IKLrJ6033389 for ; Wed, 18 Jan 2006 12:21:53 -0800 (PST) (envelope-from tiger@whitetigersd.com) Received: from morrigan.ixomaxip.com (localhost [127.0.0.1]) by morrigan.ixomaxip.com (8.13.3/8.13.3) with ESMTP id k0IKLrEe010704 for ; Wed, 18 Jan 2006 12:21:53 -0800 (PST) (envelope-from tiger@whitetigersd.com) Received: (from root@localhost) by morrigan.ixomaxip.com (8.13.3/8.13.3/Submit) id k0IKLr5P010703; Wed, 18 Jan 2006 12:21:53 -0800 (PST) (envelope-from tiger@whitetigersd.com) Message-Id: <200601182021.k0IKLr5P010703@morrigan.ixomaxip.com> Date: Wed, 18 Jan 2006 12:21:53 -0800 (PST) From: Andrew Kilpatrick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/91969: Update port: net-mgmt/nagios-spamd-plugin X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Kilpatrick List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2006 20:30:12 -0000 >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 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 XWWW: http://www.jhweiss.de/code.html END-of-nagios-spamd-plugin/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: