When doing emerge -s ebook-gcc portage reports that ebook-gcc has missing/bad digest. I tried to generate it with ebuild /usr/portage/app-doc/ebook-gcc/ebook-gcc-3.2.ebuild digest, but it failed to fetch the ebook file from sourceforge (error 404, not found). I compared the paths, wget tries to download: http://lidn.sourceforge.net/books_download/GCC.tar.gz, correct path is: http://lidn.sourceforge.net/books_download/gcc-3.2.tgz. The 'GCC' part of URL can be corrected to 'gcc-3.2' by a simple modification to ebuild file. It seems however, that the .tar.gz extension is hardcoded in several places in the ebook.eclass file. This blocks adding of many ebooks from lidn project which have .tgz extension (including ebook-gcc). A possible solution would be to add another variable to ebook eclass interface which would specify an extension of the ebook file. Reproducible: Always Steps to Reproduce: 1.emerge -s ebook-gcc 2.ebuild /usr/portage/app-doc/ebook-gcc-3.2.ebuild digest Actual Results: Ebuild failed to generate digest file.
fixed in cvs