aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bsdstats
Commit message (Collapse)AuthorAgeFilesLines
* - Rewrite installation message [1]scheidell2012-08-284-55/+41
| | | | | | | | | | | | - 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]
* - Add pkgng supportscheidell2012-07-282-8/+57
| | | | | PR: ports/170118 Submitted by: bsdstats@nanoman.ca (maintainer)
* In the rc.d scripts, change assignments to rcvar to use thedougb2012-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.
* - Last pr committer has agreed to become maintainerscheidell2012-01-111-1/+1
| | | | | PR: ports/163999 Approved by: gabor (mentor, implicit)
* - Simplifies installation and sets up default optionsscheidell2012-01-081-37/+33
| | | | | | PR: ports/163516 Submitted by: 4JT9aHfQ@nanoman.ca Approved by: gabor (mentor, implicit)
* - use shell arithmetic instead of expreadler2011-09-262-3/+3
| | | | | | | PR: ports/160504 Submitted by: KOIE Hidetaka <koie@suri.co.jp> Submitted by: h h <aakuusta@gmail.com> Approved by: bapt (mentor)
* - Respect LOCALBASEamdmi32010-08-198-517/+10
| | | | | | | | - Switch to modern style of rc script handling - Installation-related nits PR: 146257 Submitted by: Anonymous <swell.k@gmail.com>
* - Forced commit to note that some files were repocopied:amdmi32010-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
* - Ensure executable permissions on periodic script in case files subdirectorypav2010-06-021-0/+1
| | | | | | | get permissions stripped PR: ports/147255 Submitted by: Chris Rees <utisoft@gmail.com>
* - Update WWWpav2010-06-021-1/+1
| | | | | PR: ports/147315 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
* - Set HTTP Timeout to prevent blockingpav2009-09-193-10/+11
| | | | | | PR: ports/136124 Submitted by: Alexander Best <alexbestms@math.uni-muenster.de> Feature safe: yes
* scrappy's bit has been taken for safekeeping, so return these ports tolinimon2009-06-141-1/+1
| | | | | | the pool. Hat: portmgr
* - Remove conditional checks for FreeBSD 5.x and olderpav2009-01-071-7/+1
|
* . do not remove (shared) directories periodic, periodic/monthly [1] [3]bsam2008-08-194-8/+9
| | | | | | | | | | 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
* Set LOCALBASE if not already setscrappy2007-12-202-0/+2
| | | | | PR: ports/114305 Submitted by: Volker Werth <volker@vwsoft.com>
* Remove a reference to hostname that was in the script, but was neverscrappy2007-12-203-8/+5
| | | | | | | actually used anywhere ... PR: ports/106298 Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com>
* The point of bsdstats is to be as painless as possible, but also to bescrappy2007-10-163-55/+59
| | | | | | | | | | 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 ...
* As per discussion on -advocacy, resurrect having the installer promptedscrappy2007-10-162-9/+26
| | | | | | | 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 ...
* fix problem where, when you try and run on install, it gives error becausescrappy2007-08-292-3/+3
| | | | LOCALBASE isn't set ...
* clean up some warnings from portlint -avz and fix it so that if alreadyscrappy2007-05-014-8/+12
| | | | installed, and enabled, it properly enables in /etc/rc.conf also
* forgot to cvs add the start up file ...scrappy2007-04-292-0/+60
|
* slight change to better handle boottime reporting, as well as to documentscrappy2007-04-294-14/+11
| | | | it in the pkg-message
* By popular request, I've added a bsdstats.sh script to etc/rc.d so thatscrappy2007-04-292-2/+15
| | | | | | | | 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 ...
* Only depend on netcat if we are running an older version of FreeBSDscrappy2006-12-093-4/+7
| | | | | | | that doesn't already include it ... PR: ports/106446 Submitted by: KIMURA Yasuhiro <yasu@utahime.org>
* start reporting 'none' devices ... it just pads the results, but therescrappy2006-12-053-5/+5
| | | | is no harm in doing so ...
* forgot to ready versionscrappy2006-12-053-5/+5
|
* on FreeBSD 4x the port sysutils/bsdstats should depend on net/netcatscrappy2006-12-053-4/+6
| | | | | PR: ports/106373 Submitted by: George L. Yermulnik"<yz@yz.kiev.ua>
* make bsdstats's install a bit more friendlyscrappy2006-12-044-9/+9
| | | | | PR: ports/106284 Submitted by: Mikko Tyolajarvi<mbsd@pacbell.net>
* v5.0 of the BSDstats script ...scrappy2006-12-016-6/+265
| | | | | | | 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
* clean up pkg-install a bit to avoid generating an error whenscrappy2006-11-062-2/+14
| | | | | | /etc/periodic.conf doesn't exist ... Submitted by: Paul Dekkers <Paul.Dekkers@surfnet.nl>
* Make pkg-install a bit smarter ... if the questions have already beenscrappy2006-10-082-7/+10
| | | | | | | answered in /etc/periodic.conf, don't ask them again, just print out the message ... Better for unattended port upgrades ...
* Fix the report server hostname ...scrappy2006-10-043-5/+5
|
* Fix PATH so that it includes /usr/local/bin, so that dig is found onscrappy2006-10-043-83/+351
| | | | | | | | | 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 ...
* Slight typo ...scrappy2006-10-033-7/+7
| | | | Submitted by: Ian Darwin <ian@darwinsys.com>
* cosmetic changescrappy2006-10-023-5/+5
|
* Eliminate initial sleep(s) for getting the id tokenscrappy2006-10-023-41/+11
|
* Minor change ... make the report server a seperate subdomain then thescrappy2006-10-013-5/+5
| | | | | web server itself to make it easier to add on multiple report server front ends
* since we're removing a bunch of the sleep(s), let's increase the couplescrappy2006-09-303-5/+5
| | | | | that remain so that we have pretty much the same overall 'randomness' for reporting systems ...
* slight change to the when the sleeps happen ...scrappy2006-09-303-9/+5
|
* Various changes to address some major issues ...scrappy2006-09-293-7/+39
| | | | See -questions for more details ...
* Add a network connectivity check using dnsscrappy2006-09-293-3/+19
|
* fix the code a bit to allow for setting the checkin_server to somethingscrappy2006-09-293-11/+13
| | | | | 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'
* Clean up the code a wee bit, since the non-FreeBSD case(s), where OSs don'tscrappy2006-09-103-23/+43
| | | | | | | | | 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>
* Even better random number generator using jot ...scrappy2006-09-073-5/+5
|
* Apparently Sparc doesn't like using openssl to generate a random value ... itscrappy2006-09-073-5/+13
| | | | | | created a 41 year 'sleep' time for one ... Fix it to use sum instead of openssl
* OpenBSD uses the same method to submit as NetBSDscrappy2006-09-063-7/+7
|
* Add 'unset HTTP_USER_AGENT' ... the backend is setup to only accept specificscrappy2006-09-063-4/+9
| | | | | | | | | | | 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>
* temporarily broke get_id functionscrappy2006-09-053-28/+51
| | | | Submitted by: David Brownlee <abs@absd.org>
* Several cleanups, and extensions to allow NetBSD to submit ...scrappy2006-09-053-24/+33
| | | | | | | | - uri_escape IDTOKEN properly - use ftp vs fetch - use /etc/rc.conf instead of /etc/periodic.conf Submitted by: David Brownlee <abs@absd.org>
* forgot to 'cvs add' pkg-installscrappy2006-09-042-0/+47
| | | | Submitted by: Paul Lipps <paul.lipps@gmail.com>
* If installer enables the script, also prompt to run it the firstscrappy2006-09-041-1/+1
| | | | time
* have it prompt, similar to postfix, whether or not you wish to activatescrappy2006-09-041-1/+10
| | | | | | the script when you install it Submitted by: Antony Mawer <antony@mawer.org>
* First, set PATH similar to /etc/rc.shutdown, so that we don't have toscrappy2006-09-043-6/+29
| | | | | | | | | | | 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>
* Fix " : not found" when first running scriptscrappy2006-08-273-5/+5
|
* fix typo in PLIST_DIRSscrappy2006-08-263-4/+4
| | | | Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
* Fix variable name used for token filescrappy2006-08-153-9/+9
| | | | Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
* Ensure that data returned from server on initial challenge is, inscrappy2006-08-143-8/+61
| | | | | | fact, only the data that we expect. Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
* This is mostly a rewrite of the bsdstats script:scrappy2006-08-145-94/+141
| | | | | | | | - eliminate use of ip/hostname as unique keys - reduce # of fetch's down to 4 - move to using bsdstats.org - put in a time delay on initial challenge/response to make it a bit more difficult for fakers
* somehow, defining $OS fell out in one of the commits ...scrappy2006-08-103-2/+5
|
* Include class information for devices, so that its easier toscrappy2006-08-103-6/+9
| | | | categorize them in reports ...
* Add some verbosity to the script, letting ppl know that a report hasscrappy2006-08-103-4/+29
| | | | | | been sent, and/or that it is disabled and how to enable it ... Submitted by: Paul Schmehl <pauls@utdallas.edu>
* Add CPUs to the devices report, and clean up the script a bitscrappy2006-08-093-12/+83
| | | | Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
* remove the monthly_statistics_mailto variable from the script ... itscrappy2006-08-083-5/+3
| | | | is not used, nor was it ever used ...
* Redirect fetch output to /dev/null ...scrappy2006-08-083-9/+9
|
* have getid report operating system, so that other *BSDs can participatescrappy2006-08-083-5/+7
| | | | as well ...
* Makefile cleanupscrappy2006-08-081-2/+2
| | | | Submitted by: Boris Samorodov <bsam@ipt.ru>
* Add a message pointing people to where the stats themselves canscrappy2006-08-083-0/+7
| | | | be viewed
* bsdstats v2.0 ... device reportingscrappy2006-08-075-10/+41
|
* Record Operating System itself, in case someone in the NetBSD,scrappy2006-08-063-4/+7
| | | | | OpenBSD or DragonflyBSD decides they want to add to the stats, so that we know where the numbers belong ...
* Initial port for bsdstats scriptscrappy2006-08-066-0/+111
Submitted by: John Nielsen <john@jnielsen.net>