]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - crypto/openssl/FREEBSD-upgrade
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / crypto / openssl / FREEBSD-upgrade
1
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...
6
7 setenv OSSLVER 0.9.8e
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
15 cd openssl
16 find . -type l -delete
17 sh -c 'while read glob ; do rm -rvf $glob ; done' </usr/src/crypto/openssl/FREEBSD-Xlist
18 # Check for new files
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
23 cd src/crypto/openssl
24 cvs ci -m "Resolve conflicts after import of OpenSSL ${OSSLVER}."
25
26 cd ../../secure
27 # Do something so it actually compiles...
28 # Update version number in lib/libcrypto/Makefile.inc
29 cd lib/libcrypto
30 make man-makefile-update && make man-update
31 cd ../libssl
32 make man-makefile-update && make man-update
33 cd ../../usr.bin/openssl
34 make man-makefile-update && make man-update
35 cd ../..
36 cvs add lib/libcrypto/man/*.3 lib/libssl/man/*.3 usr.bin/openssl/man/*.1
37 cvs update
38 # check for files not added
39 cvs ci -m "Upgrade to OpenSSL ${OSSLVER}."
40
41                                         -- simon@
42
43 $FreeBSD$