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.
(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
Please assign this bug to the net-dialup herd.
I have a new ebuild and a patch almost done. Give me a second (or two).
Created attachment 61840 [details] New ebuild that adds the vorbis-tools dep and patches clients/ivam-newmessage
Created attachment 61841 [details, diff] The patch for ivam-newmessage that uses openssl for base64 encoding instead of that mysterious 'mimenc'
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!
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."
dependencies have been fixed. also, released a new revision in which openssl is used as an alternative base64 encoder.