SmokePing is a latency logging and graphing system. It consists of a
daemon process which organizes the latency measurements and a CGI
which presents the graphs.
===> The following configuration options are available for smokeping-2.9.0_2:
DNS=off: Support for AnotherDNS probes
ECHOPING=off: Support for EchoPing probes
EXAMPLES=on: Build and/or install examples
FPING=on: Support for fping probes
RADIUS=off: Support for Radius probes
TELNET=off: Support for TelnetIOSPing probes
===> Use 'make config' to modify these settings
net-mgmt/smokeping: fix etc/smokeping_secrets.sample file permission
The files etc/smokeping_secrets and the sample file
should not be world-readable.
PR: 290806
Reported by: sanpei
net-mgmt/smokeping: Made pidfile configurable in the rc script
From this version if you use a custom pifile location configured
in /etc/rc.conf with the smokeping_pidfile variable you don't
need to update your smokeping rc.d file manually after each port
upgrade anymore. The default behavior remains unchanged.
Reported by: zi (private mail)
net-mgmt/smokeping: switch from GITHUB to MASTER_SITES
During the release process, the Smokeping team updates
the version number displayed in the webUI in the archive
files but never report this update on the git repo.
Instead of trying to fix this issue in the port, we move
back to static archives.
Apart from version no difference was found on the code.
Since I'm here, improve the port itself to make linters
happy.
PR: 267815
Reported by: Gasol Wu <gasol.wu@gmail.com>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
net-mgmt: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* @BABOLO <.@babolo.ru>
* Alex Samorukov, samm@freebsd.org
* Alexander Kriventsov <avk@vl.ru>
* Alexander Sulfrian <alexander@sulfrian.net>
* Alexander Y. Grigoryev <alexander.4mail@gmail.com>
* Alexandre Biancalana <ale@biancalanas.net>
* Alexandre Snarskii <snar@paranoia.ru>
* Alexandre Snarskii <snar@snar.spb.ru>
* Alexey Bobkov <mr.deadlystorm@gmail.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
(Only the first 15 lines of the commit message are shown above )
net-mgmt/smokeping: update to 2.8.2
Major changes:
* support for influxdb
* AnotherDNS update
* new matcher ConsecutiveLoss
* lots of spelling fixes
* update FPing commandline
* better handling of return codes from probe binaries
* drop SSHv1 and rsa1 from SSH.pm
* fix config reload for slaves
* fix edgetrigger functionality
* fping protocol parameter optional
* exploss matcher fixes
* interface parameter for fping probe
* pass 6th argument to edgetrigger external alerts
* red background for 100% loss
* make loss colors more distinctive
* calculate loss buckets based on number of 'pings'
Full changelog: calculate loss buckets based on number of 'pings'
Remove GH_TAGNAME who points to v2.7.0 instead of v2.7.3
Add new files in plist
Bump portrevision
PR: 235960
Reported by: Michael Lyngbol <michael@lyngbol.dk>
Add a wait_for_pids at the end of the rc script stop function, waiting for the
daemon to stops. With smokeping busy pinging a few hundred hosts it often occurs
that the daemon stops after the rc call completion failing a restart.
Bump PORTREVISION.
PR: 221009
Submitted by: vegeta@tuxpowered.net
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
Update databases/rrdtool to 1.6.0
Most notably, this version of rrdtools.so is thread safe, so the
rrdtools_th.so library is removed.
Bump portrevision for depending ports due to shlib version bump.
For full changelog: http://oss.oetiker.ch/rrdtool/pub/CHANGES
Reviewed by: kwm
Differential Revision: D6168
- Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
when CONFIGURE_ARGS already sets it. (GNU configure scripts set it to
PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
they aren't affected by this change (for now at least). This commit is
meant to ensure that new ports don't make the same mistake.
- games/acm: the configure script in this port is very old; instead of
patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
changed the behaviour of the configure script; adjust the port to this.
PR: 199506
Exp-run by: antoine
Approved by: portmgr (antoine)
change command_interpreter from /usr/bin/perl to ${PREFIX}/bin/perl
Several ports had rc.d scripts with hardcoded command_interpreter string
as /usr/bin/perl. This symlink is not guaranteed to be in place, and it
isn't even an option for perl 5.20. For affected ports, the interpreter
was changed to localbase.
In one case, the interpreter was correct, but it wasn't surround by
quotes. Since the rc.d script would break if a space was contained in
${PREFIX}, quotes were added in that case.
Clean up databases/rrdtool
Change library dependensies to use USES= where applicable.
Build ports documentation and examples, depending on respective option.
Add two new options, NLS and GRAPH, the GRAPH option enables the rrdtool graph
command, which pulls in cario and a lot of other dependencies. [1]
Add missing dependencies.
Becase of shlib version bump, bump portrevision on depending ports.
PR: 192024 [1] (based on)
Submitted by: asomers
Approved by: portmgr (blanket, portrevision bumps)
Fix a minima the plugin breakage introduced by Net::DNS 0.75 and above.
This bug is complex and must be fixed upstream (smokeping)[1].
[1] https://rt.cpan.org/Public/Bug/Display.html?id=96479
PR: ports/192037
Submitted by: feld
Reviewed by: rodrigo (maintainer)
Approved by: kwm (mentor)
MFH: 2014Q3
- Update to new LIB_DEPENDS format
- Support STAGE
- Clean up rc script
- Move example configs to new .sample naming convention
Sponsored by: SupraNet Communications, Inc
In the rc.d scripts, change assignments to rcvar to use the
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.
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues
by switching to using $USERS & $GROUPS pkg-install is no longer required
pkg-deinstall only needs to handle the removal of the .pid file
use @stopdaemon to stop smoking instead of invoking smokeping stop manually by
pkg-deinstall
use bsd.port.options.mk
use SUB_FILES to update pkg-message
PR: ports/143182
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.
1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).
No PORTREVISION bumps because all of these changes are noops.
- man pages installation is not conditioned by NOPORTDOCS (fix plist)
- use ETCDIR while here
- bump PORTREVISION
Approved by: maintainer timeout on QAT BotMail
Prompted by: QAT QA run
Update to 2.4.2
From CHANGES:
* added strict to both wrappers and fixed some followup errors -- tobi
* kill taint error in Smokeping.pm -- tobi
* better master/slave secrets documentation -- tobi
* do not load :sys_wait_h from POSIX perl module since this seems to
be missing in some linux distros and we can do alright without.
Set USE_PERL5/WANT_PERL as appropriate, for ports that either depend on
perl unconditonally, or conditionally. To be able to conditionalize the
inclusion of bsd.perl.mk, they now need to be defined before the inclusion
of bsd.port.pre.mk.
Hat: portmgr
[repocopy] net/smokeping -> databases/smokeping
Based on the description of this port, it belongs more in
net-mgmt than in net.
PR: ports/114323
Submitted by: Edwin Groothuis <edwin@freebsd.org>
Approved by: lth@