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