Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2013 14:15:38 GMT
From:      Dirk Engling <erdgeist@erdgeist.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182487: New port sysutils/minimunin
Message-ID:  <201309291415.r8TEFcnv079722@oldred.freebsd.org>
Resent-Message-ID: <201309291420.r8TEK1Pa045570@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182487
>Category:       ports
>Synopsis:       New port sysutils/minimunin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 29 14:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Engling
>Release:        FreeBSD-9.1
>Organization:
>Environment:
>Description:
A tiny munin-node implementation for FreeBSD written in pure bourne shell providing basic plugin support
>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:
#
#>--minimunin
#>--minimunin/pkg-message
#>--minimunin/pkg-descr
#>--minimunin/Makefile
#>--minimunin/distinfo
#
echo c - minimunin
mkdir -p minimunin > /dev/null 2>&1
echo x - minimunin/pkg-message
sed 's/^X//' >minimunin/pkg-message << 'e020bdac584d04f5986bf3d4b09d24eb'
X*****************************************************************
XTo activate minimunin, add the line
X
X    munin stream tcp nowait nobody /usr/libexec/tcpd /usr/local/bin/minimunin
X
Xto your /etc/inetd.conf. Alternatively, if you plan to run plugins that require
Xroot permissions (e.g. for changing to a different user via the plugin config),
Xadd
X
X    munin stream tcp nowait root   /usr/libexec/tcpd /usr/local/bin/minimunin
X
Xto your /etc/inetd.conf. In both cases you need to enable inetd by setting
X
X    inetd_enable="YES"
X
Xin your /etc/rc.conf and restart inetd with the
X
X    service inetd start
X
Xcommand. You may also want to restrict access to your munin node via the
X/etc/hosts.allow and /etc/hosts.deny configuration files.
X
X*****************************************************************
e020bdac584d04f5986bf3d4b09d24eb
echo x - minimunin/pkg-descr
sed 's/^X//' >minimunin/pkg-descr << '2d06a5047a37f4d63042c91a45fef3f0'
XA tiny munin-node implementation for FreeBSD written in pure bourne shell providing basic plugin support
X
XWWW: http://erdgeist.org/arts/software/minimunin/
2d06a5047a37f4d63042c91a45fef3f0
echo x - minimunin/Makefile
sed 's/^X//' >minimunin/Makefile << 'b9ff947a57326f03bf1683f7677332f6'
X# Created by: Dirk Engling <erdgeist@erdgeist.org>
X# $FreeBSD: $
X
XPORTNAME=>-minimunin
XPORTVERSION=>--0.1
XCATEGORIES=>---sysutils
XMASTER_SITES=>-http://erdgeist.org/arts/software/minimunin/
X
XMAINTAINER=>---erdgeist@erdgeist.org
XCOMMENT=>--A tiny munin-node implementation for FreeBSD written in pure bourne shell providing basic plugin support
X    
XUSE_BZIP2=>yes
X
XPLIST_FILES=>--bin/minimunin
X
XNO_STAGE=>-yes
X.include <bsd.port.pre.mk>
X
Xpost-install:
X>--@${ECHO_CMD} "updating ${ROOTDIR}/etc/services"
X>--@${CP} ${ROOTDIR}/etc/services ${ROOTDIR}/etc/services.bak
X>--@(grep -v '^munin ' ${ROOTDIR}/etc/services.bak; \
X>--${ECHO_CMD} "munin           4949/tcp   #munin node"; ) \
X>--> ${ROOTDIR}/etc/services
X>--@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
b9ff947a57326f03bf1683f7677332f6
echo x - minimunin/distinfo
sed 's/^X//' >minimunin/distinfo << 'b60f07e2ab225ea65b060caad102a6d8'
XSHA256 (minimunin-0.1.tar.bz2) = 0792db2b5cfde82d27eb5707253a776c26bea35b50e36be48a9c85c17ea3da64
XSIZE (minimunin-0.1.tar.bz2) = 4611
b60f07e2ab225ea65b060caad102a6d8
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309291415.r8TEFcnv079722>