[Bug 219684] ports-mgmt/portlint: change the CONFLICTS warnings

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 31 12:34:33 UTC 2017


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

            Bug ID: 219684
           Summary: ports-mgmt/portlint: change the CONFLICTS warnings
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus at FreeBSD.org
          Reporter: mat at FreeBSD.org
             Flags: maintainer-feedback?(marcus at FreeBSD.org)
          Assignee: marcus at FreeBSD.org

Before pkg came along, different packages could have the same name, and it was
ok, so we were forced to have CONFLICTS line looking like this:

CONFLICTS=     bind9*-9.[45678].* bind9*-sdb-9.[45678].* bind910-* bind911-*
bind-tools-9.*

Now, all packages name must be different, so if one port conflicts with
another, all it needs to say is:

CONFLICTS=     bind-tools bind9-devel bind910 bind911

But with this perfectly fine line, portlint says:

WARN: Conflict "bind-tools" specified too narrow. You should end it with a
wildcard (-[0-9]*).
WARN: Conflict "bind9-devel" specified too narrow. You should end it with a
wildcard (-[0-9]*).
WARN: Conflict "bind910" specified too narrow. You should end it with a
wildcard (-[0-9]*).
WARN: Conflict "bind911" specified too narrow. You should end it with a
wildcard (-[0-9]*).

Which is wrong, whilst adding -[0-9]* would work and do the same thing, it is
unneeded, and it makes the conflicts lines so much harder to read.

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


More information about the freebsd-ports-bugs mailing list