From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 25 20:20:10 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D049106566B for ; Wed, 25 Jul 2012 20:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 794008FC12 for ; Wed, 25 Jul 2012 20:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6PKK92Z079964 for ; Wed, 25 Jul 2012 20:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6PKK99m079963; Wed, 25 Jul 2012 20:20:09 GMT (envelope-from gnats) Resent-Date: Wed, 25 Jul 2012 20:20:09 GMT Resent-Message-Id: <201207252020.q6PKK99m079963@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mark Felder Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 492DD106564A for ; Wed, 25 Jul 2012 20:17:48 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (unknown [IPv6:2607:f4e0:100:300::2]) by mx1.freebsd.org (Postfix) with ESMTP id 04C238FC0C for ; Wed, 25 Jul 2012 20:17:48 +0000 (UTC) Received: from feld by feld.me with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1Su81j-000PmV-0H; Wed, 25 Jul 2012 15:17:47 -0500 Message-Id: Date: Wed, 25 Jul 2012 15:17:47 -0500 From: Mark Felder To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/170176: [PATCH] net-mgmt/smokeping: optionsng, fping6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 20:20:11 -0000 >Number: 170176 >Category: ports >Synopsis: [PATCH] net-mgmt/smokeping: optionsng, fping6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 25 20:20:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Mark Felder >Release: FreeBSD 9.0-STABLE amd64 >Organization: >Environment: System: FreeBSD mwi1.coffeenet.org 9.0-STABLE FreeBSD 9.0-STABLE #3 r234963: Thu May 3 13:12:01 >Description: -OptionsNG -Added fping6 (conflicts with fping) https://redports.org/buildarchive/20120725200543-14976/ Port maintainer (rodrigo@bebik.net) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix) >How-To-Repeat: >Fix: --- smokeping-2.6.7_3.patch begins here --- diff -ruN --exclude=CVS ../smokeping.orig/Makefile ./Makefile --- ../smokeping.orig/Makefile 2012-07-10 07:12:44.000000000 -0500 +++ ./Makefile 2012-07-25 15:16:00.588309527 -0500 @@ -109,45 +109,56 @@ SUB_LIST= USERS=${USERS} \ GROUPS=${GROUPS} -OPTIONS= FPING "Support for fping probes" on -OPTIONS+= ECHOPING "Support for EchoPing probes" off -OPTIONS+= CURL "Support for Curl probes" off -OPTIONS+= LDAP "Support for LDAP probes" off -OPTIONS+= LDAPSSL "Support for SSL-enabled LDAP probes" off -OPTIONS+= RADIUS "Support for Radius probes" off -OPTIONS+= TELNET "Support for TelnetIOSPing probes" off -OPTIONS+= DNS "Support for AnotherDNS probes" off +FPING_DESC= Support for fping probes +FPING6_DESC= Support for IPv6-only fping probes +ECHOPING_DESC= Support for EchoPing probes +CURL_DESC= Support for Curl probes +LDAP_DESC= Support for LDAP probes +LDAPSSL_DESC= Support for SSL-enabled LDAP probes +RADIUS_DESC= Support for Radius probes +TELNET_DESC= Support for TelnetIOSPing probes +DNS_DESC= Support for AnotherDNS probes + +OPTIONS_DEFINE= ECHOPING CURL RADIUS TELNET DNS SG1 SG2 +OPTIONS_SINGLE= SG1 SG2 +OPTIONS_SINGLE_SG1= FPING FPING6 +OPTIONS_SINGLE_SG2= LDAP LDAPSSL +OPTIONS_DEFAULT= FPING SG1 .include -.ifdef(WITH_FPING) +.if ${PORT_OPTIONS:MFPING} RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping .endif -.ifdef(WITH_ECHOPING) +.if ${PORT_OPTIONS:MFPING6} +RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping+ipv6 +.endif + +.if ${PORT_OPTIONS:MECHOPING} RUN_DEPENDS+= ${LOCALBASE}/bin/echoping:${PORTSDIR}/net/echoping .endif -.ifdef(WITH_CURL) +.if ${PORT_OPTIONS:MCURL} RUN_DEPENDS+= ${LOCALBASE}/bin/curl:${PORTSDIR}/ftp/curl .endif -.if defined(WITH_LDAP) || defined(WITH_LDAPSSL) +.if ${PORT_OPTIONS:MLDAP} RUN_DEPENDS+= p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap .endif -.ifdef(WITH_RADIUS) +.if ${PORT_OPTIONS:MRADIUS} RUN_DEPENDS+= p5-Authen-Radius>=0:${PORTSDIR}/security/p5-Authen-Radius .endif -.ifdef(WITH_LDAPSSL) +.if ${PORT_OPTIONS:MLDAPSSL} RUN_DEPENDS+= p5-IO-Socket-SSL>=0:${PORTSDIR}/security/p5-IO-Socket-SSL .endif -.ifdef(WITH_TELNET) +.if ${PORT_OPTIONS:MTELNET} RUN_DEPENDS+= p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet .endif -.ifdef(WITH_DNS) +.if ${PORT_OPTIONS:MDNS} RUN_DEPENDS+= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS .endif --- smokeping-2.6.7_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: