Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
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
|
||||
|
||||
52
deprecated/firmware/buildroot/package/pinentry/Config.in
Normal file
52
deprecated/firmware/buildroot/package/pinentry/Config.in
Normal file
@@ -0,0 +1,52 @@
|
||||
menuconfig BR2_PACKAGE_PINENTRY
|
||||
bool "pinentry"
|
||||
# At least one backend is needed to avoid build breakage
|
||||
select BR2_PACKAGE_PINENTRY_NCURSES if !BR2_PACKAGE_PINENTRY_GTK2 && !BR2_PACKAGE_PINENTRY_QT4
|
||||
help
|
||||
A collection of simple PIN or pass-phrase entry dialogs
|
||||
|
||||
https://www.gnupg.org/related_software/pinentry/
|
||||
|
||||
if BR2_PACKAGE_PINENTRY
|
||||
|
||||
config BR2_PACKAGE_PINENTRY_NCURSES
|
||||
bool "pinentry-ncurses"
|
||||
select BR2_PACKAGE_NCURSES
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
The pinentry-ncurses tool
|
||||
|
||||
config BR2_PACKAGE_PINENTRY_GTK2
|
||||
bool "pinentry-gtk2"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz
|
||||
select BR2_PACKAGE_LIBGTK2
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
help
|
||||
The pinentry-gtk2 tool
|
||||
|
||||
comment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \
|
||||
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
config BR2_PACKAGE_PINENTRY_QT4
|
||||
bool "pinentry-qt4"
|
||||
depends on BR2_USE_MMU # fork
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_QT
|
||||
select BR2_PACKAGE_QT_GUI_MODULE
|
||||
help
|
||||
The pinentry-qt4 tool
|
||||
|
||||
comment "pinentry-qt4 needs a toolchain w/ C++, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
endif
|
||||
@@ -0,0 +1,2 @@
|
||||
# From https://www.gnupg.org/download/integrity_check.html
|
||||
sha1 0c47f0ddea4631bcba01ebbeca8bffe0bf43e440 pinentry-0.9.4.tar.bz2
|
||||
58
deprecated/firmware/buildroot/package/pinentry/pinentry.mk
Normal file
58
deprecated/firmware/buildroot/package/pinentry/pinentry.mk
Normal file
@@ -0,0 +1,58 @@
|
||||
################################################################################
|
||||
#
|
||||
# pinentry
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PINENTRY_VERSION = 0.9.4
|
||||
PINENTRY_SOURCE = pinentry-$(PINENTRY_VERSION).tar.bz2
|
||||
PINENTRY_SITE = ftp://ftp.gnupg.org/gcrypt/pinentry
|
||||
PINENTRY_LICENSE = GPLv2+
|
||||
PINENTRY_LICENSE_FILES = COPYING
|
||||
PINENTRY_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_LIBICONV),libiconv) \
|
||||
host-pkgconf
|
||||
PINENTRY_CONF_OPTS += --without-libcap # requires PAM
|
||||
|
||||
# build with X if available
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
PINENTRY_CONF_OPTS += --with-x
|
||||
else
|
||||
PINENTRY_CONF_OPTS += --without-x
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECRET),y)
|
||||
PINENTRY_CONF_OPTS += --enable-libsecret
|
||||
PINENTRY_DEPENDENCIES += libsecret
|
||||
else
|
||||
PINENTRY_CONF_OPTS += --disable-libsecret
|
||||
endif
|
||||
|
||||
# pinentry-ncurses backend
|
||||
ifeq ($(BR2_PACKAGE_PINENTRY_NCURSES),y)
|
||||
PINENTRY_CONF_OPTS += --enable-ncurses --with-ncurses-include-dir=none
|
||||
PINENTRY_DEPENDENCIES += ncurses
|
||||
else
|
||||
PINENTRY_CONF_OPTS += --disable-ncurses
|
||||
endif
|
||||
|
||||
# pinentry-gtk2 backend
|
||||
ifeq ($(BR2_PACKAGE_PINENTRY_GTK2),y)
|
||||
PINENTRY_CONF_OPTS += --enable-pinentry-gtk2
|
||||
PINENTRY_DEPENDENCIES += libgtk2
|
||||
else
|
||||
PINENTRY_CONF_OPTS += --disable-pinentry-gtk2
|
||||
endif
|
||||
|
||||
# pinentry-qt4 backend
|
||||
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
|
||||
else
|
||||
PINENTRY_CONF_OPTS += --disable-pinentry-qt4
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user