diff options
author | Rob Austein <sra@hactrn.net> | 2010-01-20 20:29:42 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2010-01-20 20:29:42 +0000 |
commit | 443cd085ac11a9018dddb8c21366da0c75200aa7 (patch) | |
tree | 80a72e9d8ecb974b7785277e52acdf71c672ea9e /openssl/update-snapshot.sh | |
parent | fbd74f2854132e5266ce967af8083e3827b41cb2 (diff) |
Upgrade to OpenSSL 1.0.0-beta5
svn path=/openssl/Makefile; revision=2956
Diffstat (limited to 'openssl/update-snapshot.sh')
-rwxr-xr-x | openssl/update-snapshot.sh | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/openssl/update-snapshot.sh b/openssl/update-snapshot.sh index 02e51b89..e6057240 100755 --- a/openssl/update-snapshot.sh +++ b/openssl/update-snapshot.sh @@ -1,14 +1,21 @@ #!/bin/sh - # $Id$ # -# Fetch today's OpenSSL snapshot and do everything needed to make it +# Fetch today's OpenSSL tarball and do everything needed to make it # the current code other than the svn commit. -version="1.0.0-stable-SNAP-$(date +%Y%m%d)" +#version="1.0.0-stable-SNAP-$(date +%Y%m%d)" + +version="1.0.0-beta5" tarball="openssl-${version}.tar.gz" -/usr/bin/fetch -m -p "ftp://ftp.openssl.org/snapshot/${tarball}" || exit +case $version in + *SNAP*) directory=snapshot;; + *) directory=source;; +esac + +/usr/bin/fetch -m -p "ftp://ftp.openssl.org/${directory}/${tarball}" || exit /bin/rm -f openssl |