ports/127204: [patch] security/cyrus-sasl2 Fix pkg-plist to not force directory removal

Frank Wall fw at moov.de
Mon Sep 8 10:30:08 UTC 2008


>Number:         127204
>Category:       ports
>Synopsis:       [patch] security/cyrus-sasl2 Fix pkg-plist to not force directory removal
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 08 10:30:06 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Frank Wall
>Release:        7.0-RELEASE-p4
>Organization:
>Environment:
FreeBSD XXX 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Tue Sep  2 19:32:35 UTC 2008     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
The pkg-plist of security/cyrus-sasl2 contains the parameter @dirrm. This conflicts with sendmail setups that make use of sasl2 for authentication. In this case you need to create /usr/local/lib/sasl2/Sendmail.conf and insert e.g. "pwcheck_method: saslauthd" for sasl2 authentication to work with sendmail.

Now when using the parameter @dirrm in the pkg-plist, the Sendmail.conf file gets removed when deleting or updating the port. This should be fixed by replacing @dirrm with @dirrmtry.
>How-To-Repeat:
1. install security/cyrus-sasl2 
2. create the file /usr/local/lib/sasl2/Sendmail.conf
3. delete (or update) security/cyrus-sasl2 
4. the file Sendmail.conf got removed :-(

>Fix:
see patch

Patch attached with submission follows:

--- pkg-plist.orig	2008-09-08 12:04:55.000000000 +0200
+++ pkg-plist	2008-09-08 12:05:26.000000000 +0200
@@ -109,5 +109,5 @@ sbin/saslpasswd2
 %%PORTDOCS%%%%DOCSDIR%%/html/windows.html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrm lib/sasl2
+ at dirrmtry lib/sasl2
 @cwd %%PREFIX%%


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list