Created attachment 194710 [details] Verbose output before/after for changed options `pkg upgrade` detects changed options in a package and requires reinstallation, but only shows minimal information about the reason: Installed packages to be REINSTALLED: mypackage-1.11 (options changed) This patch prints before/after options and their values so the sysadmin can clearly see why a package is reinstalled. Why? Building production packages yourself with regular ports tree updates and custom options can often lead to this case, and when doing live deployments, you want to be sure that no critical options have been altered. I wanted to combine this with {-v,--verbose}, but apparently `pkg upgrade {-v,--vulnerable}` already exists, overriding the default expectation of 'v' option meaning verbose.
sorry for the delay here, but this too simple it does not handle the case where for example an option is added or an option is removed, it only considers that an option has changed. if you add the notion of options removed and added then I will be happy to merge it.