aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats/files
Commit message (Collapse)AuthorAgeFilesLines
* net-mgmt/bsdstats: Fix typo in periodic scriptAndrew Fyfe2021-05-071-1/+1
| | | | | PR: 255631 Approved by: just-fix-it
* sysutils/bsdstats: make reporting opt-inAndrew Fyfe2021-05-052-22/+13
| | | | | | | | | - 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
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-062-6/+0
|
* sysutils/bsdstats: Fix occurence of /usr/localLorenzo Salvadore2020-04-301-1/+1
| | | | | | | | | | Change an occurence of /usr/local that I inadvertently introduced with r533478 into %%PREFIX%%. Approved by: gerald (mentor) Notes: svn path=/head/; revision=533480
* sysutils/bsdstats: Update to 7.0Lorenzo Salvadore2020-04-302-3/+18
| | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=533478
* Update sysutils/bsdstats to 6.2Lorenzo Salvadore2020-03-011-19/+31
| | | | | | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=527552
* Convert to UCL & cleanup pkg-message (categories s)Mathieu Arnold2019-08-141-2/+6
| | | | Notes: svn path=/head/; revision=508909
* - Use anticongestion instead of simply sleeping.Carlos J. Puga Medina2017-04-101-2/+10
| | | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=438194
* - Add missing ${CR} variable in 300.statistics.inCarlos J. Puga Medina2017-02-061-1/+1
| | | | | | | | | | | - Bump PORTREVISION PR: 216808 Submitted by: Marc Fournier <yscrappy@gmail.com> Approved by: Yuri Victorovich <yuri@rawbw.com> (maintainer) Notes: svn path=/head/; revision=433482
* - Update to upstream version 6.0Thomas Zander2015-05-054-453/+533
| | | | | | | | | | | | | | | | - yuri@rawbw.com takes maintainership - add LICENSE - add TOR OPTION - Favor PLIST_FILES over pkg-plist (only two entries at the moment) - Pet portlint PR: 198799 Submitted by: yuri@rawbw.com (new maintainer) Reviewed by: bsdstats@nanoman.ca Approved by: bsdstats@nanoman.ca (previous maintainer) Notes: svn path=/head/; revision=385480
* - Use drill instead of dig on FreeBSD 10.Tijl Coosemans2013-10-251-1/+1
| | | | | | | | | | | - Support staging. PR: ports/183264 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Approved by: "A.J. Kehoe IV (Nanoman)" <bsdstats@nanoman.ca> (maintainer) Notes: svn path=/head/; revision=331594
* - Rewrite installation message [1]Michael Scheidell2012-08-281-21/+6
| | | | | | | | | | | | | | | - 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] Notes: svn path=/head/; revision=303269
* - Add pkgng supportMichael Scheidell2012-07-281-7/+57
| | | | | | | | PR: ports/170118 Submitted by: bsdstats@nanoman.ca (maintainer) Notes: svn path=/head/; revision=301654
* In the rc.d scripts, change assignments to rcvar to use theDoug Barton2012-01-141-1/+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. Notes: svn path=/head/; revision=289156
* - use shell arithmetic instead of exprEitan Adler2011-09-251-2/+2
| | | | | | | | | | PR: ports/160504 Submitted by: KOIE Hidetaka <koie@suri.co.jp> Submitted by: h h <aakuusta@gmail.com> Approved by: bapt (mentor) Notes: svn path=/head/; revision=282386
* - Respect LOCALBASEDmitry Marakasov2010-08-195-480/+4
| | | | | | | | | | | - Switch to modern style of rc script handling - Installation-related nits PR: 146257 Submitted by: Anonymous <swell.k@gmail.com> Notes: svn path=/head/; revision=259558
* - Forced commit to note that some files were repocopied:Dmitry Marakasov2010-08-191-1/+1
| | | | | | | | | | | - files/300.statistics -> files/300.statistics.in - files/bsdstats -> files/bsdstats.in - pkg-message -> files/pkg-message.in Repocopy by: marcus Notes: svn path=/head/; revision=259557
* - Set HTTP Timeout to prevent blockingPav Lucistnik2009-09-182-8/+10
| | | | | | | | | PR: ports/136124 Submitted by: Alexander Best <alexbestms@math.uni-muenster.de> Feature safe: yes Notes: svn path=/head/; revision=241674
* . do not remove (shared) directories periodic, periodic/monthly [1] [3]Boris Samorodov2008-08-192-4/+4
| | | | | | | | | | | | | at deinstall; . fix useless use of cat(1); [2] . hardcoded directory name isreplaced with the appropriate variable. [2] PR: 105206 [1], 119453 [2], 126632 [3] Submitted by: delphij [1], olli [2], bsam [3] Approved by: maintainer timeout Notes: svn path=/head/; revision=218829
* Remove a reference to hostname that was in the script, but was neverMarc G. Fournier2007-12-202-6/+4
| | | | | | | | | | actually used anywhere ... PR: ports/106298 Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com> Notes: svn path=/head/; revision=204167
* The point of bsdstats is to be as painless as possible, but also to beMarc G. Fournier2007-10-162-54/+58
| | | | | | | | | | | | | 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 ... Notes: svn path=/head/; revision=201543
* clean up some warnings from portlint -avz and fix it so that if alreadyMarc G. Fournier2007-04-301-2/+1
| | | | | | | installed, and enabled, it properly enables in /etc/rc.conf also Notes: svn path=/head/; revision=191223
* forgot to cvs add the start up file ...Marc G. Fournier2007-04-282-0/+60
| | | | Notes: svn path=/head/; revision=191082
* slight change to better handle boottime reporting, as well as to documentMarc G. Fournier2007-04-281-1/+4
| | | | | | | it in the pkg-message Notes: svn path=/head/; revision=191078
* Only depend on netcat if we are running an older version of FreeBSDMarc G. Fournier2006-12-091-1/+1
| | | | | | | | | | that doesn't already include it ... PR: ports/106446 Submitted by: KIMURA Yasuhiro <yasu@utahime.org> Notes: svn path=/head/; revision=179249
* start reporting 'none' devices ... it just pads the results, but thereMarc G. Fournier2006-12-052-4/+4
| | | | | | | is no harm in doing so ... Notes: svn path=/head/; revision=178939
* forgot to ready versionMarc G. Fournier2006-12-052-4/+4
| | | | Notes: svn path=/head/; revision=178937
* on FreeBSD 4x the port sysutils/bsdstats should depend on net/netcatMarc G. Fournier2006-12-052-4/+4
| | | | | | | | PR: ports/106373 Submitted by: George L. Yermulnik"<yz@yz.kiev.ua> Notes: svn path=/head/; revision=178936
* make bsdstats's install a bit more friendlyMarc G. Fournier2006-12-042-6/+6
| | | | | | | | PR: ports/106284 Submitted by: Mikko Tyolajarvi<mbsd@pacbell.net> Notes: svn path=/head/; revision=178790
* v5.0 of the BSDstats script ...Marc G. Fournier2006-12-013-4/+255
| | | | | | | | | | 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 Notes: svn path=/head/; revision=178460
* Fix the report server hostname ...Marc G. Fournier2006-10-042-4/+4
| | | | Notes: svn path=/head/; revision=174428
* Fix PATH so that it includes /usr/local/bin, so that dig is found onMarc G. Fournier2006-10-042-82/+350
| | | | | | | | | | | | 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 ... Notes: svn path=/head/; revision=174427
* Slight typo ...Marc G. Fournier2006-10-032-6/+6
| | | | | | | Submitted by: Ian Darwin <ian@darwinsys.com> Notes: svn path=/head/; revision=174345
* cosmetic changeMarc G. Fournier2006-10-022-4/+4
| | | | Notes: svn path=/head/; revision=174305
* Eliminate initial sleep(s) for getting the id tokenMarc G. Fournier2006-10-022-40/+10
| | | | Notes: svn path=/head/; revision=174303
* Minor change ... make the report server a seperate subdomain then theMarc G. Fournier2006-10-012-4/+4
| | | | | | | | web server itself to make it easier to add on multiple report server front ends Notes: svn path=/head/; revision=174225
* since we're removing a bunch of the sleep(s), let's increase the coupleMarc G. Fournier2006-09-292-4/+4
| | | | | | | | that remain so that we have pretty much the same overall 'randomness' for reporting systems ... Notes: svn path=/head/; revision=174112
* slight change to the when the sleeps happen ...Marc G. Fournier2006-09-292-8/+4
| | | | Notes: svn path=/head/; revision=174111
* Various changes to address some major issues ...Marc G. Fournier2006-09-292-6/+38
| | | | | | | See -questions for more details ... Notes: svn path=/head/; revision=174083
* Add a network connectivity check using dnsMarc G. Fournier2006-09-282-2/+18
| | | | Notes: svn path=/head/; revision=174049
* fix the code a bit to allow for setting the checkin_server to somethingMarc G. Fournier2006-09-282-10/+12
| | | | | | | | different ... instructions soon to follow on web site as to how to use this to use apache to redirect requests through it as a 'light proxy' Notes: svn path=/head/; revision=174048
* Clean up the code a wee bit, since the non-FreeBSD case(s), where OSs don'tMarc G. Fournier2006-09-092-22/+42
| | | | | | | | | | | | have pciconf, just keeps growing ... Fix up code for use of /etc/rc.conf.local for those systems that don't use periodic.conf Submitted by: Thorsten Glaser <tg@mirbsd.de> Notes: svn path=/head/; revision=172645
* Even better random number generator using jot ...Marc G. Fournier2006-09-072-4/+4
| | | | Notes: svn path=/head/; revision=172443
* Apparently Sparc doesn't like using openssl to generate a random value ... itMarc G. Fournier2006-09-072-4/+12
| | | | | | | | | created a 41 year 'sleep' time for one ... Fix it to use sum instead of openssl Notes: svn path=/head/; revision=172441
* OpenBSD uses the same method to submit as NetBSDMarc G. Fournier2006-09-062-6/+6
| | | | Notes: svn path=/head/; revision=172363
* Add 'unset HTTP_USER_AGENT' ... the backend is setup to only accept specificMarc G. Fournier2006-09-062-2/+8
| | | | | | | | | | | | | | USER_AGENTs, so if someone has this set in their shell when running it manually, it will break Add random sleep 'breaks' before doing the fetchs, to help reduce impact on the server when all reporting hosts submit their data ... get them someone staggered ... Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com> Notes: svn path=/head/; revision=172362
* temporarily broke get_id functionMarc G. Fournier2006-09-042-28/+50
| | | | | | | Submitted by: David Brownlee <abs@absd.org> Notes: svn path=/head/; revision=172234
* Several cleanups, and extensions to allow NetBSD to submit ...Marc G. Fournier2006-09-042-22/+32
| | | | | | | | | | | - uri_escape IDTOKEN properly - use ftp vs fetch - use /etc/rc.conf instead of /etc/periodic.conf Submitted by: David Brownlee <abs@absd.org> Notes: svn path=/head/; revision=172220
* First, set PATH similar to /etc/rc.shutdown, so that we don't have toMarc G. Fournier2006-09-042-4/+28
| | | | | | | | | | | | | | hardcode openssl, to allow for those using ports for it to easily make use of acript Second, check timestamp of /var/db/bsdstats to make sure that the 15 minutes have passed before submitting, so that ppl don't get that 'false success' when they ctl-C Submitted by: Oliver Fromme <olli@lurza.secnetix.de> Notes: svn path=/head/; revision=172118
* Fix " : not found" when first running scriptMarc G. Fournier2006-08-262-4/+4
| | | | Notes: svn path=/head/; revision=171440