Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2016 17:56:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213597] net/netatalk3: rc.d script incorrectly substituted after r423537
Message-ID:  <bug-213597-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213597

            Bug ID: 213597
           Summary: net/netatalk3: rc.d script incorrectly substituted
                    after r423537
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@FreeBSD.org

In r423537 net/netatalk3 was updated to use the new options framework (see =
also
bug 213192).  Unfortunately, the update has broken the substitution of
%%ZEROCONF%% in the rc.d script:

$ make showconfig
=3D=3D=3D> The following configuration options are available for netatalk3-=
3.1.10,1:
     ACL=3Doff: Enable ACL support
     DBUS=3Doff: D-Bus IPC system support
     KERBEROS=3Doff: Kerberos support
     KERBEROS5=3Doff: Kerberos 5 support
     LDAP=3Doff: LDAP protocol support
     LIBWRAP=3Doff: TCP wrapper support
     MYSQL=3Doff: Enable MySQL CNID backend support
     PAM=3Doff: Pluggable authentication module support
     SENDFILE=3Doff: Enable Sendfile support
=3D=3D=3D=3D> Zeroconf(Bonjour) support: you can only select none or one of=
 them
     AVAHI=3Doff: Zeroconf support via Avahi
     MDNSRESPONDER=3Don: Zeroconf support via mDNSResponder
=3D=3D=3D> Use 'make config' to modify these settings
$ make
... build build build ...
=3D=3D=3D> Staging rc.d startup script(s)
$ head /wkrdirs/usr/ports/net/netatalk3/work/stage/usr/local/etc/rc.d/netat=
alk
#!/bin/sh
#
# $FreeBSD: head/net/netatalk3/files/netatalk.in 398560 2015-10-04 01:23:32Z
marcus $
#
# PROVIDE: netatalk
# REQUIRE: DAEMON %%ZEROCONF%%
# KEYWORD: shutdown
#
# AFP fileserver for Mac clients.  Add the following to /etc/rc.conf to
# enable:

I also tried with ZEROCONF completely off, but it results in the same issue.

However, I am unsure how to get the functionality of the earlier Makefile,
which had:

SUB_LIST+=3D              ZEROCONF=3D""

in case of zeroconf being turned off,

SUB_LIST+=3D              ZEROCONF=3D"avahi_daemon"

in case of avahi, and

SUB_LIST+=3D              ZEROCONF=3D"mdnsd"

in case of mdnsresponder.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213597-13>