Bug 34881

Summary: Bug in /usr/ports/mail/postfix port
Product: Ports & Packages Reporter: Jason Taylor <jason>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jason Taylor 2002-02-12 17:00:02 UTC
pkg_plist still has some incorrect tests for maintaining user config files through a de-install or upgrade.

Looks like mostly typos, dropping off the .CF extension during the rm test.  Even though the only live files with .cf extensions are main.cf & master.cf, the whole sample-xxxx files have .cf extensions.

Thanks

How-To-Repeat:   make deinstall & make reinstall
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2002-02-12 17:11:42 UTC
Responsible Changed
From-To: freebsd-ports->dwcjr

Over to maintainer
Comment 2 jason 2002-02-12 18:32:38 UTC
hmm , I'm getting a little confused now.

Postfix installs prior to this release of the port relied on the
postfix-install script (from the distribution) to copy the samples.  The
port maintainer has now added some code to copy over duplicates of the
samples but with no .cf extension. (excluding main.cf & master.cf)

Ok, so the real problem was that the old port wasn't very nice to existing
config files, thats what wrecked the install.

You can ignore most of this pr, but I would suggest sticking to just one
set of config files as duplicates are a bit confusing..

Thanks

Jason
Comment 3 dwcjr freebsd_committer freebsd_triage 2002-02-13 16:03:28 UTC
Responsible Changed
From-To: dwcjr->freebsd-ports

Back to ports, I don't maintain this port anymore.
Comment 4 Vivek Khera 2002-02-13 19:43:43 UTC
The submitter's analysis is incorrect.  The sample-*.cf files are not
what he thinks they are.

For example, sample-transport is installed by the port solely to
compare with the transport file during uninistall, whereas
sample-transport.cf is part of postfix itself documenting the
transport settings.  Ditto for the rest of the files he proposes
changing.  Perhaps they should be installed as "foo.default" rather
than "sample-foo" for clarity.  I don't think it matters so I won't be
changing them anytime soon.

The submitter probably noticed that the ports *prior* to 1.1.3
accidentally deleted the config files upon pkg_delete.  This is not a
problem going forth from this version.

The port functions correctly as far as I can tell.  Please close this
PR.
Comment 5 dwcjr freebsd_committer freebsd_triage 2002-02-13 19:50:47 UTC
State Changed
From-To: open->closed

Closed at maintainer's request.