Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 28074

Summary: Expect perl module ebuild
Product: Gentoo Linux Reporter: Vadim Trochinsky <vadim_t>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED INVALID    
Severity: normal CC: Rob_Davies
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 28077    
Attachments: Expect module ebuild
Expect module ebuild
Test case (very simple)

Description Vadim Trochinsky 2003-09-06 14:06:55 UTC
Ebuild for the Expect module, used to write scripts that interact with
interactive  console programs. Needed for other Perl modules like Crypt::GPG

Reproducible: Always
Steps to Reproduce:
Comment 1 Vadim Trochinsky 2003-09-06 14:07:48 UTC
Created attachment 17184 [details]
Expect module ebuild
Comment 2 Vadim Trochinsky 2003-09-06 14:08:17 UTC
Created attachment 17185 [details]
Expect module ebuild
Comment 3 Vadim Trochinsky 2003-09-06 14:16:51 UTC
Sorry for the duplicated attachment. Bugzilla produced an error when adding it, and I accidentally resubmitted. I've sent an email to the webmaster about it.
Comment 4 Rob Davies 2003-09-12 03:12:58 UTC
Vadim, I've tested your ebuild, it seems fine to me :) but I'm not a Gentoo 
perl expert. 
 
>>> /usr/lib/perl5/vendor_perl/5.8.0/Expect.pm 
>>> /usr/lib/perl5/vendor_perl/5.8.0/Expect.pod 
>>> /usr/share/doc/Expect-1.15-r1/README.gz 
>>> /usr/share/doc/Expect-1.15-r1/MANIFEST.gz 
>>> /usr/share/doc/Expect-1.15-r1/Changes.gz 
>>> /usr/share/man/man3/Expect.3pm.gz 
 
I only tested with this (horrible)quick & dirty script I knocked up, see 
attachment I'll add in a minute (to avoid the error you got).  Are there any 
useful 'use Expect;' scripts available for download to allow more thorough 
testing? 
 
Expect is very useful for perl-mongering sysadmins, configuring and checking on 
router's, starting up apache mod_ssl server's from a secure machine, and 
generally automating drudgery.  Both Io-Tty & Expect haven't been altered since 
Q1 2002, and have been around for ever with perl5, so this module is stable and 
worthwhile addition to Gentoo. 
Comment 5 Rob Davies 2003-09-12 03:16:47 UTC
Created attachment 17557 [details]
Test case (very simple)

Just start's python interactively and checks 2+2, returns 4.
Comment 6 Eric Sammer (RETIRED) gentoo-dev 2004-01-16 09:51:57 UTC
The policy on perl ebuild is that they are only included if they are the dependency of another package in portage. Since Expect doesn't seem to meet these requirements, it can't be added. You should install perl modules using g-cpan.pl which will dynamically create the ebuild file on the fly and install the module.

Thanks anyway for the submission.