From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Nov 2 22:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 118D0D59 for ; Sat, 2 Nov 2013 22:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 E40E52BEC for ; Sat, 2 Nov 2013 22:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA2MU0GF015671 for ; Sat, 2 Nov 2013 22:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA2MU0Io015670; Sat, 2 Nov 2013 22:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 2 Nov 2013 22:30:00 GMT Resent-Message-Id: <201311022230.rA2MU0Io015670@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, "Bradley T. Hughes" 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 ESMTP id 9084ED43 for ; Sat, 2 Nov 2013 22:28:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7DDBA2BE2 for ; Sat, 2 Nov 2013 22:28:41 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA2MSfId004284 for ; Sat, 2 Nov 2013 22:28:41 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA2MSeYD004188; Sat, 2 Nov 2013 22:28:40 GMT (envelope-from nobody) Message-Id: <201311022228.rA2MSeYD004188@oldred.freebsd.org> Date: Sat, 2 Nov 2013 22:28:40 GMT From: "Bradley T. Hughes" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183601: net/netatalk3 no longer needs to disable mDNSResponder support X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Nov 2013 22:30:01 -0000 >Number: 183601 >Category: ports >Synopsis: net/netatalk3 no longer needs to disable mDNSResponder support >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: Sat Nov 02 22:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Bradley T. Hughes >Release: 10.0-BETA2 >Organization: >Environment: FreeBSD freebsd10.local 10.0-BETA2 FreeBSD 10.0-BETA2 #0 r257166: Sat Oct 26 19:23:22 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The net/netatalk3 port has a patch that explicitly disables detection of the dns_sd.h header installed by net/mDNSResponder. This appears to have been disabled sometime last year in response to a PR, but the problem does not appear to exist anymore. The current Avahi dependency pulls in a great number of dependencies that are undesirable (at least for me). Attached is a patch to allow selecting net/mDNSResponder as an optional dependency when building net/netatalk3. Avahi remains the default. >How-To-Repeat: >Fix: See attached :) Patch attached with submission follows: diff -ur /usr/ports/net/netatalk3/Makefile netatalk3/Makefile --- /usr/ports/net/netatalk3/Makefile 2013-09-21 00:10:23.000000000 +0200 +++ netatalk3/Makefile 2013-11-02 23:17:57.390860610 +0100 @@ -3,6 +3,7 @@ PORTNAME= netatalk PORTVERSION= 3.0.5 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF @@ -33,10 +34,13 @@ --with-libevent-header=${LOCALBASE}/include \ --with-libevent-lib=${LOCALBASE}/lib/event2 -OPTIONS_DEFINE=PAM KRB5 ZEROCONF LDAP SENDFILE KERBEROS DTRACE DBUS -OPTIONS_DEFAULT=ZEROCONF KERBEROS DBUS +OPTIONS_DEFINE=PAM KRB5 LDAP SENDFILE KERBEROS DTRACE DBUS +OPTIONS_DEFAULT=KERBEROS DBUS +OPTIONS_SINGLE= ZEROCONF +OPTIONS_SINGLE_ZEROCONF=NOZEROCONF AVAHI MDNSRESPONDER +OPTIONS_DEFAULT+=AVAHI -ZEROCONF_DESC= Enable Zeroconf (Bonjour) support +NOZEROCONF_DESC=Disable Zeroconf(Bonjour) support KRB5_DESC= Enable Kerberos V UAM DTRACE_DESC= Enable DTrace support SENDFILE_DESC= Enable Sendfile support @@ -79,14 +83,23 @@ PLIST_SUB+= NETATALKPAM="@comment " .endif -.if ${PORT_OPTIONS:MZEROCONF} +.if ${PORT_OPTIONS:MNOZEROCONF} +CONFIGURE_ARGS+= --disable-zerconf +SUB_LIST+= ZEROCONF="" +.endif + +.if ${PORT_OPTIONS:MAVAHI} CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE} CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi-app SUB_LIST+= ZEROCONF="avahi_daemon" -.else -CONFIGURE_ARGS+= --disable-zerconf -SUB_LIST+= ZEROCONF="" +.endif + +.if ${PORT_OPTIONS:MMDNSRESPONDER} +CONFIGURE_ARGS+= --enable-zeroconf=${LOCALBASE} +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder +SUB_LIST+= ZEROCONF="mdnsd" .endif .if ${PORT_OPTIONS:MLDAP} diff -ur /usr/ports/net/netatalk3/files/patch-configure netatalk3/files/patch-configure --- /usr/ports/net/netatalk3/files/patch-configure 2012-07-14 16:29:18.000000000 +0200 +++ netatalk3/files/patch-configure 2013-10-31 13:22:08.909975764 +0100 @@ -1,14 +1,5 @@ --- configure.orig 2012-04-26 10:27:12.000000000 -0400 +++ configure 2012-07-08 21:21:38.000000000 -0400 -@@ -16127,7 +16127,7 @@ fi - fi - - # mDNS support using mDNSResponder -- ac_fn_c_check_header_mongrel "$LINENO" "dns_sd.h" "ac_cv_header_dns_sd_h" "$ac_includes_default" -+ ac_fn_c_check_header_mongrel "$LINENO" "xxxdns_sd.hxxx" "ac_cv_header_dns_sd_h" "$ac_includes_default" - if test "x$ac_cv_header_dns_sd_h" = xyes; then : - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DNSServiceRegister in -ldns_sd" >&5 - $as_echo_n "checking for DNSServiceRegister in -ldns_sd... " >&6; } @@ -18150,7 +18150,7 @@ if test "x$bdb_required" = "xyes"; then trybdbdir="" dobdbsearch=yes >Release-Note: >Audit-Trail: >Unformatted: