Commit graph

89 commits

Author SHA1 Message Date
Mathieu Arnold
55eabd5517 Fix the iostat plugin to report the correct unit. [1]
Fix common plugins PATH problems by adding LOCALBASE/{bin,sbin} to the default
PATH.  Fix a " that should not have been there.  Fix a few permissions
problems. [2]

PR:		196504 [1]
Submitted by:	Vlad "Blackflow" K.
PR:		196739 [2]
Submitted by:	darius dons net au
Sponsored by:	Absolight
2015-01-19 17:47:47 +00:00
Mathieu Arnold
b470b745d4 Cleanup pkg-{,de}install, don't restart munin-node from here, pkg can do it itself.
Sponsored by:	Absolight
2014-12-11 07:59:03 +00:00
Mathieu Arnold
2ff6de7ee9 Fix the bind9_rndc plugin wrt Perl 5.18+ hash randomzation.
While there, group all patches for the three ports in munin-common, and remove
an obsolete patch.

PR:		195689
Submitted by:	Vlad "Blackflow" K.
Sponsored by:	Absolight
2014-12-10 15:52:14 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Mathieu Arnold
368b1f37cb Update to 2.0.25.
Sponsored by:	Absolight
2014-11-25 15:07:23 +00:00
Mathieu Arnold
bc01935d26 Fix nutups_*.
PR:		195196
Submitted by:	jeffrey endrift com
Sponsored by:	Absolight
2014-11-20 13:18:42 +00:00
Mathieu Arnold
a16b93afdc Actually make if_packets_ work.
PR:		194733
Submitted by:	Claudius Herder
Sponsored by:	Absolight
2014-11-17 21:45:00 +00:00
Mathieu Arnold
8f0780d5de - Fix bugs in if_* (prompted by [1])
- Add a new PERL option to add some extra dependencies needed by some modules
  (based on [2])

PR:		194733 [1] 195021 [2]
Submitted by:	Claudius Herder [1]  John W. O'Brien [2]
Sponsored by:	Absolight
2014-11-17 15:04:19 +00:00
Mathieu Arnold
d25c9df468 Update to 2.0.24.
Fixup the if_ and if_errcoll_ plugins, interface names can be longer than 5
chars.  Add an if_packets_ plugin.

Allow people to have a custom crontab that won't be touched when
installing/deinstalling.

Sponsored by:	Absolight
2014-10-27 14:43:47 +00:00
Mathieu Arnold
31a96d3552 Make the smart_ plugin work out of the box[1], and fixup two other plugins.
Requested by:	marck
Sponsored by:	Absolight
2014-10-23 14:36:54 +00:00
Mathieu Arnold
7b737f4606 Update munin to 2.0.23.
Sponsored by:	Absolight
2014-10-22 14:13:40 +00:00
Mathieu Arnold
cd7e7c160c Cleanup @dirrm* from my ports.
Sponsored by:	Absolight
2014-10-02 16:37:02 +00:00
Mathieu Arnold
7cfb172ecf - Add missing dependency on www/p5-libwww [1]
- Fix fail2ban's path [2] (while there, make plugins.conf PREFIX safe)
- Fix multiping plugin [3] (while there, regenerate patches)
- Add a forgotten run dep on Java.

PR:		192341 [1]
Submitted by:	fbsd@shoggothmedia.com [1]
PR:		179549 [2]
Submitted by:	fabian@bug.ch [2]
PR:		192332 [3]
Submitted by:	fbsd@shoggothmedia.com [3]
Sponsored by:	Absolight
2014-09-03 07:28:40 +00:00
Mathieu Arnold
7df3c36c2b Update to 2.0.21.
Sponsored by:	Absolight
2014-09-02 16:26:52 +00:00
Mathieu Arnold
1fef7a32be - Stage
- Move a few patches around to stay consistent
- add a JAVA option to munin-node.

Sponsored by:	Absolight
2014-09-02 16:13:40 +00:00
Mathieu Arnold
a3463cdef5 Take all three, staging follows.
Approved by:	portmgr (NO_STAGE)
Sponsored by:	Absolight
2014-09-02 14:33:48 +00:00
Baptiste Daroussin
b35454ed6b Reset mainainership on non staged ports
With hat:	portmgr
2014-08-25 09:46:57 +00:00
Niclas Zeising
0b93aa454f Grab
Approved by:	portmgr (antoine)
2014-04-05 11:18:12 +00:00
Florian Smeets
24136b5bd5 Release a few ports I don't use anymore. Unfortunately I don't have time to
maintain them properly currently.
2014-03-11 20:35:53 +00:00
Dag-Erling Smørgrav
237dbf6796 Edit Makefile.config to provide the correct interpreter locations.
Approved by:	maintainer (flo)
2014-02-28 10:08:00 +00:00
Florian Smeets
613f7bfd03 Update to 2.0.17 2013-09-21 13:19:59 +00:00
Baptiste Daroussin
83f65384c9 Add NO_STAGE all over the place in preparation for the staging support (cat: sysutils) 2013-09-20 23:05:58 +00:00
Andrej Zverev
7ec4b3d1a2 - convert to the new perl5 framework
- convert USE_GMAKE to Uses

Approved by:	portmgr (bapt@, blanket)
2013-09-16 07:47:02 +00:00
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