Bug 129485 - [patch] net-mgmt/ndoutils rc script
Summary: [patch] net-mgmt/ndoutils rc script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-07 19:50 UTC by Olli Hauer
Modified: 2008-12-25 14:50 UTC (History)
0 users

See Also:


Attachments
file.txt (846 bytes, text/plain)
2008-12-07 19:50 UTC, Olli Hauer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olli Hauer 2008-12-07 19:50:03 UTC
The rc script for the ndoutil does not work.

ndo2db config file is /usr/local/etc/nagios/ndo2db.cfg not nagios.cfg
the binary name is ndo2db-3x not ndo2db

load_rc_config $name is executed before the default vars are set

Fix: Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/net-mgmt/ndoutils make install

# set this vars in rc.conf.local, they will be ignored
ndo2db_enable="YES"
ndo2db_configfile="/usr/local/etc/nagios/ndo2db.cfg"
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-12-08 19:52:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pgollucci

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-12-25 14:42:38 UTC
pgollucci    2008-12-25 14:42:24 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/ndoutils    Makefile 
    net-mgmt/ndoutils/files ndo2db.in 
  Log:
  - An rc.d script that actually works [1]
  - Depend on net-mgmt/nagios not -devel
  
  PR:             ports/129485 [1]
  Submitted by:   olli hauer <ohauer@gmx.de> [1]
  Approved by:    araujo (mentor, implicit)
  
  Revision  Changes    Path
  1.2       +2 -1      ports/net-mgmt/ndoutils/Makefile
  1.2       +6 -7      ports/net-mgmt/ndoutils/files/ndo2db.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2008-12-25 14:42:57 UTC
State Changed
From-To: open->closed

Committed. Thanks!