Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2017 12:34:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219684] ports-mgmt/portlint: change the CONFLICTS warnings
Message-ID:  <bug-219684-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219684

            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@FreeBSD.org
          Reporter: mat@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@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=3D     bind9*-9.[45678].* bind9*-sdb-9.[45678].* bind910-* bind91=
1-*
bind-tools-9.*

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

CONFLICTS=3D     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.

--=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-219684-13>