From lupe@lupe-christoph.de  Sat Feb  7 07:27:38 2004
Return-Path: <lupe@lupe-christoph.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DB3D316A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Feb 2004 07:27:38 -0800 (PST)
Received: from buexe.b-5.de (buexe.b-5.de [80.148.32.30])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BF69B43D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  7 Feb 2004 07:27:37 -0800 (PST)
	(envelope-from lupe@lupe-christoph.de)
Received: from antalya.lupe-christoph.de ([172.17.0.9])
	by buexe.b-5.de (8.11.6/8.11.6/b-5/buexe-2.3) with ESMTP id i17FRYk27980
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 7 Feb 2004 16:27:34 +0100
Received: from localhost (localhost [127.0.0.1])
	by antalya.lupe-christoph.de (Postfix) with ESMTP
	id 8E10CBE99; Sat,  7 Feb 2004 16:27:27 +0100 (CET)
Received: from antalya.lupe-christoph.de ([127.0.0.1])
	by localhost (antalya [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id 01427-02; Sat, 7 Feb 2004 16:27:26 +0100 (CET)
Received: from sebastian.lupe-christoph.de (sebastian.lupe-christoph.de [172.17.0.5])
	by antalya.lupe-christoph.de (Postfix) with SMTP
	id CB1B0BE97; Sat,  7 Feb 2004 16:27:26 +0100 (CET)
Received: by sebastian.lupe-christoph.de (sSMTP sendmail emulation); Sat,  7 Feb 2004 16:27:31 +0100
Message-Id: <20040207152726.CB1B0BE97@antalya.lupe-christoph.de>
Date: Sat,  7 Feb 2004 16:27:31 +0100
From: Lupe Christoph <lupe@lupe-christoph.de>
Reply-To: Lupe Christoph <lupe@lupe-christoph.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Lupe Christoph <lupe@lupe-christoph.de>
Subject: New port: sysutils/munin-node Node-specific part of Munin
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62479
>Category:       ports
>Synopsis:       New port: sysutils/munin-node Node-specific part of Munin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mat
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 07 07:30:19 PST 2004
>Closed-Date:    Tue Mar 02 07:54:17 PST 2004
>Last-Modified:  Sat Mar  6 06:20:13 PST 2004
>Originator:     Lupe Christoph
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sebastian.lupe-christoph.de 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Mon Apr 21 10:07:38 CEST 2003 root@sebastian.lupe-christoph.de:/usr/obj/usr/src/sys/SEBASTIAN i386


	
>Description:
	Node-specific part of Munin
	http://www.linpro.no/projects/munin/
	Munin is a tool for graphing all sorts of information about one or
	more servers and displaying it in a web interface. It uses the
	execellent RRDTool (written by Tobi Oetiker) and is written in Perl.
	Munin has a master/node architecture. The master connects to all
	the nodes at regular intervals, and asks them for data. It then
	stores the data in RRD-files, and (if needed) updates the graphs.
	One of the main goals have been ease of creating own "plugins"
	(graphs).

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	munin-node
#	munin-node/Makefile
#	munin-node/distinfo
#	munin-node/files
#	munin-node/files/munin-node.sh
#	munin-node/files/pkg-message
#	munin-node/files/patch-Makefile.config
#	munin-node/files/patch-munin-node.conf.in
#	munin-node/pkg-descr
#	munin-node/pkg-plist
#	munin-node/pkg-install
#	munin-node/pkg-deinstall
#	munin-node/pkg-message
#
echo c - munin-node
mkdir -p munin-node > /dev/null 2>&1
echo x - munin-node/Makefile
sed 's/^X//' >munin-node/Makefile << 'END-of-munin-node/Makefile'
X# New ports collection makefile for:	munin-node
X# Date created:				25 Januar 2004
X# Whom:					Lupe Christoph <lupe@lupe-christoph.de>
X#
X# $FreeBSD$
X#
X# $Log: Makefile,v $
X# Revision 1.3  2004/02/06 18:48:59  lupe
X# Update to pre3.
X#
X#
X
XPORTNAME=	munin
XPORTVERSION=	1.0.0.p3
XPORTREVISION=	1
XCATEGORIES=	sysutils perl5
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	munin
XPKGNAMESUFFIX=	-node
XDISTNAME=	munin_1.0.0pre3
X
XMAINTAINER=	lupe@lupe-christoph.de
XCOMMENT=	Node-specific part of Munin
X
X.include <bsd.port.pre.mk>
X
X#RUN_DEPENDS=	${SITE_PERL}/Net/Server/Fork.pm:${PORTSDIR}/net/p5-Net-Server \
X#		${SITE_PERL}/Config/General.pm:${PORTSDIR}/devel/p5-Config-General
XRUN_DEPENDS=	${SITE_PERL}/Net/Server/Fork.pm:${PORTSDIR}/net/p5-Net-Server
X.if ${PERL_LEVEL} < 500800
XRUN_DEPENDS+=	${SITE_PERL}/Net/Domain.pm:${PORTSDIR}/net/p5-Net
X.endif
XBUILD_DEPENDS=	${RUN_DEPENDS}
X
XUSE_GMAKE=	yes
XPATCH_STRIP=	-p1
XWRKSRC=		${WRKDIR}/munin-1.0.0pre3
XALL_TARGET=	DATADIR=${DATADIR} build build-man
XINSTALL_TARGET=	DATADIR=${DATADIR} install-node install-node-plugins
X
XMAN5=		munin-node.conf.5
XMAN8=		munin-node-configure.8 munin-node.8 munin-run.8
X
Xpre-install:
X	@${SED} 's@\$$(PREFIX)@${LOCALBASE}@g' ${FILESDIR}/pkg-message > ${PKGMESSAGE}
X	@PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL
X
Xpost-install:
X	@${SED} 's@%PREFIX%@${LOCALBASE}@g' ${FILESDIR}/munin-node.sh > ${PREFIX}/etc/rc.d/munin-node.sh
X	@${CHMOD} +x ${PREFIX}/etc/rc.d/munin-node.sh
X	@if [ ! -f ${PREFIX}/etc/munin/plugin-conf.d/plugins.conf ]; then \
X		${INSTALL_DATA} ${WRKSRC}/plugins.conf ${PREFIX}/etc/munin/plugin-conf.d/plugins.conf; \
X	fi
X	@${CAT} ${PKGMESSAGE}
X	@${INSTALL_MAN} -d ${PREFIX}/man/man5
X	@${INSTALL_MAN} -d ${PREFIX}/man/man8
X	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-node.conf.5 ${PREFIX}/man/man5
X	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-node-configure.8 ${PREFIX}/man/man8
X	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-node.8 ${PREFIX}/man/man8
X	@${INSTALL_MAN} -C ${WRKSRC}/build/doc/munin-run.8 ${PREFIX}/man/man8
X	@PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} POST-INSTALL
X	@${ECHO} ${DISTNAME} | ${SED} -e 's/munin_//' > ${PREFIX}/etc/munin/VERSION.node
X
X.include <bsd.port.post.mk>
END-of-munin-node/Makefile
echo x - munin-node/distinfo
sed 's/^X//' >munin-node/distinfo << 'END-of-munin-node/distinfo'
XMD5 (munin_1.0.0pre3.tar.gz) = f1aea51a61304b824dd61d7ad7808f6d
END-of-munin-node/distinfo
echo c - munin-node/files
mkdir -p munin-node/files > /dev/null 2>&1
echo x - munin-node/files/munin-node.sh
sed 's/^X//' >munin-node/files/munin-node.sh << 'END-of-munin-node/files/munin-node.sh'
X#!/bin/sh
X
XPROGRAM=%PREFIX%/sbin/munin-node
XCONFIG=%PREFIX%/etc/munin/munin-node.conf
X
Xcase "$1" in
X	start)
X		if [ -x $PROGRAM -a -f $CONFIG -a -d $PLUGINS ]; then
X			$PROGRAM --config $CONFIG && echo -n ' munin-node'
X		fi
X	;;
X
X	stop)
X		if [ -f $CONFIG ]; then
X			PIDFILE=`awk '$1 == "pid_file" { print $2 }' $CONFIG`
X			if [ -f $PIDFILE ]; then
X				/bin/kill `cat $PIDFILE` && echo -n ' munin-node'
X			fi
X		fi
X	;;
X	
X	*)
X		echo "Usage: `basename $0` { start | stop }"
X		exit 64
X	;;
Xesac
END-of-munin-node/files/munin-node.sh
echo x - munin-node/files/pkg-message
sed 's/^X//' >munin-node/files/pkg-message << 'END-of-munin-node/files/pkg-message'
X
X********************************************************************
XUnless this file already existed, a sample configuration file
Xhas been placed in $(PREFIX)/etc/munin/munin-node.conf.
X
XPlease edit it according to your needs.
X
XThe Munin client will be started at system boot automatically.
XYou can start it manually with:
X    $(PREFIX)/etc/rc.d/munin-node.sh start
X********************************************************************
X
END-of-munin-node/files/pkg-message
echo x - munin-node/files/patch-Makefile.config
sed 's/^X//' >munin-node/files/patch-Makefile.config << 'END-of-munin-node/files/patch-Makefile.config'
X--- munin-1.0.0pre3.orig/Makefile.config	Sun Feb  1 22:05:52 2004
X+++ munin-1.0.0pre3/Makefile.config	Sat Feb  7 12:48:23 2004
X@@ -7,42 +7,46 @@
X #
X # the base of the Munin installation.
X # 
X-PREFIX     = $(DESTDIR)/opt/munin
X+ifdef PREFIX
X+UPREFIX=$(PREFIX)
X+else
X+UPREFIX=/usr
X+endif
X 
X # Where Munin keeps its configurations (server.conf, client.conf, ++)
X-CONFDIR    = $(DESTDIR)/etc/opt/munin
X+CONFDIR    = $(PREFIX)/etc/munin
X 
X # Server only - where to put munin-cron
X-BINDIR     = $(PREFIX)/bin
X+BINDIR     = $(UPREFIX)/bin
X 
X # Client only - where to put munin-node, munin-node-configure, and munin-run
X-SBINDIR    = $(PREFIX)/sbin
X+SBINDIR    = $(UPREFIX)/sbin
X 
X # Where to put text and html documentation
X-DOCDIR     = $(PREFIX)/doc
X+DOCDIR     = $(UPREFIX)/doc
X 
X # Where to put man pages
X-MANDIR     = $(PREFIX)/man
X+MANDIR     = $(UPREFIX)/man
X 
X # Where to put internal binaries and plugin repository
X-LIBDIR     = $(PREFIX)/lib
X+LIBDIR     = ${DATADIR}
X 
X # Server only - Output directory
X-HTMLDIR    = $(PREFIX)/var/www
X+HTMLDIR    = $(PREFIX)/www/data/munin
X 
X # Client only - Where to put RRD files and other intenal data
X-DBDIR      = $(DESTDIR)/var/opt/munin
X+DBDIR      = $(PREFIX)/var/munin
X 
X # Client only - Where plugins should put their states. Must be writable by
X # group "munin", and should be preserved between reboots
X PLUGSTATE  = $(DBDIR)/plugin-state
X 
X # Where Munin should place its logs.
X-LOGDIR     = $(DESTDIR)/var/log/munin
X+LOGDIR     = /var/log
X 
X # Location of PID files and other statefiles. On the server, must be
X # writable by the user "munin".
X-STATEDIR   = $(DESTDIR)/var/run/munin
X+STATEDIR   = /var/run/munin
X 
X # The perl interpreter to use
X PERL       = $(shell which perl)
X@@ -65,9 +69,8 @@
X GROUP      = munin
X 
X # Which command to use to check if the USER and GROUP to run Munin as, exists.
X-GETENT = $(shell which getent || which true 2>/dev/null)
X-CHECKUSER  = $(shell $(GETENT) passwd $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2"))
X-CHECKGROUP = $(shell $(GETENT) group $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2"))
X+CHECKUSER:= $(shell grep $(USER) /etc/passwd >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2"))
X+CHECKGROUP:= $(shell grep $(GROUP) /etc/group >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2"))
X 
X CHOWN      = chown
X CHMOD      = chmod
END-of-munin-node/files/patch-Makefile.config
echo x - munin-node/files/patch-munin-node.conf.in
sed 's/^X//' >munin-node/files/patch-munin-node.conf.in << 'END-of-munin-node/files/patch-munin-node.conf.in'
X--- munin-1.0.0pre1.orig/node/munin-node.conf.in	Thu Jan 15 15:28:57 2004
X+++ munin-1.0.0pre1/node/munin-node.conf.in	Sun Jan 25 14:26:15 2004
X@@ -12,7 +12,7 @@
X # Which port to bind to;
X host *
X user root
X-group root
X+group wheel
X setsid yes
X 
X # Regexps for files to ignore
END-of-munin-node/files/patch-munin-node.conf.in
echo x - munin-node/pkg-descr
sed 's/^X//' >munin-node/pkg-descr << 'END-of-munin-node/pkg-descr'
XMunin network-wide graphing framework (node)
XWWW: http://www.linpro.no/projects/munin/
X
XMunin is a tool for graphing all sorts of information about one or more
Xservers and displaying it in a web interface. It uses the execellent
XRRDTool (written by Tobi Oetiker) and is written in Perl. Munin has a
Xmaster/node architecture. The master connects to all the nodes at regular
Xintervals, and asks them for data. It then stores the data in RRD-files,
Xand (if needed) updates the graphs. One of the main goals have been ease
Xof creating own "plugins" (graphs).
X
XThis is the node part. It is used on all machines Munin shall watch.
END-of-munin-node/pkg-descr
echo x - munin-node/pkg-plist
sed 's/^X//' >munin-node/pkg-plist << 'END-of-munin-node/pkg-plist'
Xetc/munin/munin-node.conf
Xetc/munin/plugin-conf.d/plugins.conf
Xetc/rc.d/munin-node.sh
Xshare/munin/plugins/apache_accesses
Xshare/munin/plugins/apache_processes
Xshare/munin/plugins/apache_volume
Xshare/munin/plugins/bind9
Xshare/munin/plugins/cpu
Xshare/munin/plugins/df
Xshare/munin/plugins/df_inode
Xshare/munin/plugins/exim_mailqueue
Xshare/munin/plugins/exim_mailstats
Xshare/munin/plugins/hddtemp
Xshare/munin/plugins/if_
Xshare/munin/plugins/if_errcoll_
Xshare/munin/plugins/ircu
Xshare/munin/plugins/load
Xshare/munin/plugins/mailman
Xshare/munin/plugins/memory
Xshare/munin/plugins/munin_graph
Xshare/munin/plugins/munin_update
Xshare/munin/plugins/mysql_bytes
Xshare/munin/plugins/mysql_isam_space_
Xshare/munin/plugins/mysql_queries
Xshare/munin/plugins/mysql_slowqueries
Xshare/munin/plugins/mysql_threads
Xshare/munin/plugins/named
Xshare/munin/plugins/netstat
Xshare/munin/plugins/open_files
Xshare/munin/plugins/plugins.history
Xshare/munin/plugins/pop_stats
Xshare/munin/plugins/postfix_mailqueue
Xshare/munin/plugins/postfix_mailstats
Xshare/munin/plugins/postfix_mailvolume
Xshare/munin/plugins/processes
Xshare/munin/plugins/ps_
Xshare/munin/plugins/psu_
Xshare/munin/plugins/samba
Xshare/munin/plugins/snmp__if_
Xshare/munin/plugins/spamstats
Xshare/munin/plugins/squid_cache
Xshare/munin/plugins/squid_icp
Xshare/munin/plugins/squid_requests
Xshare/munin/plugins/squid_traffic
Xshare/munin/plugins/surfboard
Xshare/munin/plugins/swap
Xshare/munin/plugins/sybase_space
Xshare/munin/plugins/vmstat
Xsbin/munin-node
Xsbin/munin-node-configure
Xsbin/munin-run
X@unexec rmdir %D/var/munin/plugin-state
X@unexec rmdir %D/var/munin
X@dirrm lib/plugins
X@unexec rmdir %D/etc/munin/plugins
X@unexec rmdir %D/etc/munin/plugin-conf.d
X@unexec rmdir %D/etc/munin
END-of-munin-node/pkg-plist
echo x - munin-node/pkg-install
sed 's/^X//' >munin-node/pkg-install << 'END-of-munin-node/pkg-install'
X#! /bin/sh
X#
X# $Log: pkg-install,v $
X# Revision 1.2  2004/02/06 18:49:58  lupe
X# Fixes for pkg_add compatibility.
X#
X#
X
Xask() {
X    local question default answer
X
X    question=$1
X    default=$2
X    if [ -z "${PACKAGE_BUILDING}" ]; then
X        read -p "${question} [${default}]? " answer
X    fi
X    if [ x${answer} = x ]; then
X        answer=${default}
X    fi
X    echo ${answer}
X}
X
Xyesno() {
X    local dflt question answer
X
X    question=$1
X    dflt=$2
X    while :; do
X        answer=$(ask "${question}" "${dflt}")
X        case "${answer}" in
X        [Yy]*)          return 0;;
X        [Nn]*)          return 1;;
X        esac
X        echo "Please answer yes or no."
X    done
X}
X
Xmake_group() {
X    local g
X
X    g=$1
X
X    if pw group show "${g}" >/dev/null 2>&1; then
X	echo "You already have a group \"${g}\", so I will use it."
X    else
X	echo "You need a group \"${g}\"."
X	if which -s pw && yesno "Would you like me to create it" y; then
X	    pw groupadd ${g} || exit
X	    echo "Done."
X	else
X	    echo "Please create it, and try again."
X	    if ! grep -q "^${u}:" /etc/passwd; then
X		echo "While you're at it, please create a user \"${u}\" too,"
X		echo "with a default group of \"${g}\"."
X	    fi
X	    exit 1
X	fi
X    fi
X}
X
Xinit_plugins() {
X    if [ -f ${PKG_PREFIX}/etc/munin/VERSION.node ]; then
X	prevver=$(cat ${PKG_PREFIX}/etc/munin/VERSION.node)
X    fi
X
X    mkdir -p ${PKG_PREFIX}/etc/munin/plugins ${PKG_PREFIX}/var/munin/plugin-state
X
X    if [ -n "$prevver" ]; then
X	echo -n "Initializing new plugins.."
X	${PKG_PREFIX}/sbin/munin-node-configure --shell --newer "${prevver%-*}" | sh -x
X    else
X	echo -n "Initializing plugins.."
X	${PKG_PREFIX}/sbin/munin-node-configure --shell | sh -x
X    fi
X    echo "done."
X}
X
X
X########################################################################
X
Xcase $2 in
X    PRE-INSTALL)
X	make_group munin
X	;;      
X    POST-INSTALL)
X	init_plugins
X	;;      
Xesac
END-of-munin-node/pkg-install
echo x - munin-node/pkg-deinstall
sed 's/^X//' >munin-node/pkg-deinstall << 'END-of-munin-node/pkg-deinstall'
X#! /bin/sh
X#
X# $Log: pkg-deinstall,v $
X# Revision 1.2  2004/02/06 18:49:58  lupe
X# Fixes for pkg_add compatibility.
X#
X#
X
Xask() {
X    local question default answer
X
X    question=$1
X    default=$2
X    if [ -z "${PACKAGE_BUILDING}" ]; then
X	read -p "${question} [${default}]? " answer
X    fi
X    if [ x${answer} = x ]; then
X	answer=${default}
X    fi
X    echo ${answer}
X}
X
Xyesno() {
X    local dflt question answer
X
X    question=$1
X    dflt=$2
X    while :; do
X	answer=$(ask "${question}" "${dflt}")
X	case "${answer}" in
X	[Yy]*)		return 0;;
X	[Nn]*)		return 1;;
X	esac
X	echo "Please answer yes or no."
X    done
X}
X
Xstop_process() {
X    if [ -x ${PKG_PREFIX}/etc/rc.d/munin-node.sh ]; then
X	${PKG_PREFIX}/etc/rc.d/munin-node.sh stop
X    fi
X}
X
Xdelete_group() {
X    local g
X
X    g=$1
X    if yesno "Do you want me to remove group \"${g}\"" y; then
X	pw groupdel -n ${g}
X	echo "Done."
X    fi
X}
X
Xcase $2 in
X    DEINSTALL)
X	stop_process
X	;;
X    POST-DEINSTALL)
X	delete_group munin
X	;;
Xesac
END-of-munin-node/pkg-deinstall
echo x - munin-node/pkg-message
sed 's/^X//' >munin-node/pkg-message << 'END-of-munin-node/pkg-message'
X
X********************************************************************
XUnless this file already existed, a sample configuration file
Xhas been placed in /usr/local/etc/munin/munin-node.conf.
X
XPlease edit it according to your needs.
X
XThe Munin client will be started at system boot automatically.
XYou can start it manually with:
X    /usr/local/etc/rc.d/munin-node.sh start
X********************************************************************
X
END-of-munin-node/pkg-message
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mat 
Responsible-Changed-By: mat 
Responsible-Changed-When: Mon Mar 1 07:34:48 PST 2004 
Responsible-Changed-Why:  
Take this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62479 

From: Mathieu Arnold <mat@FreeBSD.org>
To: Lupe Christoph <lupe@lupe-christoph.de>,
	FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Mon, 01 Mar 2004 16:59:05 +0100

 --==========6394FE0F3602174C6110==========
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 
 
 +-le 07/02/2004 16:27 +0100, Lupe Christoph a dit :
 | 
 |#	munin-node/files/pkg-message
 |#	munin-node/pkg-message
 
 I guess the later is not needed, right ?
 
 -- 
 Mathieu Arnold
 --==========6394FE0F3602174C6110==========
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (MingW32)
 
 iQEVAwUBQENdy1vROjYJ63c1AQKFQgf/Y/aa10jGNv/VFAn68kXo5JHMSWsSx5F+
 rB474gVdVszrS1k0YkKWqpb0yHGn8z3zh20wVM9WJ1PJKTSDxNZ+ZjUhNAaEvLnJ
 0I4PkOufcsMCRzAs8hSX8d6b0dVhvuADnZ5vbLysevykwfg92QftaRt8btJDPlOO
 K0ofSI8PWS1QMko53PWep4KNQKIWMzf17dd5Q8HX4OuX3PuYLZ3xlywm/tp64hZm
 L64lpr3jLgLm2TNHEMD3IbPu1sI1Exd/9dI0xKJ7NevdyuhyLJQFKaSIY6Kj+DJ3
 LhE0uqMnRvJefJFPl+LY77D/uyLUlLORXWnQSzymXEDu+mDY1UsndA==
 =VQU6
 -----END PGP SIGNATURE-----
 
 --==========6394FE0F3602174C6110==========--
 

From: lupe@lupe-christoph.de (Lupe Christoph)
To: Mathieu Arnold <mat@FreeBSD.org>
Cc:  
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Mon, 1 Mar 2004 17:23:07 +0100

 On Monday, 2004-03-01 at 16:59:05 +0100, Mathieu Arnold wrote:
 
 > |#	munin-node/files/pkg-message
 > |#	munin-node/pkg-message
 
 > I guess the later is not needed, right ?
 
 > |#	munin-main/files/pkg-message
 > |#	munin-main/pkg-message
 
 > I guess, the later is not needed there either, right ?
 
 --- Also sprach Mathieu Arnold ---
 
 You're right. Sorry for packing it ;-) I have a slightly corrected
 version of the munin-main port. You can pick the ports up at
 http://prdownloads.sourceforge.net/munin/munin-freebsd-ports.tar.gz?download
 or do you want me to mail the munin-main port?
 
 Thanks for picking the ports up!
 Lupe Christoph
 -- 
 | lupe@lupe-christoph.de       |           http://www.lupe-christoph.de/ |
 | "Violence is the resort of the violent" Lu Tze                         |
 | "Thief of Time", Terry Pratchett                                       |
 

From: Mathieu Arnold <mat@FreeBSD.org>
To: Lupe Christoph <lupe@lupe-christoph.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Mon, 01 Mar 2004 17:31:25 +0100

 --==========D999B87E4F68A32EEC20==========
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 +-le 01/03/2004 17:23 +0100, Lupe Christoph a dit :
 | On Monday, 2004-03-01 at 16:59:05 +0100, Mathieu Arnold wrote:
 | 
 |> |#	munin-node/files/pkg-message
 |> |#	munin-node/pkg-message
 | 
 |> I guess the later is not needed, right ?
 | 
 |> |#	munin-main/files/pkg-message
 |> |#	munin-main/pkg-message
 | 
 |> I guess, the later is not needed there either, right ?
 | 
 | --- Also sprach Mathieu Arnold ---
 | 
 | You're right. Sorry for packing it ;-) I have a slightly corrected
 | version of the munin-main port. You can pick the ports up at
 | http://prdownloads.sourceforge.net/munin/munin-freebsd-ports.tar.gz?download
 | or do you want me to mail the munin-main port?
 
 Hum, have those changed a lot since when you submitted the PR's ?
 if yes, I'll download them.
 
 ps: please, keep freebsd-gnats-submit@FreeBSD.org in cc so that it records
 what we say :)
 -- 
 Mathieu Arnold
 --==========D999B87E4F68A32EEC20==========
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (MingW32)
 
 iQEVAwUBQENlX1vROjYJ63c1AQJ0cAf+MpO5/MMMji+P1g4EScvpFu3e/QphhdJ2
 9trjpukNjxPKDkIm8Bwkh/Tw6UnllP6KEsvWiS2wcfK5LhUcKOLcvmV3WGbtcV8q
 dC/1Tvf+3LIjdlRDF9CwRM38YZwwm05fEA10+Gf6jyz8f+FjMHgnApqb0ALkGPgB
 Rq92WBJ2NMAshcp+7a+U2G0yLXq/vnVaVe0jvOo8L5pdoSQouAhEogs281jxkeuq
 qaRTwvXxgFxKPbMHfpZOt+r40pW2zf2J7uAr1VQkF+KdpKzGw5+7IYUKKYIglxfY
 7oxWNR8ogd6vdzrCnDmQFPKgFtAe9BWwcW/+g33VezopzT3yzFubYQ==
 =C4yb
 -----END PGP SIGNATURE-----
 
 --==========D999B87E4F68A32EEC20==========--
 

From: Mathieu Arnold <mat@FreeBSD.org>
To: Lupe Christoph <lupe@lupe-christoph.de>,
	freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Mon, 01 Mar 2004 17:34:39 +0100

 --==========30D3C0D09A260B98B6CB==========
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 +-le 01/03/2004 17:23 +0100, Lupe Christoph a dit :
 | On Monday, 2004-03-01 at 16:59:05 +0100, Mathieu Arnold wrote:
 | 
 |> |#	munin-node/files/pkg-message
 |> |#	munin-node/pkg-message
 | 
 |> I guess the later is not needed, right ?
 | 
 |> |#	munin-main/files/pkg-message
 |> |#	munin-main/pkg-message
 | 
 |> I guess, the later is not needed there either, right ?
 | 
 | --- Also sprach Mathieu Arnold ---
 | 
 | You're right. Sorry for packing it ;-) I have a slightly corrected
 | version of the munin-main port. You can pick the ports up at
 | http://prdownloads.sourceforge.net/munin/munin-freebsd-ports.tar.gz?download
 | or do you want me to mail the munin-main port?
 | 
 | Thanks for picking the ports up!
 | Lupe Christoph
 
 Btw, could you make /var/run/munin configurable at compile time ?
 
 -- 
 Mathieu Arnold
 --==========30D3C0D09A260B98B6CB==========
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (MingW32)
 
 iQEVAwUBQENmIlvROjYJ63c1AQKdFQf9GgtQvRm1e0EQM4Um5HsmAFZiX49Eiq+K
 6q6d+11L3uXaOKvp08W4R9mKsCpVcS+QCeOBR2M6QYeWTKehvl0nQgbd064gIueh
 rAI5qpj/TwC1+0iTcLycAWbD9QJMTcEGQFRpNfRNSdauyQo4agoh2cpFdyqjqBrA
 TsFwGu0n/lyKozlfJofdRnvY8w64AN0pmg8/iKpnQzv2eKWAJ1EVFspD+l02FHLn
 45K19Bc7lrC8OUAQQKz8eKWS2H3BVwMVMurqjeRDnOaOfCPbMc9/yesvtdTx9kNB
 AZyZkFgC2YDB3sPkltv13sCqDFAQZdA4BDSVNGsTQh0YpU6N8VHu4A==
 =Eme7
 -----END PGP SIGNATURE-----
 
 --==========30D3C0D09A260B98B6CB==========--
 

From: lupe@lupe-christoph.de (Lupe Christoph)
To: Mathieu Arnold <mat@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part of	Munin
Date: Mon, 1 Mar 2004 18:31:45 +0100

 On Monday, 2004-03-01 at 17:31:25 +0100, Mathieu Arnold wrote:
 > +-le 01/03/2004 17:23 +0100, Lupe Christoph a dit :
 > | On Monday, 2004-03-01 at 16:59:05 +0100, Mathieu Arnold wrote:
 
 > Hum, have those changed a lot since when you submitted the PR's ?
 > if yes, I'll download them.
 
 Minor stuff:
 
 - relocate LIBDIR to .../share/munin (it was .../lib, not a
   brilliant idea...)
 - Preserve group munin when deleting user munin;
   check if user or group have been deleted before pkg_delete.
 
 > ps: please, keep freebsd-gnats-submit@FreeBSD.org in cc so that it records
 > what we say :)
 
 Done. But I don't know how to add the comments to *both* entries.
 
 > Btw, could you make /var/run/munin configurable at compile time ?
 
 Any preferred way to do that?
 
 Lupe Christoph
 -- 
 | lupe@lupe-christoph.de       |           http://www.lupe-christoph.de/ |
 | "Violence is the resort of the violent" Lu Tze                         |
 | "Thief of Time", Terry Pratchett                                       |

From: Mathieu Arnold <mat@FreeBSD.org>
To: Lupe Christoph <lupe@lupe-christoph.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Mon, 01 Mar 2004 19:22:22 +0100

 --==========69659AB2BF511AAC6C49==========
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 +-le 01/03/2004 18:31 +0100, Lupe Christoph a dit :
 | On Monday, 2004-03-01 at 17:31:25 +0100, Mathieu Arnold wrote:
 |> +-le 01/03/2004 17:23 +0100, Lupe Christoph a dit :
 |> |Mondaynday, 2004-03-01 at 16:59:05 +0100, Mathieu Arnold wrote:
 | 
 |> Hum, have those changed a lot since when you submitted the PR's ?
 |> if yes, I'll download them.
 | 
 | Minor stuff:
 | 
 | - relocate LIBDIR to .../share/munin (it was .../lib, not a
 |   brilliant idea...)
 | - Preserve group munin when deleting user munin;
 |   check if user or group have been deleted before pkg_delete.
 
 Ok, I'll have a look at this tomorrow morning.
 
 |> ps: please, keep freebsd-gnats-submit@FreeBSD.org in cc so that it records
 |> what we say :)
 | 
 | Done. But I don't know how to add the comments to *both* entries.
 
 Not needed :)
 
 |> Btw, could you make /var/run/munin configurable at compile time ?
 | 
 | Any preferred way to do that?
 
 Hum, I believe it stores it's rrd files in this directory, I'll say
 MUNIN_DIR?=/var/run/munin
 in Makefile, and passing it through whatever CONFIGURE_ARGS or a post-patch
 target changing it all the way in the files, whatever appropriate :)
 
 -- 
 Mathieu Arnold
 --==========69659AB2BF511AAC6C49==========
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (MingW32)
 
 iQEVAwUBQEN/X1vROjYJ63c1AQJ1bAf/bArsFpFWhW4fEEXseck8VsDuUSCobJ/N
 eVK1syixuSXfcBVfqk4SgWk+HfeFK/IGuse9rNsPfeKkEhNLJF4tj0vpLn4y7RwX
 eEOjbhKobyPsGVRGHPuvlzVhySsDurrKHHS+DDCcBQXsifp+D+gF5GY8uaJujn9w
 uFsoynyVYzOa/kxb2Ml+2Rk4cUytTxLY3fUI2UNd3uEvhsynkHJUwD3pQ/5awpV1
 RC7YppMLSaB5Mj7zuRrLcHaqBCjzJdfgxB8Po3pxwX11gpHQbf/TtgQWFMq2Np8Y
 PfDVnb0FzIxLzTIbfayn1+o4ar0hjFKV37SCUFIeRtXN55tefPMkxA==
 =zmQp
 -----END PGP SIGNATURE-----
 
 --==========69659AB2BF511AAC6C49==========--
 

From: lupe@lupe-christoph.de (Lupe Christoph)
To: Mathieu Arnold <mat@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part of	Munin
Date: Mon, 1 Mar 2004 20:39:15 +0100

 On Monday, 2004-03-01 at 19:22:22 +0100, Mathieu Arnold wrote:
 > +-le 01/03/2004 18:31 +0100, Lupe Christoph a dit :
 > | On Monday, 2004-03-01 at 17:31:25 +0100, Mathieu Arnold wrote:
 
 > |> Btw, could you make /var/run/munin configurable at compile time ?
 
 > | Any preferred way to do that?
 
 > Hum, I believe it stores it's rrd files in this directory, I'll say
 > MUNIN_DIR?=/var/run/munin
 > in Makefile, and passing it through whatever CONFIGURE_ARGS or a post-patch
 > target changing it all the way in the files, whatever appropriate :)
 
 No, the RRD files go into $PREFIX/var/munin. qCan you suggest a better
 place?  In the Debian packages, they go into /var/lib/munin, but I
 recently read on debian-news that RRD files should go into /var/cache
 there (they were not talking about Munin, but some other package using
 RRDtool). The source package of Munin defaults to
 $(DESTDIR)/var/opt/munin.
 
 I've never seen /var/opt on FreeBSD, so I dropped the /opt. With so many
 pathes around, why not opt for variety ;-) SCNR. DATADIR looked like
 it's meant for static data.
 
 Lupe Christoph
 
 PS: /var/run/munin is only used for *.pid and *.lock. Files that can be
     cleaned out by a reboot. I'm used to Solaris 8 having a tmpfs
     mounted as /var/run and Debian cleaning out /var/run on boot, so I
     shy away from having data there...
 -- 
 | lupe@lupe-christoph.de       |           http://www.lupe-christoph.de/ |
 | "Violence is the resort of the violent" Lu Tze                         |
 | "Thief of Time", Terry Pratchett                                       |

From: Mathieu Arnold <mat@FreeBSD.org>
To: Lupe Christoph <lupe@lupe-christoph.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Mon, 01 Mar 2004 20:45:12 +0100

 --==========51231A0FD44E0627E498==========
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 +-Le 01/03/2004 20:39 +0100, Lupe Christoph a dit :
 | On Monday, 2004-03-01 at 19:22:22 +0100, Mathieu Arnold wrote:
 |> +-le 01/03/2004 18:31 +0100, Lupe Christoph a dit :
 |> |Mondaynday, 2004-03-01 at 17:31:25 +0100, Mathieu Arnold wrote:
 | 
 |> |> Btw, could you make /var/run/munin configurable at compile time ?
 | 
 |> | Any preferred way to do that?
 | 
 |> Hum, I believe it stores it's rrd files in this directory, I'll say
 |> MUNIN_DIR?=/var/run/munin
 |> in Makefile, and passing it through whatever CONFIGURE_ARGS or a
 |> post-patch target changing it all the way in the files, whatever
 |> appropriate :)
 | 
 | No, the RRD files go into $PREFIX/var/munin. qCan you suggest a better
 | place?
 
 That their perfect place, don't touch :)
 
 | PS: /var/run/munin is only used for *.pid and *.lock. Files that can be
 |     cleaned out by a reboot. I'm used to Solaris 8 having a tmpfs
 |     mounted as /var/run and Debian cleaning out /var/run on boot, so I
 |     shy away from having data there...
 
 Oh, ok, so, don't move them, they're at their right place :)
 
 forget what I've said about /var/run/munin, it's perfect where it is :)
 
 -- 
 Mathieu Arnold
 --==========51231A0FD44E0627E498==========
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (MingW32)
 
 iQEVAwUBQEOSyVvROjYJ63c1AQJBwwf/WGO3AwU4VRy0/0qFS6tSS6+Vv2eq4oY2
 VOJuGvK4d654djxyq16tSp5xKRnp1jf2D4l3Qg3rN3oXbI5rZGFyTvSvPqYgArax
 CnN53m6jz/EoJvXoZfCADkUBJGXzX4xPAYRzQ9WNUFSIc6wCiIYcwm09tbnhPE0s
 Ecn2SAuFLXH4PdQBqIOe3Vy2/saTIBMhD0nbLSfpDovCe/di12CEZIi5nkdf5nqx
 tuqyqzM24aFM1ROZkvyLZCeucqKJRoG2gYMNVmsEE69n15QnPYLcTaq7f3JoZVXJ
 i9ldxGG3yxzRjU9r2RfJpvVjWdNI5y2B0KoqFmgv498n+a6+GL4Fig==
 =m7nD
 -----END PGP SIGNATURE-----
 
 --==========51231A0FD44E0627E498==========--
 

From: lupe@lupe-christoph.de (Lupe Christoph)
To: Mathieu Arnold <mat@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part of	Munin
Date: Mon, 1 Mar 2004 23:19:23 +0100

 On Monday, 2004-03-01 at 20:45:12 +0100, Mathieu Arnold wrote:
 
 > That their perfect place, don't touch :)
 
 > Oh, ok, so, don't move them, they're at their right place :)
 
 > forget what I've said about /var/run/munin, it's perfect where it is :)
 
 Whoa, calm down, I'll let them be :-)
 
 With so many possibilities, it isn't easy or straightforward to pick the
 right one. It wasn't genius, just a stroke of luck ;-)
 
 Anything else I should change? I mean except the relocation from
 $PREFIX/lib to $DATADIR I already did?
 
 Lupe Christoph
 -- 
 | lupe@lupe-christoph.de       |           http://www.lupe-christoph.de/ |
 | "Violence is the resort of the violent" Lu Tze                         |
 | "Thief of Time", Terry Pratchett                                       |
State-Changed-From-To: open->closed 
State-Changed-By: mat 
State-Changed-When: Tue Mar 2 07:53:50 PST 2004 
State-Changed-Why:  
Port added, thanks ! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62479 

From: Mathieu Arnold <mat@FreeBSD.org>
To: Lupe Christoph <lupe@lupe-christoph.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Tue, 02 Mar 2004 16:58:14 +0100

 --==========DE60F5F4F13D90F02FF7==========
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 +-le 01/03/2004 23:19 +0100, Lupe Christoph a dit :
 | On Monday, 2004-03-01 at 20:45:12 +0100, Mathieu Arnold wrote:
 | 
 |> That their perfect place, don't touch :)
 | 
 |> Oh, ok, so, don't move them, they're at their right place :)
 | 
 |> forget what I've said about /var/run/munin, it's perfect where it is :)
 | 
 | Whoa, calm down, I'll let them be :-)
 | 
 | With so many possibilities, it isn't easy or straightforward to pick the
 | right one. It wasn't genius, just a stroke of luck ;-)
 | 
 | Anything else I should change? I mean except the relocation from
 | $PREFIX/lib to $DATADIR I already did?
 
 You can have a look at what I committed, it's a bit different from what you
 sent, mainly plist fixes, and PKGMESSAGE change (you shall not write anything
 outside of WRKDIR when building) and, hum, slight change in pkg-message too,
 no need to complicate things. What else, hum, I don't know, if I broke
 something, just tell me :)
 
 -- 
 Mathieu Arnold
 --==========DE60F5F4F13D90F02FF7==========
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (MingW32)
 
 iQEVAwUBQESvGlvROjYJ63c1AQKQNAf8CttxFIE3DMXrJ54f5fQBg94euN0hulUu
 tODx8CyQRC7IYjluC0a1vMo5vwlSqQBi70rHXQwse0guJpStgkymX9n4gqD2DM3n
 K1Hu8jnO0lUBHeJE2l5tZ6M/3/bCAMytgryhLrDf6G/X+GpGL7M64ia7M9m++BIJ
 AIsGbSwNLQntJjEDaYrGnh488RnxeKrGoQjaABDOEPD2Zggn8STHQjvHza98Lpzx
 co3etAZNQWGMv+zZb8qQ0zBoGSUbkNqzqKsoeVdX123It9oWYPSnmNTLAt/tSdBh
 UVcLxW5FYO+zQUP44OdIIQO769oifOrL7yUnvtEa7RMsdtRAD+IsNg==
 =F4nw
 -----END PGP SIGNATURE-----
 
 --==========DE60F5F4F13D90F02FF7==========--
 

From: lupe@lupe-christoph.de (Lupe Christoph)
To: Mathieu Arnold <mat@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part of	Munin
Date: Wed, 3 Mar 2004 08:41:54 +0100

 On Tuesday, 2004-03-02 at 16:58:14 +0100, Mathieu Arnold wrote:
 > +-le 01/03/2004 23:19 +0100, Lupe Christoph a dit :
 > | On Monday, 2004-03-01 at 20:45:12 +0100, Mathieu Arnold wrote:
 
 > You can have a look at what I committed, it's a bit different from what you
 > sent, mainly plist fixes, and PKGMESSAGE change (you shall not write anything
 > outside of WRKDIR when building) and, hum, slight change in pkg-message too,
 > no need to complicate things. What else, hum, I don't know, if I broke
 > something, just tell me :)
 
 Thanks for all the improvements. Especially for correcting my oversights
 with the plist.
 
 You added etc/munin/VERSION.node to the plist, which AFAIK causes it to
 be removed by portupgrade (pkg_delete, probably). But this is a marker
 that is used on upgrades to locate added plugins and automagically link
 them to the etc/munin/plugins directory.
 
 I found no way to differentiate between an upgrade and a complete
 removal.
 
 What I need on an upgrade is the old plugin directory, and the VERSION
 that is being upgraded. BTW, that is also the reason I don't empty the
 etc/munin/plugins directory on pkg_delete.
 
 So I think VERSION.node must be removed from plist.
 
 Lupe Christoph
 
 PS: I generated the distinfo file with make makesum as it is described
     in the Porter's Handbook. I see you added a SIZE line. Shouldn't
     make makesum have added that line, too?
 -- 
 | lupe@lupe-christoph.de       |           http://www.lupe-christoph.de/ |
 | "Violence is the resort of the violent" Lu Tze                         |
 | "Thief of Time", Terry Pratchett                                       |

From: Mathieu Arnold <mat@FreeBSD.org>
To: Lupe Christoph <lupe@lupe-christoph.de>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Wed, 03 Mar 2004 09:08:54 +0100

 --==========074F05DB63465A498537==========
 Content-Type: text/plain; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 +-Le 03/03/2004 08:41 +0100, Lupe Christoph a dit :
 | On Tuesday, 2004-03-02 at 16:58:14 +0100, Mathieu Arnold wrote:
 |> +-le 01/03/2004 23:19 +0100, Lupe Christoph a dit :
 |> |Mondaynday, 2004-03-01 at 20:45:12 +0100, Mathieu Arnold wrote:
 | 
 |> You can have a look at what I committed, it's a bit different from what
 |> you sent, mainly plist fixes, and PKGMESSAGE change (you shall not write
 |> anything outside of WRKDIR when building) and, hum, slight change in
 |> pkg-message too, no need to complicate things. What else, hum, I don't
 |> know, if I broke something, just tell me :)
 | 
 | Thanks for all the improvements. Especially for correcting my oversights
 | with the plist.
 | 
 | You added etc/munin/VERSION.node to the plist, which AFAIK causes it to
 | be removed by portupgrade (pkg_delete, probably). But this is a marker
 | that is used on upgrades to locate added plugins and automagically link
 | them to the etc/munin/plugins directory.
 | 
 | I found no way to differentiate between an upgrade and a complete
 | removal.
 | 
 | What I need on an upgrade is the old plugin directory, and the VERSION
 | that is being upgraded. BTW, that is also the reason I don't empty the
 | etc/munin/plugins directory on pkg_delete.
 | 
 | So I think VERSION.node must be removed from plist.
 
 Well, badly there is no way to find out wether you're deleting the port or
 wether you're upgrading :/ and when deleting, a port should remove all it's
 files. Maybe you should have a look at pkgconfig's plist, maybe you should
 do the same thing. You can come with this question on ports@ to see what's
 the way to go :)
 
 | PS: I generated the distinfo file with make makesum as it is described
 |     in the Porter's Handbook. I see you added a SIZE line. Shouldn't
 |     make makesum have added that line, too?
 
 Your /usr/ports/Mk was not up-to-date, that's what I guess :)
 
 -- 
 Mathieu Arnold
 --==========074F05DB63465A498537==========
 Content-Type: application/pgp-signature
 Content-Transfer-Encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (MingW32)
 
 iQEVAwUBQEWSmFvROjYJ63c1AQJlsQf7BdDbuJUr3fN/0DFrBbiD/46zJ6hDFX2a
 sYk5CH4m71VVbEw526Og3sIsh/GUSeDGqtyF39Q6nWTn1lSc4KDW2nJcydHmNqpW
 phLJPfwymSHyZMd0+98vu8OyBPBHGtqTmg/cRQ9uBn5LJZ0Mej3fwkiX8MiliRAl
 m3YoZqyotI+iDxkdcwxoVSwiHIMsGe5Wt4bLWhSR6LCByE6GRUQ/1/ZjrTawv9Gc
 9pT7AU8U2RDGpxW9O/uVv9/TDhkhdhgsCOujB1PanToTpmmsHwmP8fi7SeCNL5iL
 sUxrGkDJy2UFKSRS3x52zlcUxoxC0Qp4/jdXeWAQgBZrUoNT9zEFAw==
 =93R+
 -----END PGP SIGNATURE-----
 
 --==========074F05DB63465A498537==========--
 

From: lupe@lupe-christoph.de (Lupe Christoph)
To: Mathieu Arnold <mat@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part of	Munin
Date: Sat, 6 Mar 2004 14:41:16 +0100

 On Wednesday, 2004-03-03 at 09:08:54 +0100, Mathieu Arnold wrote:
 > +-Le 03/03/2004 08:41 +0100, Lupe Christoph a dit :
 
 > | So I think VERSION.node must be removed from plist.
 
 > Well, badly there is no way to find out wether you're deleting the port or
 > wether you're upgrading :/ and when deleting, a port should remove all it's
 > files. Maybe you should have a look at pkgconfig's plist, maybe you should
 > do the same thing. You can come with this question on ports@ to see what's
 > the way to go :)
 
 No reply from the ports mailing list. What about this: following
 pkgconfig's example, we remove VERSION.node from the plist and put his
 in:
 
 @unexec echo "If you want to *completely* remove munin-node, you have
 @unexec echo "to rm -rf %D/var/munin and %D/etc/munin. They have to be"
 @unexec echo "left on the system because you may be performing an
 @unexec echo "update. This process can't tell."
 
 %D must probably be replaced by %%something%%. Dunno what whichout
 %research :-(
 
 Lupe Christoph
 -- 
 | lupe@lupe-christoph.de       |           http://www.lupe-christoph.de/ |
 | "Violence is the resort of the violent" Lu Tze                         |
 | "Thief of Time", Terry Pratchett                                       |

From: Mathieu Arnold <mat@mat.cc>
To: Lupe Christoph <lupe@lupe-christoph.de>,
	Mathieu Arnold <mat@FreeBSD.org>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/62479: New port: sysutils/munin-node Node-specific part
 of	Munin
Date: Sat, 06 Mar 2004 14:17:32 +0100

 +- Le samedi 6 mars 2004 14:41 +0100 Lupe Christoph 
 <lupe@lupe-christoph.de> a dit :
 | On Wednesday, 2004-03-03 at 09:08:54 +0100, Mathieu Arnold wrote:
 |> +-Le 03/03/2004 08:41 +0100, Lupe Christoph a dit :
 |
 |> | So I think VERSION.node must be removed from plist.
 |
 |> Well, badly there is no way to find out wether you're deleting the port
 |> or wether you're upgrading :/ and when deleting, a port should remove
 |> all it's files. Maybe you should have a look at pkgconfig's plist, maybe
 |> you should do the same thing. You can come with this question on ports@
 |> to see what's the way to go :)
 |
 | No reply from the ports mailing list. What about this: following
 | pkgconfig's example, we remove VERSION.node from the plist and put his
 | in:
 |
 | @unexec echo "If you want to *completely* remove munin-node, you have
 | @unexec echo "to rm -rf %D/var/munin and %D/etc/munin. They have to be"
 | @unexec echo "left on the system because you may be performing an
 | @unexec echo "update. This process can't tell."
 
 Looks good. Send a new pr :)
 
 | %D must probably be replaced by %%something%%. Dunno what whichout
 | %research :-(
 
 %D should be ok.
 
 -- 
 Mathieu Arnold
>Unformatted:
