Re: OpenSSL 1.0.0d for Freebsd HEAD

From: Alexandre Martins <alexandre.martins_at_netasq.com>
Date: Tue, 1 Mar 2011 14:24:39 +0100
To make it simple, you will find the "howto" for applying this patch:

1) move to freebsd HEAD directory
cd <path to head>

2) download patch and openssl:
fetch http://www.openssl.org/source/openssl-1.0.0d.tar.gz
fetch http://people.freebsd.org/~fabient/patch-head20110222-openssl1.0.0d

3) erase current sources of openssl
rm -rf crypto/openssl

4) extract the sources of openssl into crypto/openssl
tar -C crypto -xf openssl-1.0.0d.tar.gz
mv crypto/openssl-1.0.0d crypto/openssl

5) apply the patch to migrate the build
patch -p0 < patch-head20110222-openssl1.0.0d

6) compile the world
make buildworld

7) and install it
make installworld

8) welcome to openssl 1.0.0d
openssl version

I have build successfully FreeBSD for all platfom (make universe)

I also checked it on i386 and amd64 platform and no problems was found.

Regards,

On Tuesday 01 March 2011 10:31:16 Alexandre Martins wrote:
> Dear,
> 
> Have you extracted the tarball fo openssl source (1.0.0d) in crypto/openssl
> ?
> 
> Regards,
> 
> > From: Marius Strobl <marius_at_alchemy.franken.de>
> > Date: February 28, 2011 9:23:07 PM GMT+01:00
> > To: Fabien Thomas <fabient_at_freebsd.org>
> > Cc: freebsd-current_at_freebsd.org
> > Subject: Re: OpenSSL 1.0.0d for Freebsd HEAD
> > 
> > On Mon, Feb 28, 2011 at 12:00:19PM +0100, Fabien Thomas wrote:
> >>> Dears,
> >>> 
> >>> After several research, i have removed the problematic part.
> >>> 
> >>> You can find the new version here:
> >>> 
> >>> http://people.freebsd.org/~fabient/patch-head20110222-openssl1.0.0d
> >> 
> >> It will be great to have it in 9.0.
> >> 
> >> To do that how is it possible rebuild the port for all platform with
> >> openssl 1.0.0d in base? Is there some people against that inclusion?
> > 
> > Given that some users report ports linked against the port version
> > of OpenSSL 1.0.0 (c I think) to not work on sparc64 I wanted to
> > give your patch a try, but unfortuntately it doesn't even build:
> > ===> secure/lib/libcrypto (buildincludes)
> > cp
> > /usr/home/marius/co/head3/src/secure/lib/libcrypto/opensslconf-sparc64.h
> > opensslconf.h ( echo "#ifndef MK1MF_BUILD";  echo "  /* auto-generated
> > by crypto/Makefile.ssl for crypto/cversion.c */";  echo "  #define
> > CFLAGS \"cc\"";  echo "  #define PLATFORM \"FreeBSD-sparc64\"";  echo "
> > #define DATE \"`LC_ALL=C date`\"";  echo "#endif" ) > buildinf.h make:
> > don't know how to make asn1_locl.h. Stop
> > *** Error code 2
> > 
> > Marius
-- 
Alexandre Martins
NETASQ

Received on Tue Mar 01 2011 - 12:24:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:12 UTC