aboutsummaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'openssl')
-rw-r--r--openssl/Makefile2
-rw-r--r--openssl/openssl-0.9.8g.tar.gzbin3354792 -> 0 bytes
-rw-r--r--openssl/openssl-SNAP-20080328.tar.gzbin0 -> 3849282 bytes
-rwxr-xr-xopenssl/update-snapshot.sh27
4 files changed, 28 insertions, 1 deletions
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
--- a/openssl/openssl-0.9.8g.tar.gz
+++ /dev/null
Binary files differ
diff --git a/openssl/openssl-SNAP-20080328.tar.gz b/openssl/openssl-SNAP-20080328.tar.gz
new file mode 100644
index 00000000..318877c3
--- /dev/null
+++ b/openssl/openssl-SNAP-20080328.tar.gz
Binary files 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"