The textcase package offers commands \MakeTextUppercase and \MakeTextLowercase which are similar to the standard \MakeUppercase and \MakeLowercase, but they do not change the case of any sections of mathematics, or the arguments of \cite, \label and \ref commands within the argument. A further command \NoCaseChange does nothing but suppress case change within its argument, so to force uppercase of a section including an environment, one might say: \MakeTextUppercase{...\NoCaseChange{\begin{foo}} ...\NoCaseChange{\end{foo}}...} In current LaTeX this package is obsolete. You can use the standard \MakeUppercase and \MakeLowercase, but it defines legacy names \MakeTextUppercase and \MakeTextLowercase.
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.