From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 6 23:10:00 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 ESMTPS id A0FDA1C1 for ; Fri, 6 Dec 2013 23:10:00 +0000 (UTC) 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 7B2431A44 for ; Fri, 6 Dec 2013 23:10: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 rB6NA0b4080716 for ; Fri, 6 Dec 2013 23:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB6NA09q080715; Fri, 6 Dec 2013 23:10:00 GMT (envelope-from gnats) Resent-Date: Fri, 6 Dec 2013 23:10:00 GMT Resent-Message-Id: <201312062310.rB6NA09q080715@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 ESMTPS id 039F7C7D for ; Fri, 6 Dec 2013 23:01:00 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CA29319C6 for ; Fri, 6 Dec 2013 23:00:59 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rB6N0xSp010394 for ; Fri, 6 Dec 2013 23:00:59 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rB6N0x3F010389; Fri, 6 Dec 2013 23:00:59 GMT (envelope-from nobody) Message-Id: <201312062300.rB6N0x3F010389@oldred.freebsd.org> Date: Fri, 6 Dec 2013 23:00:59 GMT From: "Bradley T. Hughes" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/184552: net/netatalk3 now silently depends on libsunacl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2013 23:10:00 -0000 >Number: 184552 >Category: ports >Synopsis: net/netatalk3 now silently depends on libsunacl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 06 23:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Bradley T. Hughes >Release: 10.0-BETA4 >Organization: >Environment: FreeBSD freebsd10.local 10.0-BETA4 FreeBSD 10.0-BETA4 #0 r258774: Sun Dec 1 00:51:31 UTC 2013 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: After net/netatalk3 was updated to 3.1.0, the configure script picks up libsunacl if it was previously installed, but the port itself isn't marked as being dependent on libsunacl. >How-To-Repeat: 1. make -C /usr/ports/sysutils/libsunacl install 2. make -C /usr/ports/net/netatalk3 install 3. pkg delete libsunacl 4. service netatalk start The service fails to start because it can't find the libsunacl shared libraries (which were just removed). >Fix: See attached patch. Patch attached with submission follows: diff -urN /usr/ports/net/netatalk3/Makefile netatalk3/Makefile --- /usr/ports/net/netatalk3/Makefile 2013-11-16 19:29:47.000000000 +0100 +++ netatalk3/Makefile 2013-12-03 07:04:19.534549353 +0100 @@ -3,6 +3,7 @@ PORTNAME= netatalk PORTVERSION= 3.1.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= SF @@ -36,7 +37,7 @@ --with-libevent-header=${LOCALBASE}/include \ --with-libevent-lib=${LOCALBASE}/lib/event2 -OPTIONS_DEFINE=PAM KRB5 LDAP SENDFILE KERBEROS DTRACE DBUS MYSQL +OPTIONS_DEFINE=PAM KRB5 LDAP SENDFILE KERBEROS DTRACE DBUS MYSQL ACL OPTIONS_DEFAULT=KERBEROS DBUS OPTIONS_RADIO=ZEROCONF OPTIONS_RADIO_ZEROCONF=AVAHI MDNSRESPONDER @@ -47,6 +48,7 @@ DTRACE_DESC= Enable DTrace support SENDFILE_DESC= Enable Sendfile support MYSQL_DESC= Enable MySQL CNID backend support +ACL_DESC= Enable ACL support .include @@ -126,6 +128,13 @@ CONFIGURE_ARGS+=--with-mysql-config=/nonexistent .endif +.if ${PORT_OPTIONS:MACL} +LIB_DEPENDS+= sunacl:${PORTSDIR}/sysutils/libsunacl +CONFIGURE_ARGS+= --with-acls +.else +CONFIGURE_ARGS+= --without-acls +.endif + .if ${OSVERSION} < 800031 PLIST_SUB+= ATFUNCS="@comment " .else >Release-Note: >Audit-Trail: >Unformatted: