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

Bug 5103

Summary: broken ftp-0.17-r1.ebuild
Product: Gentoo Linux Reporter: Vince Verleye <zu>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: major    
Priority: Highest    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Vince Verleye 2002-07-16 13:45:29 UTC
In the net-ftp package, the newly uploaded ftp-0.17-r1.ebuild seems to be 
missing the "./configure" file (or at least the error message prompts this, I 
think configure is there anyway). So the package will fail an emerge.

I experienced this while I was doing a fresh install of Gentoo on my box.
It failed at 'emerge system', which is quite annoying, because I didn't know 
what was going on. I never had an error before in any install of Gentoo ;)

Here's a modified ebuild that seemed to work, as found on [ 
http://forums.gentoo.org/viewtopic.php?t=8367 ]:

######################
A=netkit-${P}.tar.gz 
S=${WORKDIR}/netkit-${P} 
DESCRIPTION="Standard Linux FTP Client" 
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${A}" 

DEPEND="virtual/glibc 
              >=sys-libs/ncurses-5.2" 


src_compile() { 
  try  ./configure --prefix=/usr 
  cp MCONFIG MCONFIG.orig 
  sed -e "s/-pipe -O2/${CFLAGS}/" MCONFIG.orig > MCONFIG 
  try make 
} 

src_install() { 
  into /usr 
  dobin ftp/ftp 
  doman ftp/ftp.1 ftp/netrc.5 
  dodoc ChangeLog README BUGS 
} 
######################
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-16 14:58:09 UTC
my typo

sorry about that.