From 2f5a91246e68bbd664cce5340b659b6a71177f43 Mon Sep 17 00:00:00 2001 From: rafan Date: Sun, 18 Mar 2007 13:27:07 +0000 Subject: - Mark IGNORE for FreeBSD pre-6.1: requires strtonum(3) - Add backup master site - Remove MASTER_SITES from SUB_LIST which does not work properly and is not right when there is more than one master sites PR: ports/110457 Submitted by: Kian Mohageri (maintainer) --- net-mgmt/nagios-pf-plugin/Makefile | 14 ++++++++++---- net-mgmt/nagios-pf-plugin/files/pkg-message.in | 2 +- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'net-mgmt') diff --git a/net-mgmt/nagios-pf-plugin/Makefile b/net-mgmt/nagios-pf-plugin/Makefile index 30c7e70..f1bc44c 100644 --- a/net-mgmt/nagios-pf-plugin/Makefile +++ b/net-mgmt/nagios-pf-plugin/Makefile @@ -8,7 +8,8 @@ PORTNAME= nagios-pf-plugin PORTVERSION= 0.1 CATEGORIES= net-mgmt -MASTER_SITES= http://www.zampanosbits.com/check_pf/ +MASTER_SITES= http://www.zampanosbits.com/check_pf/ \ + http://restek.wwu.edu/~kian/ DISTNAME= check_pf-${PORTVERSION} MAINTAINER= kian.mohageri@gmail.com @@ -19,8 +20,13 @@ NAGIOS_PLUGIN_DIR?= libexec/nagios/ PLIST_FILES= ${NAGIOS_PLUGIN_DIR}/check_pf PLIST_DIRS= ${NAGIOS_PLUGIN_DIR} SUB_FILES= pkg-message -SUB_LIST= MASTER_SITES=${MASTER_SITES} \ - NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR} +SUB_LIST= NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR} + +.include + +.if ${OSVERSION} < 601000 +IGNORE= requires FreeBSD 6.1 or later +.endif pre-everything:: @${ECHO_MSG} "" @@ -44,4 +50,4 @@ pre-install: post-install: @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/net-mgmt/nagios-pf-plugin/files/pkg-message.in b/net-mgmt/nagios-pf-plugin/files/pkg-message.in index 4c320be..1278226 100644 --- a/net-mgmt/nagios-pf-plugin/files/pkg-message.in +++ b/net-mgmt/nagios-pf-plugin/files/pkg-message.in @@ -17,5 +17,5 @@ to /etc/devfs.conf: Please refer to the online documentation for additional information. -%%MASTER_SITES%% +http://www.zampanosbits.com/check_pf/ -- cgit v1.1