From owner-freebsd-ports@FreeBSD.ORG Fri Feb 22 23:52:48 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AE2616A401; Fri, 22 Feb 2008 23:52:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 600DF13C46B; Fri, 22 Feb 2008 23:52:48 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 52EF219E02A; Sat, 23 Feb 2008 00:52:47 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTP id 3E6B019E027; Sat, 23 Feb 2008 00:52:45 +0100 (CET) Message-ID: <47BF6058.7000903@quip.cz> Date: Sat, 23 Feb 2008 00:52:56 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Doug Barton References: <47BF4327.2060505@quip.cz> <47BF5119.2060000@FreeBSD.org> In-Reply-To: <47BF5119.2060000@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: portmaster did not replace port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2008 23:52:48 -0000 Doug Barton wrote: > Miroslav Lachman wrote: > >>Hi, >> >>I am trying to use portmaster to replace installed GnuPG 2 with GnuPG 1. >>portmaster -o security/gnupg1 gnupg-2.0.4 >> >>But it always ends with gnupg-2.0.4 re-installed again, so now I have >>both versions installed. Is it possible to use portmaster for this task? > > > It certainly should be. :) I made a last-minute optimization in the > "detect which port we're working on" code and while I special-cased > the -o code in one place, I forgot to do it in the other, resulting in > the behavior you're seeing. The attached patch should fix this up for > you, I've tested it specifically with gnupg going from 2->1 and back > again. > > Please let me know if this works for you, and I'll be committing a new > version with this patch pretty much right away. ===>>> Upgrade of gnupg-2.0.4 to gnupg-1.4.8 complete Nice. Thank you for your quick response and fix! And one more question: devel/pth security/libassuan security/libksba were installed as gnupg-2 dependencies, now registered as inherited dependencies for SpamAssassin. Is there any "right" way to remove those libraries and dependency records from /var/db/pkg? # pkg_info -R pth-2.0.7 libassuan-1.0.4 libksba-1.0.2 Information for libassuan-1.0.4: Information for libksba-1.0.2: Required by: p5-Mail-SpamAssassin-3.2.4_2 Information for pth-2.0.7: Required by: p5-Mail-SpamAssassin-3.2.4_2 libassuan-1.0.4 Miroslav Lachman