From owner-freebsd-ports@FreeBSD.ORG Sun Dec 28 14:16:10 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 8B8E5BBA; Sun, 28 Dec 2014 14:16:10 +0000 (UTC) Received: from smtp.imgsrc.co.jp (smtp1-cp.imgsrc.co.jp [IPv6:2001:e41:d2bc:ec84::140]) by mx1.freebsd.org (Postfix) with ESMTP id 5CE4F647BB; Sun, 28 Dec 2014 14:16:10 +0000 (UTC) Received: from waterblue.s2factory.co.jp (waterblue.s2factory.co.jp [IPv6:2001:e41:a010:778a::313]) by smtp.imgsrc.co.jp (Postfix) with ESMTPSA id 39AF3113171; Sun, 28 Dec 2014 23:16:06 +0900 (JST) Date: Sun, 28 Dec 2014 23:16:02 +0900 Message-ID: <7m8uhrn9lp.wl%kuriyama@FreeBSD.org> From: Jun Kuriyama To: Dmitry Morozovsky Subject: Re: security/pinentry patch for WINOUT_X11 systems In-Reply-To: References: <2268647.U1Fxhxdyog@mercury.ph.man.ac.uk> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.4 Mule/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: freebsd-ports@freebsd.org, kuriyama@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 14:16:10 -0000 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? > 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 -- Jun Kuriyama // FreeBSD Project // S2 Factory, Inc.