ports-mgmt/pkg: fix remaining deprecated functions