From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 8 10:30:08 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C27D10656AF for ; Mon, 8 Sep 2008 10:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 46B038FC1D for ; Mon, 8 Sep 2008 10:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m88AU7VG089648 for ; Mon, 8 Sep 2008 10:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m88AU713089643; Mon, 8 Sep 2008 10:30:07 GMT (envelope-from gnats) Resent-Date: Mon, 8 Sep 2008 10:30:07 GMT Resent-Message-Id: <200809081030.m88AU713089643@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frank Wall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79C441065671 for ; Mon, 8 Sep 2008 10:29:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 682DB8FC0A for ; Mon, 8 Sep 2008 10:29:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m88AT1YB037579 for ; Mon, 8 Sep 2008 10:29:01 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m88AT1Pp037577; Mon, 8 Sep 2008 10:29:01 GMT (envelope-from nobody) Message-Id: <200809081029.m88AT1Pp037577@www.freebsd.org> Date: Mon, 8 Sep 2008 10:29:01 GMT From: Frank Wall To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/127204: [patch] security/cyrus-sasl2 Fix pkg-plist to not force directory removal X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2008 10:30:08 -0000 >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@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%% -@dirrm lib/sasl2 +@dirrmtry lib/sasl2 @cwd %%PREFIX%% >Release-Note: >Audit-Trail: >Unformatted: