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:
Date: Wed Aug 19 10:10:39 UTC 2020
New revision: 545299
Change upstream and update to much newer version 0.8.1
A test target has also been added to the port.
Submitted by: Paul Holmanskikh <firstname.lastname@example.org>
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).