Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156038 - app-emacs/bbdb does not need mailcrypt for bbdb-pgp.el
Summary: app-emacs/bbdb does not need mailcrypt for bbdb-pgp.el
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-23 09:43 UTC by Sebastian Schubert
Modified: 2007-03-27 08:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch: crypt -> mailcrypt (bbdb.patch,978 bytes, patch)
2006-11-23 09:56 UTC, Sebastian Schubert
Details | Diff
sitelisp file if not mailcrypt (51bbdb-pgp-mime-gentoo.el,59 bytes, text/plain)
2006-11-23 09:57 UTC, Sebastian Schubert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Schubert 2006-11-23 09:43:10 UTC
bbdb can use mml-secure-message-encrypt-pgpmime supplied by gnus in mml-sec.el. mailcrypt, which is rather old, is not needed.  The option bbdb/pgp-method has to be set.
See attached diff for changed ebuild.
Comment 1 Sebastian Schubert 2006-11-23 09:56:02 UTC
Created attachment 102602 [details, diff]
Patch: crypt -> mailcrypt
Comment 2 Sebastian Schubert 2006-11-23 09:57:41 UTC
Created attachment 102603 [details]
sitelisp file if not mailcrypt
Comment 3 Sebastian Schubert 2006-11-23 10:01:46 UTC
I forget to mention: everything was tried with (GNU) emacs-cvs and gnus-cvs.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-24 01:08:05 UTC
gnus is not needed for bbdb, so your patch must be modified.  Maybe a gnus USE flag to pull in gnus, and only when USE="gnus -mailcrypt" use the internal function, while USE="gnus mailcrypt" pulls in mailcrypt and installs the normal sitefile.  Have fun. :)
Comment 5 Sebastian Schubert 2006-11-24 13:51:05 UTC
At least in the cvs of emacs a recent enough version of gnus is included. bbdb-pgp includes

(require 'message)

so I could add
(require 'bbdb-pgp) in the bbdb-pgp-gentoo sitelisp file. Then bbdb itself works eg  <#secure method=pgpmime mode=signencrypt> is added in the C-x m mail buffer. The problem is that the necessary mml command to generate the mime parts is not called before sending. Any idea to solve it (and with other Mail sending possibilities)? Do you think that's a good idea? If that worked somehow it would be better because of less use flags with equal effect. If not, I'll add the changes.
Thx
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2007-02-27 17:20:52 UTC
(In reply to comment #5)
> At least in the cvs of emacs a recent enough version of gnus is included.
> bbdb-pgp includes

 Sorry for not responding for so long, but I thought about your problem and then simply forgot.
 What about if we wait until Emacs 22 is released?
Comment 7 Sebastian Schubert 2007-02-27 17:36:58 UTC
Ok, it's probably the best way to know the next stable release and it isn't a serious problem anyway.

thx
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2007-03-27 08:20:34 UTC
This is "fixed" in 0.35 by a comment in pkg_postinst