From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Mar 20 18:50:21 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC19816A400 for ; Mon, 20 Mar 2006 18:50:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFDAC43D5F for ; Mon, 20 Mar 2006 18:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2KIoHXk018120 for ; Mon, 20 Mar 2006 18:50:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2KIoHT2018119; Mon, 20 Mar 2006 18:50:17 GMT (envelope-from gnats) Resent-Date: Mon, 20 Mar 2006 18:50:17 GMT Resent-Message-Id: <200603201850.k2KIoHT2018119@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ed Schouten Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0D0C16A400 for ; Mon, 20 Mar 2006 18:48:46 +0000 (UTC) (envelope-from ed@zonk.fxq.nl) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21F6943D68 for ; Mon, 20 Mar 2006 18:48:42 +0000 (GMT) (envelope-from ed@zonk.fxq.nl) Received: from [83.180.9.202] (HELO zonk.fxq.nl) by mailfe08.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTPS id 157717168 for FreeBSD-gnats-submit@freebsd.org; Mon, 20 Mar 2006 19:48:41 +0100 Received: from zonk.fxq.nl (localhost [127.0.0.1]) by zonk.fxq.nl (8.13.4/8.13.4) with ESMTP id k2KImido026807 for ; Mon, 20 Mar 2006 19:48:44 +0100 (CET) (envelope-from ed@zonk.fxq.nl) Received: (from ed@localhost) by zonk.fxq.nl (8.13.4/8.13.4/Submit) id k2KImiXO026806; Mon, 20 Mar 2006 19:48:44 +0100 (CET) (envelope-from ed) Message-Id: <200603201848.k2KImiXO026806@zonk.fxq.nl> Date: Mon, 20 Mar 2006 19:48:44 +0100 (CET) From: Ed Schouten To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/94745: [mail/mutt-devel] Add a gpgme switch X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Mar 2006 18:50:22 -0000 >Number: 94745 >Category: ports >Synopsis: [mail/mutt-devel] Add a gpgme switch >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 20 18:50:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ed Schouten >Release: FreeBSD 7.0-CURRENT i386 >Organization: n/a >Environment: System: FreeBSD zonk.fxq.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Mar 19 18:58:46 CET 2006 root@zonk.fxq.nl:/usr/obj/export/src/sys/ZONK i386 >Description: A cool thing about the development branch of the gnupg application is the gpgme library, which allows you to write applications using gnupg in an easy manner (instead of throwing messages through pipes and such). As of Mutt 1.5., there are compilation switches called '--{en,dis}able-gpgme', which allows you to link Mutt against the gpgme library, so you can just add the line 'set crypt_use_gpgme' to your muttrc, instead of that awful 'set pgp_..._command' stuff. >How-To-Repeat: Install mail/mutt-devel from Ports. You won't be able to use it in combination with gpgme. >Fix: Voila :) %%% --- mail/mutt-devel/Makefile Fri Mar 17 12:24:16 2006 +++ mail/mutt-devel/Makefile Mon Mar 20 19:39:53 2006 @@ -45,6 +45,9 @@ # If you want mutt to use the idn library define: # WITH_MUTT_IDN # +# If you want to make use of the gpgme interface define: +# WITH_MUTT_GPGME +# # If you want to enable extended quoting functions define: # WITH_MUTT_QUOTE_PATCH # This is a default knob and can be disabled by WITHOUT_MUTT_QUOTE_PATCH @@ -362,6 +365,12 @@ CONFIGURE_ARGS+= --with-idn .else CONFIGURE_ARGS+= --without-idn +.endif +.if defined(WITH_MUTT_GPGME) +LIB_DEPENDS+= gpgme:${PORTSDIR}/security/gpgme +CONFIGURE_ARGS+= --enable-gpgme +.else +CONFIGURE_ARGS+= --disable-gpgme .endif PATCH_DIST_STRIP= -p1 %%% I also tested it on my workstation: http://g-rave.nl/junk/mutt-gpgme.png >Release-Note: >Audit-Trail: >Unformatted: