From d59d3e4dc2fea94c3fde72614deddbff8b386484 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 28 Mar 2008 22:06:14 +0000 Subject: Switch to using OpenSSL HEAD snapshot, for the new CMS code svn path=/openssl/Makefile; revision=1566 --- openssl/Makefile | 2 +- openssl/openssl-0.9.8g.tar.gz | Bin 3354792 -> 0 bytes openssl/openssl-SNAP-20080328.tar.gz | Bin 0 -> 3849282 bytes openssl/update-snapshot.sh | 27 +++++++++++++++++++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) delete mode 100644 openssl/openssl-0.9.8g.tar.gz create mode 100644 openssl/openssl-SNAP-20080328.tar.gz create mode 100755 openssl/update-snapshot.sh (limited to 'openssl') diff --git a/openssl/Makefile b/openssl/Makefile index da27f7a3..9836299b 100644 --- a/openssl/Makefile +++ b/openssl/Makefile @@ -1,6 +1,6 @@ # $Id$ -VERSION = 0.9.8g +VERSION = SNAP-20080328 all: openssl-${VERSION}/Makefile cd openssl-${VERSION}; make $@ diff --git a/openssl/openssl-0.9.8g.tar.gz b/openssl/openssl-0.9.8g.tar.gz deleted file mode 100644 index 14ac1761..00000000 Binary files a/openssl/openssl-0.9.8g.tar.gz and /dev/null differ diff --git a/openssl/openssl-SNAP-20080328.tar.gz b/openssl/openssl-SNAP-20080328.tar.gz new file mode 100644 index 00000000..318877c3 Binary files /dev/null and b/openssl/openssl-SNAP-20080328.tar.gz differ diff --git a/openssl/update-snapshot.sh b/openssl/update-snapshot.sh new file mode 100755 index 00000000..74ae157d --- /dev/null +++ b/openssl/update-snapshot.sh @@ -0,0 +1,27 @@ +#!/bin/sh - +# $Id$ +# +# Fetch today's OpenSSL snapshot and do everything needed to make it +# the current code other than the svn commit. + +version="SNAP-$(date +%Y%m%d)" + +tarball="openssl-${version}.tar.gz" + +/usr/bin/fetch -m -p "ftp://ftp.openssl.org/snapshot/${tarball}" || exit + +/bin/rm -f openssl + +for i in *.tar.gz +do + if [ "$i" != "$tarball" ] + then + /bin/rm -rf "${i%.tar.gz}" + /usr/local/bin/svn rm "$i" + fi +done + +/usr/bin/awk -v version="$version" '/^VERSION = / {$NF = version} {print}' Makefile >Makefile.$$ && +/bin/mv Makefile.$$ Makefile + +/usr/local/bin/svn add "$tarball" -- cgit v1.2.3