OpenSSL 1.0.0d for Freebsd HEAD
Alexandre Martins
alexandre.martins at netasq.com
Tue Mar 1 13:24:54 UTC 2011
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110301/ef183ba6/attachment.pgp
More information about the freebsd-current
mailing list