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

Bug 146372

Summary: net-ftp/ncftp-3.2.0 installs useless directory /ESTDIR
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: New packagesAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2006-09-05 04:09:02 UTC
Hi,

as mentioned in summary, ncftp-3.2.0 is installing /ESTDIR which is empty and imho shouldn't go into /

For now, I fix it this way but I don't know if ESTDIR is needed by ncftp:

--- /usr/portage/net-ftp/ncftp/ncftp-3.2.0.ebuild       2006-09-04 11:25:17.0000
00000 +0200
+++ /usr/local/portage/net-ftp/ncftp/ncftp-3.2.0.ebuild 2006-09-05 12:59:44.0000
00000 +0200
@@ -29,4 +29,6 @@
        emake install DESTDIR="${D}" || die
        dodoc README.txt doc/*.txt
        dohtml doc/html/*.html
+       # removing useless empty dir /ESTDIR
+       rm -rf "${D}"/ESTDIR || die "rm /ESTDIR failed"
 }

Cheers
Poly-C
Comment 1 SpanKY gentoo-dev 2006-09-05 21:48:52 UTC
oops, i forgot to fix this

should be set in cvs now