ports/182487: New port sysutils/minimunin
Dirk Engling
erdgeist at erdgeist.org
Sun Sep 29 18:10:02 UTC 2013
The following reply was made to PR ports/182487; it has been noted by GNATS.
From: Dirk Engling <erdgeist at erdgeist.org>
To: bug-followup at FreeBSD.org, erdgeist at erdgeist.org
Cc:
Subject: Re: ports/182487: New port sysutils/minimunin
Date: Sun, 29 Sep 2013 20:01:58 +0200
This is a multi-part message in MIME format.
--------------000900090003060108010806
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
Re-Sending the shar archive without vim-copy'n'past misformatting.
--------------000900090003060108010806
Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0";
name="minimunin.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="minimunin.shar"
# 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-port
# minimunin-port/pkg-message
# minimunin-port/pkg-descr
# minimunin-port/Makefile
# minimunin-port/distinfo
#
echo c - minimunin-port
mkdir -p minimunin-port > /dev/null 2>&1
echo x - minimunin-port/pkg-message
sed 's/^X//' >minimunin-port/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-port/pkg-descr
sed 's/^X//' >minimunin-port/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-port/Makefile
sed 's/^X//' >minimunin-port/Makefile << 'b9ff947a57326f03bf1683f7677332f6'
X# Created by: Dirk Engling <erdgeist at erdgeist.org>
X# $FreeBSD: $
X
XPORTNAME= minimunin
XPORTVERSION= 0.1
XCATEGORIES= sysutils
XMASTER_SITES= http://erdgeist.org/arts/software/minimunin/
X
XMAINTAINER= erdgeist at 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-port/distinfo
sed 's/^X//' >minimunin-port/distinfo << 'b60f07e2ab225ea65b060caad102a6d8'
XSHA256 (minimunin-0.1.tar.bz2) = 0792db2b5cfde82d27eb5707253a776c26bea35b50e36be48a9c85c17ea3da64
XSIZE (minimunin-0.1.tar.bz2) = 4611
b60f07e2ab225ea65b060caad102a6d8
exit
--------------000900090003060108010806--
More information about the freebsd-ports-bugs
mailing list