A Python script that converts a CHM file into a single PDF file. Reproducible: Always
Created attachment 140605 [details] app-text/chm2pdf Here is the ebuild
Created attachment 157133 [details] chm2pdf-0.9.ebuild The previous ebuild didn't work for me properly.
Ebuild can now be found on sunrise overlay http://overlays.gentoo.org/svn/proj/sunrise/sunrise/app-text/chm2pdf/
Please note this bug before moving it into the tree: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501959
when will it be available in the portage tree? Now this is in my fedora repository too!
I was thinking about pushing this on the tree but then I remembered the security issue ( see comment #4 ) . I dont have time to fix this leak, so for now I wont bother with this . It would be nice I somebody has a patch to fix this. The link on comment #4 might describe a way to fix it. :)
Created attachment 183189 [details] chm2pdf-0.9.1.ebuild New version
Created attachment 183191 [details, diff] insecure_temp_dirs.diff Patch for insecure dirs
Wooow you are fast :) I need to review this patch first and then I will push it on tree :) Thank you
Created attachment 183193 [details] chm2pdf-0.9.1.ebuild Added dev-libs/chmlib as dependency, missed that, I think this is now ready to go. The script is not very vell written and still can't convert files with spaces in filename but is good tool when needed and I didn't found any similar.
Ok I just commited the fixed package http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/chm2pdf/ChangeLog?rev=1.1&view=log Thank you very much for this patch This bug can now close Re-open if needed :)