Bug 22465

Summary: /var/pwcheck CONFLICT between mail/cyrus and security/cyrus-sasl
Product: Ports & Packages Reporter: Scot W. Hetzel <hetzels>
Component: Individual Port(s)Assignee: stb <stb>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Scot W. Hetzel 2000-11-01 06:10:02 UTC
The mail/cyrus port used to install the pwcheck daemon and needed to create the
/var/pwcheck directory.  This has since moved to the security/cyrus-sasl port
and is no longer needed in the mail/cyrus port.

NOTE:  I have sent similar patches to the maintainer, but no action was taken.

deliver.c needs a patch to defines the location of sendmail as /usr/sbin/sendmail
(wrapper) instead of /usr/lib/sendmail.  This is needed so that sieve can send
it's mail notifications (sieve vacation, rejected messages, etc.).

NOTE: Cyrus-1.6.25 (in BETA) and Cyrus-2.0.7+ have made this a imapd.conf config
option.

Fix: Apply the attached patch to correct these problems.

	Changed files:
		Makefile
		files/imapd.conf
		files/inetd.conf.cyrus
		pkg-install
		pkg-plist

	New files:
		files/patch-ae
		pkg-deinstall

	Removed Files:
		files/cyrus.sh
	
How-To-Repeat: 
When you install the mail/cyrus port, and then uninstall it.  It will remove the
/var/pwcheck directory.  Other ports then fail to authenticate due to the pwcheck
directory is no longer available.

This affects the system Sendmail and Postfix port, when compiled to use SASL.
Comment 1 Scot W. Hetzel 2000-11-01 06:21:51 UTC
Also, who ever comits this, please update the PORTREVISION in the Makefile,
as I forgot to change it.

Thanks,

Scot
Comment 2 jeh freebsd_committer freebsd_triage 2000-11-01 13:29:00 UTC
Responsible Changed
From-To: freebsd-ports->stb

Over to MAINTAINER
Comment 3 Scot W. Hetzel 2000-11-19 13:51:58 UTC
I noticed another problem with the current port, it removes a users modified
imapd.conf.  pkg-deinstall does the correct action, but I didn't notice
pkg-plist contained an entry for etc/imapd.conf.  Please remove
etc/imapd.conf from pkg-plist, as etc/imapd.conf gets installed by
pkg-install.

Scot
Comment 4 Scot W. Hetzel 2000-12-08 19:33:13 UTC
Could somebody commit PR 22465 to the mail/cyrus port, as I haven't seen a
response from the maintainer (stb@FreeBSD.ORG)since the PR was opened on
11/1/2000.

This fix is needed so that the mail/cyrus port will not remove or change
permissions on the /var/pwcheck directory used by the security/cyrus-sasl
port.

Thanks,

Scot W Hetzel
security/cyrus-sasl maintainer
Comment 5 Scot W. Hetzel 2000-12-18 16:20:41 UTC
I haven't seen a response from the mail/cyrus maintainer (stb@freebsd.org)
since this PR was sent.

Could somebody please commit this PR, as mail/cyrus breaks the
security/cyrus-sasl port when it gets installed / removed.

Thanks,

Scot W. Hetzel
Comment 6 Will Andrews freebsd_committer freebsd_triage 2000-12-21 08:29:02 UTC
State Changed
From-To: open->closed

Committed, thanks.