Date: Wed, 17 Oct 2018 15:38:14 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 223594] New port: net/parpd Proxy-ARP daemon Message-ID: <bug-223594-7788-s7bbvhIUzH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-223594-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-223594-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223594 Tobias Kortkamp <tobik@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Assignee|ports-bugs@FreeBSD.org |tobik@freebsd.org --- Comment #6 from Tobias Kortkamp <tobik@freebsd.org> --- (In reply to Nathan from comment #5) > What I=E2=80=99d change would be ${MAN8PREFIX}/man/man8 to ${MANDIRS}/man8 No, it's correct as is. MANDIRS (as the name implies) can be multiple=20 directories. +eval ": \${${name}_enable:=3D'NO'}" +eval ": \${${name}_flags:=3D%%PREFIX%%/etc/${name}.conf}" +eval "config_file=3D\$${name}_flags" + +[ -s "$config_file" ] || err 1 "Missing configuration file '$config_file'" + +if get_pidfile_from_conf pidfile "$config_file"; then + pidfile=3D"$_pidfile_from_conf" +else + err 1 "$config_file does not specify an pidfile" +fi This looks dubious to me. Can you put this in a start_precmd instead? Otherwise this LGTM. --=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-223594-7788-s7bbvhIUzH>