head 1.2; access; symbols pkgsrc-2016Q2:1.1.0.4 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.2 pkgsrc-2016Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2016.07.20.11.58.40; author nros; state dead; branches; next 1.1; commitid Uk5Cfoc7k3Pbt3fz; 1.1 date 2016.03.09.21.32.41; author nros; state Exp; branches; next ; commitid RIE38PJodwQeV0Yy; desc @@ 1.2 log @Update Qore to version 0.8.12. Qore 0.8.12 is a major new release with many new features and hundreds of bug fixes as well as packaging fixes. Highlights include: * The most significant innovation in this release comes in the form of support for Prompt Collection * Support for Bulk DML (large volume SQL operations in one server round-trip) in the Mapper, TableMapper, SqlUtil and the new BulkSqlUtil modules * Standardized function naming convention, many significant design and implementation fixes and improvements * Numerous new functions, methods, constants, operators, and user modules * Hundreds of bug fixes @ text @$NetBSD: patch-lib_qc__option.qpp,v 1.1 2016/03/09 21:32:41 nros Exp $ * Fix build with open/libressl releases without evp_SHA https://github.com/qorelanguage/qore/commit/fc181070ad1afbf49af2e8fc968b97328d690a86 --- lib/qc_option.qpp.orig 2016-03-09 20:34:02.000000000 +0000 +++ lib/qc_option.qpp @@@@ -139,6 +139,12 @@@@ #define QORE_CONST_HAVE_STRUCT_FLOCK 0 #endif +#ifdef HAVE_OPENSSL_SHA +#define QORE_CONST_HAVE_SHA 1 +#else +#define QORE_CONST_HAVE_SHA 0 +#endif + #if !defined(OPENSSL_NO_SHA256) && defined(HAVE_OPENSSL_SHA512) #define QORE_CONST_HAVE_SHA256 1 #else @@@@ -282,6 +288,9 @@@@ const HAVE_UNIX_FILEMGT = bool(QORE_CONS */ const HAVE_FILE_LOCKING = bool(QORE_CONST_HAVE_STRUCT_FLOCK); +//! Indicates if the openssl library used to build the qore library supported the SHA0 algorithm and therefore if the SHA() and SHA_bin() functions are available +const HAVE_SHA = bool(QORE_CONST_HAVE_SHA); + //! Indicates if the openssl library used to build the qore library supported the SHA224 algorithm and therefore if the SHA224() and SHA224_bin() functions are available const HAVE_SHA224 = bool(QORE_CONST_HAVE_SHA256); @ 1.1 log @Update qore to build with open/libressl versions that miss evp_SHA. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @