Bug 182487 - New port sysutils/minimunin
Summary: New port sysutils/minimunin
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-29 15:20 UTC by erdgeist
Modified: 2013-10-26 11:40 UTC (History)
0 users

See Also:


Attachments
file.shar (2.81 KB, text/plain)
2013-09-29 15:20 UTC, erdgeist
no flags Details
minimunin.shar (2.84 KB, text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0")
2013-09-29 19:01 UTC, erdgeist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description erdgeist 2013-09-29 15:20:00 UTC
A tiny munin-node implementation for FreeBSD written in pure bourne shell providing basic plugin support
Comment 1 erdgeist 2013-09-29 19:01:58 UTC
Re-Sending the shar archive without vim-copy'n'past misformatting.
Comment 2 Florian Smeets freebsd_committer freebsd_triage 2013-09-30 21:41:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-10-26 11:33:42 UTC
Author: flo
Date: Sat Oct 26 10:33:34 2013
New Revision: 331673
URL: http://svnweb.freebsd.org/changeset/ports/331673

Log:
  Add sysutils/minimunin
  
  A tiny munin-node implementation for FreeBSD written in pure bourne shell
  providing basic plugin support
  
  WWW: http://erdgeist.org/arts/software/minimunin/
  
  PR:		ports/182487
  Submitted by:	Dirk Engling <erdgeist@erdgeist.org>

Added:
  head/sysutils/minimunin/
  head/sysutils/minimunin/Makefile   (contents, props changed)
  head/sysutils/minimunin/distinfo   (contents, props changed)
  head/sysutils/minimunin/files/
  head/sysutils/minimunin/files/pkg-message.in   (contents, props changed)
  head/sysutils/minimunin/pkg-descr   (contents, props changed)
  head/sysutils/minimunin/pkg-install   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Sat Oct 26 10:22:52 2013	(r331672)
+++ head/sysutils/Makefile	Sat Oct 26 10:33:34 2013	(r331673)
@@ -512,6 +512,7 @@
     SUBDIR += metalog
     SUBDIR += mfid
     SUBDIR += mgeupsd
+    SUBDIR += minimunin
     SUBDIR += minirsyslogd
     SUBDIR += mixer
     SUBDIR += mkfile

Added: head/sysutils/minimunin/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/minimunin/Makefile	Sat Oct 26 10:33:34 2013	(r331673)
@@ -0,0 +1,19 @@
+# Created by: Dirk Engling <erdgeist@erdgeist.org>
+# $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 <bsd.port.mk>

Added: head/sysutils/minimunin/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/minimunin/distinfo	Sat Oct 26 10:33:34 2013	(r331673)
@@ -0,0 +1,2 @@
+SHA256 (minimunin-0.1.tar.bz2) = 0792db2b5cfde82d27eb5707253a776c26bea35b50e36be48a9c85c17ea3da64
+SIZE (minimunin-0.1.tar.bz2) = 4611

Added: head/sysutils/minimunin/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/minimunin/files/pkg-message.in	Sat Oct 26 10:33:34 2013	(r331673)
@@ -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.
+
+*****************************************************************

Added: head/sysutils/minimunin/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/minimunin/pkg-descr	Sat Oct 26 10:33:34 2013	(r331673)
@@ -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/

Added: head/sysutils/minimunin/pkg-install
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/minimunin/pkg-install	Sat Oct 26 10:33:34 2013	(r331673)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Florian Smeets freebsd_committer freebsd_triage 2013-10-26 11:35:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!