Project

General

Profile

Actions

Bug #2301

closed

Adding symlinks for conf files when PBI packages have names that are substrings of each other

Added by Phillip Davis over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Package System
Target version:
Start date:
03/20/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:

Description

When installing Squid on 2.1-DEV the libwww, squid_radius_auth and squid packages are put on the system with PBI.
In pkg_utils.inc code tries to replace the conf files written by PBI with symlinks to the conf files that are written by pfSense. Code that tries to match {$pkg} fails when $pkg = "squid" because this matches both "squid" and "squid_radius_auth". The code needs to match more of the full PBI name, which always has a "-" after the base package name. So matching "squid-" will fix this issue. This is a general issue for packages that have names that are substrings of each other.
See the forum post [[http://forum.pfsense.org/index.php/topic,45487.15.html]] for the discussion.

Actions

Also available in: Atom PDF