--- munin-1.4.6.orig/debian/munin.postrm
+++ munin-1.4.6/debian/munin.postrm
@@ -0,0 +1,52 @@
+#! /bin/sh
+
+set -e
+
+# workaround for bug #198522
+delete_dir_if_empty() {
+	if [ ! -d "$1" ]; then
+		return 0;
+	fi
+	rmdir --ignore-fail-on-non-empty $1;
+}
+
+if [ "$1" = "purge" ]; then
+
+	echo "The generated web site or accumulated data won't be removed."
+
+	rm -f /var/lib/munin/datafile
+	rm -f /var/lib/munin/limits
+	rm -f /var/lib/munin/*.stats
+	rm -f /var/lib/munin/*/*.ok
+
+	rm -f /var/log/munin/munin-update.log*
+	rm -f /var/log/munin/munin-graph.log*
+	rm -f /var/log/munin/munin-html.log*
+	rm -f /var/log/munin/munin-limits.log*
+
+	dpkg-statoverride --remove /var/cache/munin/www
+
+	# These are shared with munin-node, so only remove them if munin-node
+	# isn't installed (or already purged).
+	status=$(dpkg --get-selections munin-node)
+	if [ -z "$status" ] || [ "${status%purge}" != "$status" ]; then
+		dpkg-statoverride --remove /var/log/munin
+		dpkg-statoverride --remove /var/lib/munin
+	fi
+	
+	delete_dir_if_empty /var/cache/munin/www
+	delete_dir_if_empty /var/lib/munin
+	delete_dir_if_empty /var/log/munin
+	delete_dir_if_empty /etc/munin/templates
+	delete_dir_if_empty /etc/munin
+
+	webserver=apache2
+	if [ -e /etc/$webserver/conf.d/munin ]; then
+		# delete the link
+		rm -f /etc/$webserver/conf.d/munin
+		invoke-rc.d $webserver reload 3>/dev/null || true
+	fi
+
+fi
+
+#DEBHELPER#
--- munin-1.4.6.orig/debian/README.PluginConfiguration
+++ munin-1.4.6/debian/README.PluginConfiguration
@@ -0,0 +1,58 @@
+Munin plugin configuration
+==========================
+
+Munin plugins are configured by editing existing or placing new files in
+/etc/munin/plugin-conf.d/.  Since files in this directory may contain passwords
+or other sensitive information, the directory is not world readable.
+
+A plugin configuration file contain one or more sections.  Each section starts
+with a label (between '[' and ']'), and contains an optional "user" statement,
+an optional "grop" statement, and zero or more lines beginning with "env.":
+
+Example:
+
+ [mailthingie]
+  user        mail
+  group       adm
+  env.logfile /var/log/mail.info
+
+[Label]
+-------
+
+A label matching the plugin name starts a new configuration block.
+
+For wildcard plugins requiring similar configuration, the label within [] can
+end in a wildcard, like "[ip_*]".
+
+User
+----
+
+If munin (or munin-run) is run with root privileges, munin will change user for
+the matching plugins to the user specified.
+
+Group
+-----
+
+If munin (or munin-run) is run with root privileges, munin will run the plugin
+with an additional group specified here.
+
+env.variable
+------------
+
+A line 
+
+ "env.logfile /var/log/syslog"
+
+...will run the plugin with an extra environment variable "logfile" with the
+content "/var/log/syslog".  A plugin is expected to provide sane default values
+for such variables, but such defaults may not exist, or be "sane" on other
+platforms.
+
+Debugging
+---------
+
+To check if plugin configuration is applied, run munin-run with "-d" to enable
+debugging, as root, (like "sudo munin-run -d someplugin") and check the output.
+
+If you do not run the plugin as root, you may not be able to read the plugin
+configuration files, and debugging your plugins may be harder than necessary
--- munin-1.4.6.orig/debian/munin.README.Debian
+++ munin-1.4.6/debian/munin.README.Debian
@@ -0,0 +1,44 @@
+Debian-specific information regarding Munin
+===========================================
+
+  Getting started
+  ---------------
+
+    Using Munin requires to run a Munin master, which needs the munin
+    package installed and an arbitrary number of Munin nodes, with the
+    munin-node package installed. The master can and should also be a node.
+
+    On the master system point your browser to http://localhost/munin - to
+    customize edit /etc/munin/apache.conf if you are using apache2.
+
+    On the nodes, /etc/munin/munin-node.conf needs to be edited to allow 
+    access from the master node. 
+
+    Plugins reside in /usr/share/munin/plugins/, their usage is activated 
+    by linking them to /etc/munin/plugins/. Plugin configuration is best 
+    done in /etc/munin/plugin-conf.d/
+
+    Further reading: http://munin-monitoring.org/wiki/Documentation
+
+  Find the upstream source
+  ------------------------
+    This Debian package uses the upstream tarball located here:
+    http://sourceforge.net/projects/munin/ .
+
+    It also uses quilt to apply some debian specific patches located in 
+    ./debian/patches/
+
+
+  Suggestions? Impressions? Questions? Fanmail? Love letters? Murder threats?
+  ---------------------------------------------------------------------------
+
+    We've got a mailing list.  You'll find subscription information at
+    <http://lists.sourceforge.net/lists/listinfo/munin-users>.  All feedback
+    are welcome.
+    
+    If you feel like sending us things that can't be represented in binary (for
+    example beautiful people fluent in assembly, bacillus anthracis, cash,
+    explosives, and so on), take contact off-list, and we'll find a way of
+    arranging the logistics.
+  
+ Enjoy!  :-)
--- munin-1.4.6.orig/debian/munin-node.init
+++ munin-1.4.6/debian/munin-node.init
@@ -0,0 +1,209 @@
+#! /bin/bash
+
+### BEGIN INIT INFO
+# Provides:          munin-node
+# Required-Start:    $local_fs $remote_fs
+# Required-Stop:     $local_fs $remote_fs
+# Should-Start:      $all
+# Should-Stop:       $all
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start/stop Munin-Node
+# Description:       Start/stop Munin-Node
+### END INIT INFO
+
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/munin-node
+PIDFILE=/var/run/munin/munin-node.pid
+CONFFILE=/etc/munin/munin-node.conf
+
+# log_daemon_msg() and log_progress_msg() isn't present in present in Sarge.
+# Below is a copy of them from lsb-base 3.0-5, for the convenience of back-
+# porters.  If the installed version of lsb-base provides these functions,
+# they will be used instead.
+
+log_daemon_msg () {
+    if [ -z "$1" ]; then
+        return 1
+    fi
+
+    if [ -z "$2" ]; then
+        echo -n "$1:"
+        return
+    fi
+    
+    echo -n "$1: $2"
+}
+
+log_progress_msg () {
+    if [ -z "$1" ]; then
+        return 1
+    fi
+    echo -n " $@"
+}
+
+. /lib/lsb/init-functions
+[ -r /etc/default/munin-node ] && . /etc/default/munin-node
+
+if [ ! -x $DAEMON ]; then
+	log_failure_msg "Munin-Node appears to be uninstalled."
+	exit 5
+elif [ ! -e $CONFFILE ]; then
+	log_failure_msg "Munin-Node appears to be unconfigured."
+	exit 6
+fi
+
+# Figure out if the pid file is in a non-standard location
+while read line; do
+	line=${line%%\#*} # get rid of comments
+	set -f
+	line=$(echo $line) # get rid of extraneous blanks
+	set +f
+	if [ "$line" != "${line#pid_file }" ]; then
+		PIDFILE=${line#pid_file }
+	fi
+done < $CONFFILE
+
+verify_superuser() {
+	action=$1
+	[ $EUID -eq 0 ] && return
+	log_failure_msg "Superuser privileges required for the" \
+			"\"$action\" action."
+	exit 4
+}
+
+start() {
+	log_daemon_msg "Starting Munin-Node"
+	mkdir -p /var/run/munin
+	chown munin:root /var/run/munin
+	chmod 0755 /var/run/munin
+	if pidofproc -p $PIDFILE $DAEMON >/dev/null; then
+		log_progress_msg "started beforehand"
+		log_end_msg 0
+		exit 0
+	fi
+	start_daemon -p $PIDFILE $DAEMON $DAEMON_ARGS
+	ret=$?
+	# start_daemon() isn't thorough enough, ensure the daemon has been
+	# started manually
+	attempts=0
+	until pidofproc -p $PIDFILE $DAEMON >/dev/null; do
+		attempts=$(( $attempts + 1 ))
+		sleep 0.05
+		[ $attempts -lt 20 ] && continue
+		log_end_msg 1
+		return 1
+	done
+	[ $ret -eq 0 ] && log_progress_msg "done"
+	log_end_msg $ret
+	return $ret
+}
+
+stop() {
+	log_daemon_msg "Stopping Munin-Node"
+	# killproc() doesn't try hard enough if the pid file is missing,
+	# so create it is gone and the daemon is still running
+	if [ ! -r $PIDFILE ]; then
+		pid=$(pidofproc -p $PIDFILE $DAEMON)
+		if [ -z "$pid" ]; then
+			log_progress_msg "stopped beforehand"
+			log_end_msg 0
+			return 0
+		fi
+		echo $pid 2>/dev/null > $PIDFILE
+		if [ $? -ne 0 ]; then
+			log_end_msg 1
+			return 1
+		fi
+	fi
+	killproc -p $PIDFILE /usr/bin/munin-node
+	ret=$?
+	# killproc() isn't thorough enough, ensure the daemon has been
+	# stopped manually
+	attempts=0
+	until ! pidofproc -p $PIDFILE $DAEMON >/dev/null; do
+		attempts=$(( $attempts + 1 ))
+		sleep 0.05
+		[ $attempts -lt 20 ] && continue
+		log_end_msg 1
+		return 1
+	done
+	[ $ret -eq 0 ] && log_progress_msg "done"
+	log_end_msg $ret
+	return $ret
+}
+
+if [ "$#" -ne 1 ]; then
+	log_failure_msg "Usage: /etc/init.d/munin-node" \
+			"{start|stop|restart|force-reload|try-restart}"
+	exit 2
+fi
+
+case "$1" in
+  start)
+  	verify_superuser $1
+  	start
+	exit $?
+	;;
+  stop)
+  	verify_superuser $1
+  	stop
+	exit $?
+	;;
+  restart|force-reload)
+  	verify_superuser $1
+  	stop || exit $?
+	start
+	exit $?
+	;;
+  try-restart)
+  	verify_superuser $1
+	pidofproc -p $PIDFILE $DAEMON >/dev/null
+	if [ $? -eq 0 ]; then
+		stop || exit $?
+		start
+		exit $?
+	fi
+	log_success_msg "Munin-Node was stopped beforehand and thus not" \
+			"restarted."
+	exit 0
+	;;
+  reload)
+  	log_failure_msg "The \"reload\" action is not implemented."
+	exit 3
+	;;
+  status)
+  	pid=$(pidofproc -p $PIDFILE $DAEMON)
+	ret=$?
+	pid=${pid% } # pidofproc() supplies a trailing space, strip it
+	if [ $ret -eq 0 ]; then
+		log_success_msg "Munin-Node is running (PID: $pid)"
+		exit 0
+	# the LSB specifies that I in this case (daemon dead + pid file exists)
+	# should return 1, however lsb-base returned 2 in this case up to and
+	# including version 3.1-10 (cf. #381684).  Since that bug is present
+	# in Sarge, Ubuntu Dapper, and (at the time of writing) Ubuntu Etch,
+	# and taking into account that later versions of pidofproc() do not
+	# under any circumstance return 2, I'll keep understanding invalid
+	# return code for the time being, even though the LSB specifies it is
+	# to be used for the situation where the "program is dead and /var/lock
+	# lock file exists".  
+	elif [ $ret -eq 1 ] || [ $ret -eq 2 ]; then
+		log_failure_msg "Munin-Node is dead, although $PIDFILE exists."
+		exit 1
+	elif [ $ret -eq 3 ]; then
+		log_warning_msg "Munin-Node is not running."
+		exit 3
+	fi
+	log_warning_msg "Munin-Node status unknown."
+	exit 4
+        ;;
+  *)
+	log_failure_msg "Usage: /etc/init.d/munin-node" \
+			"{start|stop|restart|force-reload|try-restart}"
+	exit 2
+	;;
+esac
+
+log_failure_msg "Unexpected failure, please file a bug."
+exit 1
--- munin-1.4.6.orig/debian/munin-node.logrotate
+++ munin-1.4.6/debian/munin-node.logrotate
@@ -0,0 +1,9 @@
+/var/log/munin/munin-node.log {
+	daily
+	missingok
+	rotate 7
+	compress
+	copytruncate
+	notifempty
+	create 640 munin adm
+}
--- munin-1.4.6.orig/debian/munin-node.postrm
+++ munin-1.4.6/debian/munin-node.postrm
@@ -0,0 +1,43 @@
+#! /bin/sh
+
+set -e
+
+# workaround for bug #198522
+delete_dir_if_empty() {
+	if [ ! -d "$1" ]; then
+		return 0;
+	fi
+	rmdir --ignore-fail-on-non-empty $1;
+}
+
+if [ "$1" = "purge" ]; then
+	# delete dangling symlinks
+	test -d /etc/munin/plugins/ && for plugin in $(find /etc/munin/plugins/ -type l); do
+		if [ ! -e $(readlink $plugin) ]; then
+			rm $plugin
+		fi
+	done
+
+	rm -f /var/lib/munin/plugin-state/*.state
+	rm -f /var/log/munin/munin-node.log*
+	rm -f /var/log/munin/munin-node-configure.log*
+
+	dpkg-statoverride --remove /var/lib/munin/plugin-state
+
+	# These are shared with munin, so only remove them if munin
+	# isn't installed (or already purged).
+	status=$(dpkg --get-selections munin)
+	if [ -z "$status" ] || [ "${status%purge}" != "$status" ]; then
+		dpkg-statoverride --remove /var/log/munin
+		dpkg-statoverride --remove /var/lib/munin
+	fi
+	
+	delete_dir_if_empty /var/lib/munin/plugin-state
+	delete_dir_if_empty /var/lib/munin
+	delete_dir_if_empty /var/log/munin
+	delete_dir_if_empty /etc/munin/plugin-conf.d
+	delete_dir_if_empty /etc/munin/plugins
+	delete_dir_if_empty /etc/munin
+fi
+
+#DEBHELPER#
--- munin-1.4.6.orig/debian/munin-node.NEWS
+++ munin-1.4.6/debian/munin-node.NEWS
@@ -0,0 +1,178 @@
+munin-node (1.4.0-1) unstable; urgency=low
+
+    munin-node-configure-snmp command is no longer available, use 
+    munin-node-configure --snmp to configure snmp hosts.
+
+    If upgrading from 1.2.6, please review the 
+    /usr/share/doc/munin/UPGRADING file as there is an issue with truncated
+    field names in plugins (especially with the df plugin), resulting
+    in loss of history, which can be fixed manually.
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Fri, 04 Dec 2009 18:29:16 +0200
+
+munin-node (1.2.0-1) unstable; urgency=low
+
+  * There are two major bugfixes in the 1.2.x series of Munin since 1.0.x that
+    could not be accomplished without introducing a risk of losing historical
+    data after upgrades.  Or more precisely:  no data will be lost, but the
+    exact name of the RRD file will change, so that the update process will
+    start collecting data into a new, emtpy, file, which in turn will be read
+    by munin-graph, and the final result is that the graph will appear to have
+    lost all data.  The historical data will still be present in the old graph.
+    
+    In the last two sections of this file I will attempt to detail how you can
+    minimize the data loss by carefully planning how to perform the upgrade.
+
+  * The infrastructure for sending warnings if values drop below or rise above
+    preset boundaries has been redesigned to improve flexibility, and are no
+    longer specific to NSCA/Nagios.  The old nsca_* settings are still
+    recognized, and are automatically mapped into a contact with the name
+    "old-nagios".  Hence the now deprecated munin.conf entries
+
+       nsca        /bin/nsca
+       nsca_server sloth.fud.no
+       nsca_config /etc/nsca.cf
+
+    would implicitly be converted to the entry
+
+       contact.old-nagios.command /bin/nsca sloth.fud.no -c /etc/nsca.cf -to 60
+
+    unless the latter was explicitly defined in /etc/munin/munin.conf, in which
+    case the deprecated entries would be ignored.
+
+  * Data loss issue 1
+    =================
+  
+    A number of plugins which in the 1.0.x series used the COUNTER data type
+    has now been changed to use the DERIVE type, with a minimum of 0.  The
+    reason is to hinder RRDtool from misdetecting counter wraps when a service
+    or machine is restarted, which resulted in abnormal spikes in those graphs.
+
+    The munin-update component from the 1.2.x series are able to recognize that
+    a plugin has changed thusly, and will automatically copy all the historic
+    data from the old RRD file into the new one, ensuring a smooth transition.
+    However, the munin-update component from the 1.0.x series are not aware of
+    this, and will react to this data type change by starting to collect data
+    into a new, empty, RRD file.
+
+    The method to ensure a painless upgrade is simple:
+    
+    Ensure that you upgrade the "munin" package BEFORE you upgrade the
+    ==================================================================
+    "munin-node" package on any of the hosts it collects data from.
+    ===============================================================
+
+    Should you however have already upgraded the packages in the wrong order,
+    you may salvage your graphs by manually change the data type in the old
+    RRD file, and afterwards rename it.  For instance, you may have this RRD
+    file containing the "user" field from the "cpu" plugin of munin-node 1.0.x:
+
+        /var/lib/munin/fud.no/lust.fud.no-cpu-user-c.rrd
+
+    After upgrading to version 1.2.x of munin-node, this will have changed to:
+
+        /var/lib/munin/fud.no/lust.fud.no-cpu-user-d.rrd
+
+    If the "munin" package wasn't upgraded before "munin-node" one, you will
+    have both files, and the latter one will only contain the data gathered
+    since the upgrade of the "munin-node" package.  In order to make the old
+    data reappear in the graph, you may do so using the following procedure:
+
+        cd /var/lib/munin/fud.no
+        rrdtool tune lust.fud.no-cpu-user-c.rrd -d 42:DERIVE
+        mv -f lust.fud.no-cpu-user-c.rrd lust.fud.no-cpu-user-d.rrd
+
+    You will have to repeat this process once for each field in each affected
+    plugin.  Also remember to ensure that the "munin" system user have write
+    access to the resulting RRD file when you are finished.  Be warned,
+    however, that by doing this you will lose all data collected since
+    munin-node was upgraded to version 1.2.x.
+
+  * Data loss issue 2
+    =================
+  
+    The 1.0.x series had rather nasty design flaw that caused field names
+    longer than 18 characters be truncated, removing any excessive characters
+    from the start of the field name.  This led to a nasty bug; if a plugin
+    reported values for two fields, who both had long names where the last 18
+    charaters were the same, only one RRD file would be generated, and its
+    contents would be unpredictable.  The 1.2.x series do not exhibit this
+    behaviour, and will store the entire field name as part of the RRD file
+    name.  As this leads to the fact that a new, empty, file will be created
+    with the non-truncated field name, the graphs will appear to have been
+    reset.
+
+    To solve this you need to manually figure out which RRD files are affected,
+    and rename them so that they are called what the new version of Munin
+    expects them to.  To figure out which files may be affected, you can
+    do the following:
+
+        cd /var/lib/munin
+        ls */*.rrd | awk '-F[/-]' '{if(length($4)==18) print}'
+
+    This will output one line for each file that may be affected, for instance:
+
+        fud.no/pride.fud.no-df-v_mapper_pride_usr-g.rrd
+
+    The three first strings separated by hyphens in the filename is the
+    interesting ones.  The first is the host as named in /etc/munin/munin.conf,
+    the second is the plugin name, and the third is the possibly mangled field
+    name.  I say "possibly", because any RRD files with a field name that is
+    exactly 18 characters long will also be reported, even though they are not
+    affected by the change.  To figure out if the file is indeed affected, and
+    what the new name should be, you need to ask the host's Munin-node process.
+
+    First, you need to figure out the DNS hostname or IP address of the node,
+    unless you already know it.  This information can be found in the file
+    /etc/munin/munin.conf, and will for this example look like this:
+
+        [pride.fud.no]
+          address 127.0.0.1
+
+    Next, connect to the host's Munin-node process:
+
+        telnet 127.0.0.1 munin
+
+    After receiving the welcoming "# munin node at pride.fud.no" banner, input:
+
+        fetch df
+
+    "df" is of course the plugin name as found embedded in the RRD file name
+    above.  You should now get the values reported by the plugin in return:
+    
+        _dev_hda5.value  54
+        _dev_mapper_pride_usr.value  88
+        _dev.value  54
+    
+    The field names are the strings before the periods.  At this point the
+    correct field name is obvious - the truncated field name
+    "v_mapper_pride_usr" is the last 18 characters of "_dev_mapper_pride_usr",
+    so the latter must be the correct one.  Now that you know that, you can
+    rename the RRD file so that the new version can find it:
+
+        cd /var/lib/munin/fud.no
+        mv pride.fud.no-df-v_mapper_pride_usr-g.rrd \
+           pride.fud.no-df-_dev_mapper_pride_usr-g.rrd
+
+    If you find no possible matches, it may be because the RRD file contains
+    data that are no longer collected, which could've happened in this example
+    if the filesystem in /dev/mapper/pride-usr was unmounted in the past.
+    To find out if that is the case, look at the time stamp of the file to
+    see when it was last modified.  If that's a long time ago, chances are the
+    file isn't used anyway and can be left alone.
+
+    If you're really unfortunate, you may end up with multiple possibilities,
+    which could've happened in the example used here if both a device named
+    /udev/mapper/pride-usr and also one named /dev/mapper/pride-usr was mounted
+    simultaneously.  If this is the case, you can't do anything but inspect the
+    relevant graph as created with Munin 1.0 to see if the field seems to
+    contain the correct data for at least one of the fields, and rename the RRD
+    accordingly.  However, there is a possibility that the RRD will contain
+    useless data that isn't correct for either of the fields.  In any case, you
+    won't be able to bring back correct data for both the fields, as it wasn't
+    collected properly to begin with.
+
+    You will have to repeat the process for every possibly affected RRD file,
+    after which you may safely upgrade your "munin" package.
+    
+ -- Tore Anderson <tore@debian.org>  Mon, 21 Feb 2005 00:16:25 +0100
--- munin-1.4.6.orig/debian/munin.cron.d
+++ munin-1.4.6/debian/munin.cron.d
@@ -0,0 +1,8 @@
+#
+# cron-jobs for munin
+#
+
+MAILTO=root
+
+*/5 * * * *     munin if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi
+14 10 * * *     munin if [ -x /usr/share/munin/munin-limits ]; then /usr/share/munin/munin-limits --force --contact nagios --contact old-nagios; fi
--- munin-1.4.6.orig/debian/README.source
+++ munin-1.4.6/debian/README.source
@@ -0,0 +1,53 @@
+#
+# getting the upstream sources (and putting them in svn):
+#
+
+New upstream tarballs are located here http://sourceforge.net/projects/munin/ 
+old tarballs are available at munin.projects.linpro.no/munin/branches/debian/lenny/tarballs 
+too.
+Please put them in svn with signed md5- and sha1sum-files.
+
+#
+# Debian specific patches
+#
+Debian specific patches reside in debian/patches/ and are applied with quilt.
+
+#
+# using svn-buildpackage
+#
+cd trunk/
+svn-buildpackage
+
+#
+# using svn-buildpackage with pbuilder and cowbuilder
+#
+
+svn-pdebuild is an alias for: 
+"svn-buildpackage --svn-builder=pdebuild --pbuilder cowbuilder"
+
+Here a small readme in order to use this svn properly:
+
+I'm used to this aliases to ease my life:
+      pclean='sudo rm -rf /var/cache/pbuilder/result/*'
+      pdebuild='pdebuild --pbuilder cowbuilder'
+      pdebuild-etch='pdebuild --pbuilder cowbuilder --  --basepath /var/cache/pbuilder/etch.cow/ --debian-etch-workaround'
+      pdebuild-lenny='pdebuild --pbuilder cowbuilder -- --basepath /var/cache/pbuilder/base-lenny.cow/'
+      plinda='linda /var/cache/pbuilder/result/*.changes'
+      plintian='lintian /var/cache/pbuilder/result/*.changes'
+      plogin='sudo cowbuilder --login'
+      pupdate='sudo cowbuilder --update'
+      pupdate-etch='sudo cowbuilder --update --basepath /var/cache/pbuilder/etch.cow/ --debian-etch-workaround'
+      pupdate-lenny='sudo cowbuilder --update --basepath /var/cache/pbuilder/base-lenny.cow/'
+      svn-debuild='svn-buildpackage -rfakeroot -us -uc'
+      svn-pdebuild='svn-buildpackage --svn-builder=pdebuild --pbuilder cowbuilder'
+      svn-pdebuild-etch='svn-buildpackage --svn-builder=pdebuild --pbuilder cowbuilder -- --basepath /var/cache/pbuilder/etch.cow --debian-etch-workaround'
+
+So for building this package go to trunk/ and call there e.g.:
+    svn-debuild (Build on the host system)
+or   
+    svn-pdebuild (Build in a chroot using cowdancer)
+
+In the first case the resulting files are found in ../build-area, in the
+second case the resulting files are found in /var/cache/pbuilder/result/
+
+I hope this helps to get this package build from svn :)
--- munin-1.4.6.orig/debian/munin-node.cron.d
+++ munin-1.4.6/debian/munin-node.cron.d
@@ -0,0 +1,12 @@
+#
+# cron-jobs for munin-node
+#
+
+MAILTO=root
+
+# If the APT plugin is enabled, update packages databases approx. once
+# an hour (12 invokations an hour, 1 in 12 chance that the update will
+# happen), but ensure that there will never be more than two hour (7200
+# seconds) interval between updates..
+*/5 * * * *	root if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi
+
--- munin-1.4.6.orig/debian/munin-node.README.Debian
+++ munin-1.4.6/debian/munin-node.README.Debian
@@ -0,0 +1,58 @@
+Debian-specific information regarding the Munin node
+====================================================
+
+  About the plugins
+  -----------------
+
+    The node will scan the directory /etc/munin/plugins for executable
+    files (or symlinks to such files), and will treat the results as the
+    authoritative list of plugins to run.  The maintainer scripts will have
+    created a default set of enabled plugins, attuned to your system.
+    You'll find more plugins in /usr/share/munin/plugins, which you can
+    enable by creating symlinks into /etc/munin/plugins as appropriate.
+
+    Creating your own plugins is very easy.  Read the rest of the included
+    documents, take a look at the provided plugins, and write your own.  
+    Please use Latin-1 as file encoding since munin expects only Latin-1
+    characters. Place it in /etc/munin/plugins/, and restart the client.
+    The core process will automatically notice the new service, and start
+    graphing it.
+
+  Locally modified plugins
+  ------------------------
+
+    If you wish to change the behaviour of the provided plugins, you are
+    strongly encouraged to make a copy of the plugin as installed in
+    /usr/share/munin/plugins/, and place it in /etc/munin/plugins/. Then,
+    make your modifications in the copy.  I strenously stress that it is
+    discouraged to make local modifications directly in plugins found in the
+    /usr/share/munin/plugin/ directories, as these files are managed by
+    dpkg - changes may very well be overwritten on upgrades. Also, such
+    changes will likely break intrusion detection systems which relies
+    on dpkg's database for reference.
+
+    It is worth noting that many things can be overrided in the core process'
+    configuration file, so it is quite possible that a modification is not
+    necessary.
+
+  Suggestions? Impressions? Questions? Fanmail? Love letters? Murder threats?
+  ---------------------------------------------------------------------------
+
+    We've got a mailing list.  You'll find subscription information at
+    <http://lists.sourceforge.net/lists/listinfo/munin-users>.  All feedback
+    are welcome.
+    
+    If you feel like sending us things that can't be represented in binary (for
+    example beautiful women fluent in assembly, bacillus anthracis, cash,
+    explosives, and so on), take contact off-list, and we'll find a way of
+    arranging the logistics.
+  
+  Find the upstream source
+  ------------------------
+    This Debian package uses the upstream tarball located here:
+    http://sourceforge.net/projects/munin .
+
+    It also uses quilt to apply some debian specific patches located in
+    ./debian/patches/
+
+Enjoy!  :-)
--- munin-1.4.6.orig/debian/munin.NEWS
+++ munin-1.4.6/debian/munin.NEWS
@@ -0,0 +1,248 @@
+munin (1.4.0-1) unstable; urgency=low
+
+    Move htmldir to /var/cache/munin/www. Note that we currently don't
+    have a proper upgrade mechanism in place. When upgrading from a 
+    previous version of munin, you'll need to change /etc/munin/munin.conf
+    htmldir parameter, from /var/www/munin, to /var/cache/munin/www.
+
+    A new binary package: munin-java-plugins was added. This package contains
+    a java jmx (Java Management Extensions) plugin.
+
+    A new binary package: munin-common, was added. It contains code shared by
+    munin and munin-node. munin, munin-node packages now both depend on 
+    munin-common.
+
+    munin-node-configure-snmp command is no longer available, use 
+    munin-node-configure --snmp to configure snmp hosts.
+
+    If upgrading from 1.2.6, please review the 
+    /usr/share/doc/munin/UPGRADING file as there is an issue with truncated
+    field names in plugins (especially with the df plugin), resulting
+    in loss of history, which can be fixed manually.
+
+    munin.conf has a "includedir" directive now, to include config file
+    snipplets.
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Fri, 04 Dec 2009 18:29:16 +0200
+
+munin (1.2.6-2) unstable; urgency=low
+
+  * Build the binary package 'munin-plugins-extra' with user contributed
+    plugins (again) by default. Though previously this package was called
+    'munin-plugins-contrib'. It was renamed to avoid confusion about the term
+    'contrib' which is used in Debian with a different meaning.
+
+ -- Matthias Schmitz <matthias@sigxcpu.org>  Tue, 01 Jul 2008 19:06:20 +0200
+
+munin (1.2.5-1) unstable; urgency=low
+
+  * Thanks to Marc Haber the Debian build scripts are now able to build a
+    custom package called "munin-plugins-contrib", which will contain some
+    user-contributed plugins that aren't included in the "munin-node" package.
+
+    To enable the build of this package, the environment variable
+    DEB_BUILD_OPTIONS must contain the string "munin:build-contrib-pkg".
+    The following commands ought to do the trick for most users:
+
+      export DEB_BUILD_OPTIONS="$DEB_BUILD_OPTIONS munin:build-contrib-pkg"
+      apt-get build-dep munin
+      apt-get --build source munin
+      dpkg --install munin-plugins-contrib_*_all.deb
+
+    It is not included in the Debian distribution.  Bugs should therefore be
+    reported to the upstream bug tracker at <http://munin.projects.linpro.no/>.
+
+ -- Tore Anderson <tore@debian.org>  Tue, 17 Oct 2006 14:39:05 +0200
+
+munin (1.2.2-1) unstable; urgency=low
+
+  * The "contrib" plugins are not supported from upstream, and have therefore
+    been removed from the package.  They have not been through a thorough QA
+    review, and could therefore contain security holes or simply not work as
+    expected.
+
+    The removed plugins are:
+
+      amavis apc_envunit_ apc_nis bind9 bind9_rndc courier_ dhcpd3
+      exim_mailqueue_alt files_ foldingathome foldingathome_rank
+      foldingathome_wu hddtemp2 hddtempd hddtemp i2c_fan i2c iostat_ios ipac-ng
+      mailman mailscanner mbmon_ mhttping named netopia nut_misc nut_volts
+      perdition pm3users_ pop_stats samba spamstats surfboard users
+
+    Most of these who turn out to be well-written and of general interest, will
+    likely make their way back into the package as auto or manual at a later
+    release.  If you have been using any of these, you should consider aborting
+    the upgrade, and copy the plugins you use from /usr/share/munin/plugins/ to
+    /etc/munin/plugins/ (overwriting the symlink).  That way, they will not be
+    touched during the upgrade.
+
+    You may also download them from <http://munin.sourceforge.net/>.
+
+ -- Tore Anderson <tore@debian.org>  Sun, 13 Mar 2005 00:28:49 +0100
+
+munin (1.2.0-1) unstable; urgency=low
+
+  * There are two major bugfixes in the 1.2.x series of Munin since 1.0.x that
+    could not be accomplished without introducing a risk of losing historical
+    data after upgrades.  Or more precisely:  no data will be lost, but the
+    exact name of the RRD file will change, so that the update process will
+    start collecting data into a new, emtpy, file, which in turn will be read
+    by munin-graph, and the final result is that the graph will appear to have
+    lost all data.  The historical data will still be present in the old graph.
+    
+    In the last two sections of this file I will attempt to detail how you can
+    minimize the data loss by carefully planning how to perform the upgrade.
+
+  * The infrastructure for sending warnings if values drop below or rise above
+    preset boundaries has been redesigned to improve flexibility, and are no
+    longer specific to NSCA/Nagios.  The old nsca_* settings are still
+    recognized, and are automatically mapped into a contact with the name
+    "old-nagios".  Hence the now deprecated munin.conf entries
+
+       nsca        /bin/nsca
+       nsca_server sloth.fud.no
+       nsca_config /etc/nsca.cf
+
+    would implicitly be converted to the entry
+
+       contact.old-nagios.command /bin/nsca sloth.fud.no -c /etc/nsca.cf -to 60
+
+    unless the latter was explicitly defined in /etc/munin/munin.conf, in which
+    case the deprecated entries would be ignored.
+
+  * Data loss issue 1
+    =================
+  
+    A number of plugins which in the 1.0.x series used the COUNTER data type
+    has now been changed to use the DERIVE type, with a minimum of 0.  The
+    reason is to hinder RRDtool from misdetecting counter wraps when a service
+    or machine is restarted, which resulted in abnormal spikes in those graphs.
+
+    The munin-update component from the 1.2.x series are able to recognize that
+    a plugin has changed thusly, and will automatically copy all the historic
+    data from the old RRD file into the new one, ensuring a smooth transition.
+    However, the munin-update component from the 1.0.x series are not aware of
+    this, and will react to this data type change by starting to collect data
+    into a new, empty, RRD file.
+
+    The method to ensure a painless upgrade is simple:
+    
+    Ensure that you upgrade the "munin" package BEFORE you upgrade the
+    ==================================================================
+    "munin-node" package on any of the hosts it collects data from.
+    ===============================================================
+
+    Should you however have already upgraded the packages in the wrong order,
+    you may salvage your graphs by manually change the data type in the old
+    RRD file, and afterwards rename it.  For instance, you may have this RRD
+    file containing the "user" field from the "cpu" plugin of munin-node 1.0.x:
+
+        /var/lib/munin/fud.no/lust.fud.no-cpu-user-c.rrd
+
+    After upgrading to version 1.2.x of munin-node, this will have changed to:
+
+        /var/lib/munin/fud.no/lust.fud.no-cpu-user-d.rrd
+
+    If the "munin" package wasn't upgraded before "munin-node" one, you will
+    have both files, and the latter one will only contain the data gathered
+    since the upgrade of the "munin-node" package.  In order to make the old
+    data reappear in the graph, you may do so using the following procedure:
+
+        cd /var/lib/munin/fud.no
+        rrdtool tune lust.fud.no-cpu-user-c.rrd -d 42:DERIVE
+        mv -f lust.fud.no-cpu-user-c.rrd lust.fud.no-cpu-user-d.rrd
+
+    You will have to repeat this process once for each field in each affected
+    plugin.  Also remember to ensure that the "munin" system user have write
+    access to the resulting RRD file when you are finished.  Be warned,
+    however, that by doing this you will lose all data collected since
+    munin-node was upgraded to version 1.2.x.
+
+  * Data loss issue 2
+    =================
+  
+    The 1.0.x series had rather nasty design flaw that caused field names
+    longer than 18 characters be truncated, removing any excessive characters
+    from the start of the field name.  This led to a nasty bug; if a plugin
+    reported values for two fields, who both had long names where the last 18
+    charaters were the same, only one RRD file would be generated, and its
+    contents would be unpredictable.  The 1.2.x series do not exhibit this
+    behaviour, and will store the entire field name as part of the RRD file
+    name.  As this leads to the fact that a new, empty, file will be created
+    with the non-truncated field name, the graphs will appear to have been
+    reset.
+
+    To solve this you need to manually figure out which RRD files are affected,
+    and rename them so that they are called what the new version of Munin
+    expects them to.  To figure out which files may be affected, you can
+    do the following:
+
+        cd /var/lib/munin
+        ls */*.rrd | awk '-F[/-]' '{if(length($4)==18) print}'
+
+    This will output one line for each file that may be affected, for instance:
+
+        fud.no/pride.fud.no-df-v_mapper_pride_usr-g.rrd
+
+    The three first strings separated by hyphens in the filename is the
+    interesting ones.  The first is the host as named in /etc/munin/munin.conf,
+    the second is the plugin name, and the third is the possibly mangled field
+    name.  I say "possibly", because any RRD files with a field name that is
+    exactly 18 characters long will also be reported, even though they are not
+    affected by the change.  To figure out if the file is indeed affected, and
+    what the new name should be, you need to ask the host's Munin-node process.
+
+    First, you need to figure out the DNS hostname or IP address of the node,
+    unless you already know it.  This information can be found in the file
+    /etc/munin/munin.conf, and will for this example look like this:
+
+        [pride.fud.no]
+          address 127.0.0.1
+
+    Next, connect to the host's Munin-node process:
+
+        telnet 127.0.0.1 munin
+
+    After receiving the welcoming "# munin node at pride.fud.no" banner, input:
+
+        fetch df
+
+    "df" is of course the plugin name as found embedded in the RRD file name
+    above.  You should now get the values reported by the plugin in return:
+    
+        _dev_hda5.value  54
+        _dev_mapper_pride_usr.value  88
+        _dev.value  54
+    
+    The field names are the strings before the periods.  At this point the
+    correct field name is obvious - the truncated field name
+    "v_mapper_pride_usr" is the last 18 characters of "_dev_mapper_pride_usr",
+    so the latter must be the correct one.  Now that you know that, you can
+    rename the RRD file so that the new version can find it:
+
+        cd /var/lib/munin/fud.no
+        mv pride.fud.no-df-v_mapper_pride_usr-g.rrd \
+           pride.fud.no-df-_dev_mapper_pride_usr-g.rrd
+
+    If you find no possible matches, it may be because the RRD file contains
+    data that are no longer collected, which could've happened in this example
+    if the filesystem in /dev/mapper/pride-usr was unmounted in the past.
+    To find out if that is the case, look at the time stamp of the file to
+    see when it was last modified.  If that's a long time ago, chances are the
+    file isn't used anyway and can be left alone.
+
+    If you're really unfortunate, you may end up with multiple possibilities,
+    which could've happened in the example used here if both a device named
+    /udev/mapper/pride-usr and also one named /dev/mapper/pride-usr was mounted
+    simultaneously.  If this is the case, you can't do anything but inspect the
+    relevant graph as created with Munin 1.0 to see if the field seems to
+    contain the correct data for at least one of the fields, and rename the RRD
+    accordingly.  However, there is a possibility that the RRD will contain
+    useless data that isn't correct for either of the fields.  In any case, you
+    won't be able to bring back correct data for both the fields, as it wasn't
+    collected properly to begin with.
+
+    You will have to repeat the process for every possibly affected RRD file,
+    after which you may safely upgrade your "munin" package.
+    
+ -- Tore Anderson <tore@debian.org>  Mon, 21 Feb 2005 00:16:25 +0100
--- munin-1.4.6.orig/debian/copyright
+++ munin-1.4.6/debian/copyright
@@ -0,0 +1,67 @@
+Munin is maintained for Debian by Tore Anderson <tore@debian.org>.
+
+The upstream source is available from <http://www.linpro.no/projects/munin/>.
+
+Lead developers include:
+
+  Audun Ytterdal  <ay@linpro.no>
+  Jimmy Olsen     <jo@linpro.no>
+  Tore Anderson   <tore@linpro.no>
+  Knut Haugen     <knuthaug@linpro.no>
+  Ingvar Hagelund <ingvar@linpro.no>
+
+Munin is licensed under the terms of the GNU General Public License, version 2.
+A verbatim copy of this license is found in the file
+
+ `/usr/share/common-licenses/GPL-2'
+
+on every Debian GNU/Linux system.
+
+The font Bitstream Vera Mono is bundled with this package, and is distributed
+under the following licence:
+
+  Copyright (C) 2003 Bitstream, Inc.
+  All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc.
+
+  Permission is hereby granted, free of charge, to any person obtaining a
+  copy of the fonts accompanying this license ("Fonts") and associated
+  documentation files (the "Font Software"), to reproduce and distribute
+  the Font Software, including without limitation the rights to use, copy,
+  merge, publish, distribute, and/or sell copies of the Font Software, and
+  to permit persons to whom the Font Software is furnished to do so,
+  subject to the following conditions:
+
+  The above copyright and trademark notices and this permission notice
+  shall be included in all copies of one or more of the Font Software
+  typefaces.
+
+  The Font Software may be modified, altered, or added to, and in
+  particular the designs of glyphs or characters in the Fonts may be
+  modified and additional glyphs or characters may be added to the Fonts,
+  only if the fonts are renamed to names not containing either the words
+  "Bitstream" or the word "Vera".
+
+  This License becomes null and void to the extent applicable to Fonts or
+  Font Software that has been modified and is distributed under the
+  "Bitstream Vera" names.
+
+  The Font Software may be sold as part of a larger software package but
+  no copy of one or more of the Font Software typefaces may be sold by
+  itself.
+
+  THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
+  COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
+  BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
+  OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
+  OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
+  OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
+  SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
+
+  Except as contained in this notice, the names of Gnome, the Gnome
+  Foundation, and Bitstream Inc., shall not be used in advertising or
+  otherwise to promote the sale, use or other dealings in this Font
+  Software without prior written authorization from the Gnome Foundation
+  or Bitstream Inc., respectively. For further information, contact:
+  <fonts@gnome.org>.
--- munin-1.4.6.orig/debian/compat
+++ munin-1.4.6/debian/compat
@@ -0,0 +1 @@
+5
--- munin-1.4.6.orig/debian/munin-node.dirs
+++ munin-1.4.6/debian/munin-node.dirs
@@ -0,0 +1 @@
+etc/munin/plugins
--- munin-1.4.6.orig/debian/control
+++ munin-1.4.6/debian/control
@@ -0,0 +1,117 @@
+Source: munin
+Section: net
+Priority: optional
+Maintainer: Munin Debian Maintainers <packaging@munin-monitoring.org>
+Uploaders: Holger Levsen <holger@debian.org>,
+ Stig Sandbeck Mathisen <ssm@debian.org>,
+ Tom Feiner <feiner.tom@gmail.com>,
+ Steve Schnepp <steve.schnepp@gmail.com>
+Build-Depends-Indep: perl, htmldoc, html2text, default-jdk
+Build-Depends: debhelper (>=5.0.42), quilt
+Standards-Version: 3.9.2
+Homepage: http://munin-monitoring.org
+Vcs-svn:  svn://munin.projects.linpro.no/munin/
+Vcs-Browser: http://munin.projects.linpro.no/browser
+
+Package: munin-node
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libnet-server-perl, procps, adduser, lsb-base (>= 3.2-4), gawk, munin-common (= ${binary:Version})
+Replaces: munin-plugins-extra
+Recommends: libnet-snmp-perl
+Suggests: munin, munin-plugins-extra, munin-java-plugins, libwww-perl, liblwp-useragent-determined-perl, libnet-irc-perl, mysql-client, smartmontools (>= 5.37-6~bpo40+1), acpi | lm-sensors, python, ruby, ethtool, libdbd-pg-perl,libdbd-mysql-perl,libcache-cache-perl, net-tools, hdparm, libcrypt-ssleay-perl, libtext-csv-xs-perl, libxml-simple-perl, logtail, libnet-ssleay-perl
+Description: network-wide graphing framework (node)
+ Munin is a highly flexible and powerful solution used to create graphs of
+ virtually everything imaginable throughout your network, while still
+ maintaining a rattling ease of installation and configuration.
+ .
+ This package contains the daemon for the nodes being monitored.  You should
+ install it on all the nodes in your network. It will know how to extract all
+ sorts of data from the node it runs on, and will wait for the gatherer to
+ request this data for further processing.
+ .
+ It includes a range of plugins capable of extracting common values such as cpu
+ usage, network usage, load average, and so on. Creating your own plugins which
+ are capable of extracting other system-specific values is very easy, and is
+ often done in a matter of minutes. You can also create plugins which relay
+ information from other devices in your network that can't run Munin, such as a
+ switch or a server running another operating system, by using SNMP or similar
+ technology.
+ .
+ Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent
+ RRDtool. To see a real example of Munin in action, you can follow a link
+ from <http://munin.projects.linpro.no/> to a live installation.
+
+Package: munin-plugins-extra
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, munin-node
+Replaces: munin-node (<< 1.4.0-1)
+Suggests: libnet-netmask-perl, python, libnet-telnet-perl
+Description: network-wide graphing framework (user contributed plugins for node)
+ Munin is a highly flexible and powerful solution used to create graphs of
+ virtually everything imaginable throughout your network, while still
+ maintaining a rattling ease of installation and configuration.
+ .
+ This package contains unsupported plugins for the Munin node, contributed by
+ various users of Munin. 
+ .
+ Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent
+ RRDtool. To see a real example of Munin in action, you can follow a link
+ from <http://munin.projects.linpro.no/> to a live installation.
+
+Package: munin-java-plugins
+Architecture: all
+Depends: ${misc:Depends}, default-jre-headless | java6-runtime-headless | java5-runtime-headless | java2-runtime-headless 
+Suggests: munin, munin-node
+Description: network-wide graphing framework (java plugins for node)
+ Munin is a highly flexible and powerful solution used to create graphs of
+ virtually everything imaginable throughout your network, while still
+ maintaining a rattling ease of installation and configuration.
+ .
+ This package contains the java based plugins that are used by munin-node to 
+ monitor Java Management Extensions (JMX). 
+ .
+ Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent
+ RRDtool. To see a real example of Munin in action, you can follow a link
+ from <http://munin.projects.linpro.no/> to a live installation.
+
+Package: munin
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, perl-modules | libparse-recdescent-perl, librrds-perl (>= 1.2), libhtml-template-perl, libdigest-md5-perl, libtime-hires-perl, libstorable-perl, rrdtool, adduser, liblog-log4perl-perl, ttf-dejavu, munin-common (= ${binary:Version}), cron
+Recommends: munin-node, libdate-manip-perl
+Suggests: www-browser, httpd, libnet-ssleay-perl
+Description: network-wide graphing framework (grapher/gatherer)
+ Munin is a highly flexible and powerful solution used to create graphs of
+ virtually everything imaginable throughout your network, while still
+ maintaining a rattling ease of installation and configuration.
+ .
+ This package contains the grapher/gatherer. You will only need one instance of
+ it in your network. It will periodically poll all the nodes in your network
+ it's aware of for data, which it in turn will use to create graphs and HTML
+ pages, suitable for viewing with your graphical web browser of choice.
+ .
+ It is also able to alert you if any value is outside of a preset boundary,
+ useful if you want to be alerted if a filesystem is about to grow full, for
+ instance.  You can do this by making Munin run an arbitrary command when you
+ need to be alert it, or make use of the intrinsic Nagios support.
+ .
+ Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent
+ RRDtool. To see a real example of Munin in action, you can follow a link
+ from <http://munin.projects.linpro.no/> to a live installation.
+
+Package: munin-common
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, perl-modules | libparse-recdescent-perl
+Suggests: munin, munin-node
+Description: network-wide graphing framework (common)
+ Munin is a highly flexible and powerful solution used to create graphs of
+ virtually everything imaginable throughout your network, while still
+ maintaining a rattling ease of installation and configuration.
+ .
+ This package contains the common perl modules that are used by both munin
+ and munin-node.
+ .
+ Munin is written in Perl, and relies heavily on Tobi Oetiker's excellent
+ RRDtool. To see a real example of Munin in action, you can follow a link
+ from <http://munin.projects.linpro.no/> to a live installation.
+
+
--- munin-1.4.6.orig/debian/munin-node.docs
+++ munin-1.4.6/debian/munin-node.docs
@@ -0,0 +1,3 @@
+build/doc/munin-faq.*
+build/doc/munin-doc.*
+debian/README.PluginConfiguration
--- munin-1.4.6.orig/debian/changelog
+++ munin-1.4.6/debian/changelog
@@ -0,0 +1,1238 @@
+munin (1.4.6-3) unstable; urgency=low
+
+  * Update maintainer address to packaging@munin-monitoring.org.
+  * Add Steve Schnepp to uploaders.
+  * Remove Tore Anderson, Dagfinn Ilmari Mannsaker, Loic Dachary and Matthias
+    Schmitz from uploaders. Thanks for all your work!
+  * munin/postrm: only delete /etc/apache2/conf.d/munin on purge. 
+    (Closes: #653596) - Sadly the fix will only be effective the next time 
+    munin is upgraded... 
+
+ -- Holger Levsen <holger@debian.org>  Sat, 14 Jan 2012 17:01:09 +0000
+
+munin (1.4.6-2) unstable; urgency=high
+
+  * Add logrotate rule for /var/log/munin/munin-cgi-graph.log. Thanks to
+    Jerome Warnier for the patch. (Closes: #647302) 
+  * Register an interest in the perl-major-upgrade trigger, and
+    recompile rules and restart munin-node when perl is upgraded to a new
+    major version. Thanks to Dominic Hargreaves for this nice new feature. 
+    (Closes: #626346)
+
+ -- Holger Levsen <holger@debian.org>  Sat, 19 Nov 2011 13:13:32 +0000
+
+munin (1.4.6-1) unstable; urgency=low
+
+  * New upstream release (Closes: #639745), closing several bugs
+    in munin:
+    - "munin-limits hangs when more than one contact is used" 
+       (Closes: #553528)
+    - cgi/fastcgi: Use GMT time zone in Last-Modified header 
+      (Closes: #601200)
+    - include patch to fix empty list of plugins (Closes: #609241)
+    and in munin-node:
+    - bind9_rndc plugin: version number gate fails (Closes: #573750)
+    - bind9 plugin: doesn't work at all (Closes: #612108)
+    - cidr_allow does not assume implicit /32 (Closes: #592842)
+   ↝- make slapd_ autoconf work, support anonymous bind, and env.server 
+      variable (Closes: #596026)
+    - exim munin does weird things (Closes: #601505)
+    - Use selective tls per node in munin master (Closes: #615226)
+    - IPv6 functionality in ip_ plugin assumes /bin/sh being bash 
+      (Closes: #613029) 
+    Also drop debian/patches/102-snort-bashism.patch as this is included
+    upstream now.
+  * munin.postinst: only create link from /etc/munin/apache.conf to
+    /etc/apache2/conf.d/munin on new installations, not on upgrades.
+    (Closes: #619399)
+  * Bump standards-version to 3.9.1, no changes necessary.
+  * Split uploaders field in debian/control in multiple lines. 
+  * Add build-arch and build-indep targets to debian/rules. 
+
+ -- Holger Levsen <holger@debian.org>  Tue, 30 Aug 2011 19:55:52 +0200
+
+munin (1.4.5-3) unstable; urgency=low
+
+  [ Tom Feiner ]
+  * Added patch 101-dash-bash-fw_conntrack.patch, fixing fw_conntrack 
+    plugin which reports incorrect values for total.warning 
+    and total.critical (Closes: #594695)
+  * Added patch 102-snort-bashism.patch fixing snort_* config bashism.
+    Thanks to Gerald Turner for the patch (Closes: #595899).
+  * Existence of /etc/apache2/conf.d/ does not mean apache2 is installed.
+    (Closes: #581363)
+  * Add patch to adapt ejabberd CLI to ejabberd version found in squeeze.
+    Thanks to Gerald Turner for the patch! (Closes: #597599)
+
+  [ Holger Levsen ]
+  * Added some tipps to get started into README.Debian. (Closes: #594528)
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Tue, 05 Oct 2010 14:02:43 +0200
+
+munin (1.4.5-2) unstable; urgency=low
+
+  [ Tom Feiner ]
+  * munin-plugins-extra: conflicts with lenny's munin-node (Closes: #590630)
+  * Bump standards-version to 3.9.1, no changes necessary.
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Fri, 13 Aug 2010 16:58:37 +0300
+
+munin (1.4.5-1) unstable; urgency=low
+
+  * New upstream release. Mainly bugfixes. Including fixes for:
+    - plugin: sensors_volt fails to parse all voltages (Closes: #573613)
+    - plugin: amavis creates cron error mail (Closes: #574172)
+    - plugin: uptime graph should not scale (Closes: #575180)
+    - plugin: munin-update bashism fix (Closes: #581126)
+  * Added patch 100-DejaVu-Fonts-Path.patch, fixing the invisible fonts
+    problem in older debian versions. Lowered librrds dependency to 1.2.
+    (Closes: #578782)
+  * max_cgi_graph_jobs in config breaks munin-update (Closes: #581709)
+  * TLS nonfunctional; using tls causes munin update to stop with error
+    (Closes: 580331)
+  * Suggest libnet-ssleay-perl in munin, munin-node. This package is needed
+    in order to enable TLS.
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Thu, 03 Jun 2010 07:45:56 +0300
+
+munin (1.4.4-1) unstable; urgency=low
+
+  * New upstream release. Mainly bugfixes. Including fixes for:
+    - node does not read files in plugin configuration directory in 
+      alphabetical order (Closes: #564098)
+    - munin-cgi-graph: Error "Premature end of script headers: 
+      munin-cgi-graph" in in webserver logs (Closes: #570545)
+    - munin-node: diskstats plugin forces width to 450 (Closes: #569541) 
+    - Problems when using localised munin (Closes: #566821)
+    - munin-node: tomcat_* plugins don't work (Closes: #543523)
+    - df_abs: multiple excludes in config file don't work (Closes: #567666)
+    - df_abs: make total graph optional by config option (Closes: #567895)
+    - munin-plugins-extra: plugins/mailman uses an undefined $MUNIN_PLUGSTATE
+      variable (Closes: #568793)
+    - mail_eximstats fails if there is no current state (Closes: #569496)
+    - exim_mailstats doesn't count Completed properly (Closes: #569621)
+    - munin: graphs are created with different sizes and distance 
+      of the columns (Closes: #566293)
+    - Add the tcp plugin to track TCP connection states to 
+      munin-plugins-extra (Closes: #563160)
+    - New mysql plugin does not function with default configuration 
+      (Closes: #569047). Thanks to Michael Shuler spotting this!
+
+  * Suggest logtail in munin-node instead of munin-plugins-extra, as amavis
+    plugin is now part of munin-node.
+  * Bump standards-version to 3.8.4, no changes necessary. 
+  * Remove default limits for the cpu plugin (Closes: #564239)
+  * Fix amavis default configuration (Closes: #567923) 
+  * Add default configuration for exim_mailstats for logdir,logname.
+  * Extend default configuration for df to df*.
+  * Place NEWS file only in munin,munin-node packages (Closes: #567844) 
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Fri, 26 Feb 2010 17:45:45 +0200
+
+munin (1.4.3-2) unstable; urgency=low
+
+  [ Stig Sandbeck Mathisen ]
+  * Add versioned dependency for librrds-perl.
+    If used with librrds-perl 1.2 or older, the font path is wrong.
+
+  [ Tom Feiner ]
+  * Update watch file.
+  * Add patch from munin ticket #828, to suppress "occasional" unknown 
+    states to avoid alerts. Thanks to Steve Wilson for the patch!
+  * Remove asterisks from NEWS.Debian and rewrite as non bulleted list, as
+    advised by the developers reference.
+
+ -- Holger Levsen <holger@debian.org>  Thu, 14 Jan 2010 12:10:51 +0000
+
+munin (1.4.3-1) unstable; urgency=low
+
+  * New upstream release. Mainly bugfixes.
+  * Fix typo in /etc/munin/apache.conf. (Closes: #562537)
+  * Add /var/log/munin-node-configure.log to munin-node.postrm so it will
+    be removed upon purge.
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Sun, 03 Jan 2010 09:35:01 +0200
+
+munin (1.4.2-2) unstable; urgency=low
+
+  * Fix lintian warnings regarding DejaVuSans.ttf.
+  * /etc/munin/apache.conf uses <IfModule mod_expires>, 
+    should use <IfModule mod_expires.c>. (Closes: #561984)
+  * Fix group for exim_mailqueue plugin. Closes: #562097).
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Thu, 24 Dec 2009 08:50:58 +0200
+
+munin (1.4.2-1) unstable; urgency=low
+
+  * New upstream release. Mainly bugfixes.
+  * includes fix for SQL Syntax Error inside postgres_querylength_ 
+     (Closes: #559426)
+  * Add debugfs to df exclude list in default plugin configuration.
+  * Change default group for plugin exim_mailqueue from Debian-exim to adm.
+    (Closes: #559674)
+  * Include upstream fix which didn't make it into 1.4.2 for empty 
+    /etc/munin/munin-conf.d/ directory causing munin-cron to spew warnings to
+    cron. (Closes: #559624)
+  * Add patch 101-GraphOld-typo-r3235.patch to fix a typo in munin 
+    1.4.2 which stop some graphs from being graphed.
+  * Remove 100-VeraMono-DejaVuSansMono-replacement.patch as it's not
+    needed anymore.
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Fri, 18 Dec 2009 10:26:52 +0200
+
+munin (1.4.1-2) unstable; urgency=low
+
+  * Add link to UPGRADING file in NEWS.
+  * Remove use of multiple groups from default plugins configuration.
+    (Closes: #559286)
+  * Add depends on the same version of munin-common to munin, munin-node.
+  * Add watch file.
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Sat, 05 Dec 2009 10:39:51 +0200
+
+munin (1.4.1-1) unstable; urgency=low
+
+  * New upstream version with 18 bugfixes and small enhancements.
+  * 1.4.0 broke graphing of sensors_fan. (Closes: #559188)
+
+ -- Stig Sandbeck Mathisen <ssm@debian.org>  Fri, 04 Dec 2009 15:48:53 +0100
+
+munin (1.4.0-2) unstable; urgency=low
+
+  [ Tom Feiner ]
+  * Improve short description of munin-common and munin-java-plugins.
+  * Move default-jdk from Build-Depends to Build-Depends-Indep. 
+  * Change the order of Depends for munin-java-plugins to put a non-virtual
+    package first. 
+
+  [ Stig Sandbeck Mathisen ]
+  * Update munin-node plugin configuration for postfix. (Closes: #559165)
+
+  [ Holger Levsen ]
+  * debian/control: Add a "Replaces: munin-plugins-extra" to munin-node, as
+    some plugins have become official and thus moved to the other binary
+    package. Thanks to Gregor Hermann. (Closes: #559062)
+  * munin.postrm: Cleanup the link in /etc/$webserver/conf.d - thanks to
+    Andreas Tille for spotting this.
+
+ -- Holger Levsen <holger@debian.org>  Thu, 03 Dec 2009 13:57:10 +0100
+
+munin (1.4.0-1) unstable; urgency=low
+
+  * Initial upload of munin 1.4.0 to Debian unstable. (Closes: #535691)
+    New features include: 
+    - Better scalability (multigraph support)
+    - Better security through TLS (SSL)
+    - Better looking HTML templates
+    - "includedir" in munin.conf to allow drop-in configuration
+    - More than 100 new plugins
+    - bugfixes
+    Please refer to the Announce-1.4.0, changelog for the full details.
+  * Remove 62 patches that have been merged in trunk.
+  * Move htmldir to /var/cache/munin/www. (Closes: #553555)
+    If you are upgrading, read NEWS.Debian.
+    Theres still work to be done implementing debconf presenting an option
+    where to install the htmldir, and possibly support more webservers by 
+    default. 
+  * Add new binary package: munin-common, which contains code shared by
+    munin and munin-node. Added depends on munin-common to munin,
+    munin-node.
+  * Add new binary package munin-java-plugins.
+  * debian/rule - make target names have changed.
+  * Add depends to liblog-log4perl-perl for munin.
+  * Add suggests to libtext-csv-xs-perl for munin-node, required by
+    the new zimbra plugin.
+  * Add suggests to libxml-simple-perl for munin-node, required by
+    the tomcat_* plugins.
+  * Add suggests to libdbd-mysql-perl,libcache-cache-perl for munin-node
+    required by the new mysql_ plugin.
+  * Add suggests to ruby for munin-node.
+  * Update new manpages names for munin-node.manpages.
+  * Change the use of VeraMono.ttf in munin-graph to the 
+    equivalent font provided by a Debian package. (Closes: #548508)
+  * munin.conf has a "includedir" directive now, to include config file
+    snipplets. (Closes: #425416)
+  * Fix current value of graph_total always 0. (Closes: #406505)
+  * plugin: apache_* improve output in errors. (Closes: #542477)
+  * plugin: exim_mailqueue show frozen count. (Closes: #299266)
+  * plugin: memory. Fix negative values in memory usage. (Closes: #257827)
+  * plugin: enhanced ping_ allows for multiple host statistics. (Closes: #312518)
+  * plugin: snmp__if_ uses 64bit counters now. (Closes: #499554)
+  * Improve ignore_file in /etc/munin/munin-node.conf. (Closes: #518401)
+  * munin-node logrotate now rotates munin-node.log with munin user ownership.
+  * munin-graph now checks if in cgi-mode and thus munin-cron doesn't need to
+    be modified anymore for cgi-mode. (Closes: #498842)
+  * Add default postgres_* configuration to plugins.conf.
+  * Add Announce-1.4.0, UPGRADING to the package documents. 
+  * Add build/resources/apache-cgi.conf to munin.docs.
+  * 1.4.0 contains the fix for squid_traffic bytes from cache too 
+    low. (Closes: #557385)
+  * munin-node: improve ignore_file in /etc/munin/munin-node.conf.
+    (Closes: #546149)
+  * munin-node: iostat plugin does not print values for Xen domU disks.
+    (Closes: #552034)
+
+  [ Holger Levsen ]
+  * Update homepage field in debian/control.
+  * Improve debian/changelog. 
+
+ -- Tom Feiner <feiner.tom@gmail.com>  Sun, 29 Nov 2009 22:41:11 +0200
+
+munin (1.2.6-17) unstable; urgency=low
+
+  [ Holger Levsen ]
+  * Adding Tom to uploaders. 
+  * Apply patch by Tom Feiner to not make the automatic plugin detection fail
+    if one plugin has an error. (Closes: #539886)
+
+  [ Tom Feiner ]
+  * Added hddtemp2 configuration to run as root. (Closes: #548906)
+
+ -- Holger Levsen <holger@debian.org>  Fri, 16 Oct 2009 15:28:51 +0000
+
+munin (1.2.6-16) unstable; urgency=low
+
+  [ Holger Levsen ]
+  * Bump standards-version to 3.8.3, no changes necessary. 
+
+  [ Tom Feiner ]
+  * Add python to munin-plugins-extra suggests, as ipmi_sensor_ needs it.
+    (Closes: #545967)
+  * Updated ejabberd plugin, thanks to Peter Viskup. (Closes: #545465)
+  * Add suggests to libnet-telnet-perl for munin-plugins-extra as the
+    asterisk plugins needs it. (Closes: #532955)
+  * Changed mysql* plugins options to use /etc/mysql/debian.cnf
+    exclusively. /etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf 
+    ~/.my.cnf (including /root/.my.cnf) mysql configuration files
+    will now be ignored. (Closes: #408452)
+
+ -- Holger Levsen <holger@debian.org>  Fri, 18 Sep 2009 10:34:33 +0000
+
+munin (1.2.6-15) unstable; urgency=low
+
+  [ Matthias Schmitz ]
+  * Add the linux_diskstats_ plugin from Michael Renner. (Closes: #522561)
+  * Provide an ipmi_sensor_ plugin. (Closes: #503936) 
+  * postfix_mailstats: Don't fall back to a logfile we already determined not
+    to exist. Thanks to Ulrik Haugen and Niels Thykier! (Closes: #532876)
+  * dhcpd3: Set Debian specific path to configuration and lease file. 
+    Thanks to Tom Feiner! (Closes: #543979)
+  * hddtemp_smartctl: Add capability to detect scsi/sata disks. Thanks to
+    Thorsten Gunkel for bug report and patch! (Closes: #497400)
+
+  [ Holger Levsen ]
+  * Add libcrypt-ssleay-perl to munin-nodes suggests as the apache plugins
+    need it for https URLs. (Closes: #545097)
+
+ -- Holger Levsen <holger@debian.org>  Sun, 06 Sep 2009 15:31:54 +0200
+
+munin (1.2.6-14) unstable; urgency=low
+
+  [ Stig Sandbeck Mathisen ]
+  * munin-node: Change "allow" to "cidr_allow" (Closes: #540805)
+  * munin-node: Changing mode of /etc/munin/plugin-conf.d to root:munin 750.
+    Adding README.PluginConfiguration to document this directory better.
+    (Closes: #521018)
+  * Removing patch to change default log path in amavis plugin, we fix
+    this in the Debian supplied plugin configuration instead
+  * munin-node: In munin-node.conf, "setseid" should be correctly spelled
+    "setsid" (Closes: #533467)
+
+  [ Holger Levsen ]
+  * Apply patch by Brian De Wolf (taken from trunk r2352) to fix gaps in 
+    graphs of the cpu plugin due to changes in the way the kernel reports 
+    cpu usage. (Closes: #535575)
+  * Once again remove the 'autoconf' magic marker from the postgres_space 
+    plugin, which was reintroduced when fixing #518790. 
+    (Closes: #503294, #503403)
+  * Restart munin-node after initialising plugins. (Closes: #543613)
+
+ -- Holger Levsen <holger@debian.org>  Wed, 26 Aug 2009 13:44:34 +0200
+
+munin (1.2.6-13) unstable; urgency=low
+
+  [ Stig Sandbeck Mathisen ]
+  * Fix conversion of old RRD files, which made munin emit lots of harmless
+    error messages on its first run (Closes: #400703)
+  * node.d/postfix_mailstats: Add patch to make it count rejects by
+    postfix/cleanup (Closes: #532200)
+  * Makefile: Make find-search-replace-and-rename behave in a more sane manner
+    (Closes: #536987)
+  * Add comments to patches in ./debian/patches/
+  * Add myself to uploaders.
+
+  [ Matthias Schmitz ]
+  * Add suggest to hdparm as need by hddtemp_smartctl (Closes: #531714)
+  * Catch unitialized values and munindoc'ify postgres_space_ (Closes: #518790)
+
+  [ Holger Levsen ]
+  * Bump Standards-version to 3.8.2.
+
+ -- Holger Levsen <holger@debian.org>  Mon, 03 Aug 2009 13:16:48 +0200
+
+munin (1.2.6-12) unstable; urgency=low
+
+  * Fix bashisms in several plugins in munin-plugins-extra, thanks to
+    Raphael Geissert for the bug and the patch. (Closes: #530147)
+  * Fix hardcode upsname in nut_misc and nut_volts plugins, thanks to Joey
+    Hess for the bug and Stig Sandbeck Mathisen for the patch. 
+    (Closes: #521355)
+  * munin.postinst and munin-node.postinst: workaround bug in xen-tools 
+    (#531021) by creating the munin group if it doesn't exist. 
+    (Closes: #501189)
+  * Add patch to linux cpu plugin to output correct graph if HZ value != 100,
+    thanks to Valentin Vidic for the patch. (Closes: #500226)
+  * Add patch to acpi plugin to call acpi without -B as requiered by acpi in
+    lenny and newer, thanks to Joey Hess. (Closes: #523239)
+  * Include ejabberd plugin in munin-plugins-extra. Thanks to Christian Dröge
+    for the plugin. (Closes: #505684) 
+  * Include various plugins for asterisk in munin-plugins-extra. Thanks to 
+    Rodolphe Quiedeville and Jan Prunk for the plugins. (Closes: #510307)
+
+ -- Holger Levsen <holger@debian.org>  Fri, 29 May 2009 14:31:23 +0200
+
+munin (1.2.6-11) unstable; urgency=low
+
+  [ Stig Sandbeck Mathisen ]
+  * Activate 460-netstat-regex.patch (Closes: #526688)
+
+  [ Matthias Schmitz ]
+  * Add munin(8) manpage. (Closes: #517952) 
+
+  [ Holger Levsen ]
+  * node/munin-run.in: fix typo in manpage. (Closes: #514559)
+  * Add suggests to net-tools for munin-node as netstat is a common plugin.
+  * Create /var/run/munin unconditionally in munin-nodes initscript,
+    remove the code in maintainer scripts and daily cronjob dealing with it.
+    (Closes: 518389) (by the code removal.)
+  * Bump Standards-version to 3.8.1.
+  * Bump debhelper compat level to 5, use versioned build-depends on
+    debhelper, add ${misc:Depends} to binary packages depends.
+  * Fix typo in apache plugins. (Closes: #519642)
+  * Fix typo in if plugins. (Closes: #523765) 
+  * Apply patch from http://munin.projects.linpro.no/ticket/627 to support
+    bind 9.5 (and 9.3) in the bind9_rdnc plugin. (Closes: #522868)
+    Thanks to K.Kano for the patch and Thorsten Tüllmann for filing the bug in 
+    the Debian BTS.
+
+ -- Holger Levsen <holger@debian.org>  Thu, 28 May 2009 20:42:05 +0200
+
+munin (1.2.6-10) unstable; urgency=low
+
+  * munin-html: create needed directories if they don't exist. Normally this 
+    is done in munin-graph, but that's not used in cgi mode. Thanks to Peter 
+    Palfrader for the bugreport with patch! (Closes: #514634)
+  * node.d.linux/netstat.in: fix regex to only match openened connections, 
+    thanks to  Paul Slootman for 460-netstat-regex.patch. (Closes: #507069)
+
+ -- Holger Levsen <holger@debian.org>  Sat, 28 Feb 2009 19:54:14 +0100
+
+munin (1.2.6-9) unstable; urgency=low
+
+  [ Matthias Schmitz ]
+  * 420-munin-limits.excessive-notifications.patch: Make the number of state 
+    transitions (from or to unknown) configurable before a notification will 
+    be send, now set to 3. Thanks to Steve Wilson for the patch. 
+    (Closes: #501214)
+  * Add a stderr/stdout redirection to iostat plugin. (Closes: #512407)
+  * munin-cgi-graph: better check of semget() return value. 
+    Thanks to Rafał Kupka! (Closes: #512572)
+
+  [ Holger Levsen ]
+  * apc_nis plugin: Set line_volt.max to 300 (instead of 200) to correctly 
+    deal with 220V installations. Thanks to Tim Bagot for reporting this!
+    (Closes: #511781)
+
+ -- Holger Levsen <holger@debian.org>  Wed, 04 Feb 2009 20:05:53 +0100
+
+munin (1.2.6-8) unstable; urgency=low
+
+  [ Matthias Schmitz ]
+  * Added missing dashes to the http connector in tomcat_threads,
+    tomcat_volumes and tomcat_access. Thanks to Markus Fischer!
+    (Closes: #500304)
+  * With rrdtool >= 1.3 the column alignment in the graph legend only works
+    with a monospace font. Remove fix path to legend font in munin-graph and
+    substitute it with fontconfig name 'monospace'. (Closes: #499033)
+  * Remove the 'autoconf' magic marker from the postgres_* plugins. 
+    (Closes: #503294, #503403)
+
+  [ Holger Levsen ]
+  * munin-node.postinst: only execute $TMPFILE if munin-node-configure (which
+    creates it) exited without errors. (Closes: #503913)
+  * node/munin-node.conf.pod: fix error from pod2man spotted by lintian. 
+
+ -- Holger Levsen <holger@debian.org>  Sat, 08 Nov 2008 14:31:13 +0000
+
+munin (1.2.6-7) unstable; urgency=low
+
+  * Add trivial patch from Guido Günther to munin-node to allow colons in
+    plugin names, to enable support for IPv6 addresses. (Closes: #499391)
+  * Remove 'white-space: nowrap;' from style.css, this avoids too wide html
+    pages in large Munin installations. (Closes: #500080)
+
+ -- Matthias Schmitz <matthias@sigxcpu.org>  Wed, 24 Sep 2008 23:12:20 +0200
+
+munin (1.2.6-6) unstable; urgency=low
+
+  [ Matthias Schmitz ]
+  * Since version 1.3.x rrdtool / librrds uses libpango which needs its input
+    utf8 encoded. Because all munin plugins are latin1 munin-graph now encodes
+    the strings into utf8 before feeding them to librrds. (Closes: #494547) 
+    Also mention the need for latin-1 encoded plugins in 
+    munin-node.README.Debian.
+  * Included postgresql plugins. (Closes: #320079) Add libdbd-pg-perl
+    to munin-node suggests.
+  * Make munin-node suggests of smartmontools versioned to >=5.37-6~bpo40+1
+    because this version contains fixes for CCISS controllers needed by
+    plugin hddtemp_smartctl, to help backporters. (Closes: #488357) 
+
+  [ Holger Levsen ]
+  * Add libnet-netmask-perl to munin-plugins-extra suggests. (Closes: #494095)
+  * Add trivial patch from Guido Günther to munin-run to allow colons in 
+    plugin names, to enable support for IPv6 addresses. (Closes: #499391)
+
+ -- Holger Levsen <holger@debian.org>  Fri, 19 Sep 2008 15:29:38 +0000
+
+munin (1.2.6-5) unstable; urgency=low
+
+  [ Matthias Schmitz ]
+  * The plugin nfsd will not longer try to read values from a not longer
+    existent /proc/net/rpc/nfsd. (Closes: #490882, #473854)
+  * munin-run will now print its usage if its called without a plugin
+    parameter. (Closes: #416478)
+  * node.d/postfix_mailqueue: redirect the 'which' output to /dev/null to
+    avoid an unnecessary error message. (Closes: #495004)
+  * node.d/exim_mailstats: cut out the pid from the logfile lines if
+    log_selector=+pid is used (Closes: #440622)
+  * munin-node: Add an entry to /etc/munin/plugin-conf.d/munin-node to let the
+    plugin fw_forwarded_local run as root. (Closes: #411869)
+  * node.d.linux/fw_conntrack: Add 'graph_args -l 0' to plugin so that the
+    graph scale always starts from zero and completely shows the area of the
+    established connections. (Closes: #490093)
+
+  [ Holger Levsen ]
+  * Fix typos in node/Plugin.pm, thanks to Joey Schulze. (Closes: #495003)
+
+ -- Holger Levsen <holger@debian.org>  Sun, 24 Aug 2008 17:35:34 +0000
+
+munin (1.2.6-4) unstable; urgency=medium
+
+  * Install munin-node gracefully (ie. inside a chroot, where port 4949 is
+    bound to another munin-node already) : munin-node.postinst: don't exit
+    postinst with error if just munin-node-configure fails. debian/rules: use
+    dh_installinit with --error-handler=true. (Closes: #491130) 
+  * munin-node: if_ and if_err_ plugins: add msh|venet|veth to the regex of
+    detected interfaces. (Closes: #489505)
+  * munin-node: postfix_mailqueue plugin: use postconf to detect postfix's
+    spooldir. (Closes: #383397) 
+  * munin-plugins-extra: include vserver plugins (Closes: #489737), thanks to
+    Micah Anderson for maintaining them. Make them use /bin/bash instead of
+    /bin/sh as they don't work with dash yet.
+  * munin-node: depend on gawk. (Closes: #491559)
+  * munin-node: add versioned dependency on lsb-base. (Closes: #469311)
+  * munin-node-configure: don't treat empty suggests as errors. 
+    (Closes: #491475, #489502)
+  * munin-node: sensors plugin: don't output errors on autoconf and suggest if
+    no sensors binary is installed. (Closes: #491473)
+  * munin-plugins-extra: fix typo in courier plugin. (Closes: #491463)  
+
+ -- Holger Levsen <holger@debian.org>  Thu, 17 Jul 2008 16:33:05 +0000
+
+munin (1.2.6-3) unstable; urgency=low
+
+  [ Holger Levsen ]
+  * Add liblwp-useragent-determined-perl to suggests for the munin-node
+    package as its needed for the apache_accesses plugin.
+
+  [ Matthias Schmitz ]
+  * Fix typo in munin-node postinst. (Closes: #489591)
+  * Fixed POD typo in Plugin.pm (Closes: #488700)
+
+ -- Matthias Schmitz <matthias@sigxcpu.org>  Mon, 07 Jul 2008 13:31:32 +0200
+
+munin (1.2.6-2) unstable; urgency=low
+  
+  [ Matthias Schmitz ]
+  * Fix the exim detection in exim_mailqueue with the patch from Damyan
+    Ivanov, thanks! Closes: #486865
+  * Replace the wrong filehandle close in exim_mailstats through tail_close().
+    Closes: #486868
+  * Remove the "-w" from the hash bang line of ntp_offset since nether dash
+    nor bash (or ksh) knows this parameter. Closes: #486887
+  * Change maintainer mail back to munin-deb-maint@linpro.no
+  * To become compatible with Nagios substitute "%" by "percent" in graph
+    title of plugins df and df_inode. Thanks Andreas Beckmann, Closes: #472239
+  * The plugin smart_ will not longer spin up disks in standby mode. Added "-n
+    standby" to the smartctl call. In plugin hddtemp_smartctl this issue was
+    already fixed upstream. Closes: #409462
+  * Included plugin 'ups_'. Thanks Andras Korn! Closes: #305917
+  * Set default logfile to mail.conf for postfix_mailvolume in plugins.conf
+    since Debian's postfix logs there. In the plugin postfix_mailstats this
+    issue was already fixed upstream. Closes: #461302
+  * Added detection of slashes in plugin ip_'s suggest mode. 
+    Closes: #464881, #411643, #402881
+  * Included plugin 'openvpn'. Closes: #354447
+  * Build the binary package 'munin-plugins-extra' with user contributed 
+    plugins (again) by default. Though previously this package was called
+    'munin-plugins-contrib'. It was renamed to avoid confusion about the term 
+    'contrib' which is used in Debian with a different meaning.
+
+  [ Holger Levsen ]
+  * Bump Standards-Version to 3.8.0, add Homepage and Vcs-* pseudo-headers.
+  * Add README.source and convert it to svn-buildpackage. Thanks to Patrick
+    Winnertz for help on this and writing the pbuilder part of README.source.   
+  * Add error checking to postinst, so the postinst (and with it dpkg) doesn't
+    fail if munin-node-configure fails, for example if /proc is not mounted.
+  * Provide entry about the munin-plugins-extra package in NEWS file.
+  * Add suggests to logtail for munin-plugins-extra, as some of those plugins
+    need it.
+  * Remove the buggy and unneeded logtail version detection code in the
+    amavis and courier plugins as described in #298895 and #297628. (The bugs
+    were closed in the BTS when the now called 'munin-plugins-extra' package
+    wasn't build on default anymore.)
+  * Adjust the default path for the mail logfile as suggested in #296533.
+    (Same here, bug was closed in the BTS when this binary package wasn't
+    build on default anymore.) 
+
+ -- Matthias Schmitz <matthias@sigxcpu.org>  Tue, 01 Jul 2008 19:06:20 +0200
+
+munin (1.2.6-1) unstable; urgency=low
+
+  [ Matthias Schmitz ]
+  * new upstream release (Closes: #440003, #310915, #387283, #307963, #241824,
+    #307966, #311727, #336618, #307962, #307997, #385058, #385358, #332285,
+    #403341, #373970, #398027, #385291, #436002, #440622, #463721, #406479,
+    #454260, #484068, #472207, #485830)
+    - introduce the munindoc command
+    - introduce Munin::Plugin.pm and plugin.sh with utility functions for
+      perl/shell plugins
+    - new plugins: ntp_offset
+  * Added tomcat_* plugins from Munin 1.3.4, Closes: #484097
+
+  [ Holger Levsen ]
+  * Add Matthias and myself to uploaders.
+  * Change maintainer mail address.
+  * Fix formatting errors in debian/NEWS.
+  * Bump standards version to 3.7.3, no changes needed.
+  * Remove versioned dependencies/suggests on python, perl-modules and
+    debhelper as they are all fullfilled even in oldstable.
+  * Update debian/copyright to reflect that munin is under the GPL2.
+  * debian/rules: Don't ignore failures in the clean target.
+  * Move debhelper and quilt to Build-Depends:.
+
+ -- Holger Levsen <holger@debian.org>  Sun, 11 May 2008 22:42:14 +0200
+
+munin (1.2.5-2) unstable; urgency=low
+
+  * apply patch that reads the default file, closes: #370347
+  
+  * control: add Loic Dachary (OuoU) <loic@debian.org> to Uploaders
+  
+  * control: standard version 3.7.2
+  
+ -- Loic Dachary (OuoU) <loic@debian.org>  Tue, 07 Aug 2007 14:54:11 +0000
+
+munin (1.2.5-1) unstable; urgency=low
+
+  * New upstream release.
+      - Replace calls to net_write() with print(), closes: #388789.
+      - Replace calls to Net::Domain::hostfqdn() with a combination of
+        Sys::Hostname::hostname() and gethostbyname(), closes: #307462,
+        closes: #390815.
+      - Handle errors opening the stats file in munin-update, closes: #329204.
+      - Improves the default fonts in RRDtool 1.2, which caused some labels to
+        line-wrap, reducing readability.  Closes: #361585.
+      - munin-node-configure-snmp now handles errors better, closes: #320455.
+      - Plugin generic/multips is now sorted under Processes, closes: #312521.
+      - Plugin linux/apt_all now correctly counts held packages, and also
+        considers the distribution "stable", closes: #314610.
+
+  * debian/control, debian/rules, debian/NEWS:
+      - Add support for building a package containing the contrib plugins,
+        closes: #306861.  Patch from Marc Haber, thanks!
+
+  * debian/munin-node.init, debian/munin.cron.d:
+      - Recreate /var/run/munin on boot if it is absent.  This is a work-around
+        for brain-damage in Ubuntu, where this directory goes AWOL every time
+        the machine is booted.  Closes: #380434.
+
+  * debian/control:
+      - The link to the example installation was broken, instead point to the
+        home page where there'll always be a link to a live one.
+
+  * debian/munin-node.init:
+      - Handle pidofproc() supplying the correct return code in the situation
+        where the daemon is dead while the pid file exists.  This was a bug
+        in lsb-base (#381684) up to and including version 3.1-10.
+      - Add LSB run-time dependency information.
+
+  * debian/munin.cron.d:
+      - Change the time of the daily forced munin-limits run so it doesn't
+        start at the same time as the munin-cron process, which appeared to
+        cause a race condition that made munin-limits report all values as 0.
+
+  * debian/plugins.conf:
+      - Run the ip_ plugin as the root user, closes: #373768.
+
+  * debian/copyright:
+      - The new upstream release bundles Bitstream Vera Mono, include its
+        license.
+
+ -- Tore Anderson <tore@debian.org>  Tue, 17 Oct 2006 14:39:05 +0200
+
+munin (1.2.4-1) unstable; urgency=low
+
+  * New upstream release.
+      - Plugin linux/iostat now supports c#d#p#-named devices, closes: #309263.
+      - Plugin generic/postfix_mailvolume should now correctly detect a
+        Postfix installation, closes: #341265, #306591.
+
+  * debian/munin-node.init, debian/control:
+      - Fix killproc() call, whose interface changed in lsb-base 3.0-10.
+        Version the dependency accordingly.  Closes: #339952.
+
+  * server/munin-cron.in, server/munin-graph.in, server/munin-limits.in:
+      - Reverted to unmodified upstream versions, as the patches applied to
+        1.2.3 has been merged into the upstream tree.
+
+ -- Tore Anderson <tore@debian.org>  Tue, 13 Dec 2005 18:21:59 +0100
+  
+munin (1.2.3-3) unstable; urgency=medium
+
+  * debian/munin.preinst (removed), debian/munin.postinst, debian/munin.postrm,
+    debian/munin-node.preinst (removed), debian/munin-node.postinst:
+      - Remove all code that handled upgrades from versions earlier than
+        1.2.3-1.  In a way this closes: #308008.
+
+  * debian/munin.postrm, debian/munin-node.postrm:
+      - Replace "test -o" bashism with "||".
+
+  * debian/munin-node.cron.d:
+      - Update APT's package index files periodically if the apt_all plugin
+        enabled, too.  Patch by Tommi Virtanen, thanks!  Closes: #317278.
+
+  * debian/control:
+      - Remove conflict declarations on the old LRRD packages.
+      - Make munin-node suggest ethtool, closes: #311603.
+      - Make Munin depend on rrdtool instead of merely suggesting it.  This is
+        a workaround for bug #323975 and its duplicates.
+      - Add a dependency on adduser for both packages.
+      - Increment standards-version to 3.6.2.1, no changes required.
+
+  * debian/munin-node.init, debian/control:
+      - Reimplemented Munin-Node's init script using LSB functions.
+        Closes: #326912, #326913.
+      - Add a dependency on lsb-base for Munin-Node.
+
+  * server/munin-graph.in, debian/control:
+      - Replaced the patch from 1.2.3-2 with the upstream one from SVN revision
+        954.  This re-enables support for RRDtool 1.0, so the versioned
+        dependency on librrds-perl is dropped.
+
+  * server/munin-cron.in:
+      - Swallow bogus output from RRDtool, closes: #326061.  This is a
+        (hopefully temporary) workaround for bug #325353.
+
+ -- Tore Anderson <tore@debian.org>  Sat, 10 Sep 2005 10:58:08 +0200
+
+munin (1.2.3-2) unstable; urgency=low
+
+  * server/munin-graph.in:
+      - Gave up waiting for the new upstream release, and applied Robert
+        Loomans' patch to make Munin support RRDtool 1.2, closes: #324605,
+        closes: #325280.  Thanks, Robert!  Note that this breaks compability
+        with RRDtool 1.0.  Sarge users should wait for the new upstream release
+        which will support both RRDtool 1.0 and 1.2.
+
+  * debian/control:
+      - Made the munin package depend on librrds-perl in versions 1.2 or above.
+
+ -- Tore Anderson <tore@debian.org>  Wed, 31 Aug 2005 09:11:47 +0200
+ 
+munin (1.2.3-1) unstable; urgency=medium
+
+  * New upstream release, targeted at Sarge.
+      - Plugin linux/sensors_ now handles yet another form of output from the
+        sensors(1) utility, closes: #300690.
+      - Plugin generic/postfix_mailstats now shouldn't include rejects from
+        the cleanup daemon in the total count, closes: #302220.
+      - Munin-update no longer emits Perl warnings to stdout, closes: #302502.
+
+  * server/munin-limits.in, debian/NEWS:
+      - Apply patch from trunk which redirects all stdout and stderr from the
+        program being run to the log, closes: #301196.  The references to this
+        functionality has been corrected in the NEWS file, and also in the
+        example config file.
+
+  * debian/control:
+      - Increment standards-version to 3.6.1.1, no changes required.
+
+  * debian/munin.docs:
+      - Include README-apache-cgi.
+
+ -- Tore Anderson <tore@debian.org>  Sun, 03 Apr 2005 02:33:26 +0200
+
+munin (1.2.2-3) unstable; urgency=high
+
+  * node/munin-node.in:
+      - Fix mis-merge of the optional user patch, restoring per-plugin
+        group setting. Thanks to Andras Korn for reporting and
+        Robert Loomans for patch (Closes: #299589).
+  
+  * node/munin-node.in, node/munin-run.in:
+      - Allow root for the per-plugin group directive.
+  
+  * Fix autoconf for the linux/nfs* plugins.
+
+ -- Dagfinn Ilmari Mannsaker <ilmari@ilmari.org>  Wed, 16 Mar 2005 20:45:15 +0100
+
+munin (1.2.2-2) unstable; urgency=low
+
+  * node/munin-node.in, node/munin-run.in:
+      - Allow plugins to specify users to run as if present, while falling
+        gracefully back on the default user if the specified user doesn't
+        exists.  Patch grabbed from upstream CVS.
+
+  * debian/plugins.conf:
+      - Run the postfix_mailqueue plugin as the postfix user only if it exists.
+
+ -- Tore Anderson <tore@debian.org>  Sun, 13 Mar 2005 13:55:36 +0100
+
+munin (1.2.2-1) unstable; urgency=low
+
+  * New upstream release.
+      - Plugin linux/irqstats now handles blank lines in /proc/interrupts,
+        closes: #296452.
+      - Plugins generic/apache_* could in some cases cause spurious spikes,
+        this has now been fixed.  Closes: #296454, #296645.
+      - Plugin linux/df_inode now handles devices with hyphens in their names
+        correctly, closes: #298442.
+      - Plugin generic/exim_mailstats now graphs rejects, closes: #295799.
+      - Earlier versions of munin-update could in some cases complain about
+        "nested quantifiers in regex", now fixed.  Closes: #296575.
+      - Fixes some broken HTML in the templates, closes: #296676.
+      - Updates over very slow connections are now handled more gracefully,
+        closes: #298108.
+
+  * debian/rules, debian/plugins.conf, debian/NEWS:
+      - Do not include contrib plugins in the munin-node package anymore.
+        Sort-of closes: #296533, #297451, #297628, #297904, #298895.
+
+  * debian/rules, debian/munin-node.postinst:
+      - Delay startup of the node significantly, as it may require other
+        monitored services (e.g. ntpd) to be already running.  Also change the
+        startup time if the package is being upgraded, if the current init
+        configuration is the old package's defaults.  Closes: #298793, thanks
+        to Stephen Gran for noticing.
+
+  * debian/plugins.conf:
+      - Run the Courier-MTA and Postfix plugins with necessary additional
+        privileges so they work out of the box, closes: #297654, #296985.
+        Thanks to Charles Fry and Juraj Bednar for pointing this out.
+      - The smart_ plugin is now run as root (which is necessary).
+
+  * debian/control:
+      - Suggest acpi over lm-sensors, and not the other way around as it was
+        earlier.  Both the acpi and sensors_ plugins achieve the same thing,
+        but the former is auto while the latter is manual.
+      - Remove the hddtemp suggestion and replace it with smartmontools,
+        closes: #296361. The hddtemp* plugins was replaced with
+        hddtemp_smartctl in 1.2.0.
+      - Suggest python (>= 2.2), used by the smart_ plugin.
+      - A few minor rewrites in the descriptions.
+
+  * debian/munin-node.manpages:
+      - Include munin-node-configure-snmp(8).
+
+  * server/munin-limits.in:
+      - Reverted to upstream version, as the patched required in 1.2.0-1 have
+        been merged.
+
+ -- Tore Anderson <tore@debian.org>  Sun, 13 Mar 2005 00:28:49 +0100
+
+munin (1.2.0-1) unstable; urgency=low
+
+  * New upstream release, closes: #264878, #293499, #290099:
+      - Many plugins have changed type from COUNTER to DERIVE, to avoid
+        spurious spikes when the counters are mistakenly assumed to have
+        wrapped.  This change may cause empty graphs to occur, take care to
+        read NEWS.Debian before upgrading the "munin-node" package!
+        Closes: #225623, #233762.
+      - Munin-update no longer truncates long field names, closes: #256370.
+        This may in some cases cause empty graphs, please read NEWS.Debian for
+        more information before upgrading the "munin" package.
+      - Replaces the old Nagios-specific integration with a much more generic
+        framework for sending alerts to wherever you want.  As a side effect,
+        this closes: #291168.
+      - Corrects an erroneous commented example in munin.conf, closes: #294060.
+      - The munin-node.conf setting default_plugin_user now actually works as
+        advertised, closes: #295366, #295367.
+      - Plugin generic/bind9 now source its configuration from %ENV,
+        closes: #268142, #272049.
+      - Plugin generic/amavis now autodetects how to correctly invoke logtail,
+        closes: #284638, #288395.
+      - Plugin generic/squid_cache now correctly calculates cache size when
+        using multiple cache directories, closes: #288579.
+      - Plugin generic/postfix_mailstats now defaults to reading from a more
+        correct log file, closes: #291720.
+      - Plugin generic/postfix_mailstats now correctly identifies the reject
+        code as newer Postfix versions logs them, closes: #292110.
+      - Plugin generic/postfix_mailvolume now has a improved graph_title (that
+        is not the same as the title of generic/postfix_mailstats).
+        Closes: #292083.
+      - Plugin generic/named now defaults to reading from a more correct log
+        file, closes: #291849.
+      - Plugin linux/fw_forwarded_local now correctly reports 0 instead of
+        NaN in some situations, closes: #284673.
+      - Plugin linux/iostat now ingores devices that have had no I/O operations
+        whatsoever and thus are assumed to be unused, closes: #267195.
+      - New plugin: linux/forks. Closes: #225638.
+      - New plugin: linux/uptime. Closes: #283622.
+      - New plugin: linux/irqstats. Closes: #224990.
+      - New plugin: generic/courier_. Closes: #291854.
+      - New plugin: generic/perdition. Closes: #291855.
+
+  * debian/NEWS:
+      - Document the changes that may lead to data loss when upgrading from
+        Munin 1.0.x, and also write a bit about the new munin-limits framework.
+
+  * debian/control:
+      - Add dependency on perl-modules (>= 5.8.0) | libparse-recdescent-perl
+        for the main munin package, as munin-limits requires Text::Balanced.
+      - Add libdate-manip-perl as a recommended package for the munin package,
+        as the new CGI functionality depends on it.
+      - Change libnet-snmp-perl to be a recommended package for munin-node
+        instead of only suggested, as the new munin-node-configure-snmp
+        requires it.
+
+  * debian/Makefile.config:
+      - Install the new CGI in /usr/lib/cgi-bin/, as mandated by the Debian
+        Policy Manual.
+
+  * debian/munin.cron.d, debian/munin.manpages, debian/munin.logrotate,
+    debian/munin.postrm:
+      - The new upstream release includes "munin-limits", which supersede
+        "munin-nagios".  Update the installed manual pages, cron jobs,
+        logrotate configuration, and purge script accordingly.
+
+  * debian/plugins.conf:
+      - Plugin linux/fw_conntrack is now run as root as this file recently has
+        changed to not be world readable, closes: #291226.
+      - Plugin linux/if_ is now run as root in order to probe the speed of the
+        network interface.
+
+  * debian/munin.postinst, debian/munin-node.postinst, debian/munin.postrm,
+    debian/munin-node.postrm:
+      - Use dpkg-statoverride to handle the permissions on the data and log
+        directories.
+
+  * server/munin-limits.in:
+      - Change lock file directory to match that of munin-update, munin-graph,
+        and munin-html (grabbed from upstream CVS).
+      - Fix a string comparsions where the "==" operator was used instead of
+        "eq" (grabbed from upstream CVS).
+
+  * debian/munin.postinst:
+      - Only change user and group ownership on the data files from "lrrd" to
+        "munin" when the package is first installed, not on every upgrade.
+
+ -- Tore Anderson <tore@debian.org>  Mon, 21 Feb 2005 00:16:25 +0100
+
+munin (1.0.5-1) unstable; urgency=low
+
+  * New upstream release:
+      - Expands @@ macros in man pages, closes: #286399.
+      - Fixes bug in munin-run %ENV untainting, closes: #285173.
+      - Fixes template variable escaping and other XHTML errors, closes: #287435
+        (based on patch by Tommi Virtanen <tv@debian.org>).
+      - hddtemp plugin calls hddtemp -n to avoid having to parse its output,
+        closes: #282021.
+  * Add Suggests: for programs and perl modules needed by plugins but not
+    the services they monitor, closes: #272148, #270090.
+
+ -- Dagfinn Ilmari Mannsaker <ilmari@ilmari.org>  Wed,  5 Jan 2005 23:47:16 +0100
+
+munin (1.0.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Tore Anderson <tore@debian.org>  Sun,  5 Dec 2004 16:54:19 +0100
+
+munin (1.0.3-1) unstable; urgency=low
+
+  * New upstream release:
+      - Fixes typo in linux/fw_forwarded_local, closes: #275535.
+      - Fixes typo in linux/fw_packets, closes: #275537.
+      - Plugin generic/acpi now autodetects correctly even if the acpi version
+        does not contain the acpi_available program, closes: #275538.
+
+  * debian/plugins.conf:
+      - Run the spamstats plugin with the group adm, closes: #278765.
+      - Sorted the entries alphabetically.
+
+ -- Tore Anderson <tore@debian.org>  Mon,  1 Nov 2004 21:56:41 +0100
+
+munin (1.0.2-1) unstable; urgency=low
+
+  * New upstream release, fixing the follwing:
+    - munin-graph spews uninitialized value in concatenation [precedence
+      error], thanks to Don Armstrong (Closes: #267185).
+  * Run the hddtemp plugins as root, write access to the device isn't
+    enough.
+
+ -- Dagfinn Ilmari Mannsaker <ilmari@ilmari.org>  Wed,  1 Sep 2004 09:32:42 +0200
+
+munin (1.0.1-1) unstable; urgency=low
+
+  * New upstream release, fixing the following:
+    - [munin-graph/1.0] multiple .negative options is broken,
+      thanks to Andre TOmt (Closes: #250982).
+    - [plugin:hddtemp2/1.0] Must run under "C" locale (Closes: #253497).
+    - munin-node: LANG-dependant behaviour changes (Closes: #255312).
+    - [plugin:sensors_temp/1.0] Omits temperature values without
+      max and/or hysteresis value(s), thanks to Elmar Hoffmann
+      (Closes: #256380).
+    - [plugin:sensors_volt/1.0] Omits negative voltages, thanks to Elmar
+      Hoffmann (Closes: #256734).
+    - [plugin:ipac_ng/1.0] Syntax error, thanks to Stefani
+      Banerian (Closes: #264714).
+    - [plugin:hddtemp2/1.0] Ignores env.ignore (it's not supposed
+      to, really! :), thanks to Michel Meyers (Closes: #265022).
+    - munin-node: plugin iostat_ios has improper magic file
+      marker, thanks to Micah Anderson (Closes: #262708).
+  * Set Maintainer: to the Munin team address.
+  * Add Tore Anderson and myself to Uploaders:
+  * Make the hddtemp plugins run as group "disk" to ensure access to the
+    disks.
+
+ -- Dagfinn Ilmari Mannsaker <ilmari@ilmari.org>  Wed, 18 Aug 2004 20:55:27 +0200
+
+munin (1.0.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Tore Anderson <tore@debian.org>  Sun, 18 Jul 2004 13:19:31 +0200
+
+munin (0+1.0.0pre5-1) unstable; urgency=low
+
+  * New upstream release:
+      - Apache plugins' autoconf routines should be fixed, closes: #236144.
+      - The node now applies plugin user settings at startup, closes: #236694.
+      - Fixed link rot in the templates, closes: #236792.
+      - graph_scale improved to use rrdgraph --units-exponent, closes: #236834.
+      - Improves the labels of the Apache plugins, closes: #238594.
+      - Improved sensors_* plugins to better cope with various output from
+        /usr/bin/sensors, closes: #245289.
+      - Adds new plugin for NFS statistics, closes: #223775.
+
+  * debian/rules:
+      - Include "contrib" plugins as well as "auto" and "manual" in the
+        munin-node package, closes: #236939, #236972, #245104.
+
+  * Makefile:
+      - Ignore the return value of htmldoc, as it's begun returning non-zero
+        if it encountered a non-fatal error in the document.
+
+ -- Tore Anderson <tore@debian.org>  Fri, 21 May 2004 20:51:19 +0200
+
+munin (0+1.0.0pre3-1) unstable; urgency=low
+
+  * New upstream release, closes: #231049:
+      - Project renamed from "LRRD" to "Munin".  Almost every file in the
+        debian directory has changed both name and content due to this, and
+        the changes related to this are far too numerous to detail here.
+      - iostat plugin now works on Linux 2.6, closes: #224113.
+      - mysql_queries now appends ".value" to the fields, closes: #224118.
+      - Munin-node now ignores config files names suggesting they're backup
+        files of some sort (such as "foo.dpkg-old"), closes: #224265.
+      - Munin-node now doesn't attempt to drop privileges using setuid() and
+        setgid() if it's not running as root to begin with, closes: #224300.
+      - Untaint %ENV unconditionally;  let the admin shoot himself in the foot
+        if he wants to, closes: #224838, #224878.
+      - Munin-update now allows any character in service names (although it
+        translates exotic ones to "_"), closes: #224859.
+      - Munin-graph now handles bogus input from plugins more gracefully,
+        closes: #224942.
+      - Munin-update doesn't any longer complain on stderr if a node times out
+        in mid-transfer, closes: #227650.
+      - Incorporates Mike Fedyk's many improvements to the memory plugin,
+        closes: #223346.
+      - The iostat graph is now mirrored over the X axis, making it much
+        easier to read, closes: #223373.
+      - Fix buggy HTML in the service view, closes: #230322.
+      - Limit the maximum values from the vmstat plugin to 500000, to avoid
+        spurious peaks to sneak in, closes: #225489, #225626.
+      - Further improvements to related to timeout handling, closes: #224480.
+
+  * debian/plugins.conf:
+      - Run the Exim mailstats plugin in the groups "mail" and "adm", to
+        ensure we can read the log files we need, closes: #225988.
+      - Run the Exim mailqueue plugin with "Debian-exim" as a supplementary
+        group if it exists, closes: #229860.
+
+  * debian/munin-node.init:
+      - Use a full string match instead of a substring match when looking
+        in the process table for running Munin-node processes, closes: #224486.
+      - Remove $(<file) bashism, closes: #230116.
+
+  * debian/munin.preinst (new), debian/munin-node.preinst (new):
+      - If we're doing an initial install of either of the Munin packages
+        on a system with LRRD configuration files and data lying around,
+        create the initial Munin configuration and data set based on the
+        old files from LRRD.
+
+ -- Tore Anderson <tore@debian.org>  Thu, 05 Feb 2004 19:15:14 +0100
+
+lrrd (0.9.9r5-1) unstable; urgency=low
+
+  * New upstream release:
+      - Allows for customizing which port to connect to when the server is
+        talking to its clients, closes: #214114.
+      - Makes it possible to change the plugins' environment arbitrarily,
+        sort-of closes: #214277.
+      - Relaxes the paranoia regarding the plugins' ownership and permission
+        modes somewhat, closes: #214186, #216401.
+      - Further impovements to the error-handling logic in lrrd-server, which
+        hopefully closes: #215739, #222674, #222821.
+      - Removed the spurious use of Config::General in lrrd-client,
+        closes: #216176.
+      - Includes Andras Korn's psu_ wildcard plugin, which counts the number
+        of processes owned by specific users, closes: #214210.  Thanks, Andras!
+      - The number of context switches per second is now graphed by the
+        interrupts plugin, closes: #222838.  Thanks, Mike Fedyk!
+      - Corrected field names in the vmstat plugin, closes: #222841.  Thanks
+        again, Mike Fedyk!
+
+  * debian/control:
+      - Drop dependency on libconfig-general-perl for lrrd-server, as this
+        configuration file format is now deprecated.
+      - Change priority to extra, due to the dependency on librrds-perl.
+
+  * debian/rules:
+      - Polished slightly.
+
+  * debian/lrrd-client.dirs:
+      - Removed unecessary entry /var/run/lrrd, which is installed from the
+        Makefile.
+
+  * debian/lrrd-client.init:
+      - Rewritten, now sports improved error handling and intrinsic distrust of
+        start-stop-daemon's return values, closes: #202190.
+
+  * debian/lrrd-server.cron.d:
+      - Check if the binaries we're about to run exist and are executable
+        before running them, closes: #221691.
+
+  * debian/lrrd-client.postinst, debian/lrrd-server.postinst:
+      - If we're updating from the packages which didn't create the lrrd system
+        group, try to make the GID the same as the already existing lrrd users'
+        UID, if it's available.
+
+  * debian/lrrd-client.postinst:
+      - Rewritten as a shell script.
+      - Initial plugin setup now relies on lrrd-client-configure instead of an
+        internal function to to initialize plugins.  This also ensures that
+        automatic plugins later added to the package will be enabled on
+        upgrades.
+      - The plugins' state files was inappropriately placed in /var/run, move
+        them to /var/lib if any exist in the former location.
+
+  * debian/lrrd-server.postinst:
+      - Actually check how we're called, don't blindly assume we're
+        configuring.
+
+  * debian/lrrd-server.postrm, debian/lrrd-client.postrm:
+      - Better handling of empty dirs after purge.  (This is workaround for
+        dpkg bug #198522).
+
+  * debian/lrrd-server.postrm:
+      - Remove some ucf stuff I had forgotten about.
+
+  * debian/plugins.conf:
+      - Updated to the new syntax for passing options to the plugins.
+
+  * debian/Makefile.config:
+      - Now only contains overrides to the upstream defaults, instead of being
+        a full replacement for upstream's Makefile.config.
+      - PLUGSTATE changed from /var/run/lrrd to /var/lib/lrrd/plugin-state, as
+        these files should persist after reboots.
+
+ -- Tore Anderson <tore@debian.org>  Fri, 28 Nov 2003 23:30:27 +0100
+
+lrrd (0.9.8-1) unstable; urgency=low
+
+  * New upstream release:
+    - Fixes several situations where the server would stop gathering data,
+      closes: #202191, #202637, #209329, #203173.
+    - The client will now drop privileges if possible, closes: #201726.
+    - Makes the MySQL plugins more configurable, and uses floats instead of
+      integers in the ISAM space plugin, closes: #202639, #202643.
+    - Adds support for Linux 2.6 in the memory plugins, closes: #205019.
+    - Better handling of unreachable nodes, closes: #205999.
+  * debian/control:
+    - Standards-Version 3.6.1.0, no changes required.
+    - Change my email address.
+    - Drop dependency on ucf.
+    - Add dependency on libstorable-perl, as required by the new upstream
+      release.
+  * debian/Makefile.config, debian/rules:
+    - Updated for the new upstream release.
+  * debian/lrrd-client.postinst:
+    - Use lrrd-run instead of invoking the plugins directly, to ensure their
+      autoconf values are correct.
+  * debian/lrrd-server.postinst:
+    - Stop using ucf to handle /etc/lrrd/server.conf, instead ship is as a
+      dpkg conffile.  This is made possible by using the new configuration
+      setting 'use_default_name'.
+  * debian/lrrd-client.postinst, debian/lrrd-server.postinst:
+    - Add the system group lrrd as well as a system user, and ensure that all
+      data directories are owned and writeble by these.
+  * debian/plugins.conf (new):
+    - Includes configuration settings for the plugins.
+  * debian/lrrd-client.docs (new), debian/lrrd-server.docs (new):
+    - Include the LRRD documentation, closes: #203647, #203748.
+  * Makefile:
+    - Generate the lrrd-run manual page from the correct POD file.
+    - Disable cleaning the debian/ tree in the clean target.
+
+ -- Tore Anderson <tore@debian.org>  Sat, 04 Oct 2003 16:40:45 +0200
+
+lrrd (0.9.7-2) unstable; urgency=low
+
+  * Correct path to lrrd-nagios in /etc/cron.d/lrrd-server, closes: #202803.
+  * Use Net::Domain instead of /bin/hostname when generating server.conf,
+    to ensure the hostname matches the client's, closes: #203960.
+  * Do not determine the hostname and domain during build.
+ 
+ -- Tore Anderson <tore@linpro.no>  Sat, 09 Aug 2003 23:09:21 +0200
+
+lrrd (0.9.7-1) unstable; urgency=low
+
+  * New upstream release.
+    - Massive changes in build system, update debian/rules accordingly.
+    - The server will now ignore unreachable nodes, and should thus not
+      send root arcane error messages anymore, closes: #200487.
+  * After reading through the texmf.cnf thread on debian-devel, I realize
+    I've forgotten the simplizity and no-nonsense qulities about Debian
+    that attracted me in the first place, and that I've fallen for the
+    temptation of making the configuration scripts too pretentious and
+    loquacious. Therefore, I've killed all of the Debconf questions, and
+    instead enable a default set of plugins based on the autoconf and
+    suggests routines, closes: #197413.
+  * /etc/lrrd/client.conf is now a conffile handled by dpkg.
+  * Rewrote lrrd-client's postinst in Perl.
+  * Include the APT plugin in the lrrd-client package.  Hence, the
+    lrrd-client package now Conflicts and Replaces lrrd-plugin-apt.
+    Thanks to James Troup for the suggestion.
+  * Declare the debhelper compat level in debian/compat instead of in
+    debian/rules.
+  * Standards-Version 3.6.0, no changes required.
+
+ -- Tore Anderson <tore@linpro.no>  Mon, 14 Jul 2003 20:39:18 +0200
+ 
+lrrd (0.9.6-1) unstable; urgency=low
+
+  * Initial release, closes: #169079.
+
+ -- Tore Anderson <tore@linpro.no>  Sat, 31 May 2003 17:15:35 +0200
--- munin-1.4.6.orig/debian/munin.dirs
+++ munin-1.4.6/debian/munin.dirs
@@ -0,0 +1 @@
+var/cache/munin/www
--- munin-1.4.6.orig/debian/watch
+++ munin-1.4.6/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/munin/ munin-([\d+\.]+)\.tar\.gz
--- munin-1.4.6.orig/debian/munin.apache.conf
+++ munin-1.4.6/debian/munin.apache.conf
@@ -0,0 +1,33 @@
+Alias /munin /var/cache/munin/www
+<Directory /var/cache/munin/www>
+        Order allow,deny
+        Allow from localhost 127.0.0.0/8 ::1
+        Options None
+
+	# This file can be used as a .htaccess file, or a part of your apache
+	# config file.
+	#
+	# For the .htaccess file option to work the munin www directory
+	# (/var/cache/munin/www) must have "AllowOverride all" or something 
+	# close to that set.
+	#
+
+	# AuthUserFile /etc/munin/munin-htpasswd
+	# AuthName "Munin"
+	# AuthType Basic
+	# require valid-user
+
+	# This next part requires mod_expires to be enabled.
+	#
+	
+	# Set the default expiration time for files to 5 minutes 10 seconds from
+	# their creation (modification) time.  There are probably new files by
+	# that time. 
+	#
+
+    <IfModule mod_expires.c>
+        ExpiresActive On
+    	ExpiresDefault M310
+    </IfModule>
+
+</Directory> 
--- munin-1.4.6.orig/debian/rules
+++ munin-1.4.6/debian/rules
@@ -0,0 +1,93 @@
+#! /usr/bin/make -f
+
+export DH_VERBOSE=
+
+MAKEOPTS = CONFIG=debian/Makefile.config INSTALL_PLUGINS="auto manual snmpauto contrib"
+
+include /usr/share/quilt/quilt.make
+
+buildpackages=munin-common munin munin-node munin-plugins-extra munin-java-plugins
+
+# generate -pfoo commandline for debhelper
+dhbuildpackages=$(addprefix -p,$(buildpackages))
+
+build: build-arch build-indep 
+
+build-arch:
+
+build-indep: build-stamp
+
+build-stamp: $(QUILT_STAMPFN) 
+	dh_testdir
+	dh_installdirs
+	
+	$(MAKE) build     $(MAKEOPTS)
+	
+	$(MAKE) install-common-prime $(MAKEOPTS) \
+		DESTDIR=`pwd`/debian/munin-common
+
+	$(MAKE) install-master-prime $(MAKEOPTS) \
+		DESTDIR=`pwd`/debian/munin
+
+	install -D -m0644 debian/munin.apache.conf \
+		$(CURDIR)/debian/munin/etc/munin/apache.conf
+
+	# Remove default .htaccess file from installation, as we include it
+	# in the default apache2/conf.d/munin configuration
+	rm $(CURDIR)/debian/munin/var/cache/munin/www/.htaccess
+
+	# Remove bundled VeraMono.ttf, debian gets this font from 
+	# the ttf-dejavu package. http://bugs.debian.org/548508
+	rm `pwd`/debian/munin/usr/share/munin/DejaVuSans*.ttf
+	
+	$(MAKE) install-node-prime install-plugins-prime $(MAKEOPTS) \
+		DESTDIR=`pwd`/debian/munin-node
+	
+	$(MAKE) install-plugins-java $(MAKEOPTS) \
+		DESTDIR=`pwd`/debian/munin-java-plugins
+
+	install -D -m0644 debian/plugins.conf \
+		$(CURDIR)/debian/munin-node/etc/munin/plugin-conf.d/munin-node
+
+	mkdir -p $(CURDIR)/debian/munin-plugins-extra/usr/share/munin/plugins
+	for file in `find debian/munin-node/usr/share/munin/plugins -type f`; do \
+		if ! grep -q "#%# family=\(auto\|manual\|snmpauto\)" $$file \
+		   && [ "`basename $$file`" != "plugins.history" ] && [ "`basename $$file`" != "plugin.sh" ]; then \
+			mv $$file $(CURDIR)/debian/munin-plugins-extra/usr/share/munin/plugins; \
+		fi; \
+	done
+
+	rmdir $(CURDIR)/debian/munin/var/run/munin
+	rmdir $(CURDIR)/debian/munin-node/var/run/munin
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_clean
+	$(MAKE) clean
+
+binary: binary-indep
+
+binary-arch:
+
+binary-indep: build-stamp
+	dh_testdir $(dhbuildpackages)
+	dh_testroot $(dhbuildpackages)
+	dh_installdocs $(dhbuildpackages)
+	dh_installchangelogs $(dhbuildpackages) ChangeLog
+	dh_installman $(dhbuildpackages)
+	dh_installinit --error-handler=true $(dhbuildpackages) -- "defaults 98 20"
+	dh_installcron $(dhbuildpackages)
+	dh_installlogrotate $(dhbuildpackages)
+	dh_installdebconf $(dhbuildpackages)
+	dh_link $(dhbuildpackages)
+	dh_fixperms $(dhbuildpackages)
+	dh_compress $(dhbuildpackages)
+	dh_perl $(dhbuildpackages)
+	dh_installdeb $(dhbuildpackages)
+	dh_gencontrol $(dhbuildpackages)
+	dh_md5sums $(dhbuildpackages)
+	dh_builddeb $(dhbuildpackages)
+
+.PHONY: build clean binary binary-arch binary-indep
--- munin-1.4.6.orig/debian/munin-node.postinst
+++ munin-1.4.6/debian/munin-node.postinst
@@ -0,0 +1,84 @@
+#! /bin/sh
+
+set -e
+
+prevver="$2"
+
+add_munin_system_user() {
+	if ! getent passwd munin >/dev/null; then
+		adduser --group --system --no-create-home --home /var/lib/munin munin
+	fi
+	# workaround bug (#531021) in xen-tools
+	if ! getent group munin >/dev/null; then
+		addgroup --system munin
+		adduser munin munin
+	fi
+}
+
+fixperms() {
+        dpkg-statoverride --list /var/log/munin >/dev/null || \
+		dpkg-statoverride --update --add munin adm 0750 /var/log/munin
+        dpkg-statoverride --list /var/lib/munin >/dev/null || \
+		dpkg-statoverride --update --add munin munin 0755 /var/lib/munin
+        dpkg-statoverride --list /var/lib/munin/plugin-state >/dev/null || \
+		dpkg-statoverride --update --add munin munin 0775 /var/lib/munin/plugin-state
+	dpkg-statoverride --list /etc/munin/plugin-conf.d >/dev/null || \
+		dpkg-statoverride --update --add root munin 0750 /etc/munin/plugin-conf.d
+}
+
+init_plugins() {
+	TMPFILE=`mktemp /tmp/munin-node.configure.XXXXXXXXXX`
+	TMPFILE_STDERR=`mktemp /tmp/munin-node.configure.err.XXXXXXXXXX`
+	MUNIN_NODE_CONF_LOG="/var/log/munin/munin-node-configure.log"
+	if [ "$prevver" ]; then
+		MUNIN_NODE_CMD="munin-node-configure --shell --newer "${prevver%-*}""    
+		echo -n "Initializing new plugins.."
+	else
+		MUNIN_NODE_CMD="munin-node-configure --shell"
+		echo -n "Initializing plugins.."
+    fi
+
+	# munin-node-conf returns 1 if case of partial plugin autoconf
+	# errors. We need to ignore these errors as even one plugin
+	# can fail the entire process. See Debian bug #539886 for details.
+	$MUNIN_NODE_CMD 2>$TMPFILE_STDERR >$TMPFILE || true
+	if [ -f $TMPFILE ]; then
+		DATE=`date '+%b %d %T'`
+		echo "$DATE - Starting $MUNIN_NODE_CMD" >> $MUNIN_NODE_CONF_LOG
+		cat $TMPFILE >> $MUNIN_NODE_CONF_LOG
+        if [ -s $TMPFILE_STDERR ]; then
+			echo "The following errors were reported by $MUNIN_NODE_CMD" \
+			>> $MUNIN_NODE_CONF_LOG 
+			cat $TMPFILE_STDERR >> $MUNIN_NODE_CONF_LOG
+        fi
+		sh < $TMPFILE
+	else 
+		echo "failed."
+	fi
+	echo "done."
+	rm -f $TMPFILE $TMPFILE_STDERR
+	echo -n "Restarting munin-node.."
+	invoke-rc.d munin-node restart
+}
+
+case "$1" in
+	configure)
+		add_munin_system_user
+		fixperms
+		init_plugins
+		;;
+        triggered)
+		if [ "$2" = "perl-major-upgrade" ]; then
+			invoke-rc.d munin-node restart
+		fi
+		;;
+	abort-upgrade|abort-deconfigure|abort-remove)
+		:
+		;;
+	*)
+		echo "Called with unknown argument $1, bailing out."
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
--- munin-1.4.6.orig/debian/munin.logrotate
+++ munin-1.4.6/debian/munin.logrotate
@@ -0,0 +1,45 @@
+/var/log/munin/munin-update.log {
+	daily
+	missingok
+	rotate 7
+	compress
+	notifempty
+	create 640 munin adm
+}
+
+/var/log/munin/munin-graph.log {
+	daily
+	missingok
+	rotate 7
+	compress
+	notifempty
+	create 640 munin adm
+}
+
+/var/log/munin/munin-html.log {
+	daily
+	missingok
+	rotate 7
+	compress
+	notifempty
+	create 640 munin adm
+}
+
+/var/log/munin/munin-limits.log {
+	daily
+	missingok
+	rotate 7
+	compress
+	notifempty
+	create 640 munin adm
+}
+
+/var/log/munin/munin-cgi-graph.log {
+        daily
+        missingok
+        rotate 7
+        compress
+        notifempty
+        create 660 munin www-data
+}
+
--- munin-1.4.6.orig/debian/munin-node.triggers
+++ munin-1.4.6/debian/munin-node.triggers
@@ -0,0 +1 @@
+interest perl-major-upgrade
--- munin-1.4.6.orig/debian/Makefile.config
+++ munin-1.4.6/debian/Makefile.config
@@ -0,0 +1,25 @@
+# This file overrides variables used by the makefile, so it's behaviour
+# becomes suitable for building Debian packages.
+
+PREFIX     = $(DESTDIR)/usr
+CONFDIR    = $(DESTDIR)/etc/munin
+HTMLDIR    = $(DESTDIR)/var/cache/munin/www
+DBDIR      = $(DESTDIR)/var/lib/munin
+LOGDIR     = $(DESTDIR)/var/log/munin
+MANDIR     = $(PREFIX)/share/man
+
+CGIDIR     = $(DESTDIR)/usr/lib/cgi-bin
+
+LIBDIR     = $(PREFIX)/share/munin
+JAVALIBDIR = $(DESTDIR)/usr/share/munin
+
+HOSTNAME   = localhost.localdomain
+
+PERLLIB    = $(DESTDIR)$(shell $(PERL) -V:vendorlib | cut -d= -f2 | sed "s/[\';]//g")
+
+JC         = /usr/lib/jvm/default-java/bin/javac
+CHECKUSER  = \#
+CHECKGROUP = \#
+CHOWN      = \#
+CHMOD      = \#
+CHGRP      = \#
--- munin-1.4.6.orig/debian/munin-node.manpages
+++ munin-1.4.6/debian/munin-node.manpages
@@ -0,0 +1,5 @@
+build/doc/munin-node.conf.5
+node/blib/bindoc/munin-run.1p
+node/blib/bindoc/munindoc.1p
+node/blib/bindoc/munin-node.1p
+node/blib/bindoc/munin-node-configure.1p
--- munin-1.4.6.orig/debian/munin.docs
+++ munin-1.4.6/debian/munin.docs
@@ -0,0 +1,3 @@
+build/resources/apache-cgi.conf
+Announce-1.4.0
+UPGRADING
--- munin-1.4.6.orig/debian/plugins.conf
+++ munin-1.4.6/debian/plugins.conf
@@ -0,0 +1,119 @@
+# This file is used to configure how the plugins are invoked.
+# Place in /etc/munin/plugin-conf.d/ or corresponding directory.
+#
+# PLEASE NOTE: Changes in the plugin-conf.d directory are only
+# read at munin-node startup, so restart at any changes.
+#
+# user <user>         # Set the user to run the plugin as.
+# group <group>       # Set the group to run the plugin as.
+# command <command>   # Run <command> instead of the plugin. %c expands to
+#                       what would normally be run.
+# env.<variable> <value> # Sets <variable> in the plugin's environment, see the
+#                       individual plugins to find out which variables they
+#                       care about.
+
+
+[amavis]
+group adm
+env.MUNIN_MKTEMP /bin/mktemp -p /tmp/ $1
+env.amavislog /var/log/mail.info
+
+[apt]
+user root
+
+[courier_mta_mailqueue]
+group daemon
+
+[courier_mta_mailstats]
+group adm
+
+[courier_mta_mailvolume]
+group adm
+
+[cps*]
+user root
+
+[df*]
+env.exclude none unknown iso9660 squashfs udf romfs ramfs debugfs
+env.warning 92
+env.critical 98
+
+[exim_mailqueue]
+group adm, (Debian-exim)
+
+[exim_mailstats]
+group adm, (Debian-exim)
+env.logdir /var/log/exim4/
+env.logname mainlog
+
+[fw_conntrack]
+user root
+
+[fw_forwarded_local]
+user root
+
+[hddtemp_smartctl]
+user root
+
+[hddtemp2]
+user root
+
+[if_*]
+user root
+
+[if_err_*]
+user nobody
+
+[ip_*]
+user root
+
+[ipmi_*]
+user root
+
+[mysql*]
+user root
+env.mysqlopts --defaults-file=/etc/mysql/debian.cnf
+env.mysqluser debian-sys-maint
+env.mysqlconnection DBI:mysql:mysql;mysql_read_default_file=/etc/mysql/debian.cnf
+
+[postfix_mailqueue]
+user postfix
+
+[postfix_mailstats]
+group adm
+
+[postfix_mailvolume]
+group adm
+env.logfile mail.log
+
+[smart_*]
+user root
+
+[vlan*]
+user root
+
+[ejabberd*]
+user ejabberd
+env.statuses available away chat xa
+env.days 1 7 30
+
+[dhcpd3]
+user root
+env.leasefile /var/lib/dhcp3/dhcpd.leases
+env.configfile /etc/dhcp3/dhcpd.conf
+
+[jmx_*]
+env.ip 127.0.0.1
+env.port 5400
+
+[samba]
+user root
+
+[munin_stats]
+user munin
+group munin
+
+[postgres_*]
+user postgres
+env.PGUSER postgres
+env.PGPORT 5432
--- munin-1.4.6.orig/debian/munin.postinst
+++ munin-1.4.6/debian/munin.postinst
@@ -0,0 +1,64 @@
+#! /bin/sh
+
+set -e
+
+prevver="$2"
+
+add_munin_system_user() {
+	if ! getent passwd munin >/dev/null; then
+		adduser --group --system --no-create-home \
+			--home /var/lib/munin munin;
+	fi	
+	# workaround bug (#531021) in xen-tools
+	if ! getent group munin >/dev/null; then
+	        addgroup --system munin
+	        adduser munin munin
+	fi
+}
+
+fixperms() {
+	dpkg-statoverride --list /var/log/munin >/dev/null || \
+		dpkg-statoverride --update --add munin adm 0750 /var/log/munin
+	dpkg-statoverride --list /var/cache/munin/www >/dev/null || \
+		dpkg-statoverride --update --add munin munin 0755 /var/cache/munin/www
+	dpkg-statoverride --list /var/lib/munin >/dev/null || \
+		dpkg-statoverride --update --add munin munin 0755 /var/lib/munin
+}
+
+apache_install() {
+	# if you add more webservers here, dont forget to also remove them in postrm
+        webserver=apache2
+        webserver_init_script="/etc/init.d/$webserver"
+        if [ -d /etc/$webserver/conf.d ] && [ ! -e /etc/$webserver/conf.d/munin ]; then
+		if [ -z "$prevver" ] ; then
+			# only create link on new installs
+	                ln -s ../../munin/apache.conf /etc/$webserver/conf.d/munin
+		fi
+		if [ -f $webserver_init_script ];then
+			if [ -x $webserver_init_script ]; then
+				invoke-rc.d $webserver reload 3>/dev/null || true
+			else 
+				echo "munin: $webserver_init_script is not executable."\
+				     "Could not reload $webserver"
+			fi
+		fi
+        fi
+}
+
+
+case "$1" in
+	configure)
+		add_munin_system_user
+		fixperms
+		apache_install
+		;;
+	abort-upgrade|abort-deconfigure|abort-remove)
+		:
+		;;
+	*)
+		echo "Called with unknown argument $1, bailing out."
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
--- munin-1.4.6.orig/debian/munin.manpages
+++ munin-1.4.6/debian/munin.manpages
@@ -0,0 +1,8 @@
+build/doc/munin-cron.8
+build/doc/munin-graph.8
+build/doc/munin-html.8
+build/doc/munin-limits.8
+build/doc/munin-update.8
+build/doc/munin-check.8
+build/doc/munin.conf.5
+build/doc/munin.8
--- munin-1.4.6.orig/debian/patches/101-dash-bash-fw_conntrack.patch
+++ munin-1.4.6/debian/patches/101-dash-bash-fw_conntrack.patch
@@ -0,0 +1,22 @@
+Description: Debian specific patch. dash has a bug
+ (http://bugs.debian.org/595063), where read() builtin doesn't work with /proc
+ files containing an integer value.
+
+ Using bash instead of dash solves the problem for this plugin.
+
+ Once dash fixes this issue, this patch can be removed.
+Origin: other
+Bug-Debian: http://bugs.debian.org/594695
+Forwarded: no
+Author: Tom Feiner <feiner.tom@gmail.com>
+Last-Update: 2010-09-01
+Index: munin-1.4.5/plugins/node.d.linux/fw_conntrack.in
+===================================================================
+--- munin-1.4.5.orig/plugins/node.d.linux/fw_conntrack.in	(revision 3824)
++++ munin-1.4.5/plugins/node.d.linux/fw_conntrack.in	(working copy)
+@@ -1,4 +1,4 @@
+-#!@@GOODSH@@
++#!@@BASH@@
+ # -*- sh -*-
+ 
+ : << =cut
--- munin-1.4.6.orig/debian/patches/100-DejaVu-Fonts-Path.patch
+++ munin-1.4.6/debian/patches/100-DejaVu-Fonts-Path.patch
@@ -0,0 +1,32 @@
+Description: Debian specific patch, to explicitly configure
+ rrd 1.2 to use the debian provided DejaVuSans*.ttf fonts, as 
+ we removed the ones provided by munin in order to avoid 
+ duplication.
+
+ This is a rewrite of a similar patch, which was removed at
+ http://munin-monitoring.org/changeset/3215 & 
+ http://munin-monitoring.org/changeset/3238.
+
+Origin: other
+Bug-Debian: http://bugs.debian.org/578782
+Forwarded: no
+Author: Tom Feiner <feiner.tom@gmail.com>
+Last-Update: 2010-04-22
+Index: munin-1.4.4/master/lib/Munin/Master/GraphOld.pm
+===================================================================
+--- munin-1.4.4.orig/master/lib/Munin/Master/GraphOld.pm	(revision 3505)
++++ munin-1.4.4/master/lib/Munin/Master/GraphOld.pm	(working copy)
+@@ -1304,9 +1304,10 @@
+ 	# The RRD 1.2 documentation says you can identify font family
+ 	# names but I never got that to work, but full font path worked
+ 	return (
+-		'--font', "LEGEND:7:$libdir/DejaVuSansMono.ttf",
+-		'--font', "UNIT:7:$libdir/DejaVuSans.ttf",
+-		'--font', "AXIS:7:$libdir/DejaVuSans.ttf",
++		'--font', "LEGEND:7:/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf",
++		'--font', "UNIT:7:/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",
++		'--font', "AXIS:7:/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",
++
+ 	       );
+     } elsif ($RRDs::VERSION >= 1.3) {
+ 	# RRD 1.3 and up
--- munin-1.4.6.orig/debian/patches/103-ejabberd-cli.patch
+++ munin-1.4.6/debian/patches/103-ejabberd-cli.patch
@@ -0,0 +1,64 @@
+Description: Ejabberd in squeeze (version 2.1.5) uses a new CLI
+ This patch changes the plugin to use the new CLI.
+ In addition it fixes a small bug in the vlabel for "uptime in days"
+Origin: http://bugs.debian.org/597599
+Bug-Debian: http://bugs.debian.org/597599
+Forwarded: No. As this patch makes the plugin work with Ejabberd 2.1.5, but
+ breaks earlier versions.
+Author: Gerald Turner <gturner@unzane.com>
+Last-Update: 2010-09-23
+Index: munin-1.4.5/plugins/node.d/ejabberd_.in
+===================================================================
+--- munin-1.4.5.orig/plugins/node.d/ejabberd_.in	(revision 3901)
++++ munin-1.4.5/plugins/node.d/ejabberd_.in	(working copy)
+@@ -220,7 +220,7 @@
+ 	done;
+     elif [ "$MODE" = "uptime" ]; then
+ 	echo 'graph_title Uptime of ejabberd server'
+-	echo 'uptime in days'
++	echo 'graph_vlabel uptime in days'
+ 	echo "uptime.label uptime"
+ 	echo 'uptime.draw AREA'
+     fi
+@@ -237,7 +237,7 @@
+ if [ "$MODE" = "users" ]; then
+     for host in $vhosts; do
+ 	formathost=$(echo $host | tr '.' '_')
+-	echo "connected_users_$formathost.value $($EJCTL vhost $host stats onlineusers)"; 
++	echo "connected_users_$formathost.value $($EJCTL stats-host onlineusers $host)"; 
+ 	echo "connected_unique_users_$formathost.value $($EJCTL connected-users | awk -v var=$host -F/ '{users[$1]} END {for (user in users) {if (index(user,var)) {count++}} print count}')"; 
+     done
+     exit 0
+@@ -246,7 +246,7 @@
+ if [ "$MODE" = "registrations" ]; then
+     for host in $vhosts; do
+ 	formathost=$(echo $host | tr '.' '_')
+-	num=$($EJCTL vhost $host stats registeredusers)
++	num=$($EJCTL stats-host registeredusers $host)
+         if [ "$?" != 0 ]; then
+             num="U"
+         fi
+@@ -259,7 +259,7 @@
+    for host in $vhosts; do
+ 	formathost=$(echo $host | tr '.' '_')
+ 		for status in $statuses; do
+-			num=$($EJCTL vhost $host status-num $status)
++			num=$($EJCTL status-num-host $status $host)
+ 			if [ "$?" != 0 ]; then
+ 				num="U"
+ 			fi
+@@ -284,12 +284,12 @@
+         for host in $vhosts; do
+                 for num in $days; do
+                         formathost=$(echo $host | tr '.' '_')
+-                        echo "usersindays_${formathost}_${num}.value $($EJCTL vhost $host num-active-users $num)";
++                        echo "usersindays_${formathost}_${num}.value $($EJCTL num-active-users $host $num)";
+                 done;
+         done;
+ 	exit 0
+ fi
+ 
+ if [ "$MODE" = "uptime" ]; then
+-	echo "uptime.value $($EJCTL stats uptime-seconds | awk '{printf "%.2f", $1/86400}')"
++	echo "uptime.value $($EJCTL stats uptimeseconds | awk '{printf "%.2f", $1/86400}')"
+ fi
--- munin-1.4.6.orig/debian/patches/237-hddtemp_smartctl-sata-detect.patch
+++ munin-1.4.6/debian/patches/237-hddtemp_smartctl-sata-detect.patch
@@ -0,0 +1,46 @@
+Description: Add auto detection of SATA disks to hddtemp_smartctl
+ Upstream wants to test this bug on older systems before including it in trunk
+ as they want munin 1.4 compatible with older systems like RHEL4.
+ .
+ As we know that lenny, and onwards has smartmontools 5.38 or higher,
+ that is needed for this patch to work, we can include it in the debian package
+ even if its not included upstream.
+Origin: other
+Bug-Debian: http://bugs.debian.org/497400
+Forwarded: no
+Author: Thorsten Gunkel <tgunkel-lists@tgunkel.de>
+Last-Update: 2009-11-26
+Index: munin-1.4.0/plugins/node.d/hddtemp_smartctl.in
+===================================================================
+--- munin-1.4.0.orig/plugins/node.d/hddtemp_smartctl.in	2009-08-31 23:04:36.000000000 +0200
++++ munin-1.4.0/plugins/node.d/hddtemp_smartctl.in	2009-08-31 23:08:02.000000000 +0200
+@@ -92,14 +92,25 @@
+ 
+ # Try to get a default set of drives
+ if ($^O eq 'linux') {
+-  # On Linux, we know how to enumerate ide drives. SCSI is not as easy
++  # On Linux, we know how to enumerate ide drives.
++  my @drivesIDE;
+   if (-d '/proc/ide') {
+     opendir(IDE, '/proc/ide');
+-    @drives = grep /hd[a-z]/, readdir IDE;
++    @drivesIDE = grep /hd[a-z]/, readdir IDE;
+     closedir(IDE);
+   }
+-  # "SCSI disks" could be both SCSI or SATA - we can't know which
+-  # without probing them.
++
++  # Look for SCSI / SATA drives in /sys
++  my @drivesSCSI;
++  if (-d '/sys/block/') {
++    opendir(SCSI, '/sys/block/');
++    @drivesSCSI = grep /sd[a-z]/, readdir SCSI;
++    closedir(SCSI);
++   }
++
++  # Get list of all drives we found
++  @drives=(@drivesIDE,@drivesSCSI);
++  
+ } elsif ($^O eq 'freebsd') {
+   opendir(DEV, '/dev');
+   @drives = grep /^ad[0-9]+$/, readdir DEV;
--- munin-1.4.6.orig/debian/patches/series
+++ munin-1.4.6/debian/patches/series
@@ -0,0 +1,4 @@
+100-DejaVu-Fonts-Path.patch
+101-dash-bash-fw_conntrack.patch
+103-ejabberd-cli.patch
+237-hddtemp_smartctl-sata-detect.patch
