4ffe6915a9
Patch provided by Steve Mokris in joyent/pkgsrc#330. munin-2.0.69, 2021-11-22 Lars Kruse (1): Fix loading of "local_address" configuration munin-2.0.68, 2021-11-14 Andreas Perhab (1): plugins/postgres_: enable configuring warning/critical Christoph Moench-Tegeder (2): postgres_querylength: catch real statements only ntp_: do not mask required variable from Net::IP Guillaume Rousse (2): display locally-defined tresholds use dedicated munin SNMP plugin Kim B. Heino (2): plugins/mailman: add missing "graph_category" header plugins/postfix_mailqueue: don't run postconf if spooldir-override is defined Lars Kruse (11): Remove obsolete links to old bug tracker ("trac") Fix typo plugin.sh: remove conversation log regarding shell redirects Remove old "authors" file Fix typos munin-asyncd: use configured update rate if undefined Munin::Master::Node: unify configuration access munin-run: allow to pass additional arguments to the plugin (#1419) Fix homepage link fix(postgres_querylength_): fix wrong PostgreSQL version (for 9.4) docs: remove stale content from release checklist Sven Edge (1): Handle NVME drives in the Linux iostat plugin (2.0 branch) Ville Skyttä (1): Use `grep -E/-F` instead of `egrep` and `fgrep` wferi (1): Use the host-specific local_address configuration if present
77 lines
2.2 KiB
Makefile
77 lines
2.2 KiB
Makefile
# $NetBSD: Makefile.common,v 1.7 2022/04/04 11:45:33 jperkin Exp $
|
|
#
|
|
# used by sysutils/munin-common/Makefile
|
|
# used by sysutils/munin-master/Makefile
|
|
# used by sysutils/munin-node/Makefile
|
|
|
|
VERSION= 2.0.69
|
|
DISTNAME= munin-${VERSION}
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=munin/}
|
|
|
|
MAINTAINER= tm@NetBSD.org
|
|
HOMEPAGE= http://munin-monitoring.org/
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
BUILD_DEPENDS+= p5-Module-Build>=0.42050:../../devel/p5-Module-Build
|
|
DEPENDS= p5-Net-SSLeay>=0:../../security/p5-Net-SSLeay
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../sysutils/munin-common/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../sysutils/munin-common/patches
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
USE_LANGUAGES= # none
|
|
USE_TOOLS+= gmake bash:run perl:run
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
MUNIN_GROUP?= munin
|
|
MUNIN_USER?= munin
|
|
|
|
MUNIN_DBDIR?= ${VARBASE}/munin
|
|
MUNIN_LIBDIR= ${PREFIX}/lib/munin
|
|
MUNIN_LOGDIR?= ${VARBASE}/log/munin
|
|
MUNIN_PLUGSTATE?= ${MUNIN_DBDIR}/plugin-state
|
|
MUNIN_SPOOLDIR?= ${VARBASE}/spool/munin
|
|
MUNIN_STATEDIR?= ${VARBASE}/run/munin
|
|
MUNIN_WWWDIR?= ${PREFIX}/www
|
|
|
|
PKG_GROUPS_VARS+= MUNIN_GROUP
|
|
PKG_USERS_VARS+= MUNIN_USER
|
|
PKG_GROUPS= ${MUNIN_GROUP}
|
|
PKG_USERS= ${MUNIN_USER}:${MUNIN_GROUP}
|
|
PKG_GECOS.${MUNIN_USER}= Munin user
|
|
PKG_HOME.${MUNIN_USER}= ${MUNIN_DBDIR}
|
|
PKG_SHELL.${MUNIN_USER}= ${BASH}
|
|
|
|
PKG_SYSCONFSUBDIR?= munin
|
|
|
|
EGDIR= ${PREFIX}/share/examples/munin
|
|
|
|
REPLACE_PERL= ${WRKDIR}/${DISTNAME}/master/_bin/munin-update.in
|
|
|
|
FILES_SUBST+= MUNIN_GROUP=${MUNIN_GROUP}
|
|
FILES_SUBST+= MUNIN_RUN=${MUNIN_RUN:Q}
|
|
FILES_SUBST+= MUNIN_USER=${MUNIN_USER}
|
|
FILES_SUBST+= PERL=${PERL5:Q}
|
|
FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
|
|
FILES_SUBST+= STATEDIR=${STATEDIR}
|
|
|
|
MAKE_ENV+= PERL_USE_UNSAFE_INC=1
|
|
MAKE_ENV+= BASH=${BASH:Q}
|
|
MAKE_ENV+= CONFDIR=${PKG_SYSCONFDIR}
|
|
MAKE_ENV+= MUNIN_DBDIR=${MUNIN_DBDIR}
|
|
MAKE_ENV+= MUNIN_GROUP=${MUNIN_GROUP}
|
|
MAKE_ENV+= MUNIN_LOGDIR=${MUNIN_LOGDIR}
|
|
MAKE_ENV+= MUNIN_PLUGSTATE=${MUNIN_PLUGSTATE}
|
|
MAKE_ENV+= MUNIN_SPOOLDIR=${MUNIN_SPOOLDIR}
|
|
MAKE_ENV+= MUNIN_STATEDIR=${MUNIN_STATEDIR}
|
|
MAKE_ENV+= MUNIN_USER=${MUNIN_USER}
|
|
MAKE_ENV+= MUNIN_WWWDIR=${MUNIN_WWWDIR}
|
|
MAKE_ENV+= PERL5=${PERL5:Q}
|
|
MAKE_ENV+= PREFIX=${PREFIX}
|
|
MAKE_ENV+= PYTHONBIN=${PYTHONBIN:Q}
|
|
MAKE_ENV+= RUBY=${RUBY:Q}
|
|
|
|
MESSAGE_SUBST+= MUNIN_USER=${MUNIN_USER}
|