From owner-svn-ports-head@FreeBSD.ORG Sun Dec 15 15:18:07 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E86234AB; Sun, 15 Dec 2013 15:18:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D46081AA7; Sun, 15 Dec 2013 15:18:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBFFI7ps058303; Sun, 15 Dec 2013 15:18:07 GMT (envelope-from demon@svn.freebsd.org) Received: (from demon@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBFFI7lf058302; Sun, 15 Dec 2013 15:18:07 GMT (envelope-from demon@svn.freebsd.org) Message-Id: <201312151518.rBFFI7lf058302@svn.freebsd.org> From: Dmitry Sivachenko Date: Sun, 15 Dec 2013 15:18:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336543 - head/net-mgmt/nagios-plugins X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Dec 2013 15:18:08 -0000 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 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 \