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.
A commit references this bug: Author: marcus Date: Sun Jun 4 22:24:30 UTC 2017 New revision: 442596 URL: https://svnweb.freebsd.org/changeset/ports/442596 Log: Update to 2.17.9 * Remove a check for narrow conflicts now that we are in the post-pkg world [1] * Genericize the USES_ sorting code and check to see if NOT_FOR_ARCHS and ONLY_FOR_ARCHS are sorted. [2] * Fix the check for JAVALIBDIR so that it falls before the variable expansion code. [3] PR: 219684 [1] 218823 [2] 219360 [3] Submitted by: eugen [3] Changes: head/ports-mgmt/portlint/Makefile head/ports-mgmt/portlint/src/portlint.pl
Fixed in 2.17.9
Hi Mathieu and Joe. Now is showing this: > $ portlint -C > [...] > WARN: Conflict "bind-tools" specified too broad. You should end it with a version number fragment (-[0-9]*). > WARN: Conflict "bind9-devel" specified too broad. You should end it with a version number fragment (-[0-9]*). > WARN: Conflict "bind910" specified too broad. You should end it with a version number fragment (-[0-9]*). > WARN: Conflict "bind911" specified too broad. You should end it with a version number fragment (-[0-9]*). > [...] This warning above should be removed as well, right ? And thank you for updating portlint. Regards.
I have made the change to my local repo. Unless there's an objection, I'll commit to svn.
Fixed in 2.17.10.