Bug 234807 - ports-mgmt/pkg does not respect CONFLICTS_INSTALL
Summary: ports-mgmt/pkg does not respect CONFLICTS_INSTALL
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-pkg mailing list
URL:
Keywords:
Depends on:
Blocks: gitlab_config
  Show dependency treegraph
 
Reported: 2019-01-09 22:01 UTC by Matthias Fechner
Modified: 2019-01-09 22:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fechner freebsd_committer 2019-01-09 22:01:21 UTC
If you mark in a port some other port as conflicts, pkg does not handle this.
This makes it possible to have conflicting ports installed which e.g. overwrite file on runtime of these application.

One example is www/gitlab-ce and devel/gitolite.
Both of them are writing to a file /usr/local/git/.ssh/authorized_keys if the application is used.

As this conflict happens at runtime it is crucial that pkg respect the CONFLICT defitintion while installing packages.