Enigmail is a popular PGP plugin for Mozilla Mail. I have adapted mozilla-1.0-r3 to also build and install enigmail. Enigmail needs to compiled within the source tree of an already-compiled mozilla, so instead of creating a separate ebuild for it, I modified the existing mozilla ebuild. I'm not sure of the policy for adding USE variables, but this new ebuild looks for a variable called 'enigmail' before building in support. BUGS I added the enigmail source tarballs to SRC_URI, this means the files are downloaded unconditionally, I don't know if there is a way to only download files if a USE variable is set. Enigmail does not seem to be enabled the first time Mozilla is run after installation. Once mozilla is quit and restarted, Enigmail appears.
Created attachment 3488 [details] Mozilla ebuild with Enigmail support.
I rather think that the "crypt" USE flag would do in this situation.
Created attachment 3489 [details] Mozilla ebuild with Enigmail support Changed USE variable 'enigmail' to 'crypt'
You can do somethign like: SRC_URI="http://foo.org/foo.tbz2 crypt? ( http://bar.og/bar.tbz2 )"
Gentoo 1.4 - GCC 3.2 -------------------- patching file other-licenses/Xft/fontconfig/src/fccharset.c Hunk #1 succeeded at 1431 (offset 433 lines). Hunk #2 FAILED at 1477. Hunk #3 FAILED at 1504. 2 out of 3 hunks FAILED -- saving rejects to file other-licenses/Xft/fontconfig/src/fccharset.c.rej !!! ERROR: The ebuild did not complete successfully. !!! Function src_unpack, Line -106, Exitcode 1 !!! (no error message) !!! emerge aborting on /extra/portage/portage.local/net-www/mozilla/mozilla-1.1.ebuild .
Created attachment 3523 [details] Mozilla 1.0 ebuild with Enigmail support Fixed the SRC_URI. I have also modified the Mozilla-1.1.ebuild from bug #7137 to add Enigmail support but I'm waiting for the enigmail source tarballs that are compatible with moz 1.1 to be posted.
New moz-1.1 ebuild have this support, thanks. NOTE: I removed the part where it quits if crypt in USE, but the mail client not build ... it should be logical.