Topal is a `glue' program that links GnuPG and Pine/Alpine. It offers facilities to encrypt, decrypt, sign and verify emails. This is a request for a new ebuild 'topal'. I've built (using gcc, gnat) and used topal-57 as described in the README, and everything went fine. I am going to ask for the topal-patch for alpine to be included in the up-and-coming alpine ebuild (see bug 176904) and add an alpine-specific topal use flag. Reproducible: Always
Created attachment 149604 [details] First ebuild first ebuild. install is still hacked together
Created attachment 149631 [details] updated ebuild updated install paths installs man page correctly now, topal binary to /usr/local/bin
Created attachment 149638 [details] topal-57 ebuild now install pine/alpine patches into /usr/share/topal/patch for use with those programs
Created attachment 149817 [details] topal-57-r1.ebuild src_install() can use gentoo stuff like do{bin,man,doc}...
Created attachment 162534 [details] topal-62.ebuild just an update to version 62.
Created attachment 189025 [details] topal-64.ebuild Latest release, added RDEPEND on: app-misc/run-mailcap net-mail/metamail app-text/dos2unix cause topal will fail to run in some cases if those aren't present.
Created attachment 189214 [details] topal-64.ebuild Added dependency on dev-perl/mime-construct installing the bundled version of mime-tool as well as AFAICS there is no ebuild for that program ATM. Creating MIME multipart messages will not work otherwise.
(In reply to comment #7) See also <http://git.overlays.gentoo.org/gitweb/?p=proj/net-mail.git;a=tree;f=net-mail/topal;hb=alpine> > Added dependency on dev-perl/mime-construct | * MIME sending now requires MIME-tool; mime-construct is no longer | used. (from README.txt) I did grep for mime-construct and Mimeconstruct and I think it is not needed anymore. Do i miss something? > installing the bundled version of mime-tool as well as AFAICS there is no > ebuild for that program ATM. Creating MIME multipart messages will not work > otherwise. Yes, mime-tool isn't packaged. Even if it had been packaged it would be a problem. | We now use a modified version of Jeffrey S. Dutky's mime-tool | instead of mime-construct for creating MIME messages. We | include our modified version in the Topal tarball (since both | are GPL, and our modifications are needed if creating MIME | messages). (from README.txt) Wrt '|| ( app-misc/run-mailcap net-mail/metamail )': Is this the prefered order? I think app-crypt/gnupg is only needed in RDEPEND: Thanks
Created attachment 189258 [details] topal-64.ebuild Another version ;) This will install the bundled pine/alpine patches to /usr/share/topal/patches. These can then be used by an (updated) alpine-2.00 ebuild from #176904 to patch alpine if the topal USE flag is set. This is kind of a kludge, but it works - as long as neither topal nor alpine are in the tree we can't bundle them another way.
(In reply to comment #8) Sorry, didn't see your comment before attaching the above ebuild. I'll have a look at what you said and report back.
(In reply to comment #8) > See also > <http://git.overlays.gentoo.org/gitweb/?p=proj/net-mail.git;a=tree;f=net-mail/topal;hb=alpine> Well it appears your version does everything my modifications do and is much cleaner ;) > I did grep for mime-construct and Mimeconstruct and I think it is not needed > anymore. Do i miss something? I saw it appear in the configuration file (topal -dump) and thought I'd include it. I only found out later about the bundled tool. > Wrt '|| ( app-misc/run-mailcap net-mail/metamail )': > Is this the prefered order? You're right, looking at the deps metamail should probably be preferred. There is also an alternative to app-text/dos2unix called app-text/hd2u. I didn't test but it looks compatible and supports all options topal uses. > I think app-crypt/gnupg is only needed in RDEPEND Sure, that was a c+p error.
Thanks. In the tree now.