Date: Mon, 20 Mar 2006 19:48:44 +0100 (CET) From: Ed Schouten <ed@fxq.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/94745: [mail/mutt-devel] Add a gpgme switch Message-ID: <200603201848.k2KImiXO026806@zonk.fxq.nl> Resent-Message-ID: <200603201850.k2KIoHT2018119@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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.<insert the correct number here>, 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603201848.k2KImiXO026806>