expect 5.37 autoexpect and autopasswd are not installed when emerging expect. These files, along with the autoexec.man (man page), live under the examples directory in the expect tarball. These files are essential. Nowadays, most people generate their expect scripts with autoexpect. -John
my boss loves expect, and I can't help but watch this bug. John, would you put it in /usr/share/expect ? or where does it normally go?
Waiting for some input on this bug. I'm not too familiar with expect (in fact.. never emerged it)... so if you guys have a solution...
If you put 'doc' in USE flags, autoexpect and autopasswd will be installed under /usr/share/doc/expect-5.40.0-r1 by expect-5.40.0-r1.ebuild. I think it's enough, isn't it? :)
Created attachment 39481 [details] expect-5.40.0-r1.ebuild I changed the ebuild a little, so that autoexpect, autopasswd, etc. can be installed under /usr/bin, as it did in Fedora's rpm.
I think adding autoexpect and autopasswd to /usr/bin is the best thing to do. People will try to run these scripts after they emerge expect and would be disappointed to find out that they are not included.
Done. Good job Ming Zhao.
I haven't seen the change appear in the current 5.37.1-r2, nor the 5.40.0-r1, nor the 5.42.1. I just made the change (based on Ming Zhao's) on my 5.42.1 ebuild and autoexpect is now in /usr/bin