pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-plugins net/nagios-plugins: Fix unwanted di...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a910f16746b7
branches:  trunk
changeset: 604165:a910f16746b7
user:      marino <marino%pkgsrc.org@localhost>
date:      Thu May 24 15:20:25 2012 +0000

description:
net/nagios-plugins: Fix unwanted directory removal

Currently it's possible to install Nagios plugins independently of
net/nagios-base.  However, the directories that the plugins install
into are created and owned by net/nagios-base, so it has to be
installed first to avoid unwanted directory removal when the only
plugin is deinstalled.

diffstat:

 net/nagios-plugins/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r a16f0ef82ab8 -r a910f16746b7 net/nagios-plugins/Makefile
--- a/net/nagios-plugins/Makefile       Thu May 24 13:10:29 2012 +0000
+++ b/net/nagios-plugins/Makefile       Thu May 24 15:20:25 2012 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2012/01/16 22:09:59 sbd Exp $
+# $NetBSD: Makefile,v 1.27 2012/05/24 15:20:25 marino Exp $
 #
 
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net sysutils
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -43,6 +43,8 @@
 .endif
 LIBS.SunOS+=   -lm
 
+DEPENDS+=      nagios-base-*:../../net/nagios-base
+
 .if !exists(/usr/bin/ssh)
 DEPENDS+=      {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
 .endif



Home | Main Index | Thread Index | Old Index