f2c is a Fortran 77 to C compiler (translates fortran to C). A script, f2c-f77, is included which works with f2c and the C compiler to emulate a f77 fortran compiler. f2c is distributed by netlib. There do not appear to be released versions of f2c with an assigned version number. When updates are made, the "changes" file is updated, but there is no associated version number. I don't have any suggestions for keeping track of the version except to consult the "changes" file which will be installed as ${PREFIX}/share/doc/f2c/changes for reference.
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.