Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36542 - serialmail generates incorrect path for maildirsmtp
Summary: serialmail generates incorrect path for maildirsmtp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-26 11:38 UTC by Khayyam
Modified: 2004-07-28 20:36 UTC (History)
0 users

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


Attachments
corrected ebuild (serialmail-0.75-r2.ebuild,1.31 KB, text/plain)
2003-12-26 11:39 UTC, Khayyam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Khayyam 2003-12-26 11:38:01 UTC
This has been broken for a while now .. 

The script maildirsmtp is generated with the path of ${D} and so once installed
will look in ${D} for maildirserial et al.

zsh# maildirsmtp ~alias/foo alias-foo- smtp.remote.tld local_machine.tld
/usr/bin/maildirsmtp: line 5: /var/tmp/portage/serialmail-0.75-r1/image//usr/bin/maildirserial: No such file or directory
/usr/bin/maildirsmtp: line 5: exec: /var/tmp/portage/serialmail-0.75-r1/image//usr/bin/maildirserial: cannot execute: No such file or directory

The solution:

    make man setup check || die
    # correct path in maildirsmtp
    sed -i -e "s|${D}||g" ${D}/usr/bin/maildirsmtp
 

Reproducible: Always
Steps to Reproduce:
1. emerge serialmail
2. cat /usr/bin/maildirsmtp
3.

Actual Results:  
path is incorrect

Expected Results:  
correct path

N/A
Comment 1 Khayyam 2003-12-26 11:39:40 UTC
Created attachment 22678 [details]
corrected ebuild

Corrected ebuild
Comment 2 Tuan Van (RETIRED) gentoo-dev 2004-07-28 20:36:25 UTC
fixed in serialmail-0.75-r2.