Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215881 - topal ebuild request
Summary: topal ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement with 1 vote (vote)
Assignee: Net-Mail Packages
URL: http://homepage.ntlworld.com/phil.bro...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-02 13:27 UTC by Erik Quaeghebeur
Modified: 2009-04-24 06:40 UTC (History)
3 users (show)

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


Attachments
First ebuild (topal-57.ebuild,973 bytes, text/plain)
2008-04-13 19:59 UTC, Nils Schlupp
Details
updated ebuild (topal-57.ebuild,1.05 KB, text/plain)
2008-04-13 23:17 UTC, Nils Schlupp
Details
topal-57 ebuild (topal-57.ebuild,1.13 KB, text/plain)
2008-04-14 00:35 UTC, Nils Schlupp
Details
topal-57-r1.ebuild (topal-57.ebuild,746 bytes, text/plain)
2008-04-15 14:55 UTC, Sascha Lucas
Details
topal-62.ebuild (topal-62.ebuild,734 bytes, text/plain)
2008-08-08 17:39 UTC, Sascha Lucas
Details
topal-64.ebuild (topal-64.ebuild,812 bytes, text/plain)
2009-04-21 08:05 UTC, Peter Gantner (a.k.a. nephros)
Details
topal-64.ebuild (topal-64.ebuild,920 bytes, text/plain)
2009-04-23 07:45 UTC, Peter Gantner (a.k.a. nephros)
Details
topal-64.ebuild (topal-64.ebuild,1.05 KB, text/plain)
2009-04-23 19:17 UTC, Peter Gantner (a.k.a. nephros)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2008-04-02 13:27:25 UTC
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
Comment 1 Nils Schlupp 2008-04-13 19:59:36 UTC
Created attachment 149604 [details]
First ebuild

first ebuild.

install is still hacked together
Comment 2 Nils Schlupp 2008-04-13 23:17:45 UTC
Created attachment 149631 [details]
updated ebuild

updated install paths

installs man page correctly now, topal binary to /usr/local/bin
Comment 3 Nils Schlupp 2008-04-14 00:35:19 UTC
Created attachment 149638 [details]
topal-57 ebuild

now install pine/alpine patches into /usr/share/topal/patch for use with those programs
Comment 4 Sascha Lucas 2008-04-15 14:55:31 UTC
Created attachment 149817 [details]
topal-57-r1.ebuild

src_install() can use gentoo stuff like do{bin,man,doc}...
Comment 5 Sascha Lucas 2008-08-08 17:39:07 UTC
Created attachment 162534 [details]
topal-62.ebuild

just an update to version 62.
Comment 6 Peter Gantner (a.k.a. nephros) 2009-04-21 08:05:53 UTC
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.
Comment 7 Peter Gantner (a.k.a. nephros) 2009-04-23 07:45:02 UTC
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.
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2009-04-23 08:48:55 UTC
(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
Comment 9 Peter Gantner (a.k.a. nephros) 2009-04-23 19:17:03 UTC
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.
Comment 10 Peter Gantner (a.k.a. nephros) 2009-04-23 19:20:17 UTC
(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.
Comment 11 Peter Gantner (a.k.a. nephros) 2009-04-23 20:14:58 UTC
(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.
Comment 12 Torsten Veller (RETIRED) gentoo-dev 2009-04-24 06:40:31 UTC
Thanks. In the tree now.