Hello! This is an ebuild for "HTTrack Website Copier, Open Source Offline Browser". This software is capable of downloading complete sites from the net, it's a good mirroring tool, if you haven't got rsync access. I suggest net-www/httrack. I have only tested it on a Dual Pentium3. The second make process crashes if I use the -j2 option. Using econf, returns a sandbox error. And I didn't have to use elibtoolize routine from libtool, because everything seems to work right. There is no dependencies beside glibc, I think. It wouldn't be much if you double check it. I just hope, that I did it right. It's my first. Glad to be helping, Ricardo Cordeiro PS - On the ChangeLog, please use Ricardo.Cordeiro@iscte.pt as my email address, instead of pt_lamb@hotmail.com
Created attachment 5027 [details] ebuild The ebuild
*** Bug 9679 has been marked as a duplicate of this bug. ***
Hello again, I have taken sometime rewriting the original ebuild, so I could use all of gentoo utils, like emake, einstall and econf. Somehow I got to adapt everything, except the second make. This one gave me some headaches. I don't know why, but it crashes everytime because it can't find the libhttrack.so, that was compiled on the first make. I can only guess, that the -j2 option of make, somehow changes the working directory in a way that ld can't find libhttrack.so, that should be on the working directory. I attached the error as 'make error'. Anyway, any of the versions of the ebuild should do what it's suppose to. I hope I had cut you some of the work that you should have done with the first version. good hacking...
Created attachment 5198 [details] make error Output of the second make, when I used 'emake' instead on 'make'
Created attachment 5199 [details] ebuild (2nd version) 2nd version of the original ebuild
Version 3.22 is now out, just needs a version bump.
Bouncing back to bug-wranglers due to time constraints.
Ok, I'll upgrade the ebuild. But this is rather discouraging, because it takes 2 months for anybody to say something about the ebuild, and that something is a need for a "version bump". I hope this time, it won't take that long.
Created attachment 7789 [details] HTTrack License Description file
Finally I got the time to rewrite a new ebuild to the new version. But first I have some questions... Number one, is about version numbering. Unfortunatly httrack hasn't got a somewhat standard versioning system, the current version number is 3.22-3. How can I adapt this version to a portage compatible one? I thought about it, and came up with two solutions: - httrack-3.22.ebuild (and the following versions would be bumped with revisions like httrack-3.22-r1 for 3.22-4, and httrack-3.22-5) - httrack-3.22.3.ebuild (replacing the '-' with a '.') For now, I'm following my first suggestion, but would like to have your opinion. Number two, is about the License. HTTrack has a custom license.txt, that refers to GPL2. What should I do? Request for a new LICENSE entry on portage, or just set to GPL2? I attached the license.txt file to this bug, as 'HTTrack Licence Description file'. I'm setting GPL2 for now. I'll soon post the new ebuild, and than if needed, I'll repost one with the necessary changes. Glad to be helping again, Ricardo Cordeiro
Created attachment 7793 [details] HTTrack Website Copier 3.22-3 Ebuild (httrack-3.22.ebuild) Ok, this is the ebuild for the current version of HTTrack. I suppose you'll hold it out of portage, until 1.4_rc3 comes out. In the meanwhile, please consider my last comment so I can have a final version before rc3 comes out.
Hum... There's a problem. The CFLAGS and CXXFLAGS from make.conf aren't being applied to the compilation process... What might it be?
added to cvs