This update includes two patches submitted against libpar2 by Andrei Prygounkov, author of nzbget. One of them is a bugfix that closes a memory leak triggered by corrupted PAR2 files. That fix is included in some linux vendors' libpar2 packages, and is well-tested. The other adds additional functionality: a method to cancel a file repair in progress. This patch can be disabled through a config option. It is enabled by default because the only application in the ports tree that links against libpar2 is news/nzbget. Nzbget makes use of this functionality if it is available. It appears that libpar2 has been abandoned upstream (there's been no activity in the CVS tree since 2006). If it were being maintained, both of these patches would likely be included. Fix: Patch attached with submission follows:
State Changed From-To: open->closed Committed. Thanks!
miwi 2010-05-10 06:04:30 UTC FreeBSD ports repository Modified files: archivers/libpar2 Makefile archivers/libpar2/files patch-ChangeLog Added files: archivers/libpar2/files patch-par2repairer.cpp xpatch-addcancel-par2repairer.cpp Log: - Includes two patches * a bugfix that closes a memory leak triggered by corrupted PAR2 files. That fix is included in some linux vendors' libpar2 packages, and is well-tested. * The other adds additional functionality: a method to cancel a file repair in progress. This patch can be disabled through a config option. It is enabled by default because the only application in the ports tree that links against libpar2 is news/nzbget. Nzbget makes use of this functionality if it is available. PR: 146125 Submitted by: Jeff Burchell <toxic@doobie.com> (maintainer) Revision Changes Path 1.5 +10 -2 ports/archivers/libpar2/Makefile 1.2 +7 -3 ports/archivers/libpar2/files/patch-ChangeLog 1.1 +36 -0 ports/archivers/libpar2/files/patch-par2repairer.cpp (new) 1.1 +194 -0 ports/archivers/libpar2/files/xpatch-addcancel-par2repairer.cpp (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"