security/pinentry patch for WINOUT_X11 systems

Dmitry Morozovsky marck at rinet.ru
Sun Dec 28 22:50:44 UTC 2014


Jun-SAN,

On Sun, 28 Dec 2014, Jun Kuriyama wrote:

> At Tue, 23 Dec 2014 00:36:24 +0300 (MSK),
> Dmitry Morozovsky <marck at rinet.ru> wrote:
> > > > 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.
> > 
> > Ah I see.  Maybe then security/gnupg should detect headless config and switch 
> > between generic and curses ports, perhaps?
> 
> Hmm, I'm no problem with this patch, but should this be handled by
> security/pinentry meta-port side?

Yes, Max' solution to make pinentry meta-port is much more flexible (it has 
been implemented between my mail with CC: to you and current time).

Thanks, and sorry for the noise!

> 
> > Index: security/gnupg/Makefile
> > ===================================================================
> > --- security/gnupg/Makefile     (revision 375271)
> > +++ security/gnupg/Makefile     (working copy)
> > @@ -22,7 +22,11 @@
> >                 libksba.so:${PORTSDIR}/security/libksba \
> >                 libnpth.so:${PORTSDIR}/devel/npth
> >  BUILD_DEPENDS= libgpg-error>=1.11:${PORTSDIR}/security/libgpg-error
> > +.if defined(WITHOUT_X11) || ${OPTIONS_UNSET:MX11}
> > +RUN_DEPENDS=   pinentry>0:${PORTSDIR}/security/pinentry-curses
> > +.else
> >  RUN_DEPENDS=   pinentry>0:${PORTSDIR}/security/pinentry
> > +.endif
> > 
> >  GNU_CONFIGURE= YES
> >  USES=          gmake iconv tar:bzip2
> 
> 
> 

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the freebsd-ports mailing list