svn commit: r492831 - in head/net-mgmt/smokeping: . files
Rodrigo Osorio
rodrigo at FreeBSD.org
Wed Feb 13 07:29:09 UTC 2019
Author: rodrigo
Date: Wed Feb 13 07:29:04 2019
New Revision: 492831
URL: https://svnweb.freebsd.org/changeset/ports/492831
Log:
Upgrade net-mgmt/smokeping to 2.7.3
- Use GITHUB to get distfiles
- Redo the patches
- Rework options
Changelog: https://oss.oetiker.ch/smokeping/pub/CHANGES
Added:
head/net-mgmt/smokeping/files/patch-Makefile.am (contents, props changed)
head/net-mgmt/smokeping/files/patch-bin_smokeping (contents, props changed)
head/net-mgmt/smokeping/files/patch-bin_smokeping__cgi (contents, props changed)
head/net-mgmt/smokeping/files/patch-bin_tSmoke (contents, props changed)
head/net-mgmt/smokeping/files/patch-configure.ac (contents, props changed)
head/net-mgmt/smokeping/files/patch-doc_Makefile.am (contents, props changed)
head/net-mgmt/smokeping/files/patch-doc_smokeping__install.pod (contents, props changed)
head/net-mgmt/smokeping/files/patch-etc_Makefile.am (contents, props changed)
head/net-mgmt/smokeping/files/patch-htdocs_Makefile.am (contents, props changed)
head/net-mgmt/smokeping/files/patch-lib_Makefile.am (contents, props changed)
head/net-mgmt/smokeping/files/patch-lib_Smokeping.pm (contents, props changed)
head/net-mgmt/smokeping/files/patch-lib_Smokeping_Examples.pm (contents, props changed)
head/net-mgmt/smokeping/files/patch-lib_Smokeping_probes_AnotherDNS.pm (contents, props changed)
Deleted:
head/net-mgmt/smokeping/files/patch-bin-smokeping
head/net-mgmt/smokeping/files/patch-bin-smokeping_cgi
head/net-mgmt/smokeping/files/patch-bin-tSmoke
head/net-mgmt/smokeping/files/patch-doc__Makefile.in
head/net-mgmt/smokeping/files/patch-etc_Makefile.in
head/net-mgmt/smokeping/files/patch-etc__config.dist.in
head/net-mgmt/smokeping/files/patch-htdocs-Makefile.in
head/net-mgmt/smokeping/files/patch-lib__Makefile.in
head/net-mgmt/smokeping/files/patch-lib__Smokeping.pm
head/net-mgmt/smokeping/files/patch-lib__Smokeping__probes__AnotherDNS.pm
Modified:
head/net-mgmt/smokeping/Makefile
head/net-mgmt/smokeping/distinfo
head/net-mgmt/smokeping/pkg-plist
Modified: head/net-mgmt/smokeping/Makefile
==============================================================================
--- head/net-mgmt/smokeping/Makefile Wed Feb 13 07:03:10 2019 (r492830)
+++ head/net-mgmt/smokeping/Makefile Wed Feb 13 07:29:04 2019 (r492831)
@@ -2,11 +2,8 @@
# $FreeBSD$
PORTNAME= smokeping
-PORTVERSION= 2.6.11
-PORTREVISION= 8
+PORTVERSION= 2.7.3
CATEGORIES= net-mgmt www
-MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \
- http://smokeping.cs.pu.edu.tw/pub/
MAINTAINER= rodrigo at FreeBSD.org
COMMENT= Latency logging and graphing system
@@ -30,13 +27,20 @@ BUILD_DEPENDS= p5-CGI-Fast>=0:www/p5-CGI-Fast \
p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL \
p5-Net-Telnet>=0:net/p5-Net-Telnet \
p5-Net-OpenSSH>=0:net/p5-Net-OpenSSH \
- p5-perl-ldap>=0:net/p5-perl-ldap
+ p5-perl-ldap>=0:net/p5-perl-ldap \
+ p5-OrePAN2>=0:devel/p5-OrePAN2 \
+ curl>=0:ftp/curl
RUN_DEPENDS:= ${BUILD_DEPENDS}
+USES= gmake perl5 autoreconf
+
CONFLICTS_INSTALL= nfsping
+SUB_FILES= pkg-deinstall pkg-message
+SUB_LIST= USERS=${USERS} \
+ GROUPS=${GROUPS}
+
NO_ARCH= yes
-USES= gmake perl5
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PERL=${PERL} PERL5LIB=${PREFIX}/smokeping/lib
CONFIGURE_ARGS+= \
@@ -53,37 +57,46 @@ PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
USERS= smokeping
GROUPS= smokeping
-SUB_FILES= pkg-deinstall pkg-message
-SUB_LIST= USERS=${USERS} \
- GROUPS=${GROUPS}
+OPTIONS_DEFINE= ECHOPING RADIUS TELNET DNS FPING EXAMPLES
+OPTIONS_DEFAULT= FPING
FPING_DESC= Support for fping probes
+FPING_RUN_DEPENDS= ${LOCALBASE}/sbin/fping:net/fping
+
ECHOPING_DESC= Support for EchoPing probes
-CURL_DESC= Support for Curl probes
+ECHOPING_RUN_DEPENDS= ${LOCALBASE}/bin/echoping:net/echoping
+
RADIUS_DESC= Support for Radius probes
+RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:security/p5-Authen-Radius
+
TELNET_DESC= Support for TelnetIOSPing probes
+TELNET_RUN_DEPENDS= p5-Net-Telnet>=0:net/p5-Net-Telnet
+
DNS_DESC= Support for AnotherDNS probes
+DNS_RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS
-OPTIONS_DEFINE= ECHOPING CURL RADIUS TELNET DNS FPING EXAMPLES
+USE_GITHUB= yes
+GH_ACCOUNT= oetiker
+GH_PROJECT= SmokePing
+GH_TAGNAME= 9b2ecb9
+
+OPTIONS_DEFINE= ECHOPING RADIUS TELNET DNS FPING EXAMPLES
OPTIONS_DEFAULT= FPING
-FPING_RUN_DEPENDS= ${LOCALBASE}/sbin/fping:net/fping
-ECHOPING_RUN_DEPENDS= ${LOCALBASE}/bin/echoping:net/echoping
-CURL_RUN_DEPENDS= ${LOCALBASE}/bin/curl:ftp/curl
-RADIUS_RUN_DEPENDS= p5-Authen-Radius>=0:security/p5-Authen-Radius
-TELNET_RUN_DEPENDS= p5-Net-Telnet>=0:net/p5-Net-Telnet
-DNS_RUN_DEPENDS= p5-Net-DNS>=0:dns/p5-Net-DNS
-
# We will take these from CPAN instead
post-extract:
cd ${WRKSRC}/lib ; ${RM} BER.pm SNMP_util.pm SNMP_Session.pm
post-patch:
${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${WRKSRC}/doc/Makefile.in \
+ ${WRKSRC}/doc/Makefile.am \
${WRKSRC}/bin/smokeping \
${WRKSRC}/bin/smokeping_cgi \
${WRKSRC}/bin/tSmoke
+ @for a in ${WRKSRC}/etc/*.dist; do \
+ ${MV} $$a $${a%.dist}.sample; \
+ done
+ ${MV} ${WRKSRC}/etc/config.dist.in ${WRKSRC}/etc/config.sample.in
post-install:
${MKDIR} ${STAGEDIR}/${PREFIX}/smokeping/htdocs/img
Modified: head/net-mgmt/smokeping/distinfo
==============================================================================
--- head/net-mgmt/smokeping/distinfo Wed Feb 13 07:03:10 2019 (r492830)
+++ head/net-mgmt/smokeping/distinfo Wed Feb 13 07:29:04 2019 (r492831)
@@ -1,2 +1,3 @@
-SHA256 (smokeping-2.6.11.tar.gz) = f2b3c386e95a74af2b1e7aec6410d0a58852339f00e9963f3c770cfd85ba30dd
-SIZE (smokeping-2.6.11.tar.gz) = 417338
+TIMESTAMP = 1548858797
+SHA256 (oetiker-SmokePing-2.7.3-9b2ecb9_GH0.tar.gz) = 10ff209c4efae212b5347ffdcda100a536f690ee154211e54e0d01c5d5508401
+SIZE (oetiker-SmokePing-2.7.3-9b2ecb9_GH0.tar.gz) = 317527
Added: head/net-mgmt/smokeping/files/patch-Makefile.am
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-Makefile.am Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,18 @@
+--- Makefile.am.orig 2019-01-30 16:17:01 UTC
++++ Makefile.am
+@@ -16,14 +16,9 @@
+
+ AUTOMAKE_OPTIONS = foreign
+
+-SUBDIRS = thirdparty doc etc htdocs lib bin
++SUBDIRS = doc etc htdocs lib bin
+
+ EXTRA_DIST = COPYRIGHT CHANGES CONTRIBUTORS LICENSE PERL_MODULES
+
+-THIRDPARTY_DIR := $(shell pwd)/thirdparty
+-
+ dist-hook:
+ $(PERL) -i -p -e '"$(PACKAGE_VERSION)" =~ /(\d+)\.(\d+)\.(\d+)/ and $$v = sprintf("%d.%03d%03d",$$1,$$2,$$3) and s/^\$$VERSION\s*=\s*".*?"/\$$VERSION = "$$v"/' $(distdir)/lib/Smokeping.pm
+-
+-install-exec-hook:
+- [ ! -d $(THIRDPARTY_DIR)/lib/perl5 ] || $(CP) -fr $(THIRDPARTY_DIR)/lib/perl5/* $(DESTDIR)$(libdir)
Added: head/net-mgmt/smokeping/files/patch-bin_smokeping
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-bin_smokeping Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,18 @@
+--- bin/smokeping.orig 2018-02-02 21:14:55 UTC
++++ bin/smokeping
+@@ -5,12 +5,11 @@ use strict;
+ use warnings;
+
+ use lib (split /:/, q{}); # PERL5LIB
+-use FindBin;
+-use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
++use lib "/usr/local/smokeping/lib";
+
+ use Smokeping;
+-
+-Smokeping::main("$FindBin::RealBin/../etc/config");
++
++Smokeping::main("/usr/local/etc/smokeping/config");
+
+ =head1 NAME
+
Added: head/net-mgmt/smokeping/files/patch-bin_smokeping__cgi
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-bin_smokeping__cgi Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,21 @@
+--- bin/smokeping_cgi.orig 2018-02-02 21:14:55 UTC
++++ bin/smokeping_cgi
+@@ -5,8 +5,7 @@ use strict;
+ use warnings;
+
+ use lib (split /:/, q{}); # PERL5LIB
+-use FindBin;
+-use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
++use lib "/usr/local/smokeping/lib";
+
+ # don't bother with zombies
+ $SIG{CHLD} = 'IGNORE';
+@@ -17,7 +16,7 @@ use Smokeping;
+
+ use CGI::Fast;
+
+-my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config";
++my $cfg = (shift @ARGV) || "/usr/local/etc/smokeping/config";
+
+
+ while (my $q = new CGI::Fast) {
Added: head/net-mgmt/smokeping/files/patch-bin_tSmoke
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-bin_tSmoke Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,20 @@
+--- bin/tSmoke.orig 2018-02-02 21:14:55 UTC
++++ bin/tSmoke
+@@ -53,7 +53,7 @@ use warnings;
+ # Point the lib variables to your implementation
+
+ use lib (split /:/, q{}); # PERL5LIB
+-use FindBin;use lib "$FindBin::RealBin/../lib";use lib "$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
++use lib "/usr/local/smokeping/lib";
+
+
+ use Smokeping;
+@@ -63,7 +63,7 @@ use Pod::Usage;
+ use RRDs;
+
+ # Point to your Smokeping config file
+-my $cfgfile = "etc/config.dist";
++my $cfgfile = "/usr/local/etc/smokeping/config";
+
+ # global variables
+ my $cfg;
Added: head/net-mgmt/smokeping/files/patch-configure.ac
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-configure.ac Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2018-02-02 21:14:55 UTC
++++ configure.ac
+@@ -143,7 +143,7 @@ NOTES
+ exit 1
+ fi
+
+-AC_CONFIG_FILES([Makefile bin/Makefile doc/Makefile htdocs/Makefile etc/Makefile lib/Makefile thirdparty/Makefile etc/config.dist])
++AC_CONFIG_FILES([Makefile bin/Makefile doc/Makefile htdocs/Makefile etc/Makefile lib/Makefile thirdparty/Makefile etc/config.sample])
+
+ AC_SUBST(VERSION)
+
Added: head/net-mgmt/smokeping/files/patch-doc_Makefile.am
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-doc_Makefile.am Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,19 @@
+--- doc/Makefile.am.orig 2018-02-02 21:14:55 UTC
++++ doc/Makefile.am
+@@ -92,7 +92,7 @@ tSmoke.1: ../bin/tSmoke
+ smokeping_config.pod: ../lib/Smokeping.pm
+ $(AM_V_GEN)$(MAKEPOD) > $@
+
+-smokeping_examples.pod: ../lib/Smokeping/Examples.pm ../etc/config.dist
++smokeping_examples.pod: ../lib/Smokeping/Examples.pm ../etc/config.sample
+ $(AM_V_GEN)$(MKDIR) -p examples
+ $(AM_V_GEN)$(GENEX)
+
+@@ -116,6 +116,6 @@ iman7_DATA = $(MAN7)
+
+ EXAMPLES := $(wildcard examples/config.*)
+
+-etcdir = $(sysconfdir)/examples
++etcdir = /usr/local/share/examples/smokeping
+ etc_DATA = $(EXAMPLES)
+
Added: head/net-mgmt/smokeping/files/patch-doc_smokeping__install.pod
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-doc_smokeping__install.pod Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,11 @@
+--- doc/smokeping_install.pod.orig 2018-02-02 21:14:55 UTC
++++ doc/smokeping_install.pod
+@@ -108,7 +108,7 @@ to finish your setup.
+
+ =head2 Configuration
+
+-Use the F<etc/config.dist> file as a template to create your own smokeping configuration file.
++Use the F<etc/config.sample> file as a template to create your own smokeping configuration file.
+ See L<smokeping_config> for details.
+
+ =over
Added: head/net-mgmt/smokeping/files/patch-etc_Makefile.am
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-etc_Makefile.am Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,11 @@
+--- etc/Makefile.am.orig 2018-02-02 21:14:55 UTC
++++ etc/Makefile.am
+@@ -15,7 +15,7 @@
+ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+
+
+-EXTRA_DIST = basepage.html.dist config.dist smokemail.dist smokeping_secrets.dist tmail.dist
++EXTRA_DIST = basepage.html.sample config.sample smokemail.sample smokeping_secrets.sample tmail.sample
+
+ etcdir = $(sysconfdir)
+ etc_DATA = $(EXTRA_DIST)
Added: head/net-mgmt/smokeping/files/patch-htdocs_Makefile.am
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-htdocs_Makefile.am Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,12 @@
+--- htdocs/Makefile.am.orig 2018-02-02 21:14:55 UTC
++++ htdocs/Makefile.am
+@@ -41,6 +41,6 @@ nobase_js_DATA = $(JS)
+
+ install-data-local:
+ $(MKDIR) -p $(DESTDIR)$(HTDOCSDIR)
+- $(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
+- $(ECHO) "exec $(bindir)/smokeping_cgi $(sysconfdir)/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
+- chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist
++ $(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.sample
++ $(ECHO) "exec $(bindir)/smokeping_cgi $(sysconfdir)/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.sample
++ chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.sample
Added: head/net-mgmt/smokeping/files/patch-lib_Makefile.am
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-lib_Makefile.am Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,9 @@
+--- lib/Makefile.am.orig 2018-02-02 21:14:55 UTC
++++ lib/Makefile.am
+@@ -31,5 +31,5 @@ MATCH := $(wildcard Smokeping/matchers/*.pm)
+
+ EXTRA_DIST = $(PM) $(SP) $(SORT) $(PROBE) $(MATCH)
+
+-perllibdir = $(prefix)/lib
++perllibdir = $(prefix)/smokeping/lib
+ nobase_perllib_DATA = $(EXTRA_DIST)
Added: head/net-mgmt/smokeping/files/patch-lib_Smokeping.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-lib_Smokeping.pm Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,38 @@
+--- lib/Smokeping.pm.orig 2018-02-02 21:14:55 UTC
++++ lib/Smokeping.pm
+@@ -4306,7 +4306,7 @@ sub main (;$) {
+ if(defined $opt{'check'}) { verify_cfg($cfgfile); exit 0; }
+ if($opt{reload}) {
+ load_cfg $cfgfile, 'noinit'; # we need just the piddir
+- kill_smoke $cfg->{General}{piddir}."/smokeping.pid", SIGHUP;
++ kill_smoke $cfg->{General}{piddir}."/pid", SIGHUP;
+ print "HUP signal sent to the running SmokePing process, exiting.\n";
+ exit 0;
+ };
+@@ -4315,7 +4315,7 @@ sub main (;$) {
+ if(defined $opt{'static-pages'}) { makestaticpages $cfg, $opt{'static-pages'}; exit 0 };
+ if($opt{email}) { enable_dynamic $cfg, $cfg->{Targets},"",""; exit 0 };
+ }
+- if($opt{restart}) { kill_smoke $cfg->{General}{piddir}."/smokeping.pid", SIGINT;};
++ if($opt{restart}) { kill_smoke $cfg->{General}{piddir}."/pid", SIGINT;};
+
+ if($opt{logfile}) { initialize_filelog($opt{logfile}) };
+
+@@ -4328,7 +4328,7 @@ sub main (;$) {
+ initialize_syslog($cfg->{General}{syslogfacility},
+ $cfg->{General}{syslogpriority});
+ }
+- daemonize_me $cfg->{General}{piddir}."/smokeping.pid";
++ daemonize_me $cfg->{General}{piddir}."/pid";
+ }
+ do_log "Smokeping version $VERSION successfully launched.";
+
+@@ -4514,7 +4514,7 @@ KID:
+ my $new_conf = Smokeping::Slave::submit_results $slave_cfg,$cfg,$myprobe,$probes;
+ if ($new_conf && !$gothup){
+ do_log('server has new config for me ... HUPing the parent');
+- kill_smoke $cfg->{General}{piddir}."/smokeping.pid", SIGHUP;
++ kill_smoke $cfg->{General}{piddir}."/pid", SIGHUP;
+ # wait until the parent signals back if it didn't already
+ sleep if (!$gothup);
+ if (!$gothup) {
Added: head/net-mgmt/smokeping/files/patch-lib_Smokeping_Examples.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-lib_Smokeping_Examples.pm Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,29 @@
+--- lib/Smokeping/Examples.pm.orig 2018-02-02 21:14:55 UTC
++++ lib/Smokeping/Examples.pm
+@@ -12,7 +12,7 @@ Smokeping::Examples - A module for generating the smok
+ This module generates L<smokeping_examples> and the example
+ configuration files distributed with Smokeping. It is supposed to be
+ invoked from the smokeping distribution top directory, as it will need
+-the C<etc/config.dist> template configuration file and will create files
++the C<etc/config.sample> template configuration file and will create files
+ in the directories C<doc> and C<doc/examples>.
+
+ =head1 DESCRIPTION
+@@ -65,7 +65,7 @@ Niko Tyni <ntyni at iki.fi>
+ use strict;
+
+ sub read_config_template {
+- my $file = "../etc/config.dist";
++ my $file = "../etc/config.sample";
+ my $h = {
+ common => "", # everything up to the Probes section
+ probes => "", # the Probes section, without the *** Probes *** line
+@@ -107,7 +107,7 @@ specifically the L<Smokeping::Examples|Smokeping::Exam
+ ${e}head1 DESCRIPTION
+
+ Currently the examples differ only in the C<Probes> and C<Targets>
+-sections. The other sections are taken from the C<etc/config.dist>
++sections. The other sections are taken from the C<etc/config.sample>
+ configuration template in the Smokeping distribution so that the example
+ files are complete.
+
Added: head/net-mgmt/smokeping/files/patch-lib_Smokeping_probes_AnotherDNS.pm
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/smokeping/files/patch-lib_Smokeping_probes_AnotherDNS.pm Wed Feb 13 07:29:04 2019 (r492831)
@@ -0,0 +1,20 @@
+--- lib/Smokeping/probes/AnotherDNS.pm.orig 2018-02-02 21:14:55 UTC
++++ lib/Smokeping/probes/AnotherDNS.pm
+@@ -25,6 +25,8 @@ use IO::Socket;
+ use IO::Select;
+ use Net::DNS;
+
++use constant PACKETSZ => 512;
++
+ sub pod_hash {
+ return {
+ name => <<DOC,
+@@ -111,7 +113,7 @@ sub pingone ($) {
+ $elapsed = tv_interval( $t0, $t1 );
+ if ( defined $ready ) {
+ my $buf = '';
+- $ready->recv( $buf, 512 );
++ $ready->recv( $buf, PACKETSZ );
+ my ($recvPacket, $err) = Net::DNS::Packet->new(\$buf);
+ if (defined $recvPacket) {
+ my $recvHeader = $recvPacket->header();
Modified: head/net-mgmt/smokeping/pkg-plist
==============================================================================
--- head/net-mgmt/smokeping/pkg-plist Wed Feb 13 07:03:10 2019 (r492830)
+++ head/net-mgmt/smokeping/pkg-plist Wed Feb 13 07:29:04 2019 (r492831)
@@ -1,35 +1,106 @@
+ at dir(smokeping,smokeping,) var/smokeping
+ at dir(www,www,) smokeping/htdocs/img
bin/smokeinfo
bin/smokeping
bin/smokeping_cgi
bin/tSmoke
- at sample smokeping/htdocs/smokeping.fcgi.sample
@sample %%ETCDIR%%/basepage.html.sample
@sample %%ETCDIR%%/config.sample
@sample %%ETCDIR%%/smokemail.sample
- at sample %%ETCDIR%%/tmail.sample
@sample %%ETCDIR%%/smokeping_secrets.sample
+ at sample %%ETCDIR%%/tmail.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.echoping
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.fping-instances
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.multiple-probes
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.simple
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.targetvars-with-Curl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.template
-smokeping/htdocs/cropper/cropper.css
-smokeping/htdocs/cropper/cropper.js
-smokeping/htdocs/cropper/cropper.uncompressed.js
-smokeping/htdocs/cropper/lib/builder.js
-smokeping/htdocs/cropper/lib/controls.js
-smokeping/htdocs/cropper/lib/dragdrop.js
-smokeping/htdocs/cropper/lib/effects.js
-smokeping/htdocs/cropper/lib/prototype.js
-smokeping/htdocs/cropper/lib/scriptaculous.js
-smokeping/htdocs/cropper/lib/slider.js
-smokeping/htdocs/cropper/lib/sound.js
-smokeping/htdocs/cropper/lib/unittest.js
-smokeping/htdocs/cropper/licence.txt
-smokeping/htdocs/cropper/marqueeHoriz.gif
-smokeping/htdocs/cropper/marqueeVert.gif
-smokeping/htdocs/cropper/smokeping-zoom.js
+man/man1/smokeping.1.gz
+man/man1/smokeping_cgi.1.gz
+man/man1/tSmoke.1.gz
+man/man3/Smokeping_matchers_Avgratio.3.gz
+man/man3/Smokeping_matchers_CheckLatency.3.gz
+man/man3/Smokeping_matchers_CheckLoss.3.gz
+man/man3/Smokeping_matchers_ExpLoss.3.gz
+man/man3/Smokeping_matchers_Median.3.gz
+man/man3/Smokeping_matchers_Medratio.3.gz
+man/man3/Smokeping_matchers_base.3.gz
+man/man3/Smokeping_probes_AnotherCurl.3.gz
+man/man3/Smokeping_probes_AnotherDNS.3.gz
+man/man3/Smokeping_probes_AnotherSSH.3.gz
+man/man3/Smokeping_probes_CiscoRTTMonDNS.3.gz
+man/man3/Smokeping_probes_CiscoRTTMonEchoICMP.3.gz
+man/man3/Smokeping_probes_CiscoRTTMonTcpConnect.3.gz
+man/man3/Smokeping_probes_Curl.3.gz
+man/man3/Smokeping_probes_DNS.3.gz
+man/man3/Smokeping_probes_DismanPing.3.gz
+man/man3/Smokeping_probes_EchoPing.3.gz
+man/man3/Smokeping_probes_EchoPingChargen.3.gz
+man/man3/Smokeping_probes_EchoPingDNS.3.gz
+man/man3/Smokeping_probes_EchoPingDiscard.3.gz
+man/man3/Smokeping_probes_EchoPingHttp.3.gz
+man/man3/Smokeping_probes_EchoPingHttps.3.gz
+man/man3/Smokeping_probes_EchoPingIcp.3.gz
+man/man3/Smokeping_probes_EchoPingLDAP.3.gz
+man/man3/Smokeping_probes_EchoPingPlugin.3.gz
+man/man3/Smokeping_probes_EchoPingSmtp.3.gz
+man/man3/Smokeping_probes_EchoPingWhois.3.gz
+man/man3/Smokeping_probes_FPing.3.gz
+man/man3/Smokeping_probes_FPing6.3.gz
+man/man3/Smokeping_probes_FPingContinuous.3.gz
+man/man3/Smokeping_probes_FTPtransfer.3.gz
+man/man3/Smokeping_probes_IOSPing.3.gz
+man/man3/Smokeping_probes_LDAP.3.gz
+man/man3/Smokeping_probes_NFSping.3.gz
+man/man3/Smokeping_probes_OpenSSHEOSPing.3.gz
+man/man3/Smokeping_probes_OpenSSHJunOSPing.3.gz
+man/man3/Smokeping_probes_Qstat.3.gz
+man/man3/Smokeping_probes_Radius.3.gz
+man/man3/Smokeping_probes_RemoteFPing.3.gz
+man/man3/Smokeping_probes_SSH.3.gz
+man/man3/Smokeping_probes_SendEmail.3.gz
+man/man3/Smokeping_probes_SipSak.3.gz
+man/man3/Smokeping_probes_TCPPing.3.gz
+man/man3/Smokeping_probes_TacacsPlus.3.gz
+man/man3/Smokeping_probes_TelnetIOSPing.3.gz
+man/man3/Smokeping_probes_TelnetJunOSPing.3.gz
+man/man3/Smokeping_probes_TraceroutePing.3.gz
+man/man3/Smokeping_probes_WebProxyFilter.3.gz
+man/man3/Smokeping_probes_base.3.gz
+man/man3/Smokeping_probes_basefork.3.gz
+man/man3/Smokeping_probes_basevars.3.gz
+man/man3/Smokeping_probes_passwordchecker.3.gz
+man/man3/Smokeping_probes_skel.3.gz
+man/man3/Smokeping_sorters_Loss.3.gz
+man/man3/Smokeping_sorters_Max.3.gz
+man/man3/Smokeping_sorters_Median.3.gz
+man/man3/Smokeping_sorters_StdDev.3.gz
+man/man3/Smokeping_sorters_base.3.gz
+man/man5/smokeping_config.5.gz
+man/man5/smokeping_examples.5.gz
+man/man7/smokeping_extend.7.gz
+man/man7/smokeping_install.7.gz
+man/man7/smokeping_master_slave.7.gz
+man/man7/smokeping_upgrade.7.gz
+smokeping/htdocs/css/smokeping-print.css
+smokeping/htdocs/css/smokeping-screen.css
+smokeping/htdocs/js/cropper/cropper.css
+smokeping/htdocs/js/cropper/cropper.js
+smokeping/htdocs/js/cropper/cropper.uncompressed.js
+smokeping/htdocs/js/cropper/licence.txt
+smokeping/htdocs/js/cropper/marqueeHoriz.gif
+smokeping/htdocs/js/cropper/marqueeVert.gif
+smokeping/htdocs/js/prototype.js
+smokeping/htdocs/js/scriptaculous/builder.js
+smokeping/htdocs/js/scriptaculous/controls.js
+smokeping/htdocs/js/scriptaculous/dragdrop.js
+smokeping/htdocs/js/scriptaculous/effects.js
+smokeping/htdocs/js/scriptaculous/scriptaculous.js
+smokeping/htdocs/js/scriptaculous/slider.js
+smokeping/htdocs/js/scriptaculous/sound.js
+smokeping/htdocs/js/scriptaculous/unittest.js
+smokeping/htdocs/js/smokeping.js
+smokeping/htdocs/smokeping.fcgi.sample
smokeping/lib/Smokeping.pm
smokeping/lib/Smokeping/Colorspace.pm
smokeping/lib/Smokeping/Config.pm
@@ -49,6 +120,7 @@ smokeping/lib/Smokeping/matchers/Median.pm
smokeping/lib/Smokeping/matchers/Medratio.pm
smokeping/lib/Smokeping/matchers/base.pm
smokeping/lib/Smokeping/pingMIB.pm
+smokeping/lib/Smokeping/probes/AnotherCurl.pm
smokeping/lib/Smokeping/probes/AnotherDNS.pm
smokeping/lib/Smokeping/probes/AnotherSSH.pm
smokeping/lib/Smokeping/probes/CiscoRTTMonDNS.pm
@@ -70,6 +142,7 @@ smokeping/lib/Smokeping/probes/EchoPingSmtp.pm
smokeping/lib/Smokeping/probes/EchoPingWhois.pm
smokeping/lib/Smokeping/probes/FPing.pm
smokeping/lib/Smokeping/probes/FPing6.pm
+smokeping/lib/Smokeping/probes/FPingContinuous.pm
smokeping/lib/Smokeping/probes/FTPtransfer.pm
smokeping/lib/Smokeping/probes/IOSPing.pm
smokeping/lib/Smokeping/probes/LDAP.pm
@@ -80,87 +153,21 @@ smokeping/lib/Smokeping/probes/Qstat.pm
smokeping/lib/Smokeping/probes/Radius.pm
smokeping/lib/Smokeping/probes/RemoteFPing.pm
smokeping/lib/Smokeping/probes/SSH.pm
+smokeping/lib/Smokeping/probes/SendEmail.pm
smokeping/lib/Smokeping/probes/SipSak.pm
smokeping/lib/Smokeping/probes/TCPPing.pm
smokeping/lib/Smokeping/probes/TacacsPlus.pm
smokeping/lib/Smokeping/probes/TelnetIOSPing.pm
smokeping/lib/Smokeping/probes/TelnetJunOSPing.pm
+smokeping/lib/Smokeping/probes/TraceroutePing.pm
smokeping/lib/Smokeping/probes/WebProxyFilter.pm
smokeping/lib/Smokeping/probes/base.pm
smokeping/lib/Smokeping/probes/basefork.pm
smokeping/lib/Smokeping/probes/basevars.pm
smokeping/lib/Smokeping/probes/passwordchecker.pm
smokeping/lib/Smokeping/probes/skel.pm
-smokeping/lib/Smokeping/probes/SendEmail.pm
smokeping/lib/Smokeping/sorters/Loss.pm
smokeping/lib/Smokeping/sorters/Max.pm
smokeping/lib/Smokeping/sorters/Median.pm
smokeping/lib/Smokeping/sorters/StdDev.pm
smokeping/lib/Smokeping/sorters/base.pm
-man/man1/smokeping.1.gz
-man/man1/smokeping_cgi.1.gz
-man/man1/tSmoke.1.gz
-man/man3/Smokeping_matchers_Avgratio.3.gz
-man/man3/Smokeping_matchers_CheckLatency.3.gz
-man/man3/Smokeping_matchers_CheckLoss.3.gz
-man/man3/Smokeping_matchers_ExpLoss.3.gz
-man/man3/Smokeping_matchers_Median.3.gz
-man/man3/Smokeping_matchers_Medratio.3.gz
-man/man3/Smokeping_matchers_base.3.gz
-man/man3/Smokeping_probes_AnotherDNS.3.gz
-man/man3/Smokeping_probes_AnotherSSH.3.gz
-man/man3/Smokeping_probes_CiscoRTTMonDNS.3.gz
-man/man3/Smokeping_probes_CiscoRTTMonEchoICMP.3.gz
-man/man3/Smokeping_probes_CiscoRTTMonTcpConnect.3.gz
-man/man3/Smokeping_probes_Curl.3.gz
-man/man3/Smokeping_probes_DNS.3.gz
-man/man3/Smokeping_probes_DismanPing.3.gz
-man/man3/Smokeping_probes_EchoPing.3.gz
-man/man3/Smokeping_probes_EchoPingChargen.3.gz
-man/man3/Smokeping_probes_EchoPingDNS.3.gz
-man/man3/Smokeping_probes_EchoPingDiscard.3.gz
-man/man3/Smokeping_probes_EchoPingHttp.3.gz
-man/man3/Smokeping_probes_EchoPingHttps.3.gz
-man/man3/Smokeping_probes_EchoPingIcp.3.gz
-man/man3/Smokeping_probes_EchoPingLDAP.3.gz
-man/man3/Smokeping_probes_EchoPingPlugin.3.gz
-man/man3/Smokeping_probes_EchoPingSmtp.3.gz
-man/man3/Smokeping_probes_EchoPingWhois.3.gz
-man/man3/Smokeping_probes_FPing.3.gz
-man/man3/Smokeping_probes_FPing6.3.gz
-man/man3/Smokeping_probes_FTPtransfer.3.gz
-man/man3/Smokeping_probes_IOSPing.3.gz
-man/man3/Smokeping_probes_LDAP.3.gz
-man/man3/Smokeping_probes_NFSping.3.gz
-man/man3/Smokeping_probes_OpenSSHEOSPing.3.gz
-man/man3/Smokeping_probes_OpenSSHJunOSPing.3.gz
-man/man3/Smokeping_probes_Qstat.3.gz
-man/man3/Smokeping_probes_Radius.3.gz
-man/man3/Smokeping_probes_RemoteFPing.3.gz
-man/man3/Smokeping_probes_SSH.3.gz
-man/man3/Smokeping_probes_SendEmail.3.gz
-man/man3/Smokeping_probes_SipSak.3.gz
-man/man3/Smokeping_probes_TCPPing.3.gz
-man/man3/Smokeping_probes_TacacsPlus.3.gz
-man/man3/Smokeping_probes_TelnetIOSPing.3.gz
-man/man3/Smokeping_probes_TelnetJunOSPing.3.gz
-man/man3/Smokeping_probes_WebProxyFilter.3.gz
-man/man3/Smokeping_probes_base.3.gz
-man/man3/Smokeping_probes_basefork.3.gz
-man/man3/Smokeping_probes_basevars.3.gz
-man/man3/Smokeping_probes_passwordchecker.3.gz
-man/man3/Smokeping_probes_skel.3.gz
-man/man3/Smokeping_sorters_Loss.3.gz
-man/man3/Smokeping_sorters_Max.3.gz
-man/man3/Smokeping_sorters_Median.3.gz
-man/man3/Smokeping_sorters_StdDev.3.gz
-man/man3/Smokeping_sorters_base.3.gz
-man/man5/smokeping_config.5.gz
-man/man5/smokeping_examples.5.gz
-man/man7/smokeping_extend.7.gz
-man/man7/smokeping_install.7.gz
-man/man7/smokeping_master_slave.7.gz
-man/man7/smokeping_upgrade.7.gz
- at dir(www,www,) smokeping/htdocs/img
- at dir(smokeping,smokeping,) var/smokeping
-%%PORTEXAMPLES%%@dir %%EXAMPLESDIR%%
More information about the svn-ports-head
mailing list