aboutsummaryrefslogtreecommitdiff
path: root/libraries/cpp-netlib
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-28 20:33:32 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:48 +0700
commit37a587107264c6e8c79fe588c0ecbcc7d40b2777 (patch)
tree0a19368f1950837a7a43697073ffc0015a35ba18 /libraries/cpp-netlib
parent1f98fc11ee6df217ca0a2a7f3d11bfbf151b4366 (diff)
libraries/cpp-netlib: Updated for version 0.13.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cpp-netlib')
-rw-r--r--libraries/cpp-netlib/OPENSSL_NO_SSL3.patch25
-rw-r--r--libraries/cpp-netlib/cpp-netlib.SlackBuild4
-rw-r--r--libraries/cpp-netlib/cpp-netlib.info6
3 files changed, 4 insertions, 31 deletions
diff --git a/libraries/cpp-netlib/OPENSSL_NO_SSL3.patch b/libraries/cpp-netlib/OPENSSL_NO_SSL3.patch
deleted file mode 100644
index 816097d2fcd17..0000000000000
--- a/libraries/cpp-netlib/OPENSSL_NO_SSL3.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- deps/asio/asio/include/asio/ssl/impl/context.ipp
-+++ deps/asio/asio/include/asio/ssl/impl/context.ipp
-@@ -89,6 +89,14 @@ context::context(context::method m)
- handle_ = ::SSL_CTX_new(::SSLv2_server_method());
- break;
- #endif // defined(OPENSSL_NO_SSL2)
-+#if defined(OPENSSL_NO_SSL3)
-+ case context::sslv3:
-+ case context::sslv3_client:
-+ case context::sslv3_server:
-+ asio::detail::throw_error(
-+ asio::error::invalid_argument, "context");
-+ break;
-+#else // defined(OPENSSL_NO_SSL3)
- case context::sslv3:
- handle_ = ::SSL_CTX_new(::SSLv3_method());
- break;
-@@ -98,6 +106,7 @@ context::context(context::method m)
- case context::sslv3_server:
- handle_ = ::SSL_CTX_new(::SSLv3_server_method());
- break;
-+#endif // defined(OPENSSL_NO_SSL3)
- case context::tlsv1:
- handle_ = ::SSL_CTX_new(::TLSv1_method());
- break;
diff --git a/libraries/cpp-netlib/cpp-netlib.SlackBuild b/libraries/cpp-netlib/cpp-netlib.SlackBuild
index 17b3fe49e9e7f..0f2e1db0791a8 100644
--- a/libraries/cpp-netlib/cpp-netlib.SlackBuild
+++ b/libraries/cpp-netlib/cpp-netlib.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cpp-netlib
-VERSION=${VERSION:-0.12.0}
+VERSION=${VERSION:-0.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,8 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -Np0 < $CWD/OPENSSL_NO_SSL3.patch
-
mkdir -p build
cd build
cmake \
diff --git a/libraries/cpp-netlib/cpp-netlib.info b/libraries/cpp-netlib/cpp-netlib.info
index 150b08db20a75..dea4cea076f67 100644
--- a/libraries/cpp-netlib/cpp-netlib.info
+++ b/libraries/cpp-netlib/cpp-netlib.info
@@ -1,8 +1,8 @@
PRGNAM="cpp-netlib"
-VERSION="0.12.0"
+VERSION="0.13.0"
HOMEPAGE="https://cpp-netlib.org/"
-DOWNLOAD="http://downloads.cpp-netlib.org/0.12.0/cpp-netlib-0.12.0-final.tar.gz"
-MD5SUM="29b87c0e8c1a9e7fbdea5afcec947d53"
+DOWNLOAD="http://downloads.cpp-netlib.org/0.13.0/cpp-netlib-0.13.0-final.tar.gz"
+MD5SUM="002b0922bc7028d585c4975db748399d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""