Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96937 - net-dialup/ivam2-0.3 seems to depend on media-sound/vorbis-tools and some unknown package providing 'mimenc'
Summary: net-dialup/ivam2-0.3 seems to depend on media-sound/vorbis-tools and some unk...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-24 04:20 UTC by Jeroen Roovers (RETIRED)
Modified: 2005-07-03 02:43 UTC (History)
0 users

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


Attachments
New ebuild that adds the vorbis-tools dep and patches clients/ivam-newmessage (ivam2-0.3-r1.ebuild,1.33 KB, text/plain)
2005-06-24 05:38 UTC, Jeroen Roovers (RETIRED)
Details
The patch for ivam-newmessage that uses openssl for base64 encoding instead of that mysterious 'mimenc' (ivam2-mimenc-all.patch,568 bytes, patch)
2005-06-24 05:40 UTC, Jeroen Roovers (RETIRED)
Details | Diff
New ebuild that adds two dependencies (ivam2-0.3-r1.ebuild,1.18 KB, text/plain)
2005-07-01 07:35 UTC, Jeroen Roovers (RETIRED)
Details
Another new ivam2-0.3-r1.ebuild (ivam2-0.3-r1.ebuild,1.20 KB, text/plain)
2005-07-01 07:44 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2005-06-24 04:20:58 UTC
As the summary suggests, net-dialup/ivam2-0.3 by default needs oggenc from 
media-sound/vorbis-tools as well as some unknown package providing 'mimenc'. 
With a basic configuration and no changes to the shell script that generates the
 .ogg e-mail attachment, an empty message is sent and ivam2 reports to syslog 
that it cannot find either 'oggenc' or 'mimenc' which are both used in the 
default 'newmessage' script.

Reproducible: Always
Steps to Reproduce:




I was able to fix this(!) by installing media-sound/vorbis-tools (thus this 
should be added to DEPEND in the ebuild) and by changing

   'mimenc'

to

   'openssl base64 -e'

in the following line in the newmessage script </usr/bin/ivam-newmessage>:

---------------------------------------------------
    zcat -f "$1" | sox -t raw -Ub -r8000 -c1 - -t raw -sw - | oggenc --quiet -q0 
-r -C1 -B16 -R8000 -a "IVAM Voicebox" -t "Phone call from $CALLERMSN to 
$RINGMSN, $DATE" -o- - | openssl base64 -e
---------------------------------------------------

Since openssl is in system, this workaround shouldn't cause any problems. I 
can't be bothered to write patches right now, but it shouldn't take much time.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-24 04:23:25 UTC
(In reply to comment #0)
> With a basic configuration and no changes to the shell script that generates 
the
>  .ogg e-mail attachment, an empty message is sent and ivam2 reports to syslog 

s/empty message/empty attachment
Comment 2 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2005-06-24 04:58:10 UTC
Please assign this bug to the net-dialup herd.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-24 05:32:14 UTC
I have a new ebuild and a patch almost done. Give me a second (or two).
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-24 05:38:27 UTC
Created attachment 61840 [details]
New ebuild that adds the vorbis-tools dep and patches clients/ivam-newmessage
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2005-06-24 05:40:21 UTC
Created attachment 61841 [details, diff]
The patch for ivam-newmessage that uses openssl for base64 encoding instead of that mysterious 'mimenc'
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2005-07-01 07:35:54 UTC
Created attachment 62409 [details]
New ebuild that adds two dependencies

As an alternative, you could also add <net-mail/metamail> to DEPEND (along with
<media-sound/vorbis-tools>). <net-mail/metamail> provides the 'mimencode' tool
that ivam2 needs. I have tested it on x86 and it works flawlessly now!
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2005-07-01 07:44:40 UTC
Created attachment 62410 [details]
Another new ivam2-0.3-r1.ebuild

For good measure I've added media-sound/sox as well.

I think this paragraph from ivam2's README somehow failed to originally catch
any attention:

"If you plan to use the message notification feature of ivam2 you need
   metamail, sox and oggenc installed on the local system."
Comment 8 Alin Năstac (RETIRED) gentoo-dev 2005-07-03 02:43:07 UTC
dependencies have been fixed.
also, released a new revision in which openssl is used as an alternative base64
encoder.