[Bug 213597] net/netatalk3: rc.d script incorrectly substituted after r423537

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 18 17:56:27 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213597

            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 at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(marcus at FreeBSD.org)
          Assignee: marcus at 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
===> The following configuration options are available for netatalk3-3.1.10,1:
     ACL=off: Enable ACL support
     DBUS=off: D-Bus IPC system support
     KERBEROS=off: Kerberos support
     KERBEROS5=off: Kerberos 5 support
     LDAP=off: LDAP protocol support
     LIBWRAP=off: TCP wrapper support
     MYSQL=off: Enable MySQL CNID backend support
     PAM=off: Pluggable authentication module support
     SENDFILE=off: Enable Sendfile support
====> Zeroconf(Bonjour) support: you can only select none or one of them
     AVAHI=off: Zeroconf support via Avahi
     MDNSRESPONDER=on: Zeroconf support via mDNSResponder
===> Use 'make config' to modify these settings
$ make
... build build build ...
===> Staging rc.d startup script(s)
$ head /wkrdirs/usr/ports/net/netatalk3/work/stage/usr/local/etc/rc.d/netatalk
#!/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+=              ZEROCONF=""

in case of zeroconf being turned off,

SUB_LIST+=              ZEROCONF="avahi_daemon"

in case of avahi, and

SUB_LIST+=              ZEROCONF="mdnsd"

in case of mdnsresponder.

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


More information about the freebsd-ports-bugs mailing list