Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2009 09:06:07 -0400
From:      Chad Phillips <thehunmonkgroup@gmail.com>
To:        mm@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: nsca-2.7.2_2
Message-ID:  <2A37FC2E-76AB-4EC6-A907-9F20E48A0598@gmail.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail-2-944329564
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

i had a need to run this port with nagios 2.x.  the documentation for  
it says it's compatible with either 2.x or 3.x, but the port requires  
3.x as a dependency.  the attached patch adds a NAGIOS_PORT variable,  
similar to the APACHE_PORT variable i've used in the past.  this  
allows the user to override the default port dependency and use 2.x as  
well without conflict.

my apologies if the implementation is incorrect -- i don't have much  
understanding of port maintenance!

chad


--Apple-Mail-2-944329564
Content-Disposition: attachment;
	filename=Makefile.patch
Content-Type: application/octet-stream; x-unix-mode=0644; name="Makefile.patch"
Content-Transfer-Encoding: 7bit

--- /home/hunmonk/Makefile.orig	2009-02-06 14:01:47.000000000 -0700
+++ Makefile	2009-02-06 14:06:44.000000000 -0700
@@ -7,16 +7,17 @@
 
 PORTNAME=	nsca
 PORTVERSION=	2.7.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	nagios
 
 MAINTAINER=	mm@FreeBSD.org
 COMMENT=	Nagios Service Check Acceptor
+NAGIOS_PORT?=	net-mgmt/nagios
 
 .if !defined(WITHOUT_SERVER)
-RUN_DEPENDS=	nagios:${PORTSDIR}/net-mgmt/nagios
+RUN_DEPENDS=	nagios:${PORTSDIR}/${NAGIOS_PORT}
 .endif
 LIB_DEPENDS=	mcrypt.8:${PORTSDIR}/security/libmcrypt
 

--Apple-Mail-2-944329564
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed
Content-Transfer-Encoding: 7bit



--Apple-Mail-2-944329564--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2A37FC2E-76AB-4EC6-A907-9F20E48A0598>