Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2011 14:24:39 +0100
From:      Alexandre Martins <alexandre.martins@netasq.com>
To:        freebsd-current@freebsd.org
Subject:   Re: OpenSSL 1.0.0d for Freebsd HEAD
Message-ID:  <201103011425.07356.alexandre.martins@netasq.com>
In-Reply-To: <201103011031.20422.alexandre.martins@netasq.com>
References:  <20110228202307.GA33068@alchemy.franken.de> <DC57CECC-F5A0-4C0D-8C19-773A1463007D@netasq.com> <201103011031.20422.alexandre.martins@netasq.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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@alchemy.franken.de>
> > Date: February 28, 2011 9:23:07 PM GMT+01:00
> > To: Fabien Thomas <fabient@freebsd.org>
> > Cc: freebsd-current@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iF4EABEIAAYFAk1s87MACgkQVHYVC4W8mzimEQD9G8ETaKp3r9wvHiLKolJeqvdJ
dp9LeT207jUt+jSyFtIA/RJuCUtQ5T5YrwhS5ouhgGRPkFoIzaGk9b8vEw/uN/xu
=UGN1
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103011425.07356.alexandre.martins>