security/pinentry patch for WINOUT_X11 systems

Max Brazhnikov makc at freebsd.org
Mon Dec 22 12:06:04 UTC 2014


On Fri, 19 Dec 2014 15:26:27 +0300 Dmitry Morozovsky wrote:
> Max,
> 
> pinentry currently brokes if WITHOUT_X11 (or, by new world orderm 
> OPTIONS_UNSET+=X11) is set.

You can use security/pinentry-curses if you don't want Qt/GTK+ gui.
 
> what do you think about the following patch?

Feel free to commit if you're really need it.

> 
> marck at castor:/FreeBSD/ports/ports/security/pinentry> svn diff
> Index: Makefile
> ===================================================================
> --- Makefile    (revision 374940)
> +++ Makefile    (working copy)
> @@ -25,7 +25,11 @@
>  .if !defined(PINENTRY_SLAVE)
>  OPTIONS_MULTI= FRONTEND
>  OPTIONS_MULTI_FRONTEND=        NCURSES GTK2 QT4
> +. if defined(WITHOUT_X11) || ${OPTIONS_UNSET:MX11}
> +OPTIONS_DEFAULT=       NCURSES
> +. else
>  OPTIONS_DEFAULT=       ${OPTIONS_MULTI_FRONTEND}
> +. endif
> 
>  NCURSES_DESC=  Curses frontend
>  GTK2_DESC=     Gtk+ 2 frontend
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20141222/0282ea27/attachment.sig>


More information about the freebsd-ports mailing list