Index: sysutils/Makefile =================================================================== --- sysutils/Makefile (revision 331665) +++ sysutils/Makefile (working copy) @@ -512,6 +512,7 @@ SUBDIR += metalog SUBDIR += mfid SUBDIR += mgeupsd + SUBDIR += minimunin SUBDIR += minirsyslogd SUBDIR += mixer SUBDIR += mkfile Index: sysutils/minimunin/Makefile =================================================================== --- sysutils/minimunin/Makefile (revision 0) +++ sysutils/minimunin/Makefile (working copy) @@ -0,0 +1,19 @@ +# Created by: Dirk Engling +# $FreeBSD$ + +PORTNAME= minimunin +PORTVERSION= 0.1 +CATEGORIES= sysutils +MASTER_SITES= http://erdgeist.org/arts/software/minimunin/ + +MAINTAINER= erdgeist@erdgeist.org +COMMENT= Tiny munin-node implementation written in pure bourne shell + +USE_BZIP2= yes +PLIST_FILES= bin/minimunin +SUB_FILES= pkg-message + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/minimunin ${STAGEDIR}${PREFIX}/bin + +.include Property changes on: sysutils/minimunin/Makefile ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: sysutils/minimunin/distinfo =================================================================== --- sysutils/minimunin/distinfo (revision 0) +++ sysutils/minimunin/distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (minimunin-0.1.tar.bz2) = 0792db2b5cfde82d27eb5707253a776c26bea35b50e36be48a9c85c17ea3da64 +SIZE (minimunin-0.1.tar.bz2) = 4611 Property changes on: sysutils/minimunin/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: sysutils/minimunin/files/pkg-message.in =================================================================== --- sysutils/minimunin/files/pkg-message.in (revision 0) +++ sysutils/minimunin/files/pkg-message.in (working copy) @@ -0,0 +1,23 @@ +***************************************************************** +To activate minimunin, add the line + + munin stream tcp nowait nobody /usr/libexec/tcpd %%PREFIX%%/bin/minimunin + +to your /etc/inetd.conf. Alternatively, if you plan to run plugins that require +root permissions (e.g. for changing to a different user via the plugin config), +add + + munin stream tcp nowait root /usr/libexec/tcpd %%PREFIX%%/bin/minimunin + +to your /etc/inetd.conf. In both cases you need to enable inetd by setting + + inetd_enable="YES" + +in your /etc/rc.conf and restart inetd with the + + service inetd start + +command. You may also want to restrict access to your munin node via the +/etc/hosts.allow and /etc/hosts.deny configuration files. + +***************************************************************** Property changes on: sysutils/minimunin/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: sysutils/minimunin/pkg-descr =================================================================== --- sysutils/minimunin/pkg-descr (revision 0) +++ sysutils/minimunin/pkg-descr (working copy) @@ -0,0 +1,4 @@ +A tiny munin-node implementation for FreeBSD written in pure bourne shell +providing basic plugin support + +WWW: http://erdgeist.org/arts/software/minimunin/ Property changes on: sysutils/minimunin/pkg-descr ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: sysutils/minimunin/pkg-install =================================================================== --- sysutils/minimunin/pkg-install (revision 0) +++ sysutils/minimunin/pkg-install (working copy) @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ "$2" = POSTINSTALL ]; then + echo "updating /etc/services" + (grep -q '^munin ' /etc/services || \ + echo "munin 4949/tcp #munin node"; ) \ + >> /etc/services +fi Property changes on: sysutils/minimunin/pkg-install ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property