From owner-freebsd-questions@FreeBSD.ORG Fri Jan 15 10:15:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 088F0106566B for ; Fri, 15 Jan 2010 10:15:03 +0000 (UTC) (envelope-from andrei693@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 86D8A8FC12 for ; Fri, 15 Jan 2010 10:15:02 +0000 (UTC) Received: by bwz5 with SMTP id 5so398909bwz.3 for ; Fri, 15 Jan 2010 02:14:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=K3S/M7q/FaaQMI5GSv0tEPwQo51pE1PsprKr1GDGaSc=; b=IGyEif/WRxPhcnGCW/Z9GOSW9Y+evMMXpEyyT27bIy2FnRlZF015IxpGK0JtCbXtf0 c8I4gWqrp9YBPiqL7rifv2yNg0SFb+CqBkeMWSxV7kX6tErWdh8/KVIyReMpnIczdAbK A6XzJ8xipAIrcQjAb/M8cMRySh0uUEE/LtBh0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=JUTswgSZnvrDXphTs7eQwc0C7iKkVn4qNls2uTZoxs/iR3wOpvUGSNTQMpkTbt2105 UjLRy6CXfX91RF+vyb9R3fF1drqSp+6T7db2fMLupwcFyuZ0WTs6dTv/rCuRK4QVlse5 BdsEM+nE/8K4KX1qmPMxMoYYySEAulR9AsVu4= Received: by 10.204.155.81 with SMTP id r17mr1138612bkw.98.1263550493404; Fri, 15 Jan 2010 02:14:53 -0800 (PST) Received: from ?192.168.1.253? ([86.125.218.136]) by mx.google.com with ESMTPS id 13sm760185bwz.10.2010.01.15.02.14.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 15 Jan 2010 02:14:52 -0800 (PST) Message-ID: <4B504020.7030209@gmail.com> Date: Fri, 15 Jan 2010 12:14:56 +0200 From: Andrei Brezan User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Matthew Seaman References: <4B5027F1.4060309@gmail.com> <4B5036EF.1080903@infracaninophile.co.uk> In-Reply-To: <4B5036EF.1080903@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How to overwrite openssl base with the one from ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jan 2010 10:15:03 -0000 Matthew Seaman wrote: > Andrei Brezan wrote: >> Hello list, >> >> I seem to have some problems overwriting openssl base. I have tried >> building security/openssl with OPENSSL_OVERWRITE_BASE=YES but to no >> success. >> >> After i run: >> make OPENSSL_OVERWRITE_BASE=YES install clean >> i get the port installed in /usr/local/bin and lib ok, but i'm left with >> openssl in /usr/bin and lib too. Do i have to make >> buildworld/installworld with NO_OPENSSL in /etc/make.conf in order not >> to have openssl from base and then install it from port ? > > There's no such option as 'OPENSSL_OVERWRITE_BASE' in a current ports > tree[*]. There is only > > WITH_OPENSSL_BASE=yes > > which means link any ports against the version of the OpenSSL libs > installed by the base system, or > > WITH_OPENSSL_PORTS=yes > > which means link any ports against the version of OpenSSL installed > from ports. Applications that use SSL in the base system are always > linked against the base system version of OpenSSL, and the ports system > will throw an exception if you say 'WITH_OPENSSL_PORTS' but the ABI > version number of the shlibs in the base system is greater than the ones > from the ports. So defining WITHOUT_OPENSSL in /etc/src.conf[+] is not > advisable either. > > Cheers, > > Matthew > > [*] Despite its appearance in the mail/dkim-milter and mail/dk-milter > ports. That's a bug. It won't do anything. > > [+] Assuming you're running 7.x or later. > Thank you, will use then WITH_OPENSSL_PORTS when needed. You were right in assuming 7.x or later. Regards, Andrei