Created attachment 217249 [details] Port diff ( I hope i done it right) curent2cmdline is using old SourceForge repository which is long time dead. Active development seems to be moved to Github , https://github.com/Parchive/par2cmdline I changed your port to use new upstream and was able to compile tool without any FreeBSD specific patches to code. New version also command line compatible from old one. So it should be drop down replacement for old par2. I tested it against archives created by previous version, no problems there. I run some test against archive build by old par2 and verification and recovery works just fine. It is not in any way comprehensive test. New code has some tests included, but I was not able to run them. shell scripts need some patching. I have attached diff to ports files.
Tests are actually work, it was just me not running them in right way. par2cmdline-0.8.1]$ make check ============================================================================ Testsuite summary for par2cmdline 0.8.1 ============================================================================ # TOTAL: 29 # PASS: 29 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ But i"m not sure how to integrate them to port.
A commit references this bug: Author: martymac Date: Wed Aug 19 10:10:39 UTC 2020 New revision: 545299 URL: https://svnweb.freebsd.org/changeset/ports/545299 Log: Change upstream and update to much newer version 0.8.1 A test target has also been added to the port. Changelog: https://github.com/Parchive/par2cmdline/blob/master/ChangeLog PR: 248681 Submitted by: Paul Holmanskikh <freebsd@pkholm.com> Changes: head/archivers/par2cmdline/Makefile head/archivers/par2cmdline/distinfo head/archivers/par2cmdline/files/patch-Makefile.am head/archivers/par2cmdline/files/patch-par2creatorsourcefile.cpp head/archivers/par2cmdline/files/patch-par2fileformat.h head/archivers/par2cmdline/files/patch-reedsolomon.cpp head/archivers/par2cmdline/pkg-descr
Hi Paul, The patch has been committed with minor changes, thanks a lot for your report! I've also enabled the test target (it can be used by running 'make test' in the port's directory). Best regards, Ganael.