This is needed for news/nzbget, which I will send in a seperate email. "Library for creating and using PAR & PAR2 files to detect damage in data files and repair them if necessary. It can be used with any kind of file."
I based this port on FreeBSD's version. A version of libpar2 and nzbget were posted on this list by Simon Kuhnle. I have merged the patches in his version and mine and re-submitted the merged versions at his request. (Albeit after a delay of several months). Tested on i386 and sparc64. It fails to work properly with nzbget on sparc64 and has been marked BROKEN on that platform. Any comments or suggested improvements are welcome. In particular, two patches have been added that patch the same file (patch-par2repairer_cpp). Rather than merge them into one, I've seperated them into two seperate patches in the same file. If there is a better or more conventional way to do this, I'm open to suggestions. -- Bryan
libpar2-v1.tar.gz
Description: application/tar-gz