aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats
Commit message (Collapse)AuthorAgeFilesLines
* To prevent fallout of lowering __FreeBSD_version in releng/10.0 branch,Glen Barber2013-12-071-1/+1
| | | | | | | | | | adjust OSVERSION evaluation in ports that specifically use '100050N'. Approved by: affected maintainers (implicit) Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=335824
* - Use drill instead of dig on FreeBSD 10.Tijl Coosemans2013-10-252-10/+13
| | | | | | | | | | | - 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
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-5/+2
| | | | | | | sysutils) Notes: svn path=/head/; revision=327772
* - Rewrite installation message [1]Michael 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] Notes: svn path=/head/; revision=303269
* - Add pkgng supportMichael Scheidell2012-07-282-8/+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
* - Last pr committer has agreed to become maintainerMichael Scheidell2012-01-111-1/+1
| | | | | | | | PR: ports/163999 Approved by: gabor (mentor, implicit) Notes: svn path=/head/; revision=288926
* - Simplifies installation and sets up default optionsMichael Scheidell2012-01-071-37/+33
| | | | | | | | | PR: ports/163516 Submitted by: 4JT9aHfQ@nanoman.ca Approved by: gabor (mentor, implicit) Notes: svn path=/head/; revision=288712
* - use shell arithmetic instead of exprEitan Adler2011-09-252-3/+3
| | | | | | | | | | 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-198-517/+10
| | | | | | | | | | | - 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
* - Ensure executable permissions on periodic script in case files subdirectoryPav Lucistnik2010-06-021-0/+1
| | | | | | | | | | get permissions stripped PR: ports/147255 Submitted by: Chris Rees <utisoft@gmail.com> Notes: svn path=/head/; revision=255517
* - Update WWWPav Lucistnik2010-06-021-1/+1
| | | | | | | | PR: ports/147315 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> Notes: svn path=/head/; revision=255516
* - Set HTTP Timeout to prevent blockingPav Lucistnik2009-09-183-10/+11
| | | | | | | | | PR: ports/136124 Submitted by: Alexander Best <alexbestms@math.uni-muenster.de> Feature safe: yes Notes: svn path=/head/; revision=241674
* scrappy's bit has been taken for safekeeping, so return these ports toMark Linimon2009-06-131-1/+1
| | | | | | | | | the pool. Hat: portmgr Notes: svn path=/head/; revision=235755
* - Remove conditional checks for FreeBSD 5.x and olderPav Lucistnik2009-01-061-7/+1
| | | | Notes: svn path=/head/; revision=225335
* . do not remove (shared) directories periodic, periodic/monthly [1] [3]Boris Samorodov2008-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 Notes: svn path=/head/; revision=218829
* Set LOCALBASE if not already setMarc G. Fournier2007-12-202-0/+2
| | | | | | | | PR: ports/114305 Submitted by: Volker Werth <volker@vwsoft.com> Notes: svn path=/head/; revision=204168
* Remove a reference to hostname that was in the script, but was neverMarc G. Fournier2007-12-203-8/+5
| | | | | | | | | | 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-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 ... Notes: svn path=/head/; revision=201543
* As per discussion on -advocacy, resurrect having the installer promptedMarc G. Fournier2007-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 ... Notes: svn path=/head/; revision=201542
* fix problem where, when you try and run on install, it gives error becauseMarc G. Fournier2007-08-292-3/+3
| | | | | | | LOCALBASE isn't set ... Notes: svn path=/head/; revision=198476
* clean up some warnings from portlint -avz and fix it so that if alreadyMarc G. Fournier2007-04-304-8/+12
| | | | | | | 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-284-14/+11
| | | | | | | it in the pkg-message Notes: svn path=/head/; revision=191078
* By popular request, I've added a bsdstats.sh script to etc/rc.d so thatMarc G. Fournier2007-04-282-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 ... Notes: svn path=/head/; revision=191077
* Only depend on netcat if we are running an older version of FreeBSDMarc G. Fournier2006-12-093-4/+7
| | | | | | | | | | 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-053-5/+5
| | | | | | | is no harm in doing so ... Notes: svn path=/head/; revision=178939
* forgot to ready versionMarc G. Fournier2006-12-053-5/+5
| | | | Notes: svn path=/head/; revision=178937
* on FreeBSD 4x the port sysutils/bsdstats should depend on net/netcatMarc G. Fournier2006-12-053-4/+6
| | | | | | | | 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-044-9/+9
| | | | | | | | 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-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 Notes: svn path=/head/; revision=178460
* clean up pkg-install a bit to avoid generating an error whenMarc G. Fournier2006-11-052-2/+14
| | | | | | | | | /etc/periodic.conf doesn't exist ... Submitted by: Paul Dekkers <Paul.Dekkers@surfnet.nl> Notes: svn path=/head/; revision=176526
* Make pkg-install a bit smarter ... if the questions have already beenMarc G. Fournier2006-10-082-7/+10
| | | | | | | | | | answered in /etc/periodic.conf, don't ask them again, just print out the message ... Better for unattended port upgrades ... Notes: svn path=/head/; revision=174882
* Fix the report server hostname ...Marc G. Fournier2006-10-043-5/+5
| | | | Notes: svn path=/head/; revision=174428
* Fix PATH so that it includes /usr/local/bin, so that dig is found onMarc G. Fournier2006-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 ... Notes: svn path=/head/; revision=174427
* Slight typo ...Marc G. Fournier2006-10-033-7/+7
| | | | | | | Submitted by: Ian Darwin <ian@darwinsys.com> Notes: svn path=/head/; revision=174345
* cosmetic changeMarc G. Fournier2006-10-023-5/+5
| | | | Notes: svn path=/head/; revision=174305
* Eliminate initial sleep(s) for getting the id tokenMarc G. Fournier2006-10-023-41/+11
| | | | Notes: svn path=/head/; revision=174303
* Minor change ... make the report server a seperate subdomain then theMarc G. Fournier2006-10-013-5/+5
| | | | | | | | 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-293-5/+5
| | | | | | | | 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-293-9/+5
| | | | Notes: svn path=/head/; revision=174111
* Various changes to address some major issues ...Marc G. Fournier2006-09-293-7/+39
| | | | | | | See -questions for more details ... Notes: svn path=/head/; revision=174083
* Add a network connectivity check using dnsMarc G. Fournier2006-09-283-3/+19
| | | | Notes: svn path=/head/; revision=174049
* fix the code a bit to allow for setting the checkin_server to somethingMarc G. Fournier2006-09-283-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' 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-093-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> Notes: svn path=/head/; revision=172645
* Even better random number generator using jot ...Marc G. Fournier2006-09-073-5/+5
| | | | Notes: svn path=/head/; revision=172443
* Apparently Sparc doesn't like using openssl to generate a random value ... itMarc G. Fournier2006-09-073-5/+13
| | | | | | | | | 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-063-7/+7
| | | | Notes: svn path=/head/; revision=172363
* Add 'unset HTTP_USER_AGENT' ... the backend is setup to only accept specificMarc G. Fournier2006-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> Notes: svn path=/head/; revision=172362