diff options
author | Slávek Banko <[email protected]> | 2020-11-26 00:06:30 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-11-26 00:06:30 +0100 |
commit | b493215bf0e0c8e9804dc32a58057e0b3dbb7a22 (patch) | |
tree | e8bd0bd24afb7371bfa6721d77730c8f8a4529fa /freebsd/dependencies | |
parent | 07ab43fcf2b320a4d6007ff80217c377c92151ac (diff) | |
download | tde-packaging-b493215bf0e0c8e9804dc32a58057e0b3dbb7a22.tar.gz tde-packaging-b493215bf0e0c8e9804dc32a58057e0b3dbb7a22.zip |
FreeBSD: Add a pinetry port built as a pinentry-tqt flavor.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'freebsd/dependencies')
-rw-r--r-- | freebsd/dependencies/Makefile | 1 | ||||
-rw-r--r-- | freebsd/dependencies/pinentry-tqt/Makefile | 44 | ||||
-rw-r--r-- | freebsd/dependencies/pinentry-tqt/distinfo | 3 | ||||
-rw-r--r-- | freebsd/dependencies/pinentry-tqt/files/patch-secmem_secmem.c | 11 | ||||
-rw-r--r-- | freebsd/dependencies/pinentry-tqt/pkg-descr | 4 |
5 files changed, 63 insertions, 0 deletions
diff --git a/freebsd/dependencies/Makefile b/freebsd/dependencies/Makefile index 7e53b0239..a03c90de3 100644 --- a/freebsd/dependencies/Makefile +++ b/freebsd/dependencies/Makefile @@ -20,5 +20,6 @@ SUBDIR += libart-lgpl SUBDIR += libcaldav SUBDIR += libcarddav + SUBDIR += pinentry-tqt .include <bsd.port.subdir.mk> diff --git a/freebsd/dependencies/pinentry-tqt/Makefile b/freebsd/dependencies/pinentry-tqt/Makefile new file mode 100644 index 000000000..0536a24de --- /dev/null +++ b/freebsd/dependencies/pinentry-tqt/Makefile @@ -0,0 +1,44 @@ +# Created by: Michael Nottebrock <[email protected]> +# $FreeBSD: head/security/pinentry/Makefile 517058 2019-11-08 13:17:00Z tobik $ + +PORTNAME= pinentry +PORTVERSION= 1.1.0 +PORTREVISION?= 6 +CATEGORIES= security +MASTER_SITES= GNUPG/pinentry + +MAINTAINER= [email protected] +COMMENT= TQt version of the GnuPG password dialog + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= tar:bzip2 + +PINENTRY_GUI= tqt + +PKGNAMESUFFIX= -${PINENTRY_GUI} +LIB_DEPENDS= libassuan.so:security/libassuan \ + libgpg-error.so:security/libgpg-error + +USES+= gmake iconv localbase ncurses pkgconfig +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-pinentry-emacs +LDFLAGS+= -Wl,--as-needed + + +LIB_DEPENDS= libtqt.so:x11/trinity/dependencies/tqtinterface +PLIST_FILES= bin/pinentry-tqt +CONFIGURE_ARGS+=--enable-pinentry-tqt --disable-libsecret +CONFIGURE_ARGS+=--disable-pinentry-qt --disable-pinentry-qt5 +CONFIGURE_ARGS+=--disable-pinentry-gnome3 +CONFIGURE_ARGS+=--disable-pinentry-gtk2 +CONFIGURE_ARGS+=--disable-pinentry-fltk +CONFIGURE_ARGS+=--disable-pinentry-curses +CONFIGURE_ARGS+=--disable-pinentry-tty + +post-install: + ${RM} ${STAGEDIR}${PREFIX}/bin/pinentry \ + ${STAGEDIR}${PREFIX}/share/info/pinentry.info + +.include <bsd.port.mk> diff --git a/freebsd/dependencies/pinentry-tqt/distinfo b/freebsd/dependencies/pinentry-tqt/distinfo new file mode 100644 index 000000000..0204c67cb --- /dev/null +++ b/freebsd/dependencies/pinentry-tqt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1516041715 +SHA256 (pinentry-1.1.0.tar.bz2) = 68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570 +SIZE (pinentry-1.1.0.tar.bz2) = 467702 diff --git a/freebsd/dependencies/pinentry-tqt/files/patch-secmem_secmem.c b/freebsd/dependencies/pinentry-tqt/files/patch-secmem_secmem.c new file mode 100644 index 000000000..a21d0ba22 --- /dev/null +++ b/freebsd/dependencies/pinentry-tqt/files/patch-secmem_secmem.c @@ -0,0 +1,11 @@ +--- secmem/secmem.c.orig 2016-04-14 14:39:51 UTC ++++ secmem/secmem.c +@@ -88,7 +88,7 @@ log_fatal(char *template, ...) + # define MAP_ANONYMOUS MAP_ANON + #endif + +-#define DEFAULT_POOLSIZE 16384 ++#define DEFAULT_POOLSIZE 16384*4 + + typedef struct memblock_struct MEMBLOCK; + struct memblock_struct { diff --git a/freebsd/dependencies/pinentry-tqt/pkg-descr b/freebsd/dependencies/pinentry-tqt/pkg-descr new file mode 100644 index 000000000..a78058117 --- /dev/null +++ b/freebsd/dependencies/pinentry-tqt/pkg-descr @@ -0,0 +1,4 @@ +This is a collection of simple PIN or passphrase entry dialogs which +utilize the Assuan protocol as described by the aegypten project. + +WWW: http://www.gnupg.org/aegypten2 |