[Bug 202425] net/syncthing-cli: patch for hostname parser

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 18 22:31:53 UTC 2015


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

            Bug ID: 202425
           Summary: net/syncthing-cli: patch for hostname parser
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills at FreeBSD.org
          Reporter: peter at FreeBSD.org
             Flags: maintainer-feedback?(swills at FreeBSD.org)
          Assignee: swills at FreeBSD.org

Created attachment 159993
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159993&action=edit
Add a regexp fix to utils.go

There's a regexp bug in the hostname validator. We hit this in the freebsd.org
cluster where it doesn't allow '-' in hostname via the address setting calls. 
eg: the cli doesn't feel that something like "ftp-master.freebsd.org" is
allowed.

I've got this patch submitted upstream, but the github repo for syncthing-cli
tracks the master branch of syncthing but we're using the v0.11 branch. 
syncthing-cli no longer compiles with the v0.11 branch due to internal
reorganizations.

So, I've added the fix here rather than bumping the syncthing-cli port.

We are using this as a local patch in the cluster poudriere builds.

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


More information about the freebsd-ports-bugs mailing list