xref: /freebsd/crypto/openssl/FREEBSD-upgrade (revision f856af0466c076beef4ea9b15d088e1119a945b8)
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.8b
8# OSSLTAG format: v0_9_8b
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...
28cd lib/libcrypto
29make man-makefile-update && make man-update
30cd ../libssl
31make man-makefile-update && make man-update
32cd ../../usr.bin/openssl
33make man-makefile-update && make man-update
34cd ../..
35cvs add lib/libcrypto/man/*.3 lib/libssl/man/*.3 usr.bin/openssl/man/*.1
36cvs update
37# check for files not added
38cvs ci -m "Upgrade to OpenSSL ${OSSLVER}."
39
40					-- simon@
41
42$FreeBSD$
43