From owner-freebsd-ports@FreeBSD.ORG Sun Dec 28 22:50:44 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83849997; Sun, 28 Dec 2014 22:50:44 +0000 (UTC) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC4BB64525; Sun, 28 Dec 2014 22:50:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id sBSMgdhf049391; Mon, 29 Dec 2014 01:43:29 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Mon, 29 Dec 2014 01:42:39 +0300 (MSK) From: Dmitry Morozovsky To: Jun Kuriyama Subject: Re: security/pinentry patch for WINOUT_X11 systems In-Reply-To: <7m8uhrn9lp.wl%kuriyama@FreeBSD.org> Message-ID: References: <2268647.U1Fxhxdyog@mercury.ph.man.ac.uk> <7m8uhrn9lp.wl%kuriyama@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Mon, 29 Dec 2014 01:43:29 +0300 (MSK) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2014 22:50:44 -0000 Jun-SAN, On Sun, 28 Dec 2014, Jun Kuriyama wrote: > At Tue, 23 Dec 2014 00:36:24 +0300 (MSK), > Dmitry Morozovsky 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@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------