Commit Graph

66 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
Baptiste Daroussin 6785305acd Use shebangfix on munin-node, and fix shebang on the right files for fsbackup 2013-05-07 14:02:30 +00:00
Florian Smeets a0a6065352 Update to 2.0.13 2013-04-27 20:34:49 +00:00
Florian Smeets 1d6d8d1dce Update to 2.0.12 2013-04-26 23:10:10 +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 e47a6dd59a - update to 2.0.7
- move USERS and GROUPS from munin-common/Makefile to munin.mk, otherwise they
  cannot be used in the Makefiles of munin-master and munin-node where they are
  required. This fixes permissions on certain directories. [1]
- VERSION.node file should be updated after the pkg-install script runs, because
  it requires the version of the previously installed version not the currently
  installed one. [2]

PR:		ports/172260 [1]
Reported by:	Haruo Shiba <shiba@logic-design.co.jp> [1]
		tdb [2]
2012-10-06 22:10:55 +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
Andrej Zverev 425d0841bb - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-07-01 14:14:22 +00:00
Florian Smeets 82417b073d Update to 1.4.7
Feature safe:	yes
2012-03-15 23:19: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 6a578bfa7c munin moved to a new home
Reported by:	Cyrill Lefevere <cyrille.lefevre-lists@laposte.net>
2011-12-19 10:50:50 +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
Florian Smeets 1dfe04ceb1 - take over maintainership
Approved by:	des (previous maintainer)
2011-02-13 15:43:44 +00:00
Florian Smeets ddcd2d8adb - add p5-Cache-Cache dependancy it is required by the mysql_* plugins
- bump PORTREVISION

PR:		ports/154534
Approved by:	des (maintainer, private mail)
2011-02-10 00:23:31 +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
Dag-Erling Smørgrav d3427e5378 Strip non-numeric characters (i.e. units) from the CPU frequency and
temperature.

Submitted by:	delphij@
2010-12-02 10:45:17 +00:00
Dag-Erling Smørgrav 31a865c74e Upgrade to 1.4.5.
PR:		ports/149909, ports/149910, ports/149911
2010-08-23 16:34:38 +00:00
Dag-Erling Smørgrav df6a96cdd3 Upgrade to 1.4.4.
PR:		ports/145948
Submitted by:	Sean Rees <sean@rees.us>
2010-04-27 08:24:42 +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
Dmitry Marakasov 3eb168f46b - Switch SourceForge ports to the new File Release System: categories starting with P,R,S 2009-08-22 00:35:32 +00:00
Philip M. Gollucci c10f314307 - lang/perl5.6 is dead, remove PERL_LEVEL/PERL_VERSION < 500801 checks
PR:             ports/135398
Tested by:      2 -exp runs by pav
Approved by:    portmgr (pav)
2009-07-22 16:27:08 +00:00
Dag-Erling Smørgrav 976d7a40d4 The pre-install script needs root privs, and should therefore run in the
pre-su-install phase.

PR:		ports/132781
Submitted by:	Ilya M. Slepnev <ilya@ilimit.org>, ru@
2009-03-22 22:50:56 +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 0b8555d841 Include the rc.d script in pkg-plist so it will be in the package.
PR:		ports/120348
2008-02-20 17:17:08 +00:00
Dag-Erling Smørgrav 68412b0738 Assume maintainership.
Approved by:	maintainer timeout, portmgr (linimon)
2008-02-07 10:41:12 +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
Edwin Groothuis cc82ac7af1 Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 06:10:15 +00:00
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +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
Edwin Groothuis 32487a10ad SHA256ify
Approved by: krion@
2006-01-24 01:06:45 +00:00
Edwin Groothuis 508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Sergey Matveychuk 5d9d646cab - Fix depends on 4.11
PR:		ports/90887
Reported by:	Antoine Beaupre <anarcat@koumbit.org>
Submitted by:	Lupe Christoph (maintainer)
2005-12-26 07:11:05 +00:00
Renato Botelho e85323849d - Update to 1.2.4
PR:		ports/88438
Submitted by:	maintainer
2005-11-03 16:59:38 +00:00