svn commit: r336543 - head/net-mgmt/nagios-plugins
Dmitry Sivachenko
demon at FreeBSD.org
Sun Dec 15 15:18:08 UTC 2013
Author: demon
Date: Sun Dec 15 15:18:07 2013
New Revision: 336543
URL: http://svnweb.freebsd.org/changeset/ports/336543
Log:
Add new option: EXTRAOPTS. It enables parsing of plugins ini
config files for extra options.
Submitted by: Chris 'sh0shin' Frage <cf at sh0shin.org>
Modified:
head/net-mgmt/nagios-plugins/Makefile
Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile Sun Dec 15 15:13:13 2013 (r336542)
+++ head/net-mgmt/nagios-plugins/Makefile Sun Dec 15 15:18:07 2013 (r336543)
@@ -18,8 +18,8 @@ USE_AUTOTOOLS= libtool aclocal autoconf
ACLOCAL_ARGS= -I m4 -I gl/m4
AUTOMAKE_ARGS= --add-missing
-OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 JAIL NLS DBI
-OPTIONS_DEFAULT=IPV6
+OPTIONS_DEFINE= QSTAT FPING NETSNMP RADIUS MYSQL PGSQL LDAP IPV6 JAIL NLS DBI EXTRAOPTS
+OPTIONS_DEFAULT=IPV6 EXTRAOPTS
QSTAT_DESC= Game server query support (check_game)
FPING_DESC= Support for non-flooding fast ping (check_fping)
@@ -30,6 +30,7 @@ PGSQL_DESC= PostgreSQL support (check_pg
LDAP_DESC= OpenLDAP support (check_ldap)
JAIL_DESC= Compilation within jail(8) (see Makefile)
DBI_DESC= Check database using DBI
+EXTRAOPTS_DESC= Parsing of plugins ini config files for extra options
GNU_CONFIGURE= yes
@@ -156,6 +157,10 @@ PLIST_SUB+= SUB_DNS="@comment "
PLIST_SUB+= SUB_DNS=""
.endif
+.if ${PORT_OPTIONS:MEXTRAOPTS}
+CONFIGURE_ARGS+= --enable-extra-opts
+.endif
+
post-patch:
.for file in check_by_ssh.c check_disk.c check_http.c check_mrtgtraf.c \
check_nagios.c check_ntp.c check_ntp_peer.c check_ntp_time.c \
More information about the svn-ports-head
mailing list