Created attachment 355106 [details]
amended ebuild with the patches
Problem with par2 and wildcard expansion within itself as well as with bash sending directories to it as command line option.
This pertains to Bug 51817 for which one patch has been dropped(which is still needed) and the current patch needs a modification.
The original patch is still needed as added and reported in bug 51817.
par2cmdline-0.4-wildcard-fix-2.patch (1.84 KB, patch)
2004-05-24 00:07 UTC, Bardur Arantsson
shell expanded wildcard patch for par2cmdline (888 bytes, patch)
2006-04-07 00:28 UTC, Michael Evans
Needed to cater for other operations of par2 and not just creation.
I have attached my ebuild which includes both patches which can be checked against the current and previous files.
To replicate the wildcard bug.
1.) Have par files as well as directories in /some_dir/ that need to be verified or repaired
1.) run par2 [v|r] some_par_file.par2 /some_dir/*
par2cmdline has been forked at https://github.com/BlackIkeEagle/par2cmdline and the 0.6.3 release is now in Portage
reopen if you can reproduce the issue with the new versions