On a relatively clean install (12.1-RELEASE-p10), the racoon2 POST-INSTALL script failed when existing pskgen because /usr/local/bin/perl5 did not exist (though /usr/local/bin/perl5.30.3 did exist). # sudo pkg install racoon2 [...] Checking integrity... done (0 conflicting) [1/1] Installing racoon2-202000801... [1/1] Extracting racoon2-202000801: 100% /bin/sh: /usr/local/sbin/pskgen: not found pkg: POST-INSTALL script failed # pskgen bash: /usr/local/sbin/pskgen: /usr/local/bin/perl5: bad interpreter: No such file or directory
Created attachment 218396 [details] Point to correct perl5 Can you give this a spin?
Works for me.
A commit references this bug: Author: cy Date: Tue Sep 29 17:05:43 UTC 2020 New revision: 550538 URL: https://svnweb.freebsd.org/changeset/ports/550538 Log: Point to the correct perl. PR: 249977 Reported by: Archit Shah <archit.shah@gmail.com> Changes: head/security/racoon2/Makefile