aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-09-11 17:10:11 -0500
committerBrent Cook <bcook@openbsd.org>2015-09-11 17:10:11 -0500
commit0c125d1ee38ea9fe94fba0b527a9d1a530ad5408 (patch)
tree610616bd0177aae6ef7dc718088f659a7afe5e15
parente953fdbb96fc91e0d6c1b7ba158ddf53b66660b7 (diff)
downloadportable-0c125d1ee38ea9fe94fba0b527a9d1a530ad5408.tar.gz
portable-0c125d1ee38ea9fe94fba0b527a9d1a530ad5408.tar.bz2
portable-0c125d1ee38ea9fe94fba0b527a9d1a530ad5408.zip
bump version to 2.2.4
-rw-r--r--patches/opensslv.h13
-rwxr-xr-xupdate.sh1
2 files changed, 14 insertions, 0 deletions
diff --git a/patches/opensslv.h b/patches/opensslv.h
new file mode 100644
index 0000000..04cdead
--- /dev/null
+++ b/patches/opensslv.h
@@ -0,0 +1,13 @@
1--- include/openssl/opensslv.h.orig Fri Sep 11 17:03:15 2015
2+++ include/openssl/opensslv.h Fri Sep 11 17:04:56 2015
3@@ -3,8 +3,8 @@
4 #define HEADER_OPENSSLV_H
5
6 /* These will change with each release of LibreSSL-portable */
7-#define LIBRESSL_VERSION_NUMBER 0x20020003L
8-#define LIBRESSL_VERSION_TEXT "LibreSSL 2.2.3"
9+#define LIBRESSL_VERSION_NUMBER 0x20020004L
10+#define LIBRESSL_VERSION_TEXT "LibreSSL 2.2.4"
11
12 /* These will never change */
13 #define OPENSSL_VERSION_NUMBER 0x20000000L
diff --git a/update.sh b/update.sh
index 02d6915..f07603a 100755
--- a/update.sh
+++ b/update.sh
@@ -121,6 +121,7 @@ copy_hdrs crypto "stack/stack.h lhash/lhash.h stack/safestack.h
121copy_hdrs ssl "srtp.h ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h" 121copy_hdrs ssl "srtp.h ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h"
122 122
123$CP $libssl_src/src/crypto/opensslv.h include/openssl 123$CP $libssl_src/src/crypto/opensslv.h include/openssl
124patch -p0 < patches/opensslv.h
124awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 > VERSION 125awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 > VERSION
125echo "LibreSSL version `cat VERSION`" 126echo "LibreSSL version `cat VERSION`"
126 127