The instruction to add the user to the group should state pw groupmod instead of pw groupadd diff -d pkg-message.in.old pkg-message.in.new 7c7 < # pw groupadd %%GROUPS%% -m your_account --- > # pw groupmod %%GROUPS%% -m your_account
A commit references this bug: Author: tobik Date: Wed Mar 14 07:54:36 UTC 2018 New revision: 464467 URL: https://svnweb.freebsd.org/changeset/ports/464467 Log: security/opencryptoki: Fix typo in pkg-message Use pw groupmod to add new users to the _pkcs11 group PR: 217130 Submitted by: Arie Bikker <src-2016@bikker.homeunix.net> Approved by: hrs (maintainer timeout, 1 year) Changes: head/security/opencryptoki/Makefile head/security/opencryptoki/files/pkg-message.in