How can I know which applications were installed by Packages and Ports?
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
pkg info <packagename>. The pkg-query(8) can be used to get it for all packages. Something like pkg query 'Package %n-%v installed from %R' would do. portmaster -l.Something likepkg query 'Package %n-%v installed from %R'would do.
Package squid-3.5.12 installed from unknown-repository
Package squid-3.5.9_1 installed from FreeBSD