From 443cd085ac11a9018dddb8c21366da0c75200aa7 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 20 Jan 2010 20:29:42 +0000 Subject: Upgrade to OpenSSL 1.0.0-beta5 svn path=/openssl/Makefile; revision=2956 --- openssl/update-snapshot.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'openssl/update-snapshot.sh') 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 -- cgit v1.2.3