summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-matrix.html6
-rw-r--r--src/gnutls.mk4
-rw-r--r--src/hyperscan-1-fixes.patch264
-rw-r--r--src/hyperscan.mk6
-rw-r--r--src/lua.mk4
-rw-r--r--src/protobuf.mk10
-rw-r--r--versions.json6
7 files changed, 119 insertions, 181 deletions
diff --git a/build-matrix.html b/build-matrix.html
index d04b639..642e6b3 100644
--- a/build-matrix.html
+++ b/build-matrix.html
@@ -859,7 +859,7 @@ feel free to submit a pull request.
<tr>
<th class="row">gnutls</th>
- <td>3.4.12</td>
+ <td>3.4.13</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
@@ -1139,7 +1139,7 @@ feel free to submit a pull request.
<tr>
<th class="row">hyperscan</th>
- <td>4.1.0</td>
+ <td>4.2.0</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
@@ -2229,7 +2229,7 @@ feel free to submit a pull request.
<tr>
<th class="row">lua</th>
- <td>5.3.2</td>
+ <td>5.3.3</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
<td class="supported">&#x2713;</td>
diff --git a/src/gnutls.mk b/src/gnutls.mk
index e0b9939..a9a1445 100644
--- a/src/gnutls.mk
+++ b/src/gnutls.mk
@@ -2,8 +2,8 @@
# See index.html for further information.
PKG := gnutls
-$(PKG)_VERSION := 3.4.12
-$(PKG)_CHECKSUM := e3370a3bf60f2ca4a6204461ea99e7d7047ee46f96bc2fb7c63f103312d3c9c7
+$(PKG)_VERSION := 3.4.13
+$(PKG)_CHECKSUM := fd3386e8e72725980bcd7f40949aa0121dcb7650b5147c6490e794555ed25859
$(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION)
$(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := http://mirrors.dotsrc.org/gnupg/gnutls/v3.4/$($(PKG)_FILE)
diff --git a/src/hyperscan-1-fixes.patch b/src/hyperscan-1-fixes.patch
index 658cb0a..e6954bb 100644
--- a/src/hyperscan-1-fixes.patch
+++ b/src/hyperscan-1-fixes.patch
@@ -41,7 +41,7 @@ index 1111111..2222222 100644
option(OPTIMISE "Turns off compiler optimizations (on by default unless debug output enabled or coverage testing)" TRUE)
option(DEBUG_OUTPUT "Enable debug output (warning: very verbose)" FALSE)
-@@ -362,12 +356,10 @@ set(RAGEL_C_FLAGS "-Wno-unused")
+@@ -375,12 +369,10 @@ set(RAGEL_C_FLAGS "-Wno-unused")
endif()
set_source_files_properties(
@@ -55,22 +55,22 @@ index 1111111..2222222 100644
SET(hs_HEADERS
src/hs.h
src/hs_common.h
-@@ -935,7 +927,6 @@ endif()
+@@ -979,15 +971,12 @@ endif()
# we want the static lib for testing
add_library(hs STATIC ${hs_SRCS} $<TARGET_OBJECTS:hs_exec>)
-add_dependencies(hs ragel_Parser)
- add_dependencies(hs autogen_compiler autogen_teddy_compiler)
-
+-
if (NOT BUILD_SHARED_LIBS)
-@@ -944,7 +935,6 @@ endif()
+ install(TARGETS hs DESTINATION lib)
+ endif()
if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS)
add_library(hs_shared SHARED ${hs_SRCS} $<TARGET_OBJECTS:hs_exec_shared>)
- add_dependencies(hs_shared ragel_Parser)
- add_dependencies(hs_shared autogen_compiler autogen_teddy_compiler)
set_target_properties(hs_shared PROPERTIES
OUTPUT_NAME hs
+ VERSION ${LIB_VERSION}
diff --git a/src/parser/Parser.cpp b/src/parser/Parser.cpp
new file mode 100644
index 1111111..2222222
@@ -5534,7 +5534,7 @@ index 1111111..2222222 100644
@@ -17,7 +15,6 @@ set(expressionutil_SRCS
ExpressionParser.cpp
)
- add_library(expressionutil ${expressionutil_SRCS})
+ add_library(expressionutil STATIC ${expressionutil_SRCS})
-add_dependencies(expressionutil ragel_ExpressionParser)
SET(corpusomatic_SRCS
@@ -5931,45 +5931,6 @@ index 1111111..2222222
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Boris Nagaev <bnagaev@gmail.com>
-Date: Wed, 18 May 2016 01:10:30 +0200
-Subject: [PATCH] add Libs.private to fix linking errors
-
-See https://github.com/01org/hyperscan/issues/18
-
-diff --git a/libhs.pc.in b/libhs.pc.in
-index 1111111..2222222 100644
---- a/libhs.pc.in
-+++ b/libhs.pc.in
-@@ -7,4 +7,5 @@ Name: libhs
- Description: Intel(R) Hyperscan Library
- Version: @HS_VERSION@
- Libs: -L${libdir} -lhs
-+Libs.private: -lstdc++ -lm
- Cflags: -I${includedir}/hs
-
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Boris Nagaev <bnagaev@gmail.com>
-Date: Wed, 18 May 2016 01:12:02 +0200
-Subject: [PATCH] fix linking against gtest in shared mode
-
-See https://github.com/01org/hyperscan/issues/19
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1111111..2222222 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -214,7 +214,7 @@ CHECK_FUNCTION_EXISTS(_aligned_malloc HAVE__ALIGNED_MALLOC)
- CHECK_C_COMPILER_FLAG(-fvisibility=hidden HAS_C_HIDDEN)
- CHECK_CXX_COMPILER_FLAG(-fvisibility=hidden HAS_CXX_HIDDEN)
-
--if (RELEASE_BUILD)
-+if (RELEASE_BUILD AND NOT BUILD_STATIC_AND_SHARED AND NOT BUILD_SHARED_LIBS)
- if (HAS_C_HIDDEN)
- set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -fvisibility=hidden")
- endif()
-
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Boris Nagaev <bnagaev@gmail.com>
Date: Wed, 18 May 2016 01:25:59 +0200
Subject: [PATCH] update preprocessor conditions
@@ -5980,7 +5941,7 @@ diff --git a/cmake/config.h.in b/cmake/config.h.in
index 1111111..2222222 100644
--- a/cmake/config.h.in
+++ b/cmake/config.h.in
-@@ -99,3 +99,4 @@
+@@ -89,3 +89,4 @@
/* define if this is a release build. */
#cmakedefine RELEASE_BUILD
@@ -5998,6 +5959,19 @@ index 1111111..2222222 100644
#define SNPRINTF_COMPAT _snprintf
#else
#define SNPRINTF_COMPAT snprintf
+diff --git a/src/nfa/mcclellan_common_impl.h b/src/nfa/mcclellan_common_impl.h
+index 1111111..2222222 100644
+--- a/src/nfa/mcclellan_common_impl.h
++++ b/src/nfa/mcclellan_common_impl.h
+@@ -26,7 +26,7 @@
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+-#if defined(__INTEL_COMPILER) || defined(__clang__) || defined(_WIN32) || defined(__GNUC__) && (__GNUC__ < 4)
++#if defined(__INTEL_COMPILER) || defined(__clang__) || NATIVE_WIN32 || defined(__GNUC__) && (__GNUC__ < 4)
+ #define really_flatten
+ #else
+ #define really_flatten __attribute__ ((flatten))
diff --git a/src/nfa/nfa_internal.h b/src/nfa/nfa_internal.h
index 1111111..2222222 100644
--- a/src/nfa/nfa_internal.h
@@ -6011,28 +5985,6 @@ index 1111111..2222222 100644
/* Use for functions that return an integer. */
#define NFA_API_NO_IMPL(...) \
-diff --git a/src/rose/rose_internal.h b/src/rose/rose_internal.h
-index 1111111..2222222 100644
---- a/src/rose/rose_internal.h
-+++ b/src/rose/rose_internal.h
-@@ -637,7 +637,7 @@ struct lit_benefits {
- } expected;
- };
-
--#if defined(_WIN32)
-+#if NATIVE_WIN32
- #pragma pack(push, 1)
- #endif
- // Rose runtime state
-@@ -645,7 +645,7 @@ struct RoseRuntimeState {
- u8 stored_depth; /* depth at stream boundary */
- u8 flags; /* high bit true if delay rebuild needed */
- u8 broken; /* user has requested that we stop matching */
--#if defined(_WIN32)
-+#if NATIVE_WIN32
- };
- #pragma pack(pop)
- #else
diff --git a/src/ue2common.h b/src/ue2common.h
index 1111111..2222222 100644
--- a/src/ue2common.h
@@ -6090,28 +6042,6 @@ index 1111111..2222222 100644
#ifndef likely
#define likely(x) __builtin_expect(!!(x), 1)
#endif
-diff --git a/src/util/alloc.cpp b/src/util/alloc.cpp
-index 1111111..2222222 100644
---- a/src/util/alloc.cpp
-+++ b/src/util/alloc.cpp
-@@ -61,7 +61,7 @@ namespace ue2 {
-
- void *aligned_malloc_internal(size_t size, size_t align) {
- void *mem;
--#if !defined(_WIN32)
-+#if !NATIVE_WIN32
- int rv = posix_memalign(&mem, align, size);
- if (rv != 0) {
- DEBUG_PRINTF("posix_memalign returned %d when asked for %zu bytes\n",
-@@ -85,7 +85,7 @@ void aligned_free_internal(void *ptr) {
- return;
- }
-
--#if defined(_WIN32)
-+#if NATIVE_WIN32
- _aligned_free(ptr);
- #else
- free(ptr);
diff --git a/src/util/bitutils.h b/src/util/bitutils.h
index 1111111..2222222 100644
--- a/src/util/bitutils.h
@@ -6134,16 +6064,21 @@ index 1111111..2222222 100644
unsigned long r;
_BitScanReverse(&r, x);
return 31 - r;
-@@ -86,7 +86,7 @@ u32 clz32(u32 x) {
+@@ -86,11 +86,11 @@ u32 clz32(u32 x) {
static really_inline
u32 clz64(u64a x) {
assert(x); // behaviour not defined for x == 0
--#if defined(_WIN32)
-+#if NATIVE_WIN32
+-#if defined(_WIN64)
++#if NATIVE_WIN32 && defined(_WIN64)
unsigned long r;
_BitScanReverse64(&r, x);
return 63 - r;
-@@ -99,7 +99,7 @@ u32 clz64(u64a x) {
+-#elif defined(_WIN32)
++#elif NATIVE_WIN32
+ unsigned long x1 = (u32)x;
+ unsigned long x2 = (u32)(x >> 32);
+ unsigned long r;
+@@ -109,7 +109,7 @@ u32 clz64(u64a x) {
static really_inline
u32 ctz32(u32 x) {
assert(x); // behaviour not defined for x == 0
@@ -6152,15 +6087,20 @@ index 1111111..2222222 100644
unsigned long r;
_BitScanForward(&r, x);
return r;
-@@ -111,7 +111,7 @@ u32 ctz32(u32 x) {
+@@ -121,11 +121,11 @@ u32 ctz32(u32 x) {
static really_inline
u32 ctz64(u64a x) {
assert(x); // behaviour not defined for x == 0
--#if defined(_WIN32)
-+#if NATIVE_WIN32
+-#if defined(_WIN64)
++#if NATIVE_WIN32 && defined(_WIN64)
unsigned long r;
_BitScanForward64(&r, x);
return r;
+-#elif defined(_WIN32)
++#elif NATIVE_WIN32
+ unsigned long r;
+ if (_BitScanForward(&r, (u32)x)) {
+ return (u32)r;
diff --git a/src/util/cpuid_flags.c b/src/util/cpuid_flags.c
index 1111111..2222222 100644
--- a/src/util/cpuid_flags.c
@@ -6174,7 +6114,7 @@ index 1111111..2222222 100644
#include <cpuid.h>
#endif
-@@ -54,7 +54,7 @@
+@@ -60,7 +60,7 @@
static __inline
void cpuid(unsigned int op, unsigned int leaf, unsigned int *eax,
unsigned int *ebx, unsigned int *ecx, unsigned int *edx) {
@@ -6183,19 +6123,41 @@ index 1111111..2222222 100644
__cpuid_count(op, leaf, *eax, *ebx, *ecx, *edx);
#else
unsigned int a[4];
+@@ -74,7 +74,7 @@ void cpuid(unsigned int op, unsigned int leaf, unsigned int *eax,
+
+ static inline
+ u64a xgetbv(u32 op) {
+-#if defined(_WIN32) || defined(__INTEL_COMPILER)
++#if NATIVE_WIN32 || defined(__INTEL_COMPILER)
+ return _xgetbv(op);
+ #else
+ u32 a, d;
+diff --git a/src/util/make_unique.h b/src/util/make_unique.h
+index 1111111..2222222 100644
+--- a/src/util/make_unique.h
++++ b/src/util/make_unique.h
+@@ -29,7 +29,7 @@
+ #ifndef UTIL_MAKE_UNIQUE_H
+ #define UTIL_MAKE_UNIQUE_H
+
+-#if (defined(_WIN32) || defined(_WIN64)) && (_MSC_VER > 1700)
++#if NATIVE_WIN32 && (_MSC_VER > 1700)
+ // VC++ 2013 onwards has make_unique in the STL
+ #define USE_STD
+ #include <memory>
diff --git a/src/util/popcount.h b/src/util/popcount.h
index 1111111..2222222 100644
--- a/src/util/popcount.h
+++ b/src/util/popcount.h
-@@ -40,7 +40,7 @@
+@@ -38,7 +38,7 @@
+ // We have a native popcount where the compiler has defined __POPCNT__.
+ #if defined(__POPCNT__)
+ #define HAVE_POPCOUNT_INSTR
+-#elif defined(_WIN32) && defined(__AVX__) // TODO: fix win preproc
++#elif NATIVE_WIN32 && defined(__AVX__) // TODO: fix win preproc
#define HAVE_POPCOUNT_INSTR
#endif
--#if defined(_WIN32) && defined(__AVX__) // TODO: fix win preproc
-+#if NATIVE_WIN32 && defined(__AVX__) // TODO: fix win preproc
- #define HAVE_POPCOUNT_INSTR
- #define __builtin_popcount __popcnt
- #define __builtin_popcountll __popcnt64
diff --git a/src/util/shuffle.h b/src/util/shuffle.h
index 1111111..2222222 100644
--- a/src/util/shuffle.h
@@ -6261,7 +6223,7 @@ diff --git a/unit/hyperscan/test_util.h b/unit/hyperscan/test_util.h
index 1111111..2222222 100644
--- a/unit/hyperscan/test_util.h
+++ b/unit/hyperscan/test_util.h
-@@ -35,7 +35,7 @@
+@@ -37,7 +37,7 @@
#include "hs.h"
#ifndef UNUSED
@@ -6321,7 +6283,7 @@ index 1111111..2222222 100644
message(FATAL_ERROR "Windows DLLs currently not supported")
else()
message(STATUS "Building shared libraries")
-@@ -227,7 +227,7 @@ endif()
+@@ -238,7 +238,7 @@ include (${CMAKE_MODULE_PATH}/arch.cmake)
CHECK_C_SOURCE_COMPILES("void *aa_test(void *x) { return __builtin_assume_aligned(x, 16);}\nint main(void) { return 0; }" HAVE_CC_BUILTIN_ASSUME_ALIGNED)
CHECK_CXX_SOURCE_COMPILES("void *aa_test(void *x) { return __builtin_assume_aligned(x, 16);}\nint main(void) { return 0; }" HAVE_CXX_BUILTIN_ASSUME_ALIGNED)
@@ -6330,7 +6292,7 @@ index 1111111..2222222 100644
set(C_FLAGS_TO_CHECK
# Variable length arrays are way bad, most especially at run time
"-Wvla"
-@@ -314,7 +314,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+@@ -325,7 +325,7 @@ if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set(FREEBSD true)
endif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
@@ -6339,17 +6301,26 @@ index 1111111..2222222 100644
if(CMAKE_C_COMPILER_ID MATCHES "Intel")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -diag-error 10006 -diag-disable 177 -diag-disable 2304 -diag-disable 2305 -diag-disable 2338 -diag-disable 1418 -diag-disable=remark")
endif()
-@@ -351,7 +351,7 @@ add_subdirectory(src/fdr)
+@@ -345,7 +345,7 @@ endif()
+ configure_file(${CMAKE_MODULE_PATH}/config.h.in ${PROJECT_BINARY_DIR}/config.h)
+ configure_file(src/hs_version.h.in ${PROJECT_BINARY_DIR}/hs_version.h)
+
+-if (NOT WIN32)
++if (MINGW OR NOT WIN32)
+ # expand out library names for pkgconfig static link info
+ foreach (LIB ${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES})
+ # this is fragile, but protects us from toolchain specific files
+@@ -364,7 +364,7 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_C_FLAGS}")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXX_FLAGS}")
- include_directories(${PROJECT_BINARY_DIR}/src/fdr)
-if(NOT WIN32)
+if(MINGW OR NOT WIN32)
set(RAGEL_C_FLAGS "-Wno-unused")
endif()
-@@ -944,6 +944,6 @@ if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS)
- install(TARGETS hs_shared DESTINATION lib)
+@@ -988,6 +988,6 @@ install(TARGETS hs_shared
+ LIBRARY DESTINATION lib)
endif()
-if(NOT WIN32)
@@ -6369,7 +6340,7 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1111111..2222222 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -200,6 +200,11 @@ else()
+@@ -208,6 +208,11 @@ else()
endif()
@@ -6388,62 +6359,29 @@ index 1111111..2222222 100644
@@ -8,4 +8,4 @@ Description: Intel(R) Hyperscan Library
Version: @HS_VERSION@
Libs: -L${libdir} -lhs
- Libs.private: -lstdc++ -lm
+ Libs.private: @PRIVATE_LIBS@
-Cflags: -I${includedir}/hs
+Cflags: -I${includedir}/hs -posix
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Boris Nagaev <bnagaev@gmail.com>
-Date: Wed, 18 May 2016 07:57:11 +0200
-Subject: [PATCH] fix linking errors in shared mode
-
-libcorpusomatic depends on libhs (for example, it uses symbol
-ue2::ReportManager::getReport). DLL fails to be linked if
-sime symbols are not resolved.
-
-diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
-index 1111111..2222222 100644
---- a/util/CMakeLists.txt
-+++ b/util/CMakeLists.txt
-@@ -26,5 +26,5 @@ SET(corpusomatic_SRCS
- ng_find_matches.h
- ng_find_matches.cpp
- )
--add_library(corpusomatic ${corpusomatic_SRCS})
-+add_library(corpusomatic STATIC ${corpusomatic_SRCS})
-
+Date: Sat, 4 Jun 2016 00:00:24 +0200
+Subject: [PATCH] simplegrep: open file in binary mode
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Boris Nagaev <bnagaev@gmail.com>
-Date: Wed, 18 May 2016 07:59:57 +0200
-Subject: [PATCH] install .dll to bin/, not to lib/
+Otherwise it hangs on binary files (MinGW).
+See https://github.com/01org/hyperscan/pull/26
-diff --git a/CMakeLists.txt b/CMakeLists.txt
+diff --git a/examples/simplegrep.c b/examples/simplegrep.c
index 1111111..2222222 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -926,7 +926,10 @@ if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS)
- OUTPUT_NAME hs_runtime
- MACOSX_RPATH ON
- LINKER_LANGUAGE C)
-- install(TARGETS hs_runtime_shared DESTINATION lib)
-+ install(TARGETS hs_runtime_shared
-+ RUNTIME DESTINATION bin
-+ ARCHIVE DESTINATION lib
-+ LIBRARY DESTINATION lib)
- endif()
-
- # we want the static lib for testing
-@@ -946,7 +949,10 @@ if (BUILD_STATIC_AND_SHARED OR BUILD_SHARED_LIBS)
- VERSION ${LIB_VERSION}
- SOVERSION ${LIB_SOVERSION}
- MACOSX_RPATH ON)
--install(TARGETS hs_shared DESTINATION lib)
-+install(TARGETS hs_shared
-+ RUNTIME DESTINATION bin
-+ ARCHIVE DESTINATION lib
-+ LIBRARY DESTINATION lib)
- endif()
-
- if(MINGW OR NOT WIN32)
+--- a/examples/simplegrep.c
++++ b/examples/simplegrep.c
+@@ -77,7 +77,7 @@ static int eventHandler(unsigned int id, unsigned long long from,
+ * length with its length. Returns NULL on failure.
+ */
+ static char *readInputData(const char *inputFN, unsigned int *length) {
+- FILE *f = fopen(inputFN, "r");
++ FILE *f = fopen(inputFN, "rb");
+ if (!f) {
+ fprintf(stderr, "ERROR: unable to open file \"%s\": %s\n", inputFN,
+ strerror(errno));
diff --git a/src/hyperscan.mk b/src/hyperscan.mk
index df7f90c..71134f7 100644
--- a/src/hyperscan.mk
+++ b/src/hyperscan.mk
@@ -3,8 +3,8 @@
PKG := hyperscan
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 4.1.0
-$(PKG)_CHECKSUM := b8de3f59c2bd1a8765a5aca5dfdd062766cef67218aedf63df2c92766524b3c1
+$(PKG)_VERSION := 4.2.0
+$(PKG)_CHECKSUM := d06d8f31a62e5d2903a8ccf07696e02cadf4de2024dc3b558d410d913c81dbef
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL := https://github.com/01org/$(PKG)/archive/v$($(PKG)_VERSION).tar.gz
@@ -16,6 +16,8 @@ endef
define $(PKG)_BUILD
mkdir '$(1).build'
+ # Add the following options to run on (virtual) machine without AVX2
+ # -DCMAKE_C_FLAGS="-march=core2" -DCMAKE_CXX_FLAGS="-march=core2"
cd '$(1).build' && '$(TARGET)-cmake' \
-DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),OFF,ON) \
'$(1)'
diff --git a/src/lua.mk b/src/lua.mk
index 6452bf8..908e2c7 100644
--- a/src/lua.mk
+++ b/src/lua.mk
@@ -3,10 +3,10 @@
PKG := lua
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 5.3.2
+$(PKG)_VERSION := 5.3.3
# Shared version and luarocks subdir
$(PKG)_SHORTVER := $(call SHORT_PKG_VERSION,$(PKG))
-$(PKG)_CHECKSUM := c740c7bb23a936944e1cc63b7c3c5351a8976d7867c5252c8854f7b2af9da68f
+$(PKG)_CHECKSUM := 5113c06884f7de453ce57702abaac1d618307f33f6789fa870e87a59d772aca2
$(PKG)_SUBDIR := lua-$($(PKG)_VERSION)
$(PKG)_FILE := lua-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://www.lua.org/ftp/$($(PKG)_FILE)
diff --git a/src/protobuf.mk b/src/protobuf.mk
index 3a5051a..5e8596e 100644
--- a/src/protobuf.mk
+++ b/src/protobuf.mk
@@ -4,21 +4,19 @@
PKG := protobuf
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.6.1
-$(PKG)_CHECKSUM := 2667b7cda4a6bc8a09e5463adf3b5984e08d94e72338277affa8594d8b6e5cd1
+$(PKG)_CHECKSUM := dbbd7bdd2381633995404de65a945ff1a7610b0da14593051b4738c90c6dd164
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
-$(PKG)_URL := https://github.com/google/$(PKG)/archive/$($(PKG)_VERSION).tar.gz
-$(PKG)_DEPS := gcc zlib googletest
+$(PKG)_URL := https://github.com/google/protobuf/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc zlib
define $(PKG)_UPDATE
$(call MXE_GET_GITHUB_TAGS, google/protobuf, v)
endef
define $(PKG)_BUILD
- $(call PREPARE_PKG_SOURCE,googletest,$(1))
- cd '$(1)' && mv googletest-release-$(googletest_VERSION)/ gtest
# First step: Build for host system in order to create "protoc" binary.
- cd '$(1)' && ./autogen.sh && ./configure \
+ cd '$(1)' && ./configure \
--disable-shared
$(MAKE) -C '$(1)' -j '$(JOBS)'
cp '$(1)/src/protoc' '$(PREFIX)/bin/$(TARGET)-protoc'
diff --git a/versions.json b/versions.json
index 9bad5f2..c35c8e0 100644
--- a/versions.json
+++ b/versions.json
@@ -81,7 +81,7 @@
"glibmm": "2.42.0",
"glm": "0.9.7.4",
"gmp": "6.1.0",
- "gnutls": "3.4.12",
+ "gnutls": "3.4.13",
"googletest": "1.7.0",
"graphicsmagick": "1.3.21",
"gsl": "1.16",
@@ -109,7 +109,7 @@
"hdf4": "4.2.10",
"hdf5": "1.8.12",
"hunspell": "1.3.3",
- "hyperscan": "4.1.0",
+ "hyperscan": "4.2.0",
"icu4c": "56.1",
"id3lib": "3.8.3",
"ilmbase": "2.2.0",
@@ -218,7 +218,7 @@
"libzip": "0.11.2",
"llvm": "3.4",
"log4cxx": "0.10.0",
- "lua": "5.3.2",
+ "lua": "5.3.3",
"luabind": "0.9.1",
"luajit": "2.0.4",
"lzma": "920",