head	1.51;
access;
symbols
	pkgsrc-2026Q2:1.51.0.4
	pkgsrc-2026Q2-base:1.51
	pkgsrc-2026Q1:1.51.0.2
	pkgsrc-2026Q1-base:1.51
	pkgsrc-2025Q4:1.50.0.20
	pkgsrc-2025Q4-base:1.50
	pkgsrc-2025Q3:1.50.0.18
	pkgsrc-2025Q3-base:1.50
	pkgsrc-2025Q2:1.50.0.16
	pkgsrc-2025Q2-base:1.50
	pkgsrc-2025Q1:1.50.0.14
	pkgsrc-2025Q1-base:1.50
	pkgsrc-2024Q4:1.50.0.12
	pkgsrc-2024Q4-base:1.50
	pkgsrc-2024Q3:1.50.0.10
	pkgsrc-2024Q3-base:1.50
	pkgsrc-2024Q2:1.50.0.8
	pkgsrc-2024Q2-base:1.50
	pkgsrc-2024Q1:1.50.0.6
	pkgsrc-2024Q1-base:1.50
	pkgsrc-2023Q4:1.50.0.4
	pkgsrc-2023Q4-base:1.50
	pkgsrc-2023Q3:1.50.0.2
	pkgsrc-2023Q3-base:1.50
	pkgsrc-2023Q2:1.49.0.6
	pkgsrc-2023Q2-base:1.49
	pkgsrc-2023Q1:1.49.0.4
	pkgsrc-2023Q1-base:1.49
	pkgsrc-2022Q4:1.49.0.2
	pkgsrc-2022Q4-base:1.49
	pkgsrc-2022Q3:1.48.0.2
	pkgsrc-2022Q3-base:1.48
	pkgsrc-2022Q2:1.47.0.8
	pkgsrc-2022Q2-base:1.47
	pkgsrc-2022Q1:1.47.0.6
	pkgsrc-2022Q1-base:1.47
	pkgsrc-2021Q4:1.47.0.4
	pkgsrc-2021Q4-base:1.47
	pkgsrc-2021Q3:1.47.0.2
	pkgsrc-2021Q3-base:1.47
	pkgsrc-2021Q2:1.45.0.6
	pkgsrc-2021Q2-base:1.45
	pkgsrc-2021Q1:1.45.0.4
	pkgsrc-2021Q1-base:1.45
	pkgsrc-2020Q4:1.45.0.2
	pkgsrc-2020Q4-base:1.45
	pkgsrc-2020Q3:1.44.0.2
	pkgsrc-2020Q3-base:1.44
	pkgsrc-2020Q2:1.42.0.2
	pkgsrc-2020Q2-base:1.42
	pkgsrc-2020Q1:1.41.0.2
	pkgsrc-2020Q1-base:1.41
	pkgsrc-2019Q4:1.41.0.4
	pkgsrc-2019Q4-base:1.41
	pkgsrc-2019Q3:1.40.0.2
	pkgsrc-2019Q3-base:1.40
	pkgsrc-2019Q2:1.38.0.2
	pkgsrc-2019Q2-base:1.38
	pkgsrc-2019Q1:1.37.0.6
	pkgsrc-2019Q1-base:1.37
	pkgsrc-2018Q4:1.37.0.4
	pkgsrc-2018Q4-base:1.37
	pkgsrc-2018Q3:1.37.0.2
	pkgsrc-2018Q3-base:1.37
	pkgsrc-2018Q2:1.36.0.18
	pkgsrc-2018Q2-base:1.36
	pkgsrc-2018Q1:1.36.0.16
	pkgsrc-2018Q1-base:1.36
	pkgsrc-2017Q4:1.36.0.14
	pkgsrc-2017Q4-base:1.36
	pkgsrc-2017Q3:1.36.0.12
	pkgsrc-2017Q3-base:1.36
	pkgsrc-2017Q2:1.36.0.8
	pkgsrc-2017Q2-base:1.36
	pkgsrc-2017Q1:1.36.0.6
	pkgsrc-2017Q1-base:1.36
	pkgsrc-2016Q4:1.36.0.4
	pkgsrc-2016Q4-base:1.36
	pkgsrc-2016Q3:1.36.0.2
	pkgsrc-2016Q3-base:1.36
	pkgsrc-2016Q2:1.35.0.10
	pkgsrc-2016Q2-base:1.35
	pkgsrc-2016Q1:1.35.0.8
	pkgsrc-2016Q1-base:1.35
	pkgsrc-2015Q4:1.35.0.6
	pkgsrc-2015Q4-base:1.35
	pkgsrc-2015Q3:1.35.0.4
	pkgsrc-2015Q3-base:1.35
	pkgsrc-2015Q2:1.35.0.2
	pkgsrc-2015Q2-base:1.35
	pkgsrc-2015Q1:1.34.0.8
	pkgsrc-2015Q1-base:1.34
	pkgsrc-2014Q4:1.34.0.6
	pkgsrc-2014Q4-base:1.34
	pkgsrc-2014Q3:1.34.0.4
	pkgsrc-2014Q3-base:1.34
	pkgsrc-2014Q2:1.34.0.2
	pkgsrc-2014Q2-base:1.34
	pkgsrc-2014Q1:1.32.0.2
	pkgsrc-2014Q1-base:1.32
	pkgsrc-2013Q4:1.31.0.4
	pkgsrc-2013Q4-base:1.31
	pkgsrc-2013Q3:1.31.0.2
	pkgsrc-2013Q3-base:1.31
	pkgsrc-2013Q2:1.29.0.2
	pkgsrc-2013Q2-base:1.29
	pkgsrc-2013Q1:1.28.0.2
	pkgsrc-2013Q1-base:1.28
	pkgsrc-2012Q4:1.27.0.2
	pkgsrc-2012Q4-base:1.27
	pkgsrc-2012Q3:1.26.0.4
	pkgsrc-2012Q3-base:1.26
	pkgsrc-2012Q2:1.26.0.2
	pkgsrc-2012Q2-base:1.26
	pkgsrc-2012Q1:1.25.0.2
	pkgsrc-2012Q1-base:1.25
	pkgsrc-2011Q4:1.23.0.2
	pkgsrc-2011Q4-base:1.23
	pkgsrc-2011Q3:1.22.0.4
	pkgsrc-2011Q3-base:1.22
	pkgsrc-2011Q2:1.22.0.2
	pkgsrc-2011Q2-base:1.22
	pkgsrc-2011Q1:1.21.0.4
	pkgsrc-2011Q1-base:1.21
	pkgsrc-2010Q4:1.21.0.2
	pkgsrc-2010Q4-base:1.21
	pkgsrc-2010Q3:1.17.0.2
	pkgsrc-2010Q3-base:1.17
	pkgsrc-2010Q2:1.13.0.4
	pkgsrc-2010Q2-base:1.13
	pkgsrc-2010Q1:1.13.0.2
	pkgsrc-2010Q1-base:1.13
	pkgsrc-2009Q4:1.12.0.4
	pkgsrc-2009Q4-base:1.12
	pkgsrc-2009Q3:1.12.0.2
	pkgsrc-2009Q3-base:1.12
	pkgsrc-2009Q2:1.11.0.4
	pkgsrc-2009Q2-base:1.11
	pkgsrc-2009Q1:1.11.0.2
	pkgsrc-2009Q1-base:1.11
	pkgsrc-2008Q4:1.10.0.2
	pkgsrc-2008Q4-base:1.10
	pkgsrc-2008Q3:1.9.0.14
	pkgsrc-2008Q3-base:1.9
	cube-native-xorg:1.9.0.12
	cube-native-xorg-base:1.9
	pkgsrc-2008Q2:1.9.0.10
	pkgsrc-2008Q2-base:1.9
	cwrapper:1.9.0.8
	pkgsrc-2008Q1:1.9.0.6
	pkgsrc-2008Q1-base:1.9
	pkgsrc-2007Q4:1.9.0.4
	pkgsrc-2007Q4-base:1.9
	pkgsrc-2007Q3:1.9.0.2
	pkgsrc-2007Q3-base:1.9
	pkgsrc-2007Q2:1.8.0.6
	pkgsrc-2007Q2-base:1.8
	pkgsrc-2007Q1:1.8.0.4
	pkgsrc-2007Q1-base:1.8
	pkgsrc-2006Q4:1.8.0.2
	pkgsrc-2006Q4-base:1.8
	pkgsrc-2006Q3:1.7.0.2
	pkgsrc-2006Q3-base:1.7
	pkgsrc-2006Q2:1.5.0.2
	pkgsrc-2006Q2-base:1.5
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.51
date	2026.02.14.07.41.01;	author taca;	state Exp;
branches;
next	1.50;
commitid	etNLqXSVWvAvFjuG;

1.50
date	2023.08.14.05.25.17;	author wiz;	state Exp;
branches;
next	1.49;
commitid	LOSB79OLVxvXjIAE;

1.49
date	2022.10.11.14.38.47;	author taca;	state Exp;
branches;
next	1.48;
commitid	NoEfNl5Gz9ahgjXD;

1.48
date	2022.06.30.11.18.51;	author nia;	state Exp;
branches;
next	1.47;
commitid	AhctUV91Vubws3KD;

1.47
date	2021.07.25.13.26.36;	author tm;	state Exp;
branches;
next	1.46;
commitid	P3zFHQsjhCIq6n2D;

1.46
date	2021.07.21.14.40.31;	author taca;	state Exp;
branches;
next	1.45;
commitid	kcfTbnkjf4vlDR1D;

1.45
date	2020.12.04.20.45.42;	author nia;	state Exp;
branches;
next	1.44;
commitid	FPz71MqRX3WN0tyC;

1.44
date	2020.09.01.08.01.26;	author wiz;	state Exp;
branches;
next	1.43;
commitid	0WUipVsfP3MuOjmC;

1.43
date	2020.08.31.18.11.29;	author wiz;	state Exp;
branches;
next	1.42;
commitid	7zxRbfOkDOoxbfmC;

1.42
date	2020.04.09.15.00.47;	author tm;	state Exp;
branches;
next	1.41;
commitid	84yBabbmCzWnNI3C;

1.41
date	2019.12.15.15.38.58;	author taca;	state Exp;
branches;
next	1.40;
commitid	51kr5x66nsEiJOOB;

1.40
date	2019.09.09.12.21.44;	author tm;	state Exp;
branches;
next	1.39;
commitid	Bfv9lDrkveejLkCB;

1.39
date	2019.08.11.13.23.10;	author wiz;	state Exp;
branches;
next	1.38;
commitid	Ifet9Pg6Qt99ZByB;

1.38
date	2019.04.25.07.33.19;	author maya;	state Exp;
branches;
next	1.37;
commitid	1FEMQBEPb9uTxHkB;

1.37
date	2018.08.22.09.46.36;	author wiz;	state Exp;
branches;
next	1.36;
commitid	YLub8g3ofvFGb6PA;

1.36
date	2016.07.09.06.39.02;	author wiz;	state Exp;
branches;
next	1.35;
commitid	dlqnocGpOoXV2Cdz;

1.35
date	2015.06.12.10.51.14;	author wiz;	state Exp;
branches;
next	1.34;
commitid	B4JmCfaVUbiY38py;

1.34
date	2014.05.29.23.37.29;	author wiz;	state Exp;
branches;
next	1.33;
commitid	laryHfkCalgYtuCx;

1.33
date	2014.05.17.16.10.48;	author wiz;	state Exp;
branches;
next	1.32;
commitid	vZBubLIZiAZOpUAx;

1.32
date	2014.03.11.14.34.40;	author jperkin;	state Exp;
branches;
next	1.31;
commitid	EXdByYWMBsGq2isx;

1.31
date	2013.07.25.11.41.25;	author he;	state Exp;
branches;
next	1.30;
commitid	SRvgbomvBfQtqQYw;

1.30
date	2013.07.12.10.45.03;	author jperkin;	state Exp;
branches;
next	1.29;
commitid	vVOw5ngQ2VNQxaXw;

1.29
date	2013.05.31.12.42.02;	author wiz;	state Exp;
branches;
next	1.28;
commitid	hIeXGcx6VfKHwMRw;

1.28
date	2013.03.03.01.10.15;	author joerg;	state Exp;
branches;
next	1.27;

1.27
date	2012.10.03.21.57.40;	author wiz;	state Exp;
branches;
next	1.26;

1.26
date	2012.06.05.09.30.19;	author jym;	state Exp;
branches;
next	1.25;

1.25
date	2012.03.15.11.53.39;	author obache;	state Exp;
branches;
next	1.24;

1.24
date	2012.03.08.10.26.08;	author shattered;	state Exp;
branches;
next	1.23;

1.23
date	2011.10.23.11.39.04;	author shattered;	state Exp;
branches;
next	1.22;

1.22
date	2011.04.30.19.10.12;	author abs;	state Exp;
branches;
next	1.21;

1.21
date	2010.12.11.12.09.23;	author abs;	state Exp;
branches;
next	1.20;

1.20
date	2010.12.03.22.22.18;	author abs;	state Exp;
branches;
next	1.19;

1.19
date	2010.11.26.19.16.02;	author shattered;	state Exp;
branches;
next	1.18;

1.18
date	2010.10.27.18.23.13;	author shattered;	state Exp;
branches;
next	1.17;

1.17
date	2010.07.17.11.47.57;	author abs;	state Exp;
branches;
next	1.16;

1.16
date	2010.07.16.22.04.11;	author abs;	state Exp;
branches;
next	1.15;

1.15
date	2010.07.11.18.17.27;	author joerg;	state Exp;
branches;
next	1.14;

1.14
date	2010.07.11.18.15.47;	author joerg;	state Exp;
branches;
next	1.13;

1.13
date	2010.02.10.19.17.45;	author joerg;	state Exp;
branches;
next	1.12;

1.12
date	2009.08.30.08.19.43;	author tonnerre;	state Exp;
branches;
next	1.11;

1.11
date	2009.02.17.18.58.34;	author joerg;	state Exp;
branches;
next	1.10;

1.10
date	2008.10.15.13.13.09;	author he;	state Exp;
branches;
next	1.9;

1.9
date	2007.07.04.20.55.00;	author jlam;	state Exp;
branches;
next	1.8;

1.8
date	2006.12.05.14.53.32;	author xtraeme;	state Exp;
branches;
next	1.7;

1.7
date	2006.07.21.23.28.37;	author abs;	state Exp;
branches;
next	1.6;

1.6
date	2006.07.07.22.10.07;	author jlam;	state Exp;
branches;
next	1.5;

1.5
date	2006.06.27.13.05.49;	author he;	state Exp;
branches;
next	1.4;

1.4
date	2006.06.09.13.22.44;	author he;	state Exp;
branches;
next	1.3;

1.3
date	2006.06.08.19.19.05;	author he;	state Exp;
branches;
next	1.2;

1.2
date	2006.06.08.18.59.25;	author he;	state Exp;
branches;
next	1.1;

1.1
date	2006.06.04.20.53.56;	author he;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2006.06.04.20.53.56;	author he;	state Exp;
branches;
next	;


desc
@@


1.51
log
@Bump PKGREVISION by changing of default Ruby's version.
@
text
@# $NetBSD: Makefile,v 1.50 2023/08/14 05:25:17 wiz Exp $

PKGNAME=	${DISTNAME:S/munin/munin-node/}
PKGREVISION=	4
COMMENT=	System monitoring tool, client version

.include "../../sysutils/munin-common/Makefile.common"

DEPENDS+=	munin-common>=${PKGVERSION_NOREV}:../../sysutils/munin-common
DEPENDS+=	p5-IO-Socket-INET6>=0:../../net/p5-IO-Socket-INET6
DEPENDS+=	p5-List-MoreUtils>=0:../../devel/p5-List-MoreUtils
DEPENDS+=	p5-Net-SSLeay>=0:../../security/p5-Net-SSLeay
DEPENDS+=	p5-Net-Server>=0:../../net/p5-Net-Server
DEPENDS+=	p5-Socket6>=0:../../net/p5-Socket6
#DEPENDS+=	p5-Time-HiRes>=0:../../time/p5-Time-HiRes

OWN_DIRS=		${PKG_SYSCONFDIR}/plugin-conf.d
OWN_DIRS+=		${PKG_SYSCONFDIR}/plugins

OWN_DIRS_PERMS+=	${MUNIN_DBDIR} ${MUNIN_USER} ${MUNIN_GROUP} 0755
OWN_DIRS_PERMS+=	${MUNIN_LOGDIR} ${MUNIN_USER} ${MUNIN_GROUP} 0755
OWN_DIRS_PERMS+=	${MUNIN_PLUGSTATE} nobody ${MUNIN_GROUP} 0775
OWN_DIRS_PERMS+=	${MUNIN_SPOOLDIR} ${MUNIN_USER} ${MUNIN_GROUP} 0775
OWN_DIRS_PERMS+=	${MUNIN_STATEDIR} ${MUNIN_USER} ${MUNIN_GROUP} 0755

REPLACE_PERL+=		node/sbin/munin-node
REPLACE_PERL+=		node/sbin/munin-node-configure
REPLACE_PERL+=		node/sbin/munin-run
REPLACE_PERL+=		plugins/node.d/slony_lag_.in

CONF_FILES+=		${EGDIR}/munin-node.conf ${PKG_SYSCONFDIR}/munin-node.conf
INSTALLATION_DIRS+=	${EGDIR}

CHECK_INTERPRETER_SKIP+=	lib/munin/plugins/tomcat_

CHECK_PORTABILITY_SKIP+=	plugins/*

RCD_SCRIPTS+=		munin-node

BUILD_TARGET=		build
INSTALL_TARGET=		install-node install-node-plugins

post-install:
	${INSTALL_DATA} ${WRKSRC}/build/node/munin-node.conf ${DESTDIR}${EGDIR}

.include "../../lang/python/application.mk"
.include "../../lang/ruby/rubyversion.mk"
.include "../../mk/bsd.pkg.mk"
@


1.50
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.49 2022/10/11 14:38:47 taca Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.49
log
@Bump revision by default Ruby's version change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.48 2022/06/30 11:18:51 nia Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.48
log
@*: Revbump packages that use Python at runtime without a PKGNAME prefix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.47 2021/07/25 13:26:36 tm Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.47
log
@munin: update to version 2.0.67

Bugfix release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.45 2020/12/04 20:45:42 nia Exp $
d4 1
@


1.46
log
@Bump PKGREVISION for affected packages by changing default Ruby's version.
@
text
@a3 1
PKGREVISION=	4
@


1.45
log
@Revbump packages with a runtime Python dep but no version prefix.

For the Python 3.8 default switch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.44 2020/09/01 08:01:26 wiz Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.44
log
@*: comment out p5-Time-HiRes dependency, part of perl
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.43 2020/08/31 18:11:29 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.43
log
@*: bump PKGREVISION for perl-5.32.
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.42 2020/04/09 15:00:47 tm Exp $
#
d4 1
a4 1
PKGREVISION=	1
d15 1
a15 1
DEPENDS+=	p5-Time-HiRes>=0:../../time/p5-Time-HiRes
@


1.42
log
@munin: update to version 2.0.56

Bugfix release which include build fixes for pkgsrc
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2019/12/15 15:38:58 taca Exp $
d5 1
@


1.41
log
@Bump PKGREVISION by change of default Ruby version

Bump PKGREVISION by change of default Ruby version from 2.4.x to 2.6.x.
These packages are depends on Ruby in some ways.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2019/09/09 12:21:44 tm Exp $
a4 1
PKGREVISION=	1
d17 2
a18 2
OWN_DIRS+=		${PKG_SYSCONFDIR}/plugin-conf.d
OWN_DIRS=		${PKG_SYSCONFDIR}/plugins
d36 2
@


1.40
log
@munin: update to version 2.0.49

Version bump from outdated version 1.x to munin 2.0.49. Developed and imported
from WIP in cooperation with Sebastian Wiedenroth, Roland Illig, Filip Hajny and
Francois Tigeot.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2015/01/13 15:36:06 fhajny Exp $
d5 1
@


1.39
log
@Bump PKGREVISIONs for perl 5.30.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2019/04/25 07:33:19 maya Exp $
d4 1
a4 9
DISTNAME=	munin_${VER}
VER=		1.3.2
PKGNAME=	munin-node-${VER}
PKGREVISION=	22
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=munin/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://munin-monitoring.org/
d7 1
a7 3
PKG_DESTDIR_SUPPORT=	destdir

USERGROUP_PHASE=	pre-install
d9 4
d14 2
a15 2
DEPENDS+=	p5-Net-SSLeay>=0:../../security/p5-Net-SSLeay
DEPENDS+=	munin-doc>=1.3.1:../../sysutils/munin-doc
d17 2
a18 1
.include "../../mk/bsd.prefs.mk"
d20 10
a29 3
USE_TOOLS+=	perl:run tar
USE_TOOLS+=	gmake
USE_PKGINSTALL=	YES
d31 2
a32 33
WRKSRC=		${WRKDIR}/${DISTNAME:S:_:-:}

PLIST_VARS+=	sunos not-sunos netbsd not-netbsd linux not-linux

.if ${OPSYS} == "Linux"
PLIST.linux=	yes
.else
PLIST.not-linux= yes
.endif

.if ${OPSYS} == "NetBSD"
PLIST.netbsd=	yes
.else
PLIST.not-netbsd= yes
.endif

.if ${OPSYS} == "SunOS"
PLIST.sunos=	yes
.else
PLIST.not-sunos= yes
.endif

PKG_GROUPS_VARS+=	MUNIN_GROUP
PKG_USERS_VARS+=	MUNIN_USER

MUNIN_GROUP?=	munin
MUNIN_USER?=	munin

PKG_GROUPS=	${MUNIN_GROUP}
PKG_USERS=	${MUNIN_USER}:${MUNIN_GROUP}
PKG_GECOS.${MUNIN_USER}=	Munin user
PKG_SYSCONFSUBDIR?=	munin
REPLACE_PERL+=	node/node.d/*.in
d34 1
a34 2
STATEDIR?=	${VARBASE}/munin/plugin-state
MUNIN_RUN?=	${VARBASE}/run/munin
d36 1
a36 42
MAKE_DIRS+=	${PKG_SYSCONFDIR}/plugins

OWN_DIRS+=	${VARBASE}/munin
OWN_DIRS+=	${MUNIN_RUN}
OWN_DIRS+=	${VARBASE}/log/munin
OWN_DIRS+=	${STATEDIR}

OWN_DIRS_PERMS+=${VARBASE}/munin ${MUNIN_USER} ${MUNIN_GROUP} 0755
OWN_DIRS_PERMS+=${MUNIN_RUN} ${MUNIN_USER} ${MUNIN_GROUP} 0755
OWN_DIRS_PERMS+=${VARBASE}/log/munin ${MUNIN_USER} ${MUNIN_GROUP} 0755
OWN_DIRS_PERMS+=${STATEDIR} ${MUNIN_USER} ${MUNIN_GROUP} 0775

INSTALL_TARGET=	install-node install-node-plugins

BUILD_TARGET=	build

#MAKE_ENV+=	PERL5_SITELIB=${PERL5_SITELIB}
MAKE_ENV+=	PREFIX=${PREFIX}
MAKE_ENV+=	CONFDIR=${PKG_SYSCONFDIR}
MAKE_ENV+=	MUNIN_USER=${MUNIN_USER}
MAKE_ENV+=	MUNIN_GROUP=${MUNIN_GROUP}
MAKE_ENV+=	PERL5=${PERL5:Q}
MAKE_ENV+=	PYTHONBIN=${PYTHONBIN:Q}

FILES_SUBST+=	PERL=${PERL5:Q}
FILES_SUBST+=	PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
FILES_SUBST+=	STATEDIR=${STATEDIR}
FILES_SUBST+=	MUNIN_RUN=${MUNIN_RUN:Q}
FILES_SUBST+=	MUNIN_USER=${MUNIN_USER:Q}
FILES_SUBST+=	MUNIN_GROUP=${MUNIN_GROUP:Q}

MESSAGE_SUBST+=	VARBASE=${VARBASE:Q}

BUILD_DEFS+=	VARBASE

RCD_SCRIPTS+=	munin-node
SMF_NAME=	munin

EGDIR=		${PREFIX}/share/examples/munin

CONF_FILES+=	${EGDIR}/munin-node.conf ${PKG_SYSCONFDIR}/munin-node.conf
INSTALLATION_DIRS+=	${EGDIR}
d38 2
a39 2
pre-configure:
	cd ${FILESDIR}; ${TAR} cf - . | (cd ${WRKSRC}; ${TAR} xfp -)
d45 1
@


1.38
log
@PKGREVISION bump for anything using python without a PYPKGPREFIX.

This is a semi-manual PKGREVISION bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2018/08/22 09:46:36 wiz Exp $
d7 1
a7 1
PKGREVISION=	21
@


1.37
log
@Recursive bump for perl5-5.28.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.36 2016/07/09 06:39:02 wiz Exp $
d7 1
a7 1
PKGREVISION=	20
@


1.36
log
@Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2015/06/12 10:51:14 wiz Exp $
d7 1
a7 1
PKGREVISION=	19
@


1.35
log
@Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2014/05/29 23:37:29 wiz Exp $
d7 1
a7 1
PKGREVISION=	18
@


1.34
log
@Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2014/05/17 16:10:48 wiz Exp $
d7 1
a7 1
PKGREVISION=	17
@


1.33
log
@Bump applications PKGREVISIONs for python users that might be using
python3, since the default changed from python33 to python34.

I probably bumped too many. I hope I got them all.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2014/03/11 14:34:40 jperkin Exp $
d7 1
a7 1
PKGREVISION=	16
@


1.32
log
@Import initial SMF support for individual packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2013/07/25 11:41:25 he Exp $
d7 1
a7 1
PKGREVISION=	15
@


1.31
log
@Add an entropy monitoring script for NetBSD.  This script needs to run
as root, so you need a ${SYSCONFDIR}/munin/plugin-conf.d/entropy file
with

[entropy]
   user root

as contents to get any values.  And... at the same time, I notice that
the postfix_mailqueue script also needs a postfix plugin-conf.d file with

[postfix_mailqueue]
  user postfix

as contents to get any values.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2013/07/12 10:45:03 jperkin Exp $
d102 1
@


1.30
log
@Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2013/05/31 12:42:02 wiz Exp $
d7 1
a7 1
PKGREVISION=	14
@


1.29
log
@Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2013/03/03 01:10:15 joerg Exp $
d7 1
a7 1
PKGREVISION=	13
@


1.28
log
@munich group must exist for install to work.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2012/10/03 21:57:40 wiz Exp $
d7 1
a7 1
PKGREVISION=	12
@


1.27
log
@Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2012/06/05 09:30:19 jym Exp $
d17 2
@


1.26
log
@Kill USERGROUP_PHASE=pre-install as this hardcodes the UID/GID in the
+INSTALL script. This causes problems when you build the package on one
machine but install it on another not necessarily with the same
accounts configured.

XXX any real use for USERGROUP_PHASE=pre-install? IIUC pkg_install
installs USERGROUP during pre-install-script target by default, making it
explicit seems to cause more problems than it solves...
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2012/03/15 11:53:39 obache Exp $
d7 1
a7 1
PKGREVISION=	11
@


1.25
log
@Bump PKGREVISION from default python to 2.7.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2012/03/08 10:26:08 shattered Exp $
a50 1
USERGROUP_PHASE=	pre-install
@


1.24
log
@Update home page URL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2011/10/23 11:39:04 shattered Exp $
d7 1
a7 1
PKGREVISION=	10
@


1.23
log
@- don't MAKE dirs that we OWN
- use values of STATEDIR and MUNIN_RUN in OWN_DIRS/OWN_DIRS_PERMS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2011/04/30 19:10:12 abs Exp $
d12 1
a12 1
HOMEPAGE=	http://munin.sourceforge.net/
@


1.22
log
@Fix a "/usr/bin/env python" usage,  bump pkgrevision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2010/12/11 12:09:23 abs Exp $
d7 1
a7 1
PKGREVISION=	9
d65 1
a65 4
MAKE_DIRS=	${VARBASE}/munin
MAKE_DIRS+=	${VARBASE}/run/munin
MAKE_DIRS+=	${VARBASE}/log/munin
MAKE_DIRS+=	${STATEDIR}
d67 2
a68 2
OWN_DIRS=	${VARBASE}/munin
OWN_DIRS+=	${VARBASE}/run/munin
d70 1
a70 1
OWN_DIRS+=	${VARBASE}/munin/plugin-state
d73 1
a73 1
OWN_DIRS_PERMS+=${VARBASE}/run/munin ${MUNIN_USER} ${MUNIN_GROUP} 0755
d75 1
a75 1
OWN_DIRS_PERMS+=${VARBASE}/munin/plugin-state ${MUNIN_USER} ${MUNIN_GROUP} 0775
@


1.21
log
@fix PLIST on linux, bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2010/12/03 22:22:18 abs Exp $
d7 1
a7 1
PKGREVISION=	8
d90 1
@


1.20
log
@fix PLIST on Linux - bump pkgrevision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2010/11/26 19:16:02 shattered Exp $
d7 1
a7 1
PKGREVISION=	7
@


1.19
log
@Add plugin to monitor swap usage.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2010/10/27 18:23:13 shattered Exp $
d7 1
a7 1
PKGREVISION=	6
@


1.18
log
@Also ignore null and union filesystems, bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2010/07/17 11:47:57 abs Exp $
d7 1
a7 1
PKGREVISION=	5
@


1.17
log
@Adjust DESTDIR support so it no longer leaves installed files full of destdir references - bump pkgrevision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2010/07/16 22:04:11 abs Exp $
d7 1
a7 1
PKGREVISION=	4
@


1.16
log
@Fix PLIST under at least Linux, no change intended for other platforms.
Tested under Linux & NetBSD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2010/07/11 18:17:27 joerg Exp $
d7 1
a7 1
PKGREVISION=	3
d86 1
a86 2
MAKE_ENV+=	CONFDIR=${DESTDIR}${PKG_SYSCONFDIR}
INSTALL_MAKE_ENV+=	CONFDIR=${PKG_SYSCONFDIR}
@


1.15
log
@gecos field is quoted, so no need for manual quoting
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2010/07/11 18:15:47 joerg Exp $
d29 13
a41 1
PLIST_VARS+=	sunos not-sunos
@


1.14
log
@DESTDIR support. Fix usage of PKG_USERS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2010/02/10 19:17:45 joerg Exp $
d46 1
a46 1
PKG_GECOS.${MUNIN_USER}=	Munin\\ user
@


1.13
log
@Bump revision for PYTHON_VERSION_DEFAULT change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2009/08/30 08:19:43 tonnerre Exp $
d15 2
d39 1
d45 2
a46 1
PKG_USERS=	${MUNIN_USER}:${MUNIN_GROUP}::Munin\\ user
d74 2
a75 1
MAKE_ENV+=	CONFDIR=${PKG_SYSCONFDIR}
d96 1
a96 1

d102 1
a102 2
	${INSTALL_DATA_DIR} ${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/build/node/munin-node.conf ${EGDIR}
@


1.12
log
@Solaris has a different set of plugins, adapt plist.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2009/02/17 18:58:34 joerg Exp $
d7 1
a7 1
PKGREVISION=	2
d100 1
a101 1
.include "../../lang/python/application.mk"
@


1.11
log
@Fix bash script to require only sh. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2008/10/15 13:13:09 he Exp $
d19 2
d27 8
d69 1
@


1.10
log
@Convert from using an input-less awk job (how did that ever work?)
to using shell arithmetic, which should be more light-weight and should
not pose a danger of hanging.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2007/07/04 20:55:00 jlam Exp $
d7 1
a7 1
PKGREVISION=	1
@


1.9
log
@Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2006/12/05 14:53:32 xtraeme Exp $
d7 1
@


1.8
log
@Update munin packages to 1.3.2, latest development release
with fixes from the stable branch.

Changes since previous version:

This release implements proper TLS support, as well as all the
bugfixes from the 1.2 stable series.

pkgsrc changes:

* Fixed many pkglint warnings.
* Install munin.conf and munin-node.conf as ${INSTALL_DATA} not
  ${INSTALL_SCRIPT}, I couldn't see any reason why those were
  installed as scripts.
* Added VARBASE into BUILD_DEFS, as suggested by pkglint.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2006/07/21 23:28:37 abs Exp $
d24 3
@


1.7
log
@Use PKG_SYSCONFSUBDIR so PKG_SYSCONFBASE can be set
Use REPLACE_PERL on all plugins
Adjust sensors_ to work with NetBSD 3
Bump PKGREVISION
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2006/07/07 22:10:07 jlam Exp $
d5 1
a5 1
VER=		1.3.1
a8 1
PKGREVISION=	4
d18 1
a18 1
USE_TOOLS+=	perl:run
d69 2
d83 1
a83 1
	${INSTALL_SCRIPT} ${WRKSRC}/build/node/munin-node.conf ${EGDIR}
@


1.6
log
@Add an explicit run-time dependency on perl because these packages
install perl scripts.  Bump the PKGREVISION for the dependency change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2006/06/27 13:05:49 he Exp $
d9 1
a9 1
PKGREVISION=	3
d30 2
d56 1
d74 1
a74 1
CONF_FILES+=	${EGDIR}/munin-node.conf ${PKG_SYSCONFDIR}/munin/munin-node.conf
@


1.5
log
@Make sure /var/run/munin gets created on restart; /var/run is cleaned
out by NetBSD's rc.d scripts.  Also make STATEDIR overridable.
Bump revision to 2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2006/06/09 13:22:44 he Exp $
d9 1
a9 1
PKGREVISION=	2
d19 1
a19 1
USE_TOOLS+=	perl
@


1.4
log
@Add a message hinting with a sample newsyslog.conf entry.
Package contents the same, so revision not bumped.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2006/06/08 19:19:05 he Exp $
d9 1
a9 1
PKGREVISION=	1
d31 2
a32 1
STATEDIR=	${VARBASE}/munin/plugin-state
d61 3
@


1.3
log
@We can now depend on the munin-doc package, where the man pages
shared by munin-server and munin-node can be found.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2006/06/08 18:59:25 he Exp $
d61 2
@


1.2
log
@Remove installation of the documentation from this package, to be
provided by the soon-to-be-committed munin-doc package.

Other minor changes:
 o Remove comented-out bits from package Makefile
 o Re-ordered variables reported by NetBSD's cpu plugin script
 o Use shorter legend text in NetBSD's interrupts plugin script

Bumped package revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2006/06/04 20:53:56 he Exp $
d17 1
a17 1
#DEPENDS+=	munin-doc>=1.3.1:../../sysutils/munin-doc
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d4 3
a6 2
DISTNAME=	${PKGNAME:S:-node-:_:}
PKGNAME=	munin-node-1.3.1
d9 1
d17 1
a17 2
BUILD_DEPENDS+=	htmldoc>=0:../../www/htmldoc
BUILD_DEPENDS+= html2text>=0:../../textproc/html2text
d48 1
a48 2
INSTALL_TARGET=	install-doc install-man
INSTALL_TARGET+=install-node install-node-plugins
d50 1
a50 1
BUILD_TARGET=	build build-doc build-man
a51 1
#MAKE_ENV+=	PERL=${PERL5:Q}
a74 7
#pre-install:
#	sed -e "s!@@PKG_SYSCONFDIR@@!${PKG_SYSCONFDIR}!;	\
#		s!@@PERL@@!${PERL5}!;			\
#		s!@@PREFIX@@!${PREFIX}!;"			\
#		<${WRKSRC}/munin-node.sh \
#		> ${WRKSRC}/rc.d/munin-node

@


1.1.1.1
log
@Import the client version of the Munin system monitoring/graphing
tool -- project homepage is at http://munin.sourceforge.net/

This package has added support for NetBSD, via a number of new plugin
scripts where specific steps needs to be taken to collect information.

I also modified the ntp_ plugin script to make it possible to not
plot the NTP poll delay, leaving just jitter and offset, which IMO
produces a more telling graph.
@
text
@@
