ports/sysutils/bsdstats/files/pkg-message.in
Andrew Fyfe e48320e2d8 sysutils/bsdstats: make reporting opt-in
- disables reporting by default
- does not use the pkg-install script to "modify the currently running
  system" as per the FreeBSD Porters Handbook Chapter 9.2.
- does not output noise if monthly_statistics_* variables aren't enabled
- add a post-upgrade message informing the user it's now opt-in and may
  need enabled
2021-05-05 10:49:54 +02:00

41 lines
1 KiB
Text

[
{ type: install
message: <<EOM
You installed BSDstats: script reporting statistics about your machine.
To enable monthly reporting, add this line to /etc/periodic.conf:
monthly_statistics_enable="YES"
To disable parts of reporting, add these lines to /etc/periodic.conf:
monthly_statistics_report_devices="NO"
monthly_statistics_report_ports="NO"
To limit which ports are being submitted:
create %%PREFIX%%/etc/bsdstats.conf and list ports to report in
the form ${category}/${portname}, one entry per line. It is also
possible to use the special self explanatory keyword "all-ports".
Example:
sysutils/bsdstats
ports-mgmt/pkg
To enable reporting on bootup, add this line to /etc/rc.conf:
bsdstats_enable="YES"
To run it manually any time:
bsdstats-send
To view current statistics, go to:
http://www.bsdstats.org/
@@TOR_MESSAGE@@
EOM
}
{ type: upgrade
maximum_version: "7.0"
message: <<EOM
BSDstats is now disabled by default, to enable monthly reporting, add
this line to /etc/periodic.conf:
monthly_statistics_enable="YES"
EOM
}
]