diff --git a/extra/pinentry/build b/extra/pinentry/build new file mode 100755 index 00000000..d27c6c77 --- /dev/null +++ b/extra/pinentry/build @@ -0,0 +1,17 @@ +#!/bin/sh -e + +# TODO(nitori): fix this so curses pinentry can be enabled +# pinentry-curses.c:283:18: warning: implicit declaration of function 'addnwstr'; did you mean 'addnstr'? [-Wimplicit-function-declaration] +# 283 | #define ADDCH(x) addnwstr (&x, 1); +# | ^~~~~~~~ +# [...] +# /usr/bin/ld: ../pinentry/libpinentry-curses.a(libpinentry_curses_a-pinentry-curses.o): undefined reference to symbol 'cbreak' +# /usr/bin/ld: /usr/lib/libtinfow.so.6: error adding symbols: DSO missing from command line +# collect2: error: ld returned 1 exit status +./configure --prefix=/usr \ + --disable-pinentry-qt5 \ + --disable-pinentry-curses \ + --enable-pinentry-tty + +make +make DESTDIR="$1" install diff --git a/extra/pinentry/checksums b/extra/pinentry/checksums new file mode 100644 index 00000000..6a48a770 --- /dev/null +++ b/extra/pinentry/checksums @@ -0,0 +1 @@ +a62b6e45cf712fb51ad78d36716e20581a269a4276871f1869f29fcf73bb16d6be diff --git a/extra/pinentry/sources b/extra/pinentry/sources new file mode 100644 index 00000000..3ac73e0b --- /dev/null +++ b/extra/pinentry/sources @@ -0,0 +1 @@ +https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.2.1.tar.bz2 diff --git a/extra/pinentry/version b/extra/pinentry/version new file mode 100644 index 00000000..cd3d02bc --- /dev/null +++ b/extra/pinentry/version @@ -0,0 +1 @@ +1.2.1 1