diff --git a/net/nagios/check_sip/Makefile b/net/nagios/check_sip/Makefile index f5975ad2c42..f8253537054 100644 --- a/net/nagios/check_sip/Makefile +++ b/net/nagios/check_sip/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.4 2009/11/09 21:12:47 sthen Exp $ +# $OpenBSD: Makefile,v 1.5 2009/11/13 15:30:51 sthen Exp $ COMMENT= Nagios plugin to check SIP DISTNAME= check_sip-20060929 -PKGNAME= ${DISTNAME}p0 +PKGNAME= ${DISTNAME}p1 CATEGORIES= net MAINTAINER= Stuart Henderson diff --git a/net/nagios/check_sip/patches/patch-check_sip b/net/nagios/check_sip/patches/patch-check_sip index 11af4962d9e..9165cef2548 100644 --- a/net/nagios/check_sip/patches/patch-check_sip +++ b/net/nagios/check_sip/patches/patch-check_sip @@ -1,13 +1,22 @@ -$OpenBSD: patch-check_sip,v 1.1.1.1 2009/11/05 10:56:21 sthen Exp $ ---- check_sip.orig Thu Nov 29 15:20:00 2007 -+++ check_sip Thu Nov 29 15:21:08 2007 +$OpenBSD: patch-check_sip,v 1.2 2009/11/13 15:30:51 sthen Exp $ +--- check_sip.orig Fri Nov 13 15:21:23 2009 ++++ check_sip Fri Nov 13 15:22:11 2009 @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl ## # check_sip - (c) 2005-2006 O'Shaughnessy Evans -@@ -146,7 +146,10 @@ if ($Proxy) { +@@ -33,7 +33,7 @@ BEGIN { + $ME = 'check_sip'; + + # command to get connection state; 1st %s is for extra args, second is SIP URI +- @Sipsak_Cmd = qw(sipsak --nagios-code -v); ++ @Sipsak_Cmd = qw(${LOCALBASE}/bin/sipsak --nagios-code -v); + $User = ''; + $Password = ''; + $Port = 5060; +@@ -151,7 +151,10 @@ if ($Proxy) { push @Sipsak_Cmd, '--outbound-proxy', $Proxy; }