pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/munin-doc Import a package to install the doc...
details: https://anonhg.NetBSD.org/pkgsrc/rev/77a1db3ddd09
branches: trunk
changeset: 514200:77a1db3ddd09
user: he <he%pkgsrc.org@localhost>
date: Thu Jun 08 19:03:34 2006 +0000
description:
Import a package to install the documentation to munin-node and the
soon-to-be-committed munin-server package.
diffstat:
sysutils/munin-doc/DESCR | 7 ++
sysutils/munin-doc/Makefile | 29 ++++++++++++
sysutils/munin-doc/PLIST | 20 ++++++++
sysutils/munin-doc/distinfo | 7 ++
sysutils/munin-doc/patches/patch-aa | 89 +++++++++++++++++++++++++++++++++++++
sysutils/munin-doc/patches/patch-ad | 21 ++++++++
6 files changed, 173 insertions(+), 0 deletions(-)
diffs (197 lines):
diff -r 60914c4679c9 -r 77a1db3ddd09 sysutils/munin-doc/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/munin-doc/DESCR Thu Jun 08 19:03:34 2006 +0000
@@ -0,0 +1,7 @@
+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 has been ease of creating own "plugins" (graphs).
diff -r 60914c4679c9 -r 77a1db3ddd09 sysutils/munin-doc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/munin-doc/Makefile Thu Jun 08 19:03:34 2006 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/08 19:03:34 he Exp $
+#
+
+DISTNAME= ${PKGNAME:S:-doc-:_:}
+PKGNAME= munin-doc-1.3.1
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=munin/}
+
+MAINTAINER= he%NetBSD.org@localhost
+HOMEPAGE= http://munin.sourceforge.net/
+COMMENT= System monitoring tool, documentation
+
+BUILD_DEPENDS+= htmldoc>=0:../../www/htmldoc
+BUILD_DEPENDS+= html2text>=0:../../textproc/html2text
+
+USE_TOOLS+= perl
+USE_TOOLS+= gmake
+USE_PKGINSTALL= YES
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S:_:-:}
+
+INSTALL_TARGET= install-doc install-man
+
+BUILD_TARGET= build-doc build-man
+
+MAKE_ENV+= PERL5=${PERL5:Q}
+
+.include "../../mk/bsd.pkg.mk"
+.include "../../lang/python/application.mk"
diff -r 60914c4679c9 -r 77a1db3ddd09 sysutils/munin-doc/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/munin-doc/PLIST Thu Jun 08 19:03:34 2006 +0000
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/08 19:03:34 he Exp $
+man/man5/munin-node.conf.5
+man/man5/munin.conf.5
+man/man8/munin-cron.8
+man/man8/munin-graph.8
+man/man8/munin-html.8
+man/man8/munin-limits.8
+man/man8/munin-node.8
+man/man8/munin-run.8
+man/man8/munin-update.8
+share/doc/munin/COPYING
+share/doc/munin/README.api
+share/doc/munin/README.plugins
+share/doc/munin/munin-doc.html
+share/doc/munin/munin-doc.pdf
+share/doc/munin/munin-doc.txt
+share/doc/munin/munin-faq.html
+share/doc/munin/munin-faq.pdf
+share/doc/munin/munin-faq.txt
+@dirrm share/doc/munin
diff -r 60914c4679c9 -r 77a1db3ddd09 sysutils/munin-doc/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/munin-doc/distinfo Thu Jun 08 19:03:34 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/06/08 19:03:34 he Exp $
+
+SHA1 (munin_1.3.1.tar.gz) = f7783b645abbb25524c3f1b6e0fe27185f1de3db
+RMD160 (munin_1.3.1.tar.gz) = a6ea4e1839f4c787457e4051d55007b7bcebd1d4
+Size (munin_1.3.1.tar.gz) = 315743 bytes
+SHA1 (patch-aa) = f4c75a11a5fa026d968a2685f55061c74f51e537
+SHA1 (patch-ad) = 8accd3875324035f2c95903fc37cee4b4a55948a
diff -r 60914c4679c9 -r 77a1db3ddd09 sysutils/munin-doc/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/munin-doc/patches/patch-aa Thu Jun 08 19:03:34 2006 +0000
@@ -0,0 +1,89 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/06/08 19:03:34 he Exp $
+
+--- Makefile.config.orig 2005-01-10 11:38:22.000000000 +0100
++++ Makefile.config
+@@ -7,32 +7,36 @@
+ #
+ # the base of the Munin installation.
+ #
+-PREFIX = $(DESTDIR)/opt/munin
++ifdef $(PREFIX)
++UPREFIX=$(PREFIX)
++else
++UPREFIX=/usr/pkg
++endif
+
+ # Where Munin keeps its configurations (server.conf, client.conf, ++)
+-CONFDIR = $(DESTDIR)/etc/opt/munin
++CONFDIR = $(UPREFIX)/etc/munin
+
+ # Server only - where to put munin-cron
+-BINDIR = $(PREFIX)/bin
++BINDIR = $(UPREFIX)/bin
+
+ # Client only - where to put munin-node, munin-node-configure, and munin-run
+-SBINDIR = $(PREFIX)/sbin
++SBINDIR = $(UPREFIX)/sbin
+
+ # Where to put text and html documentation
+-DOCDIR = $(PREFIX)/doc
++DOCDIR = $(UPREFIX)/share/doc/munin
+
+ # Where to put man pages
+-MANDIR = $(PREFIX)/man
++MANDIR = $(UPREFIX)/man
+
+ # Where to put internal binaries and plugin repository
+-LIBDIR = $(PREFIX)/lib
++LIBDIR = $(UPREFIX)/lib/munin
+
+ # Server only - Output directory
+-HTMLDIR = $(PREFIX)/var/www
++HTMLDIR = $(UPREFIX)/www/munin/data
+ CGIDIR = $(HTMLDIR)/cgi
+
+ # Client only - Where to put RRD files and other intenal data
+-DBDIR = $(DESTDIR)/var/opt/munin
++DBDIR = $(DESTDIR)/var/munin
+
+ # Client only - Where plugins should put their states. Must be writable by
+ # group "munin", and should be preserved between reboots
+@@ -45,14 +49,14 @@ LOGDIR = $(DESTDIR)/var/log/munin
+ # writable by the user "munin".
+ STATEDIR = $(DESTDIR)/var/run/munin
+
+-# The perl interpreter to use
+-PERL = $(shell which perl)
++# The perl interpreter to use (passed in by pkgsrc)
++PERL = ${PERL5}
+
+ # The python interpreter to use (used by some plugins)
+ PYTHON = /usr/bin/env python
+
+ # Server only - Where to install the perl libraries
+-PERLLIB = $(DESTDIR)$(shell $(PERL) -V:sitelib | cut -d= -f2 | sed "s/[\';]//g")
++PERLLIB = ${PERL5_SITELIB}
+
+ # Client only - Install plugins for this architecture
+ OSTYPE = $(shell uname | tr '[A-Z]' '[a-z]')
+@@ -65,16 +69,15 @@ HOSTNAME = $(shell hostname)
+ VERSION = $(shell cat RELEASE)
+
+ # User to run munin as
+-USER = munin
+-GROUP = munin
++USER = ${MUNIN_USER}
++GROUP = ${MUNIN_GROUP}
+
+ # Default user to run the plugins as
+ PLUGINUSER = nobody
+
+ # Which command to use to check if the USER and GROUP to run Munin as, exists.
+-GETENT = $(shell which getent || which true 2>/dev/null)
+-CHECKUSER = $(shell $(GETENT) passwd $(USER) >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistant. Create the user and retry; exit 2"))
+-CHECKGROUP = $(shell $(GETENT) group $(GROUP) >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistant. Create the group and retry; exit 2"))
++CHECKUSER = $(shell grep $(USER) /etc/passwd >/dev/null 2>/dev/null || (echo "echo User $(USER) nonexistent. Create the user and retry; exit 2"))
++CHECKGROUP = $(shell grep $(GROUP) /etc/group >/dev/null 2>/dev/null || (echo "echo Group $(GROUP) nonexistent. Create the group and retry; exit 2"))
+
+ CHOWN = chown
+ CHMOD = chmod
diff -r 60914c4679c9 -r 77a1db3ddd09 sysutils/munin-doc/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/munin-doc/patches/patch-ad Thu Jun 08 19:03:34 2006 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-ad,v 1.1.1.1 2006/06/08 19:03:34 he Exp $
+
+--- Makefile.orig 2004-12-22 22:33:47.000000000 +0100
++++ Makefile
+@@ -35,8 +35,6 @@ install-main: build
+ $(INSTALL) -m 0644 server/style.css $(CONFDIR)/templates/
+ $(INSTALL) -m 0644 server/definitions.html $(CONFDIR)/templates/
+
+- test -f "$(CONFDIR)/munin.conf" || $(INSTALL) -m 0644 build/server/munin.conf $(CONFDIR)/
+-
+ $(INSTALL) -m 0755 build/server/munin-cron $(BINDIR)/
+
+ $(INSTALL) -m 0755 build/server/munin-update $(LIBDIR)/
+@@ -71,7 +69,6 @@ install-node-non-snmp: build
+
+ $(INSTALL) -m 0755 build/node/munin-node $(SBINDIR)/
+ $(INSTALL) -m 0755 build/node/munin-node-configure $(SBINDIR)/
+- test -f "$(CONFDIR)/munin-node.conf" || $(INSTALL) -m 0644 build/node/munin-node.conf $(CONFDIR)/
+ $(INSTALL) -m 0755 build/node/munin-run $(SBINDIR)/
+
+ install-node-plugins: build
Home |
Main Index |
Thread Index |
Old Index