From f6ec947c2841f674ea721ebf986bd87ab702dc00 Mon Sep 17 00:00:00 2001 From: "Simon L. B. Nielsen" Date: Sat, 29 Jul 2006 22:01:26 +0000 Subject: [PATCH] Add some rough notes on how to import a new OpenSSL version into the FreeBSD base system. Parts are inspired by the OpenSSH upgrade notes. --- crypto/openssl/FREEBSD-upgrade | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 crypto/openssl/FREEBSD-upgrade diff --git a/crypto/openssl/FREEBSD-upgrade b/crypto/openssl/FREEBSD-upgrade new file mode 100644 index 000000000000..d558917f4c1e --- /dev/null +++ b/crypto/openssl/FREEBSD-upgrade @@ -0,0 +1,42 @@ + +This contains various notes used to import a new OpenSSL version into +the FreeBSD base system. It is not expected to be complete but just to +contain some hints for imports. Note that this doesn't actually deal +with getting OpenSSL to compile... + +setenv OSSLVER 0.9.8b +# OSSLTAG format: v0_9_8b +setenv OSSLTAG v`echo ${OSSLVER} | tr . _` +fetch http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz \ + http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz.asc +gpg --verify openssl-${OSSLVER}.tar.gz.asc openssl-${OSSLVER}.tar.gz +tar xf openssl-${OSSLVER}.tar.gz +mv openssl-${OSSLVER} openssl +cd openssl +find . -type l -delete +sh -c 'while read glob ; do rm -rvf $glob ; done' -j${OSSLTAG} src/crypto/openssl +# Resolve conflicts manually +cd src/crypto/openssl +cvs ci -m "Resolve conflicts after import of OpenSSL ${OSSLVER}." + +cd ../../secure +# Do something so it actually compiles... +cd lib/libcrypto +make man-makefile-update && make man-update +cd ../libssl +make man-makefile-update && make man-update +cd ../../usr.bin/openssl +make man-makefile-update && make man-update +cd ../.. +cvs add lib/libcrypto/man/*.3 lib/libssl/man/*.3 usr.bin/openssl/man/*.1 +cvs update +# check for files not added +cvs ci -m "Upgrade to OpenSSL ${OSSLVER}." + + -- simon@ + +$FreeBSD$