xref: /freebsd/crypto/openssl/FREEBSD-upgrade (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
1
2This contains various notes used to import a new OpenSSL version into
3the FreeBSD base system.  It is not expected to be complete but just to
4contain some hints for imports.  Note that this doesn't actually deal
5with getting OpenSSL to compile...
6
7setenv OSSLVER 0.9.8e
8# OSSLTAG format: v0_9_8e
9setenv OSSLTAG v`echo ${OSSLVER} | tr . _`
10fetch  http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz \
11	http://www.openssl.org/source/openssl-${OSSLVER}.tar.gz.asc
12gpg --verify openssl-${OSSLVER}.tar.gz.asc openssl-${OSSLVER}.tar.gz
13tar xf openssl-${OSSLVER}.tar.gz
14mv openssl-${OSSLVER} openssl
15cd openssl
16find . -type l -delete
17sh -c 'while read glob ; do rm -rvf $glob ; done' </usr/src/crypto/openssl/FREEBSD-Xlist
18# Check for new files
19cvs -n import src/crypto/openssl OPENSSL x | grep \^N
20cvs import -m "Vendor import of OpenSSL ${OSSLVER}." src/crypto/openssl OPENSSL ${OSSLTAG}
21cvs checkout -j<prev_rel_tag> -j${OSSLTAG} src/crypto/openssl
22# Resolve conflicts manually
23cd src/crypto/openssl
24cvs ci -m "Resolve conflicts after import of OpenSSL ${OSSLVER}."
25
26cd ../../secure
27# Do something so it actually compiles...
28# Update version number in lib/libcrypto/Makefile.inc
29cd lib/libcrypto
30make man-makefile-update && make man-update
31cd ../libssl
32make man-makefile-update && make man-update
33cd ../../usr.bin/openssl
34make man-makefile-update && make man-update
35cd ../..
36cvs add lib/libcrypto/man/*.3 lib/libssl/man/*.3 usr.bin/openssl/man/*.1
37cvs update
38# check for files not added
39cvs ci -m "Upgrade to OpenSSL ${OSSLVER}."
40
41					-- simon@
42
43$FreeBSD$
44