[Bug 259015] net/quoted: version 1.01_2 gives syntax error while trying to enable 'quoted' service

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 08 Oct 2021 21:19:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259015

            Bug ID: 259015
           Summary: net/quoted: version 1.01_2 gives syntax error while
                    trying to enable 'quoted' service
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: hex7c@libpluto.net
                CC: bobf@mrp3.com
             Flags: maintainer-feedback?(bobf@mrp3.com)
                CC: bobf@mrp3.com

Created attachment 228526
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=228526&action=edit
The diff file for /usr/local/etc/rc.d/quoted to fix the syntax error

Component: Service file for rc (/usr/local/etc/rc.d/quoted)
OS: FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f
Port in detail: net/quoted (1.01_2)

Details:
When running 'service quoted enable' immediately after installing net/quoted
with pkg, the following errors occur:

/usr/local/etc/rc.d/quoted: 1: Syntax error: Unterminated quoted string
/usr/local/etc/rc.d/quoted: 32: Syntax error: Error in command substitution

I am unsure if this affects others so I am listing this as "only me", but since
it is a fresh install of the package I would assume it affects everyone who
installs the package.
This can be fixed by simply editing line 32; one quote is missing. A diff is
attached for the individual file as an attachment.

I ran `patch /usr/local/etc/rc.d/quoted < quoted.diff` to fix the issue for
now.

Hope this bug report helps.

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