- Use pkg query %n:%v:%o instead of pkg info -o “*” to get list of
installed packages. This simplifies processing and accuracy of split for
version numbers on the report server by not having to guess where that
split is.
- Check for existence of %%PREFIX%%/etc/bsdstats.conf and if it exists,
restrict ports submitted to those listed in there.
- Add a note to pkg-message.in about %%PREFIX%%/etc/bsdstats.conf
- Get rid of the LIMITED config option: LIMITED is enabled if and only if
%%PREFIX%%/etc/bsdstats.conf exists.
While here, also modernize the port using option helpers.
Submitted by: scrappy
Approved by: gerald (mentor)
Differential Revision: https://reviews.freebsd.org/D24644
- Fix files/300.statistics.in so that it can work with the new output
format of pciconf -l in 13.0-CURRENT.
- Fix a bug in device reporting.
- Add support for ports reporting from MidnightBSD systems, whose ports
tree is based on FreeBSD ports tree.
- Changes to using /usr/bin/nc on DragonFly BSD, whose ports tree is based
on FreeBSD ports tree.
- Assume maintainership of sysutils/bsdstats. [1]
PR: 229347
Submitted by: scrappy
Approved by: yuri (maintainer) [1], gerald (mentor)
- Bump PORTREVISION
svn r316342 added a common anticongestion routine that all periodic scripts should
use instead of simply calling sleep. To test if it's available, a port should
check for the anticongestion_sleeptime variable.
PR: 218283
Submitted by: asomers
Approved by: Yuri Victorovich <yuri@rawbw.com> (maintainer)
- Use correct OSVERSION for the dig(1) / drill(1) change
- Don't add anything to rc.conf and periodic.conf when WITH_PACKAGE_BUILDING is set to pet poudriere and tinderbox
- Re-word pkg-message
- Bump PORTREVISION
PR: ports/175879
Submitted by: Alex Keda <admin@lissyara.su>
Approved by: maintainer
Reported by: Alex Keda, 2A, and dvl
Patched by: A.J. Kehoe and me
adjust OSVERSION evaluation in ports that specifically use '100050N'.
Approved by: affected maintainers (implicit)
Sponsored by: The FreeBSD Foundation
- Include project's description in pkg-desc, not pkg-message.in
- Change default answer to each reporting question to yes
- Fix tests for /etc/periodic.conf and /etc/rc.conf
- Clean up interactive prompts during installation
- Bump PORTREVISION
PR: ports/171015
Submitted by: bsdstats@nanoman.ca (maintainer)
Reported by: 2A <deuza at fr dot FreeBSD dot org> [1]
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
run monthly ... change the behaviour such that when it is run with the
-nodelay option, it *only* reports the operating system, even if both
devices and ports reporting are also enabled ...
... this when, when run as part of the original port install, *or*
on system reboot if enabled in /etc/rc.conf, it is 'quick n painless',
and we get the critical number we are looking for ...
if they want to enable it in /etc/rc.conf, instead of making it automatic.
Put a message explaining that for desktop/laptop environments, enabling in
/etc/rc.conf is recommended ...
it can be enabled to run on reboot (ie. for laptops, office computers, etc)
since not everyone runs a server 24/7 ...
I've added to pkg-install a yesno question as to whether it should be enabled
on reboot, seperate from the monthly periodic run ...
This version brings in optional port reporting.
This version is backwards compatible with the older versions, so an
upgrade isn't required, except if you wish to enable port reporting
systems where its installed via ports
Log communications, by default, to /var/log/bsdstats, so that one
knows if things are successful ... now have it so that if any phase
FAILs, it exits and doesn't just go to the next, which most likely
won't work either ...