cbang: update to 1.4.0

This commit is contained in:
Jürgen Buchmüller 2020-05-01 12:28:41 +02:00
parent 4f77a0b855
commit 5b14f57fef
2 changed files with 2 additions and 23 deletions

View file

@ -1,21 +0,0 @@
--- src/cbang/openssl/Digest.h 2020-01-20 01:56:06.000000000 +0100
+++ src/cbang/openssl/Digest.h 2020-04-06 07:35:58.290900681 +0200
@@ -41,13 +41,17 @@
#include <openssl/opensslv.h>
+#if defined(LIBRESSL_VERSION_NUMBER)
+#include <openssl/evp.h>
+#else
#if OPENSSL_VERSION_NUMBER < 0x1010000fL
typedef struct env_md_st EVP_MD;
typedef struct env_md_ctx_st EVP_MD_CTX;
-#else
+#else // !defined(LIBRESSL_VERSION_NUMBER)
typedef struct evp_md_st EVP_MD;
typedef struct evp_md_ctx_st EVP_MD_CTX;
#endif // OPENSSL_VERSION_NUMBER < 0x1010000fL
+#endif // !defined(LIBRESSL_VERSION_NUMBER)
typedef struct engine_st ENGINE;
namespace cb {

View file

@ -1,6 +1,6 @@
# Template file for 'cbang'
pkgname=cbang
version=1.3.3
version=1.4.0
revision=1
build_style=scons
make_build_args="prefix=/usr sharedlib=1 staticlib=1"
@ -13,7 +13,7 @@ maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-2.1-only"
homepage="https://github.com/CauldronDevelopmentLLC/cbang"
distfiles="https://github.com/CauldronDevelopmentLLC/cbang/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=05099fa47d83aa3012b4f8e0b3d69d334aa21a43dd6750f8e306832a9245b814
checksum=332a776ab026c30aa1666ad2482e1bf77fa5c41e3e2f7cde9ff2d98cfd3b4026
nocross="Cannot cross build with scons"
do_install() {