File:  [cvs.NetBSD.org] / pkgsrc / net / nagios-plugins / Makefile.common
Revision 1.17: download - view: text, annotated - select for diffs
Fri Mar 17 12:40:34 2023 UTC (22 months, 1 week ago) by jperkin
Branches: MAIN
CVS tags: HEAD
nagios-plugins: Update to 2.4.3.

The distribution includes a broken NEWS file that refers to a non-existant
version 2.3.4, and a ChangeLog that has not been updated since 2020, so it is
assumed that the following changes are in this release, even though the version
number is wrong.  This update is primarily for the Solaris build fix.

2.3.4 ????-??-??
        pst3.c: Fix build issue on Solaris (#537)
        check_log: Fix error message for systems that don't use bash (#539)

# $NetBSD: Makefile.common,v 1.17 2023/03/17 12:40:34 jperkin Exp $
#
# used by net/nagios-plugin-ldap/Makefile
# used by net/nagios-plugin-mysql/Makefile
# used by net/nagios-plugin-pgsql/Makefile
# used by net/nagios-plugin-radius/Makefile
# used by net/nagios-plugin-snmp/Makefile
# used by net/nagios-plugin-spamd/Makefile
# used by net/nagios-plugins/Makefile

PLUGINSVERSION=	2.4.3
DISTNAME=	nagios-plugins-${PLUGINSVERSION}
MASTER_SITES?=	http://nagios-plugins.org/download/

.include "../../net/nagios-base/Makefile.common"

DISTINFO_FILE=	${.CURDIR}/../../net/nagios-plugins/distinfo
PATCHDIR=	${.CURDIR}/../../net/nagios-plugins/patches

BUILD_DEFS+=	NAGIOS_USER NAGIOS_GROUP

CONFIGURE_ARGS.DragonFly+=	fu_cv_sys_stat_statvfs=no

CONFIGURE_ARGS+=	--with-nagios-user=${NAGIOS_USER:Q}
CONFIGURE_ARGS+=	--with-nagios-group=${NAGIOS_GROUP:Q}
CONFIGURE_ARGS+=	--datarootdir=${PREFIX}/share/nagios
CONFIGURE_ARGS+=	--with-ldap=no

CONFIGURE_ENV+=		MACHINE_ARCH=${MACHINE_ARCH}

CVSweb <webmaster@jp.NetBSD.org>