Commit Graph

32 Commits

Author SHA1 Message Date
Chris Rees 16eb7c2ca0 Stop checking for get_pidfile_from_conf function in rc.subr.
It is present in all supported versions of FreeBSD, and has had poor takeup.
I strongly suspect the strange-looking checks are partially to blame for
scaring maintainers off.

Go forth and please use it!

PR:		ports/178269
Approved by:	maintainers of all ports involved
2013-05-31 11:54:01 +00:00
Florian Smeets 773edde1d7 - update to 2.0.14
- make port non-interactive [1]
- add PORTSCOUT hints, 2.1.X is a development version

PR:		ports/178532 [1]
Submitted by:	Claudius Herder <claudius_herder@ambtec.de> [1]
2013-05-29 23:36:16 +00:00
Florian Smeets 260e0522cd - prevent warnings about command_interpreter after r317610 (shebangfix
conversion)
- add missing dependency to make cidr_allow/cidr_deny work in
  munin-node.conf
2013-05-10 15:34:10 +00:00
Florian Smeets a0a6065352 Update to 2.0.13 2013-04-27 20:34:49 +00:00
Florian Smeets 8396f32d69 Fix munin-sched rc script
PR:		ports/177950
Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr>
Feature safe:	yes
2013-04-18 21:47:37 +00:00
Florian Smeets 59b04beeb0 - update to 2.0.11.1
- a couple of rc script fixes [1]

Submitted by:	crees [1]
2013-02-16 13:30:41 +00:00
Florian Smeets 7e06c048aa - update to 2.0.9
- use correct pidfile for munin-sched rc script [1]
- munin-cgi-graph requires FCGI [2]

Submitted by:	Geoffroy Desvernay <dgeo@centrale-marseille.fr> [1]
		Sergey V. Dyatko <sergey.dyatko@gmail.com> [2]
Feature safe:	yes
2012-12-06 14:27:28 +00:00
Florian Smeets 8b61b2876c - Update to 2.0.6 based on [1]
- Add support for ada disk devices to hddtemp_smartctl [2]
- Add a patch for upstream bug 1251 to prevent huge munin-graph.log files

PR:		ports/171116 [1]
PR:		ports/169287 [2]
Submitted by:	mm [1], TAKEMON Takashi <takemon@bamboogate.co.jp> [2]
2012-09-13 22:00:33 +00:00
Doug Barton 83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Florian Smeets c5d9dc770a update to 1.4.6
Changelog: http://munin-monitoring.org/browser/tags/1.4.6/ChangeLog
2011-07-09 18:05:47 +00:00
Florian Smeets fd8901ff7b - fix a bug where plugins would stop graping data after a SIGHUP to munin-node
- prevent leftovers from sed and patch otherwise these would be installed also

 The problem is that munin-nodes runs in perl taint mode and after a SIGHUP
 p5-Net-Server thinks that the path is tainted and unsets the complete path,
 this causes all plugins which do not use an absolute path to utilities they
 call to fail. The fix is to set a well known good path.

Obtained from:	OpenBSD
PR:		ports/155109
2011-03-09 23:40:14 +00:00
Florian Smeets ed5bb21242 - also ignore .sample files as these can confuse plugins by overwriting values
defined in the .conf files.

It would be best if munin would only include .conf files, but until that happens
use this as a workaroud.

PR:		ports/147345
Submitted by:	Rob B <rbyrnes@gmail.com>
2011-02-16 23:47:43 +00:00
Florian Smeets 02c771df45 - fix newsyslog entries, logs have been living in /var/log/munin for some
time now [1]
- fix http_loadtime plugin [2]
- fix coretemp and dev_cpu plugins [3]

PR:		ports/151182 [1], ports/154688 [2], ports/154584 [3]
Submitted by:	Detlef Peeters <dp@heringa.de> [1]
		Oliver Brandmueler <ob@e-gitt.net> [2]
		Hiroki (REO) Kashiwazaki <reo@iic.hokudai.ac.jp> [3]
2011-02-15 00:11:56 +00:00
Martin Wilke 5ef5c452ab - Use jot(1) instead of seq(1) (GNU seq(1) does not exist on FreeBSD. Use jot(1) instead.)
- While here drop MD5 support

PR:		144602
Submitted by:	lth@
Approved by:	maintainer timeout
Feature safe:	yes
2011-02-05 06:09:10 +00:00
Philip M. Gollucci db7a9ba15d - Correct env.logfile setting, the dir is a different setting
- Bump PORTREVISION

PR:             ports/142423
Submitted by:   Chen-Yu Tsai <wens@csie.org>
Approved by:    maintainer timeout (des ; 337 days)
2010-12-12 01:07:10 +00:00
Dag-Erling Smørgrav c2ed8bef86 Sorry, committed the wrong files. 2010-12-02 10:47:09 +00:00
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Dag-Erling Smørgrav 94ebcf4d98 Continue rototilling the Munin ports:
- Move some files around and adjust the plists accordingly.
 - Fix some directory creation / deletion in the plists.
 - Fix some directory ownerships.
 - Instead of patching the Makefile, specify installation directories
   on the command line.  Centralize the definition of MAKE_ARGS and some
   other shared variables.

Feature safe:	yes
2010-02-25 12:15:38 +00:00
Dag-Erling Smørgrav 9203aa68d3 Massive cleanup of the Munin ports:
- Use a fixed UID / GID
 - Fix handling of sample configs in plists
 - Add missing plist entries (mostly directories)
 - Use /var/munin instead of %D/var/munin
 - Consistently use %%FOODIR%% instead of ${PREFIX}/foo etc.
 - Honor BATCH / PACKAGE_BUILDING
 - Fix network throughput probes (if_ and if_errcoll_)

PR:		120755, 120756, 124528, 129576, 129577, 143804
Submitted by:	see PRs
Feature safe:	yes
2010-02-24 20:18:51 +00:00
Dag-Erling Smørgrav 6f830b33ee Upgrade Munin to 1.4.3. Thanks to Sean Rees <sean@rees.us> for providing
the initial patches and getting me started with this.

Note that munin-main has been renamed to munin-master (see MOVED).

Approved by:	portmgr (erwin)
Feature safe:	yes
2010-02-23 13:55:00 +00:00
Dag-Erling Smørgrav 8ff121d7db Merge part of upstream r1561: fix ntp_offset's shebang line
Submitted by:	kuriyama@
2008-10-15 07:47:58 +00:00
Dag-Erling Smørgrav da6aff5076 Empty files which I forgot to cvs rm after applying a patch.
Noticed by:	kuriyama@
2008-10-15 07:43:34 +00:00
Dag-Erling Smørgrav f44b4d9a88 Update to 1.2.6.
PR:		ports/126371
Submitted by:	Matthias Fechner <idefix@fechner.net>, Lupe Christoph <lupe@lupe-christoph.de>
2008-09-03 13:27:50 +00:00
Dag-Erling Smørgrav 34d0df05c3 Fix if_ plugin so it doesn't display lo and pflog interfaces.
Fix plugins.conf so mbmon plugin works.

Approved by:	maintainer timeout
2008-02-06 21:34:23 +00:00
Dag-Erling Smørgrav 3c3af9f5c5 Fix some style issues (files -> ${FILESDIR}, pkg-install -> ${PKGINSTALL})
Adjust patches so PATCH_STRIP is not needed
Fix default config so hddtemp_smartctl works out of the box
2007-10-22 12:32:25 +00:00
Martin Wilke 2946e4e824 - Update to 1.2.5
Notes: Please read the UPDATING!

PR:		ports/105107
Submitted by:	Lupe Christoph <lupe@lupe-christoph.de> (maintainer)
2006-11-06 22:50:50 +00:00
Martin Wilke e6d578b83d - Fix premissions with pre-existing user's
- Bump PORTREVISION

PR:		ports/103451
Submitted by:	Lupe Christoph <lupe(at)lupe-christoph.de> (maintainer)
2006-09-25 10:47:02 +00:00
Doug Barton c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Sergey Matveychuk a42946364e - Update tp 1.2.0
- Upgrade FreeBSD4 support to rcNG
- Use INSTALL_SCRIPT to install the start-stop script
- Correct rcNG version of pkg-message, adding PREFIX
- Use SUB_FILES and SUB_LIST
- Add log rotation support

PR:		ports/77721
Submitted by:	maintainer
2005-03-04 17:47:19 +00:00
Sergey Matveychuk 738dbaa8ab Add files forgoten with the last commit. 2004-12-14 01:44:54 +00:00
Sergey Matveychuk d1fe1cbc7c - Update to 1.0.4
* it unbreaks munin-node

PR:		ports/74165, ports/74166
Submitted by:	maintainer
2004-12-14 01:43:10 +00:00
Mathieu Arnold 9623c63f0c Add Munin network-wide graphing framework (node)
This is the node part. It is used on all machines Munin shall watch.

PR:		ports/62479
Submitted by:	Lupe Christoph <lupe@lupe-christoph.de>
2004-03-02 15:54:05 +00:00