summaryrefslogtreecommitdiffstats
path: root/package/git-crypt
diff options
context:
space:
mode:
Diffstat (limited to 'package/git-crypt')
-rw-r--r--package/git-crypt/Config.in11
-rw-r--r--package/git-crypt/git-crypt.hash7
-rw-r--r--package/git-crypt/git-crypt.mk5
3 files changed, 17 insertions, 6 deletions
diff --git a/package/git-crypt/Config.in b/package/git-crypt/Config.in
index 362fe9a600..9a270b8f9d 100644
--- a/package/git-crypt/Config.in
+++ b/package/git-crypt/Config.in
@@ -1,6 +1,8 @@
config BR2_PACKAGE_GIT_CRYPT
bool "git-crypt"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+ depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
depends on BR2_USE_MMU # git
select BR2_PACKAGE_GIT # runtime
select BR2_PACKAGE_OPENSSL
@@ -10,6 +12,11 @@ config BR2_PACKAGE_GIT_CRYPT
https://www.agwa.name/projects/git-crypt/
-comment "git-crypt needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "git-crypt needs a toolchain w/ C++, gcc >= 4.9"
+ depends on !BR2_INSTALL_LIBSTDCPP \
+ || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
depends on BR2_USE_MMU
+
+comment "git-crypt needs a toolchain not affected by GCC bug 64735"
+ depends on BR2_USE_MMU
+ depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
diff --git a/package/git-crypt/git-crypt.hash b/package/git-crypt/git-crypt.hash
index 8589f03f71..973432d7d0 100644
--- a/package/git-crypt/git-crypt.hash
+++ b/package/git-crypt/git-crypt.hash
@@ -1,2 +1,5 @@
-# Hash from: https://lists.cloudmutt.com/pipermail/git-crypt-announce/2015-May/000003.html
-sha256 0a8f92c0a0a125bf768d0c054d947ca4e4b8d6556454b0e7e87fb907ee17cf06 git-crypt-0.5.0.tar.gz
+# Locally calculated after checking pgp signature
+sha256 6d30fcd99442d50f4b3c8d554067ff1d980cdf9f3120ee774131172dba98fd6f git-crypt-0.6.0.tar.gz
+# Locally calculated
+sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
+sha256 506657e7a381165550e6c33e35b3b03bbef3e1feb68ba5529e264bd75ed2dc64 parse_options.hpp
diff --git a/package/git-crypt/git-crypt.mk b/package/git-crypt/git-crypt.mk
index 6cae456fd3..37e3d885a9 100644
--- a/package/git-crypt/git-crypt.mk
+++ b/package/git-crypt/git-crypt.mk
@@ -4,7 +4,7 @@
#
################################################################################
-GIT_CRYPT_VERSION = 0.5.0
+GIT_CRYPT_VERSION = 0.6.0
GIT_CRYPT_SITE = https://www.agwa.name/projects/git-crypt/downloads
GIT_CRYPT_DEPENDENCIES = host-pkgconf openssl
GIT_CRYPT_LICENSE = GPL-3.0+, MIT
@@ -14,7 +14,8 @@ GIT_CRYPT_LIBS = `$(PKG_CONFIG_HOST_BINARY) --libs openssl`
define GIT_CRYPT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
- LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" PREFIX=/usr
+ LDFLAGS="$(TARGET_LDFLAGS) $(GIT_CRYPT_LIBS)" \
+ CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" PREFIX=/usr
endef
define GIT_CRYPT_INSTALL_TARGET_CMDS
OpenPOWER on IntegriCloud