Date: Sat, 22 Jun 2002 15:59:12 -0400 (EDT) From: Scott Lambert <lambert@lambertfam.org> To: FreeBSD-gnats-submit@freebsd.org Cc: Scott Lambert <lambert@lambertfam.org>, blaz@si.FreeBSD.org, ports@freebsd.org Subject: netsaint-plugins fails to install command.cfg Message-ID: <20020622195912.83FA558B6@DellBSD.inch.com>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Scott Lambert >Organization: >Confidential: no >Synopsis: netsaint-plugins fails to install command.cfg >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 4.6-RELEASE i386 >Environment: System: FreeBSD DellBSD.inch.com 4.6-RELEASE FreeBSD 4.6-RELEASE #8: Sat Jun 15 21:46:48 EDT 2002 root@DellBSD.inch.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: netsaint-plugins fails to install command.cfg which contains the sample check_* commands for the netsaint-plugins port which makes it more annoying to setup checks for the non netsaint default plugins. netsaint.cfg referrences the command.cfg saying: # This comes with the plugins. Choose it for the newest plugin features. #cfg_file=/usr/local/etc/netsaint/command.cfg >How-To-Repeat: >Fix: Install the following patch to the port skeleton for netsaint-plugins. --- netsaint-plugins.diff begins here --- diff -u netsaint-plugins/Makefile netsaint-plugins-new/Makefile --- netsaint-plugins/Makefile Mon Mar 25 04:19:19 2002 +++ netsaint-plugins-new/Makefile Sat Jun 22 15:18:00 2002 @@ -37,4 +37,6 @@ post-clean: @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc +post-install: + @${INSTALL_DATA} ${WRKSRC}/command.cfg ${PREFIX}/etc/netsaint/command.cfg.dist .include <bsd.port.mk> Common subdirectories: netsaint-plugins/files and netsaint-plugins-new/files diff -u netsaint-plugins/pkg-plist netsaint-plugins-new/pkg-plist --- netsaint-plugins/pkg-plist Thu May 17 02:02:15 2001 +++ netsaint-plugins-new/pkg-plist Sat Jun 22 15:18:59 2002 @@ -50,3 +50,4 @@ libexec/netsaint/utils.pm libexec/netsaint/utils.sh @dirrm libexec/netsaint +etc/netsaint/command.cfg.dist Common subdirectories: netsaint-plugins/scripts and netsaint-plugins-new/scripts --- netsaint-plugins.diff ends here --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020622195912.83FA558B6>