Bug 94089 - [PATCH] squirrelmail-compatibility-plugin
Summary: [PATCH] squirrelmail-compatibility-plugin
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 12:00 UTC by alexander
Modified: 2006-03-20 20:39 UTC (History)
0 users

See Also:


Attachments
patch.diff (2.44 KB, patch)
2006-03-05 12:00 UTC, alexander
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alexander 2006-03-05 12:00:18 UTC
The attached patch fixes a mtree build error from pointyhat for squirrelmail-compatibility-plugin.

The problem is that if you install squirrelmail without configuring it you won't have a config.php file. If you install this plugin, it will use the squirrelmail conf.pl utility to activate it. If conf.pl doesn't find a config.php it will create one based on default values. This newly created config.php file is not removed by this plugin port (for obvious reasons) and also not by the squirrelmail port.

To solve this problem the port now checks to see if config.php exists. If it doesn't no activation is done since there is no configuration file to activate it in.

How-To-Repeat: see pointyhat build logs
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2006-03-20 20:39:09 UTC
State Changed
From-To: open->closed

Committed, thanks!