From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 06:59:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A84E937B404 for ; Mon, 4 Aug 2003 06:59:48 -0700 (PDT) Received: from cmailm2.svr.pol.co.uk (cmailm2.svr.pol.co.uk [195.92.193.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BECF43FA3 for ; Mon, 4 Aug 2003 06:59:46 -0700 (PDT) (envelope-from markie@notwentytwo.freeserve.co.uk) Received: from modem-2954.elephant.dialup.pol.co.uk ([217.134.251.138] helo=ape) by cmailm2.svr.pol.co.uk with smtp (Exim 4.14) id 19jfs8-00037a-7x; Mon, 04 Aug 2003 14:59:40 +0100 Message-ID: <002701c35a90$c6497840$e400a8c0@ape> From: "Markie" To: , References: <200308041149.h74Bn5c01184@lv.raad.tartu.ee> <200308041444.40715.johan.demessemaeker@advalvas.be> Date: Mon, 4 Aug 2003 15:00:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: getting rid of openssl port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 13:59:48 -0000 ----- Original Message ----- From: "Johan De Messemaeker" To: Sent: Monday, August 04, 2003 1:44 PM Subject: Re: getting rid of openssl port > On Monday 04 August 2003 13:48, Toomas Aas wrote: > > Hello! > > > > What is the easiest way to get rid of OpenSSL port? Do I need to remove > > everything that depends on openssl port, remove the port and then reinstall > > everything? Or is there a less painful way? Actually "everything" is not > > that much in my case, it really is just apache13-modssl port on one machine > > and cyrus-imapd port on the other machine, but it still implies *some* > > downtime of HTTPD and IMAP server. -- > > Use portupgrade (/usr/ports/sysutils/portupgrade). Nice and easy. > > Regards, Johan > Hi Johan, Another option is to define OPENSSL_OVERWRITE_BASE when building the openssl port, this will install the port version where the base system openssl would usually be. If not using portupgrade you would do something like "make -DOPENSSL_OVERWRITE_BASE", if using portupgrade you have two options: "portinstall -m '-DOPENSSL_OVERWRITE_BASE' openssl" or you can edit the MAKE_ARGS variable in /usr/local/etc/pkgtools.conf so it reads something like MAKE_ARGS = { 'security/openssl' => '-DOPENSSL_OVERWRITE_BASE', 'misc/some-other-port' => '-DMAKE_ARGUMENTS' } and then just run portinstall openssl (or portupgrade) and it'll automagically add the flags. This is what I do with OpenSSH and OpenSSL. Just an idea :p Markie