Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125849 - AsterFax ebuild request
Summary: AsterFax ebuild request
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
: 125850 (view as bug list)
Depends on:
Reported: 2006-03-11 10:29 UTC by Paolo Quinci
Modified: 2008-02-15 18:03 UTC (History)
2 users (show)

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

alpha ebuild (asterfax-1.0.ebuild,1.87 KB, text/plain)
2008-02-12 15:17 UTC, Walter
alpha init script (asterfax-1.0.init,627 bytes, text/plain)
2008-02-12 15:18 UTC, Walter

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Quinci 2006-03-11 10:29:08 UTC
AsterFax is an email to fax gateway for the transmission of faxes using Asterisk.
Comment 1 Paolo Quinci 2006-03-11 10:38:32 UTC
*** Bug 125850 has been marked as a duplicate of this bug. ***
Comment 2 Paolo Quinci 2006-03-11 10:41:05 UTC
suggested name for the ebuild would be net-misc/asterisk-asterfax-1.0-rc7
as follows from the name of all the other packages that depend on asterisk will try to write a ebuild myself, would be my first ebuild so every kind of help, suggestions and even criticism (not destructive) is welcome and appreciate!
Comment 3 Láďa Durchánek 2006-07-16 09:24:42 UTC
Did you get somewhere? I'm going to do the same thing and I don't want to start completely from scratch :-)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-07 21:31:53 UTC
No progress here for 1 year; closing WONTFIX. Feel free to reopen with an ebuild.
Comment 5 Walter 2008-02-12 11:24:15 UTC
ok i'm going to try to make an ebuild (i've already successfully got the tarball running manually).  

this will also be my first ebuild.  

let's see this happen!

if i have problems, i will share the issues here.
Comment 6 Walter 2008-02-12 15:16:59 UTC
OK I've had a go, so far I think I've written a fairly-OK list of dependencies and done an OK init script, though not tested yet.

Right now I'm unsure about some things... and the document hasn't helped, so I'm posting here with the latest version of the ebuild and init script so anyone else can have a go too.

1. A lot of files in the distro tarball are useless (tarballs of other libraries).  What to do?  Do I make a totally new tarball that's distributed through the gentoo mirrorsystem without this junk, or do I have the ebuild download from sourceforge mirrors and remove useless files from the source tarball after extraction?  I favour the former (less bandwidth) but don't know if it's 'right'.  The documentation should be improved to cover this issue clearly.

2. The tarball suggests (doc/Upgrade*) patching the asterisk fax_txrx module's code.  However, I'm not good enough at portage to understand how to require a (patched) rebuild of another package before the present one.  It may work without the patch but less reliably.

3. The package requires java (virtual/jdk), but the wording of suggests that meta-packages should not be depended on.  I guess virtual/jdk is a 'meta-package'.  So is it correct to just pick a java bytecode interpreter (dev-java/sun-jdk) at random?  This seems to remove user choice.  (Again, the documentation could be clearer!)

4. The testing scenario described at doesn't work.  It fails to explain generating Manifest (critical before testing).  I found how to do it on another site but haven't had success yet.

Too tired to keep thinking now, please have a go if you have some time/interest, otherwise I'll try to have another go tomorrow.
Comment 7 Walter 2008-02-12 15:17:41 UTC
Created attachment 143316 [details]
alpha ebuild
Comment 8 Walter 2008-02-12 15:18:09 UTC
Created attachment 143317 [details]
alpha init script