From owner-freebsd-questions@FreeBSD.ORG Mon Aug 4 06:22:20 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 74E2137B401 for ; Mon, 4 Aug 2003 06:22:20 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B910443F93 for ; Mon, 4 Aug 2003 06:22:18 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h74DM9cU008092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Aug 2003 14:22:13 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h74DM98k008091; Mon, 4 Aug 2003 14:22:09 +0100 (BST) (envelope-from matthew) Date: Mon, 4 Aug 2003 14:22:08 +0100 From: Matthew Seaman To: Toomas Aas Message-ID: <20030804132208.GA7562@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Toomas Aas , freebsd-questions@freebsd.org References: <200308041149.h74Bn5c01184@lv.raad.tartu.ee> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <200308041149.h74Bn5c01184@lv.raad.tartu.ee> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-8.6 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-questions@freebsd.org 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:22:20 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 04, 2003 at 02:48:38PM +0300, Toomas Aas wrote: > Hello! >=20 > Some of my machines were running RELENG_4_7 when I installed ports=20 > such as apache13_modssl and cyrus-imapd on them. Since that version > of FreeBSD had OpenSSL 0.9.6 in the base system and these ports required > 0.9.7, I ended up with openssl port installed on these systems. >=20 > Now that I'm upgrading to RELENG_4_8, which includes OpenSSL 0.9.7, I wan= t to > get rid of the port. It would just feel cleaner to not have multiple vers= ions=20 > of same libraries in /usr/lib and /usr/local/lib. >=20 > What is the easiest way to get rid of OpenSSL port? Do I need to remove e= verything > that depends on openssl port, remove the port and then reinstall everythi= ng? > 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 por= t on the > other machine, but it still implies *some* downtime of HTTPD and IMAP ser= ver.=20 So long as you define WITH_OPENSSL_BASE=3Dyes in your environment, both the apache13-modssl and cyrus-imapd ports will link against the system supplied version of the SSL libraries. Thus you can use portupgrade to update those ports with minimal downtime, and then delete the openssl port you've installed afterwards without any unpleasant side effects from those two. Not that it wouldn't be sensible to use ldd(1) to double check which SSL libraries the binaries in question link against before you start hitting the delete key. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/Ll4AdtESqEQa7a0RAkebAJ9oOF/kt0lo5cIo/N2gYsz2asJEQwCfUmdM UFajt4TvAmskgxNQ9oXUN5k= =pL13 -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--