Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
From cf84bf3ef505059d42184b22cf38f89336bec43d Mon Sep 17 00:00:00 2001
|
||||
From: Gergely Imreh <imrehg@gmail.com>
|
||||
Date: Mon, 22 Jun 2015 07:51:17 +0000
|
||||
Subject: [PATCH 1/1] remove hard-wired ncursesw include path
|
||||
|
||||
Don't assume that the ncursesw headers are in ../usr/include/ncursesw/..,
|
||||
and pkg-config finds the correct include path anyways.
|
||||
|
||||
Signed-off-by: Gergely Imreh <imrehg@gmail.com>
|
||||
---
|
||||
pinentry/pinentry-curses.c | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/pinentry/pinentry-curses.c b/pinentry/pinentry-curses.c
|
||||
index 235435a..bdcd0f4 100644
|
||||
--- a/pinentry/pinentry-curses.c
|
||||
+++ b/pinentry/pinentry-curses.c
|
||||
@@ -22,11 +22,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
#include <assert.h>
|
||||
-#ifdef HAVE_NCURSESW
|
||||
-#include <ncursesw/curses.h>
|
||||
-#else
|
||||
#include <curses.h>
|
||||
-#endif
|
||||
#include <signal.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
menuconfig BR2_PACKAGE_PINENTRY
|
||||
bool "pinentry"
|
||||
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error
|
||||
depends on BR2_USE_MMU # libassuan
|
||||
select BR2_PACKAGE_LIBASSUAN
|
||||
select BR2_PACKAGE_LIBGPG_ERROR
|
||||
# At least one backend is needed to avoid build breakage
|
||||
select BR2_PACKAGE_PINENTRY_NCURSES if !BR2_PACKAGE_PINENTRY_GTK2 && !BR2_PACKAGE_PINENTRY_QT4
|
||||
select BR2_PACKAGE_PINENTRY_NCURSES if \
|
||||
!BR2_PACKAGE_PINENTRY_GTK2 && \
|
||||
!BR2_PACKAGE_PINENTRY_QT4 && \
|
||||
!BR2_PACKAGE_PINENTRY_QT5
|
||||
help
|
||||
A collection of simple PIN or pass-phrase entry dialogs
|
||||
|
||||
@@ -40,17 +47,32 @@ config BR2_PACKAGE_PINENTRY_QT4
|
||||
depends on BR2_USE_MMU # fork
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405 # Qt GUI module
|
||||
select BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT_GUI_MODULE
|
||||
help
|
||||
The pinentry-qt4 tool
|
||||
|
||||
comment "pinentry-qt4 support needs a toolchain not affected by Binutils bug 19405"
|
||||
depends on BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
|
||||
|
||||
comment "pinentry-qt4 needs a toolchain w/ C++, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_PINENTRY_QT5
|
||||
bool "pinentry-qt5"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on !BR2_PACKAGE_PINENTRY_QT4
|
||||
depends on !BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT5
|
||||
select BR2_PACKAGE_QT5BASE_GUI
|
||||
select BR2_PACKAGE_QT5BASE_WIDGETS
|
||||
help
|
||||
The pinentry-qt5 tool
|
||||
|
||||
comment "pinentry-qt5 needs a toolchain w/ wchar, NPTL, C++, dynamic library"
|
||||
depends on !BR2_PACKAGE_PINENTRY_QT4
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
# From https://www.gnupg.org/download/integrity_check.html
|
||||
sha1 0c47f0ddea4631bcba01ebbeca8bffe0bf43e440 pinentry-0.9.4.tar.bz2
|
||||
sha1 85d9ac81ebad3fb082514c505c90c39a0456f1f6 pinentry-1.0.0.tar.bz2
|
||||
# Locally computed
|
||||
sha256 1672c2edc1feb036075b187c0773787b2afd0544f55025c645a71b4c2f79275a pinentry-1.0.0.tar.bz2
|
||||
|
||||
@@ -4,21 +4,22 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PINENTRY_VERSION = 0.9.4
|
||||
PINENTRY_VERSION = 1.0.0
|
||||
PINENTRY_SOURCE = pinentry-$(PINENTRY_VERSION).tar.bz2
|
||||
PINENTRY_SITE = ftp://ftp.gnupg.org/gcrypt/pinentry
|
||||
PINENTRY_LICENSE = GPLv2+
|
||||
PINENTRY_SITE = https://www.gnupg.org/ftp/gcrypt/pinentry
|
||||
PINENTRY_LICENSE = GPL-2.0+
|
||||
PINENTRY_LICENSE_FILES = COPYING
|
||||
PINENTRY_DEPENDENCIES = \
|
||||
libassuan libgpg-error \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
||||
host-pkgconf
|
||||
PINENTRY_CONF_OPTS += --without-libcap # requires PAM
|
||||
PINENTRY_CONF_OPTS += \
|
||||
--with-libassuan-prefix=$(STAGING_DIR)/usr \
|
||||
--with-libgpg-error-prefix=$(STAGING_DIR)/usr \
|
||||
--without-libcap # requires PAM
|
||||
|
||||
# pinentry uses some std::string functionality that needs C++11
|
||||
# support when gcc >= 5.x. This should be removed when bumping
|
||||
# pinentry, since newer versions no longer use std::string.
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),y)
|
||||
PINENTRY_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=gnu++11"
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||
PINENTRY_CONF_ENV += LIBS=-latomic
|
||||
endif
|
||||
|
||||
# build with X if available
|
||||
@@ -51,15 +52,17 @@ else
|
||||
PINENTRY_CONF_OPTS += --disable-pinentry-gtk2
|
||||
endif
|
||||
|
||||
# pinentry-qt4 backend
|
||||
# pinentry-qt4/5 backend
|
||||
ifeq ($(BR2_PACKAGE_PINENTRY_QT4)$(BR2_PACKAGE_PINENTRY_QT5),y)
|
||||
ifeq ($(BR2_PACKAGE_PINENTRY_QT4),y)
|
||||
# -pthread needs to be passed for certain toolchains
|
||||
# http://autobuild.buildroot.net/results/6be/6be109ccedec603a67cebdb31b55865dcce0e128/
|
||||
PINENTRY_CONF_OPTS += LIBS=-pthread MOC=$(HOST_DIR)/usr/bin/moc
|
||||
PINENTRY_CONF_OPTS += --enable-pinentry-qt4
|
||||
PINENTRY_DEPENDENCIES += qt
|
||||
PINENTRY_CONF_OPTS += LIBS=-pthread MOC=$(HOST_DIR)/bin/moc
|
||||
endif
|
||||
PINENTRY_CONF_OPTS += --enable-pinentry-qt
|
||||
PINENTRY_DEPENDENCIES += $(if $(BR2_PACKAGE_PINENTRY_QT4),qt,qt5base)
|
||||
else
|
||||
PINENTRY_CONF_OPTS += --disable-pinentry-qt4
|
||||
PINENTRY_CONF_OPTS += --disable-pinentry-qt
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user