Pullup ticket #3670 - requested by bouyer net/smokeping: security update Revisions pulled up: - net/smokeping/MESSAGE 1.5 - net/smokeping/Makefile 1.28 - net/smokeping/PLIST 1.12 - net/smokeping/distinfo 1.14 - net/smokeping/files/smokeping.conf 1.2 - net/smokeping/patches/patch-aa 1.11 - net/smokeping/patches/patch-ab 1.11 - net/smokeping/patches/patch-ac 1.9 - net/smokeping/patches/patch-ad 1.6 - net/smokeping/patches/patch-ae 1.2 - net/smokeping/patches/patch-af 1.1 - net/smokeping/patches/patch-ag 1.1 --- Module Name: pkgsrc Committed By: bouyer Date: Thu Feb 2 18:54:35 UTC 2012 Modified Files: pkgsrc/net/smokeping: MESSAGE Makefile PLIST distinfo pkgsrc/net/smokeping/files: smokeping.conf pkgsrc/net/smokeping/patches: patch-aa patch-ab patch-ac patch-ad patch-ae Added Files: pkgsrc/net/smokeping/patches: patch-af patch-ag Log Message: Update smokeping from 2.4.2 to 2.6.7, fixing SA47678. Major changes between 2.4 and 2.6: New in Version 2.6 Added automake support for easy "configure, make install" installation fixed strftime bug when sending alert mails New in Version 2.5 Switched from SpeedyCGI to FastCGI DismanPing probe by Bill Fenner OpenSSHJunOSPing (Sponsoerd by Juniper) SIP Ping Probe (Sponsored by ANI Networks) Support alert patterns with upper AND lower limit: (>a<b) SmokeTrace removed. Check out remOcular. Updated Prototype and scriptaculous libraries ExpLoss matcher by Konoplev V.Konoplev Improved slave update performancediff -r1.4 -r1.4.38.1 pkgsrc/net/smokeping/MESSAGE
(tron)
@@ -1,29 +1,30 @@ | @@ -1,29 +1,30 @@ | |||
1 | =========================================================================== | 1 | =========================================================================== | |
2 | $NetBSD: MESSAGE,v 1.4 2007/11/22 20:25:54 adrianp Exp $ | 2 | $NetBSD: MESSAGE,v 1.4.38.1 2012/02/02 20:08:40 tron Exp $ | |
3 | 3 | |||
4 | Smokeping is now installed. | 4 | Smokeping is now installed. | |
5 | The documentation can be found at ${PREFIX}/share/doc/smokeping/ | 5 | The documentation can be found at ${PREFIX}/share/doc/smokeping/ | |
6 | 6 | |||
7 | A sample config file can be found in: | 7 | A sample config file can be found in: | |
8 | ${PREFIX}/share/examples/smokeping/config.dist | 8 | ${PREFIX}/share/examples/smokeping/config.dist | |
9 | 9 | |||
10 | A copy has been installed as ${PKG_SYSCONFDIR}/config and you will | 10 | A copy has been installed as ${PKG_SYSCONFDIR}/config and you will | |
11 | need to adjust it as needed. You may also want to have a look at | 11 | need to adjust it as needed. You may also want to have a look at | |
12 | basepage.html and smokemail in this directory. | 12 | basepage.html and smokemail in this directory. | |
13 | 13 | |||
14 | Make sure that your web's server /cgi-bin/smokeping.cgi refers to | 14 | Make sure that your web's server /cgi-bin/smokeping.cgi refers to | |
15 | ${PREFIX}/libexec/cgi-bin/smokeping.cgi, or copy the smokeping in your | 15 | ${PREFIX}/libexec/cgi-bin/smokeping.cgi, or copy the smokeping in your | |
16 | web server's cgi space. | 16 | web server's cgi space. | |
17 | Also make sure that /cropper/ refers to ${PREFIX}/share/httpd/htdocs/cropper/ | |||
17 | 18 | |||
18 | You will need to make smokeping accessible through your HTTP server. | 19 | You will need to make smokeping accessible through your HTTP server. | |
19 | If you are running Apache then you may add the following lines to httpd.conf: | 20 | If you are running Apache then you may add the following lines to httpd.conf: | |
20 | 21 | |||
21 | Include ${PKG_SYSCONFDIR}/smokeping.conf | 22 | Include ${PKG_SYSCONFDIR}/smokeping.conf | |
22 | 23 | |||
23 | to make smokeping accessible through: | 24 | to make smokeping accessible through: | |
24 | 25 | |||
25 | http://localhost/cgi-bin/smokeping.cgi | 26 | http://localhost/cgi-bin/smokeping.cgi | |
26 | 27 | |||
27 | Please remember to grant write permissions to the following directory for | 28 | Please remember to grant write permissions to the following directory for | |
28 | the user your web server runs as: | 29 | the user your web server runs as: | |
29 | 30 |
@@ -1,108 +1,93 @@ | @@ -1,108 +1,93 @@ | |||
1 | # $NetBSD: Makefile,v 1.27 2010/01/27 17:40:30 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.27.16.1 2012/02/02 20:08:40 tron Exp $ | |
2 | 2 | |||
3 | DISTNAME= smokeping-2.4.2 | 3 | DISTNAME= smokeping-2.6.7 | |
4 | CATEGORIES= net | 4 | CATEGORIES= net | |
5 | MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ | 5 | MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ | |
6 | 6 | |||
7 | MAINTAINER= bouyer@NetBSD.org | 7 | MAINTAINER= bouyer@NetBSD.org | |
8 | HOMEPAGE= http://oss.oetiker.ch/smokeping/index.en.html | 8 | HOMEPAGE= http://oss.oetiker.ch/smokeping/index.en.html | |
9 | COMMENT= Latency/packet loss monitoring/graphing tool | 9 | COMMENT= Latency/packet loss monitoring/graphing tool | |
10 | 10 | |||
11 | PKG_DESTDIR_SUPPORT= user-destdir | 11 | PKG_DESTDIR_SUPPORT= user-destdir | |
12 | GNU_CONFIGURE= yes | |||
13 | CONFIGURE_ARGS+= --localstatedir=${VARBASE}/db/smokeping | |||
14 | CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} | |||
15 | CONFIGURE_ARGS+= --with-htdocs-dir=${PREFIX}/share/httpd/htdocs | |||
12 | 16 | |||
13 | DEPENDS+= rrdtool>=1.0:../../databases/rrdtool | 17 | DEPENDS+= rrdtool>=1.0:../../databases/rrdtool | |
14 | DEPENDS+= fping>=2.4b2:../../net/fping | 18 | DEPENDS+= fping>=2.4b2:../../net/fping | |
15 | DEPENDS+= p5-Digest-MD5>=2.20:../../security/p5-Digest-MD5 | 19 | DEPENDS+= p5-Digest-MD5>=2.20:../../security/p5-Digest-MD5 | |
20 | DEPENDS+= p5-Digest-HMAC>=1.03:../../security/p5-Digest-HMAC | |||
16 | DEPENDS+= p5-libwww>=5.64:../../www/p5-libwww | 21 | DEPENDS+= p5-libwww>=5.64:../../www/p5-libwww | |
22 | DEPENDS+= p5-FCGI>=0.74:../../www/p5-FCGI | |||
23 | DEPENDS+= p5-Config-Grammar>=1.10:../../devel/p5-Config-Grammar | |||
17 | 24 | |||
18 | USE_TOOLS+= pax perl:run | 25 | USE_TOOLS+= pax gmake perl:run | |
19 | NO_BUILD= YES | |||
20 | 26 | |||
21 | PKG_SYSCONFSUBDIR?= smokeping | 27 | PKG_SYSCONFSUBDIR?= smokeping | |
22 | SMOKEPING_HOME= ${VARBASE}/db/smokeping | 28 | SMOKEPING_HOME= ${VARBASE}/db/smokeping | |
23 | MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} | 29 | MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} | |
24 | BUILD_DEFS+= VARBASE | 30 | BUILD_DEFS+= VARBASE | |
25 | 31 | |||
26 | EGDIR= ${PREFIX}/share/examples/smokeping | 32 | EGDIR= ${PREFIX}/share/examples/smokeping | |
27 | SPDIR= ${PREFIX}/share/smokeping | 33 | SPDIR= ${PREFIX}/share/smokeping | |
28 | CONF_FILES= ${EGDIR}/basepage.html.dist \ | 34 | CONF_FILES= ${EGDIR}/basepage.html.dist \ | |
29 | ${PKG_SYSCONFDIR}/basepage.html | 35 | ${PKG_SYSCONFDIR}/basepage.html | |
30 | CONF_FILES+= ${EGDIR}/smokemail.dist ${PKG_SYSCONFDIR}/smokemail | 36 | CONF_FILES+= ${EGDIR}/smokemail.dist ${PKG_SYSCONFDIR}/smokemail | |
37 | CONF_FILES+= ${EGDIR}/smokeping_secrets.dist ${PKG_SYSCONFDIR}/smokeping_secrets | |||
31 | CONF_FILES+= ${EGDIR}/config.dist ${PKG_SYSCONFDIR}/config | 38 | CONF_FILES+= ${EGDIR}/config.dist ${PKG_SYSCONFDIR}/config | |
32 | CONF_FILES+= ${EGDIR}/tmail.dist ${PKG_SYSCONFDIR}/tmail | 39 | CONF_FILES+= ${EGDIR}/tmail.dist ${PKG_SYSCONFDIR}/tmail | |
33 | CONF_FILES+= ${EGDIR}/smokeping.conf ${PKG_SYSCONFDIR}/smokeping.conf | 40 | CONF_FILES+= ${EGDIR}/smokeping.conf ${PKG_SYSCONFDIR}/smokeping.conf | |
41 | ||||
34 | RCD_SCRIPTS= smokeping | 42 | RCD_SCRIPTS= smokeping | |
35 | REPLACE_PERL= bin/smokeping.dist bin/tSmoke.dist | 43 | REPLACE_PERL= bin/smokeping_cgi bin/smokeping | |
44 | REPLACE_PERL+= bin/smokeinfo bin/tSmoke | |||
36 | 45 | |||
37 | .include "../../mk/bsd.prefs.mk" | 46 | .include "../../mk/bsd.prefs.mk" | |
38 | 47 | |||
39 | SUBST_CLASSES+= files | 48 | SUBST_CLASSES+= files | |
40 | SUBST_STAGE.files= post-patch | 49 | SUBST_STAGE.files= post-patch | |
41 | SUBST_FILES.files= bin/smokeping.dist htdocs/smokeping.cgi.dist \ | 50 | SUBST_FILES.files= etc/config.dist.in bin/smokeping \ | |
42 | etc/config.dist etc/smokemail.dist bin/tSmoke.dist \ | 51 | bin/smokeping_cgi bin/tSmoke \ | |
43 | etc/basepage.html.dist smokeping.conf htdocs/tr.cgi.dist | 52 | htdocs/Makefile.in smokeping.conf | |
44 | SUBST_SED.files= -e "s|@PREFIX@|${PREFIX}|g" | 53 | SUBST_SED.files= -e "s|@PREFIX@|${PREFIX}|g" | |
45 | SUBST_SED.files+= -e "s|@VARBASE@|${VARBASE}|g" | 54 | SUBST_SED.files+= -e "s|@VARBASE@|${VARBASE}|g" | |
46 | SUBST_SED.files+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" | 55 | SUBST_SED.files+= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" | |
47 | SUBST_SED.files+= -e "s|@INTERP@|${INTERP}|g" | 56 | SUBST_SED.files+= -e "s|@INTERP@|${INTERP}|g" | |
48 | SUBST_SED.files+= -e "s|perl-5.8.4|perl|g" | |||
49 | SUBST_SED.files+= -e "s|/usr/bin/perl|${PERL5}|g" | |||
50 | SUBST_SED.files+= -e "s|@SPDIR@|${SPDIR}|g" | 57 | SUBST_SED.files+= -e "s|@SPDIR@|${SPDIR}|g" | |
51 | SUBST_SED.files+= -e "s|cropper/|/smokeping/cropper/|g" | |||
52 | SUBST_SED.files+= -e "s|= cache|= /smokeping/.simg|g" | |||
53 | SUBST_MESSAGE.files= Fixing configuration files. | 58 | SUBST_MESSAGE.files= Fixing configuration files. | |
54 | 59 | |||
60 | SUBST_CLASSES+= libs | |||
61 | SUBST_STAGE.libs= post-patch | |||
62 | SUBST_FILES.libs= bin/smokeping_cgi bin/smokeping bin/smokeinfo bin/tSmoke | |||
63 | SUBST_SED.libs= -e "s|FindBin::Bin/../lib|FindBin::Bin/../lib/smokeping|g" | |||
64 | SUBST_MESSAGE.libs= Fixing library path | |||
65 | ||||
55 | OWN_DIRS+= ${SMOKEPING_HOME} | 66 | OWN_DIRS+= ${SMOKEPING_HOME} | |
56 | OWN_DIRS+= ${SPDIR}/.simg | 67 | OWN_DIRS+= ${SPDIR}/.simg | |
57 | 68 | |||
58 | INSTALLATION_DIRS= bin libexec/cgi-bin | 69 | INSTALLATION_DIRS= bin libexec/cgi-bin share/httpd/htdocs | |
59 | ||||
60 | .include "options.mk" | |||
61 | 70 | |||
62 | post-extract: | 71 | post-extract: | |
63 | ${CP} ${FILESDIR}/smokeping.conf ${WRKSRC} | 72 | ${CP} ${FILESDIR}/smokeping.conf ${WRKSRC} | |
64 | 73 | |||
65 | INSTALLATION_DIRS+= lib/smokeping share/doc/smokeping ${EGDIR} \ | 74 | post-install: | |
66 | ${SPDIR}/cropper ${SPDIR}/resource ${SPDIR}/script | 75 | for FILE in CHANGES CONTRIBUTORS COPYRIGHT LICENSE README TODO; do \ | |
67 | ||||
68 | do-install: | |||
69 | for FILE in CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO; do \ | |||
70 | ${INSTALL_DATA} \ | 76 | ${INSTALL_DATA} \ | |
71 | ${WRKSRC}/$$FILE ${DESTDIR}${PREFIX}/share/doc/smokeping; \ | 77 | ${WRKSRC}/$$FILE ${DESTDIR}${PREFIX}/share/doc/smokeping ; \ | |
72 | done | 78 | done | |
73 | 79 | |||
74 | for FILE in ${WRKSRC}/doc/*.txt; do \ | 80 | ${INSTALL_DATA} ${WRKSRC}/smokeping.conf ${DESTDIR}${EGDIR} | |
75 | ${INSTALL_DATA} $$FILE ${DESTDIR}${PREFIX}/share/doc/smokeping; \ | |||
76 | done | |||
77 | ||||
78 | for FILE in ${WRKSRC}/doc/examples/config.*; do \ | |||
79 | ${INSTALL_DATA} $$FILE ${DESTDIR}${EGDIR}; \ | |||
80 | done | |||
81 | 81 | |||
82 | ${INSTALL_SCRIPT} ${WRKSRC}/bin/smokeping.dist ${DESTDIR}${PREFIX}/bin/smokeping | 82 | ${MV} ${DESTDIR}${PREFIX}/share/httpd/htdocs/smokeping.fcgi.dist \ | |
83 | ${INSTALL_SCRIPT} ${WRKSRC}/bin/tSmoke.dist ${DESTDIR}${PREFIX}/bin/tSmoke | 83 | ${DESTDIR}${PREFIX}/libexec/cgi-bin/smokeping.cgi | |
84 | ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/*.dist ${DESTDIR}${EGDIR}/ | |||
85 | ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/examples/* ${DESTDIR}${EGDIR}/ | |||
86 | ${RMDIR} ${DESTDIR}${PKG_SYSCONFDIR}/examples | |||
84 | 87 | |||
85 | ${INSTALL_SCRIPT} ${WRKSRC}/htdocs/smokeping.cgi.dist \ | 88 | .include "options.mk" | |
86 | ${DESTDIR}${PREFIX}/libexec/cgi-bin/smokeping.cgi | |||
87 | ${INSTALL_SCRIPT} ${WRKSRC}/htdocs/tr.cgi.dist \ | |||
88 | ${DESTDIR}${PREFIX}/libexec/cgi-bin/tr.cgi | |||
89 | ||||
90 | cd ${WRKSRC}/htdocs/cropper && pax -rw -pm . ${DESTDIR}${SPDIR}/cropper | |||
91 | cd ${WRKSRC}/htdocs/resource && pax -rw -pm . ${DESTDIR}${SPDIR}/resource | |||
92 | cd ${WRKSRC}/htdocs/script && pax -rw -pm . ${DESTDIR}${SPDIR}/script | |||
93 | cd ${WRKSRC}/lib && pax -rw -pm . ${DESTDIR}${PREFIX}/lib/smokeping | |||
94 | ${INSTALL_DATA} ${WRKSRC}/htdocs/tr.html ${DESTDIR}${SPDIR} | |||
95 | ||||
96 | for FILE in ${WRKSRC}/etc/config.dist \ | |||
97 | ${WRKSRC}/etc/basepage.html.dist \ | |||
98 | ${WRKSRC}/etc/tmail.dist \ | |||
99 | ${WRKSRC}/etc/config.dist \ | |||
100 | ${WRKSRC}/smokeping.conf \ | |||
101 | ${WRKSRC}/etc/smokemail.dist; do \ | |||
102 | ${INSTALL_DATA} $$FILE ${DESTDIR}${EGDIR}; \ | |||
103 | done | |||
104 | 89 | |||
105 | ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/lib/smokeping/JSON/*.pm | 90 | INSTALLATION_DIRS+= lib/smokeping share/doc/smokeping ${EGDIR} \ | |
106 | ${CHMOD} ${SHAREMODE} ${DESTDIR}${PREFIX}/lib/smokeping/JSON.pm | 91 | ${SPDIR}/cropper ${SPDIR}/resource ${SPDIR}/script | |
107 | 92 | |||
108 | .include "../../mk/bsd.pkg.mk" | 93 | .include "../../mk/bsd.pkg.mk" |
@@ -1,171 +1,169 @@ | @@ -1,171 +1,169 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.11 2009/06/14 18:09:43 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.11.22.1 2012/02/02 20:08:40 tron Exp $ | |
2 | bin/smokeinfo | |||
2 | bin/smokeping | 3 | bin/smokeping | |
4 | bin/smokeping_cgi | |||
3 | bin/tSmoke | 5 | bin/tSmoke | |
4 | lib/smokeping/BER.pm | 6 | lib/smokeping/BER.pm | |
5 | lib/smokeping/CGI/Session.pm | |||
6 | lib/smokeping/CGI/Session/Driver.pm | |||
7 | lib/smokeping/CGI/Session/Driver/DBI.pm | |||
8 | lib/smokeping/CGI/Session/Driver/db_file.pm | |||
9 | lib/smokeping/CGI/Session/Driver/file.pm | |||
10 | lib/smokeping/CGI/Session/Driver/mysql.pm | |||
11 | lib/smokeping/CGI/Session/Driver/postgresql.pm | |||
12 | lib/smokeping/CGI/Session/Driver/sqlite.pm | |||
13 | lib/smokeping/CGI/Session/ErrorHandler.pm | |||
14 | lib/smokeping/CGI/Session/ID/incr.pm | |||
15 | lib/smokeping/CGI/Session/ID/md5.pm | |||
16 | lib/smokeping/CGI/Session/ID/static.pm | |||
17 | lib/smokeping/CGI/Session/Serialize/default.pm | |||
18 | lib/smokeping/CGI/Session/Serialize/freezethaw.pm | |||
19 | lib/smokeping/CGI/Session/Serialize/json.pm | |||
20 | lib/smokeping/CGI/Session/Serialize/storable.pm | |||
21 | lib/smokeping/CGI/Session/Serialize/yaml.pm | |||
22 | lib/smokeping/CGI/Session/Test/Default.pm | |||
23 | lib/smokeping/CGI/Session/Tutorial.pm | |||
24 | lib/smokeping/Config/Grammar.pm | |||
25 | lib/smokeping/Config/Grammar/Document.pm | |||
26 | lib/smokeping/Config/Grammar/Dynamic.pm | |||
27 | lib/smokeping/Digest/HMAC.LICENSE | |||
28 | lib/smokeping/Digest/HMAC.pm | |||
29 | lib/smokeping/Digest/HMAC_MD5.pm | |||
30 | lib/smokeping/Digest/HMAC_SHA1.pm | |||
31 | lib/smokeping/JSON.pm | |||
32 | lib/smokeping/JSON/Converter.pm | |||
33 | lib/smokeping/JSON/PP.pm | |||
34 | lib/smokeping/JSON/PP5005.pm | |||
35 | lib/smokeping/JSON/PP56.pm | |||
36 | lib/smokeping/JSON/Parser.pm | |||
37 | lib/smokeping/Qooxdoo/JSONRPC.pm | |||
38 | lib/smokeping/Qooxdoo/Services/Tr.pm | |||
39 | lib/smokeping/SNMP_Session.pm | 7 | lib/smokeping/SNMP_Session.pm | |
40 | lib/smokeping/SNMP_util.pm | 8 | lib/smokeping/SNMP_util.pm | |
41 | lib/smokeping/Smokeping.pm | 9 | lib/smokeping/Smokeping.pm | |
42 | lib/smokeping/Smokeping/Colorspace.pm | 10 | lib/smokeping/Smokeping/Colorspace.pm | |
43 | lib/smokeping/Smokeping/Config.pm | 11 | lib/smokeping/Smokeping/Config.pm | |
44 | lib/smokeping/Smokeping/Examples.pm | 12 | lib/smokeping/Smokeping/Examples.pm | |
45 | lib/smokeping/Smokeping/Graphs.pm | 13 | lib/smokeping/Smokeping/Graphs.pm | |
14 | lib/smokeping/Smokeping/Info.pm | |||
46 | lib/smokeping/Smokeping/Master.pm | 15 | lib/smokeping/Smokeping/Master.pm | |
47 | lib/smokeping/Smokeping/RRDhelpers.pm | 16 | lib/smokeping/Smokeping/RRDhelpers.pm | |
48 | lib/smokeping/Smokeping/RRDtools.pm | 17 | lib/smokeping/Smokeping/RRDtools.pm | |
49 | lib/smokeping/Smokeping/Slave.pm | 18 | lib/smokeping/Smokeping/Slave.pm | |
50 | lib/smokeping/Smokeping/ciscoRttMonMIB.pm | 19 | lib/smokeping/Smokeping/ciscoRttMonMIB.pm | |
51 | lib/smokeping/Smokeping/matchers/Avgratio.pm | 20 | lib/smokeping/Smokeping/matchers/Avgratio.pm | |
52 | lib/smokeping/Smokeping/matchers/CheckLatency.pm | 21 | lib/smokeping/Smokeping/matchers/CheckLatency.pm | |
53 | lib/smokeping/Smokeping/matchers/CheckLoss.pm | 22 | lib/smokeping/Smokeping/matchers/CheckLoss.pm | |
23 | lib/smokeping/Smokeping/matchers/ExpLoss.pm | |||
54 | lib/smokeping/Smokeping/matchers/Median.pm | 24 | lib/smokeping/Smokeping/matchers/Median.pm | |
55 | lib/smokeping/Smokeping/matchers/Medratio.pm | 25 | lib/smokeping/Smokeping/matchers/Medratio.pm | |
56 | lib/smokeping/Smokeping/matchers/base.pm | 26 | lib/smokeping/Smokeping/matchers/base.pm | |
27 | lib/smokeping/Smokeping/pingMIB.pm | |||
57 | lib/smokeping/Smokeping/probes/AnotherDNS.pm | 28 | lib/smokeping/Smokeping/probes/AnotherDNS.pm | |
58 | lib/smokeping/Smokeping/probes/AnotherSSH.pm | 29 | lib/smokeping/Smokeping/probes/AnotherSSH.pm | |
59 | lib/smokeping/Smokeping/probes/CiscoRTTMonDNS.pm | 30 | lib/smokeping/Smokeping/probes/CiscoRTTMonDNS.pm | |
60 | lib/smokeping/Smokeping/probes/CiscoRTTMonEchoICMP.pm | 31 | lib/smokeping/Smokeping/probes/CiscoRTTMonEchoICMP.pm | |
61 | lib/smokeping/Smokeping/probes/CiscoRTTMonTcpConnect.pm | 32 | lib/smokeping/Smokeping/probes/CiscoRTTMonTcpConnect.pm | |
62 | lib/smokeping/Smokeping/probes/Curl.pm | 33 | lib/smokeping/Smokeping/probes/Curl.pm | |
63 | lib/smokeping/Smokeping/probes/DNS.pm | 34 | lib/smokeping/Smokeping/probes/DNS.pm | |
35 | lib/smokeping/Smokeping/probes/DismanPing.pm | |||
64 | lib/smokeping/Smokeping/probes/EchoPing.pm | 36 | lib/smokeping/Smokeping/probes/EchoPing.pm | |
65 | lib/smokeping/Smokeping/probes/EchoPingChargen.pm | 37 | lib/smokeping/Smokeping/probes/EchoPingChargen.pm | |
66 | lib/smokeping/Smokeping/probes/EchoPingDNS.pm | 38 | lib/smokeping/Smokeping/probes/EchoPingDNS.pm | |
67 | lib/smokeping/Smokeping/probes/EchoPingDiscard.pm | 39 | lib/smokeping/Smokeping/probes/EchoPingDiscard.pm | |
68 | lib/smokeping/Smokeping/probes/EchoPingHttp.pm | 40 | lib/smokeping/Smokeping/probes/EchoPingHttp.pm | |
69 | lib/smokeping/Smokeping/probes/EchoPingHttps.pm | 41 | lib/smokeping/Smokeping/probes/EchoPingHttps.pm | |
70 | lib/smokeping/Smokeping/probes/EchoPingIcp.pm | 42 | lib/smokeping/Smokeping/probes/EchoPingIcp.pm | |
71 | lib/smokeping/Smokeping/probes/EchoPingLDAP.pm | 43 | lib/smokeping/Smokeping/probes/EchoPingLDAP.pm | |
72 | lib/smokeping/Smokeping/probes/EchoPingPlugin.pm | 44 | lib/smokeping/Smokeping/probes/EchoPingPlugin.pm | |
73 | lib/smokeping/Smokeping/probes/EchoPingSmtp.pm | 45 | lib/smokeping/Smokeping/probes/EchoPingSmtp.pm | |
74 | lib/smokeping/Smokeping/probes/EchoPingWhois.pm | 46 | lib/smokeping/Smokeping/probes/EchoPingWhois.pm | |
75 | lib/smokeping/Smokeping/probes/FPing.pm | 47 | lib/smokeping/Smokeping/probes/FPing.pm | |
76 | lib/smokeping/Smokeping/probes/FPing6.pm | 48 | lib/smokeping/Smokeping/probes/FPing6.pm | |
77 | lib/smokeping/Smokeping/probes/FTPtransfer.pm | 49 | lib/smokeping/Smokeping/probes/FTPtransfer.pm | |
78 | lib/smokeping/Smokeping/probes/IOSPing.pm | 50 | lib/smokeping/Smokeping/probes/IOSPing.pm | |
79 | lib/smokeping/Smokeping/probes/LDAP.pm | 51 | lib/smokeping/Smokeping/probes/LDAP.pm | |
52 | lib/smokeping/Smokeping/probes/NFSping.pm | |||
53 | lib/smokeping/Smokeping/probes/OpenSSHJunOSPing.pm | |||
80 | lib/smokeping/Smokeping/probes/Radius.pm | 54 | lib/smokeping/Smokeping/probes/Radius.pm | |
81 | lib/smokeping/Smokeping/probes/RemoteFPing.pm | 55 | lib/smokeping/Smokeping/probes/RemoteFPing.pm | |
82 | lib/smokeping/Smokeping/probes/SSH.pm | 56 | lib/smokeping/Smokeping/probes/SSH.pm | |
57 | lib/smokeping/Smokeping/probes/SipSak.pm | |||
83 | lib/smokeping/Smokeping/probes/TCPPing.pm | 58 | lib/smokeping/Smokeping/probes/TCPPing.pm | |
84 | lib/smokeping/Smokeping/probes/TacacsPlus.pm | 59 | lib/smokeping/Smokeping/probes/TacacsPlus.pm | |
85 | lib/smokeping/Smokeping/probes/TelnetIOSPing.pm | 60 | lib/smokeping/Smokeping/probes/TelnetIOSPing.pm | |
86 | lib/smokeping/Smokeping/probes/TelnetJunOSPing.pm | 61 | lib/smokeping/Smokeping/probes/TelnetJunOSPing.pm | |
87 | lib/smokeping/Smokeping/probes/WebProxyFilter.pm | 62 | lib/smokeping/Smokeping/probes/WebProxyFilter.pm | |
88 | lib/smokeping/Smokeping/probes/base.pm | 63 | lib/smokeping/Smokeping/probes/base.pm | |
89 | lib/smokeping/Smokeping/probes/basefork.pm | 64 | lib/smokeping/Smokeping/probes/basefork.pm | |
90 | lib/smokeping/Smokeping/probes/basevars.pm | 65 | lib/smokeping/Smokeping/probes/basevars.pm | |
91 | lib/smokeping/Smokeping/probes/passwordchecker.pm | 66 | lib/smokeping/Smokeping/probes/passwordchecker.pm | |
92 | lib/smokeping/Smokeping/probes/skel.pm | 67 | lib/smokeping/Smokeping/probes/skel.pm | |
93 | lib/smokeping/Smokeping/sorters/Loss.pm | 68 | lib/smokeping/Smokeping/sorters/Loss.pm | |
94 | lib/smokeping/Smokeping/sorters/Max.pm | 69 | lib/smokeping/Smokeping/sorters/Max.pm | |
95 | lib/smokeping/Smokeping/sorters/Median.pm | 70 | lib/smokeping/Smokeping/sorters/Median.pm | |
96 | lib/smokeping/Smokeping/sorters/StdDev.pm | 71 | lib/smokeping/Smokeping/sorters/StdDev.pm | |
97 | lib/smokeping/Smokeping/sorters/base.pm | 72 | lib/smokeping/Smokeping/sorters/base.pm | |
98 | libexec/cgi-bin/smokeping.cgi | 73 | libexec/cgi-bin/smokeping.cgi | |
99 | libexec/cgi-bin/tr.cgi | 74 | man/man1/smokeping.1 | |
75 | man/man1/smokeping_cgi.1 | |||
76 | man/man1/tSmoke.1 | |||
77 | man/man3/Smokeping_matchers_Avgratio.3 | |||
78 | man/man3/Smokeping_matchers_CheckLatency.3 | |||
79 | man/man3/Smokeping_matchers_CheckLoss.3 | |||
80 | man/man3/Smokeping_matchers_ExpLoss.3 | |||
81 | man/man3/Smokeping_matchers_Median.3 | |||
82 | man/man3/Smokeping_matchers_Medratio.3 | |||
83 | man/man3/Smokeping_matchers_base.3 | |||
84 | man/man3/Smokeping_probes_AnotherDNS.3 | |||
85 | man/man3/Smokeping_probes_AnotherSSH.3 | |||
86 | man/man3/Smokeping_probes_CiscoRTTMonDNS.3 | |||
87 | man/man3/Smokeping_probes_CiscoRTTMonEchoICMP.3 | |||
88 | man/man3/Smokeping_probes_CiscoRTTMonTcpConnect.3 | |||
89 | man/man3/Smokeping_probes_Curl.3 | |||
90 | man/man3/Smokeping_probes_DNS.3 | |||
91 | man/man3/Smokeping_probes_DismanPing.3 | |||
92 | man/man3/Smokeping_probes_EchoPing.3 | |||
93 | man/man3/Smokeping_probes_EchoPingChargen.3 | |||
94 | man/man3/Smokeping_probes_EchoPingDNS.3 | |||
95 | man/man3/Smokeping_probes_EchoPingDiscard.3 | |||
96 | man/man3/Smokeping_probes_EchoPingHttp.3 | |||
97 | man/man3/Smokeping_probes_EchoPingHttps.3 | |||
98 | man/man3/Smokeping_probes_EchoPingIcp.3 | |||
99 | man/man3/Smokeping_probes_EchoPingLDAP.3 | |||
100 | man/man3/Smokeping_probes_EchoPingPlugin.3 | |||
101 | man/man3/Smokeping_probes_EchoPingSmtp.3 | |||
102 | man/man3/Smokeping_probes_EchoPingWhois.3 | |||
103 | man/man3/Smokeping_probes_FPing.3 | |||
104 | man/man3/Smokeping_probes_FPing6.3 | |||
105 | man/man3/Smokeping_probes_FTPtransfer.3 | |||
106 | man/man3/Smokeping_probes_IOSPing.3 | |||
107 | man/man3/Smokeping_probes_LDAP.3 | |||
108 | man/man3/Smokeping_probes_NFSping.3 | |||
109 | man/man3/Smokeping_probes_OpenSSHJunOSPing.3 | |||
110 | man/man3/Smokeping_probes_Radius.3 | |||
111 | man/man3/Smokeping_probes_RemoteFPing.3 | |||
112 | man/man3/Smokeping_probes_SSH.3 | |||
113 | man/man3/Smokeping_probes_SipSak.3 | |||
114 | man/man3/Smokeping_probes_TCPPing.3 | |||
115 | man/man3/Smokeping_probes_TacacsPlus.3 | |||
116 | man/man3/Smokeping_probes_TelnetIOSPing.3 | |||
117 | man/man3/Smokeping_probes_TelnetJunOSPing.3 | |||
118 | man/man3/Smokeping_probes_WebProxyFilter.3 | |||
119 | man/man3/Smokeping_probes_base.3 | |||
120 | man/man3/Smokeping_probes_basefork.3 | |||
121 | man/man3/Smokeping_probes_basevars.3 | |||
122 | man/man3/Smokeping_probes_passwordchecker.3 | |||
123 | man/man3/Smokeping_probes_skel.3 | |||
124 | man/man3/Smokeping_sorters_Loss.3 | |||
125 | man/man3/Smokeping_sorters_Max.3 | |||
126 | man/man3/Smokeping_sorters_Median.3 | |||
127 | man/man3/Smokeping_sorters_StdDev.3 | |||
128 | man/man3/Smokeping_sorters_base.3 | |||
129 | man/man5/smokeping_config.5 | |||
130 | man/man5/smokeping_examples.5 | |||
131 | man/man7/smokeping_extend.7 | |||
132 | man/man7/smokeping_install.7 | |||
133 | man/man7/smokeping_master_slave.7 | |||
134 | man/man7/smokeping_upgrade.7 | |||
100 | share/doc/smokeping/CHANGES | 135 | share/doc/smokeping/CHANGES | |
101 | share/doc/smokeping/CONTRIBUTORS | 136 | share/doc/smokeping/CONTRIBUTORS | |
102 | share/doc/smokeping/COPYING | |||
103 | share/doc/smokeping/COPYRIGHT | 137 | share/doc/smokeping/COPYRIGHT | |
138 | share/doc/smokeping/LICENSE | |||
104 | share/doc/smokeping/README | 139 | share/doc/smokeping/README | |
105 | share/doc/smokeping/Smokeping.txt | |||
106 | share/doc/smokeping/TODO | 140 | share/doc/smokeping/TODO | |
107 | share/doc/smokeping/smokeping.cgi.txt | |||
108 | share/doc/smokeping/smokeping.txt | |||
109 | share/doc/smokeping/smokeping_config.txt | |||
110 | share/doc/smokeping/smokeping_examples.txt | |||
111 | share/doc/smokeping/smokeping_extend.txt | |||
112 | share/doc/smokeping/smokeping_install.txt | |||
113 | share/doc/smokeping/smokeping_master_slave.txt | |||
114 | share/doc/smokeping/smokeping_upgrade.txt | |||
115 | share/doc/smokeping/smoketrace.txt | |||
116 | share/doc/smokeping/tSmoke.txt | |||
117 | share/examples/rc.d/smokeping | 141 | share/examples/rc.d/smokeping | |
118 | share/examples/smokeping/basepage.html.dist | 142 | share/examples/smokeping/basepage.html.dist | |
119 | share/examples/smokeping/config.dist | 143 | share/examples/smokeping/config.dist | |
120 | share/examples/smokeping/config.echoping | 144 | share/examples/smokeping/config.echoping | |
121 | share/examples/smokeping/config.fping-instances | 145 | share/examples/smokeping/config.fping-instances | |
122 | share/examples/smokeping/config.multiple-probes | 146 | share/examples/smokeping/config.multiple-probes | |
123 | share/examples/smokeping/config.simple | 147 | share/examples/smokeping/config.simple | |
124 | share/examples/smokeping/config.targetvars-with-Curl | 148 | share/examples/smokeping/config.targetvars-with-Curl | |
125 | share/examples/smokeping/config.template | 149 | share/examples/smokeping/config.template | |
126 | share/examples/smokeping/smokemail.dist | 150 | share/examples/smokeping/smokemail.dist | |
151 | share/examples/smokeping/smokeping_secrets.dist | |||
127 | share/examples/smokeping/smokeping.conf | 152 | share/examples/smokeping/smokeping.conf | |
128 | share/examples/smokeping/tmail.dist | 153 | share/examples/smokeping/tmail.dist | |
129 | share/smokeping/cropper/cropper.css | 154 | share/httpd/htdocs/cropper/cropper.css | |
130 | share/smokeping/cropper/cropper.js | 155 | share/httpd/htdocs/cropper/cropper.js | |
131 | share/smokeping/cropper/cropper.uncompressed.js | 156 | share/httpd/htdocs/cropper/cropper.uncompressed.js | |
132 | share/smokeping/cropper/lib/builder.js | 157 | share/httpd/htdocs/cropper/lib/builder.js | |
133 | share/smokeping/cropper/lib/controls.js | 158 | share/httpd/htdocs/cropper/lib/controls.js | |
134 | share/smokeping/cropper/lib/dragdrop.js | 159 | share/httpd/htdocs/cropper/lib/dragdrop.js | |
135 | share/smokeping/cropper/lib/effects.js | 160 | share/httpd/htdocs/cropper/lib/effects.js | |
136 | share/smokeping/cropper/lib/prototype.js | 161 | share/httpd/htdocs/cropper/lib/prototype.js | |
137 | share/smokeping/cropper/lib/prototype.js.LICENSE | 162 | share/httpd/htdocs/cropper/lib/scriptaculous.js | |
138 | share/smokeping/cropper/lib/scriptaculous.js | 163 | share/httpd/htdocs/cropper/lib/slider.js | |
139 | share/smokeping/cropper/lib/slider.js | 164 | share/httpd/htdocs/cropper/lib/sound.js | |
140 | share/smokeping/cropper/lib/unittest.js | 165 | share/httpd/htdocs/cropper/lib/unittest.js | |
141 | share/smokeping/cropper/licence.txt | 166 | share/httpd/htdocs/cropper/licence.txt | |
142 | share/smokeping/cropper/marqueeHoriz.gif | 167 | share/httpd/htdocs/cropper/marqueeHoriz.gif | |
143 | share/smokeping/cropper/marqueeVert.gif | 168 | share/httpd/htdocs/cropper/marqueeVert.gif | |
144 | share/smokeping/cropper/smokeping-zoom.js | 169 | share/httpd/htdocs/cropper/smokeping-zoom.js | |
145 | share/smokeping/resource/Tr/image/ajax-loader.gif | |||
146 | share/smokeping/resource/qx/icon/CrystalClear/16/actions/view-refresh.png | |||
147 | share/smokeping/resource/qx/icon/Nuvola/16/actions/view-refresh.png | |||
148 | share/smokeping/resource/qx/static/image/blank.gif | |||
149 | share/smokeping/resource/qx/static/image/dotted_white.gif | |||
150 | share/smokeping/resource/qx/widget/Windows/arrows/down.gif | |||
151 | share/smokeping/resource/qx/widget/Windows/arrows/down_small.gif | |||
152 | share/smokeping/resource/qx/widget/Windows/arrows/next.gif | |||
153 | share/smokeping/resource/qx/widget/Windows/arrows/up.gif | |||
154 | share/smokeping/resource/qx/widget/Windows/arrows/up_small.gif | |||
155 | share/smokeping/resource/qx/widget/Windows/cursors/alias.gif | |||
156 | share/smokeping/resource/qx/widget/Windows/cursors/copy.gif | |||
157 | share/smokeping/resource/qx/widget/Windows/cursors/move.gif | |||
158 | share/smokeping/resource/qx/widget/Windows/cursors/nodrop.gif | |||
159 | share/smokeping/resource/qx/widget/Windows/menu/checkbox.gif | |||
160 | share/smokeping/resource/qx/widget/Windows/menu/radiobutton.gif | |||
161 | share/smokeping/resource/qx/widget/Windows/splitpane/knob-horizontal.png | |||
162 | share/smokeping/resource/qx/widget/Windows/splitpane/knob-vertical.png | |||
163 | share/smokeping/resource/qx/widget/Windows/table/ascending.png | |||
164 | share/smokeping/resource/qx/widget/Windows/table/descending.png | |||
165 | share/smokeping/resource/qx/widget/Windows/table/selectColumnOrder.png | |||
166 | share/smokeping/resource/qx/widget/Windows/window/close.gif | |||
167 | share/smokeping/resource/qx/widget/Windows/window/maximize.gif | |||
168 | share/smokeping/resource/qx/widget/Windows/window/minimize.gif | |||
169 | share/smokeping/resource/qx/widget/Windows/window/restore.gif | |||
170 | share/smokeping/script/Tr.js | |||
171 | share/smokeping/tr.html |
@@ -1,10 +1,12 @@ | @@ -1,10 +1,12 @@ | |||
1 | $NetBSD: distinfo,v 1.13 2008/08/17 11:09:10 adrianp Exp $ | 1 | $NetBSD: distinfo,v 1.13.30.1 2012/02/02 20:08:40 tron Exp $ | |
2 | 2 | |||
3 | SHA1 (smokeping-2.4.2.tar.gz) = 055d65c7e3c49cd0d6e8f96242131fe69dc3110e | 3 | SHA1 (smokeping-2.6.7.tar.gz) = bc0b118164f00f79f6264f46ccb129acd1962dfc | |
4 | RMD160 (smokeping-2.4.2.tar.gz) = 4c91f1c6be77ef4d851821f5c0a8a60be0770527 | 4 | RMD160 (smokeping-2.6.7.tar.gz) = 126adae8ec55d7119ce57daf135327b56625ba3b | |
5 | Size (smokeping-2.4.2.tar.gz) = 909514 bytes | 5 | Size (smokeping-2.6.7.tar.gz) = 423151 bytes | |
6 | SHA1 (patch-aa) = 71a76129c337bfb40b226503f09118204cafebec | 6 | SHA1 (patch-aa) = 1926aa6ebe13b06fc4cf2fae903f32b79b4f610a | |
7 | SHA1 (patch-ab) = 0649530b924fcdc3ba0b082faada6d048a1dacfc | 7 | SHA1 (patch-ab) = 9258886479491e991408e07ebdf23b6fcb770f96 | |
8 | SHA1 (patch-ac) = 14232cf5e5ad9e90308e9541f42149bcccc4027d | 8 | SHA1 (patch-ac) = fdad1384d1925cc41e200e7a95834f76e6780fb4 | |
9 | SHA1 (patch-ad) = 8a41972bd8c3b6cb7bf5d8e1daa4a194b2ef9be2 | 9 | SHA1 (patch-ad) = 1b5581b88054182115ce4f667dbaaeea10596acd | |
10 | SHA1 (patch-ae) = e243eaeb2a9377647392f3501e29e210b844084b | 10 | SHA1 (patch-ae) = 45410102cd230d4514d8d493655a3fa9302c3e0e | |
11 | SHA1 (patch-af) = ecb2c6f5beed570def7e4dd830864bb82b92654f | |||
12 | SHA1 (patch-ag) = f200c0522db44e08d475f1a0895ee14e01663fd8 |
@@ -1,12 +1,13 @@ | @@ -1,12 +1,13 @@ | |||
1 | # $NetBSD: smokeping.conf,v 1.1 2007/11/22 20:25:54 adrianp Exp $ | 1 | # $NetBSD: smokeping.conf,v 1.1.38.1 2012/02/02 20:08:40 tron Exp $ | |
2 | # | 2 | # | |
3 | # smokeping configuration file fragment for Apache | 3 | # smokeping configuration file fragment for Apache | |
4 | 4 | |||
5 | <IfModule mod_alias.c> | 5 | <IfModule mod_alias.c> | |
6 | Alias /smokeping/ "@SPDIR@/" | 6 | Alias /smokeping/ "@SPDIR@/" | |
7 | Alias /cropper/ "@PREFIX@/share/httpd/htdocs/cropper/" | |||
7 | </IfModule> | 8 | </IfModule> | |
8 | 9 | |||
9 | <Directory "@SPDIR@"> | 10 | <Directory "@SPDIR@"> | |
10 | Order allow,deny | 11 | Order allow,deny | |
11 | Allow from all | 12 | Allow from all | |
12 | </Directory> | 13 | </Directory> |
@@ -1,41 +1,13 @@ | @@ -1,41 +1,13 @@ | |||
1 | $NetBSD: patch-aa,v 1.10 2008/08/17 11:09:10 adrianp Exp $ | 1 | $NetBSD: patch-aa,v 1.10.30.1 2012/02/02 20:08:41 tron Exp $ | |
2 | 2 | |||
3 | --- bin/smokeping.dist.orig 2008-07-24 18:37:05.000000000 +0100 | 3 | --- bin/smokeping.orig 2012-02-02 15:09:15.000000000 +0100 | |
4 | +++ bin/smokeping.dist | 4 | +++ bin/smokeping 2012-02-02 15:10:46.000000000 +0100 | |
5 | @@ -1,13 +1,12 @@ | 5 | @@ -11,7 +11,7 @@ | |
6 | #!/usr/bin/perl -w | |||
7 | # -*-perl-*- | |||
8 | 6 | |||
9 | -use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl); | 7 | use Smokeping; | |
10 | -use lib qw(lib); | |||
11 | +use lib qw(@PREFIX@/lib/smokeping); | |||
12 | use strict; | |||
13 | use warnings; | |||
14 | use Smokeping 2.004002; | |||
15 | 8 | |||
16 | -Smokeping::main("etc/config.dist"); | 9 | -Smokeping::main("$FindBin::Bin/../etc/config"); | |
17 | +Smokeping::main("@PKG_SYSCONFDIR@/config"); | 10 | +Smokeping::main("@PKG_SYSCONFDIR@/config"); | |
18 | 11 | |||
19 | =head1 NAME | 12 | =head1 NAME | |
20 | 13 | |||
21 | @@ -132,17 +131,17 @@ local system. Three paths have to be ent | |||
22 | ||||
23 | One pointing to your B<rrdtool> installation | |||
24 | ||||
25 | - use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); | |||
26 | + use lib qw(@PREFIX@/lib/smokeping); | |||
27 | ||||
28 | One pointing to the place where you have installed the SmokePing libraries | |||
29 | ||||
30 | - use lib qw(/home/oetiker/public_html/smokeping/lib); | |||
31 | + use lib qw(@PREFIX@/lib/smokeping); | |||
32 | ||||
33 | The third path is the argument to the Smokeping::main command. It points to | |||
34 | the SmokePing configuration file. | |||
35 | ||||
36 | use Smokeping; | |||
37 | - Smokeping::main("/home/oetiker/.smokeping/config"); | |||
38 | + Smokeping::main("@PKG_SYSCONFDIR@/config"); | |||
39 | ||||
40 | =head1 COPYRIGHT | |||
41 |
@@ -1,46 +1,13 @@ | @@ -1,46 +1,13 @@ | |||
1 | $NetBSD: patch-ab,v 1.10 2008/08/17 11:09:10 adrianp Exp $ | 1 | $NetBSD: patch-ab,v 1.10.30.1 2012/02/02 20:08:41 tron Exp $ | |
2 | 2 | |||
3 | --- htdocs/smokeping.cgi.dist.orig 2008-07-24 18:37:05.000000000 +0100 | 3 | --- bin/smokeping_cgi.orig 2012-02-02 15:12:05.000000000 +0100 | |
4 | +++ htdocs/smokeping.cgi.dist | 4 | +++ bin/smokeping_cgi 2012-02-02 15:12:35.000000000 +0100 | |
5 | @@ -1,17 +1,16 @@ | 5 | @@ -18,7 +18,7 @@ | |
6 | -#!/usr/bin/speedy | |||
7 | +#!@PREFIX@/@INTERP@ -w | |||
8 | # -*-perl-*- | |||
9 | 6 | |||
10 | use strict; | 7 | use CGI::Fast; | |
11 | use warnings; | |||
12 | 8 | |||
13 | -use lib qw(/usr/pack/rrdtool-1.3.0-rp/lib/perl); | 9 | -my $cfg = (shift @ARGV) || "$FindBin::Bin/../etc/config"; | |
14 | -use lib qw(/home/oetiker/checkouts/smokeping/trunk/software/lib); | 10 | +my $cfg = (shift @ARGV) || "@PKG_SYSCONFDIR@/config"; | |
15 | +use lib qw(@PREFIX@/lib/smokeping); | |||
16 | 11 | |||
17 | use CGI::Carp qw(fatalsToBrowser); | |||
18 | 12 | |||
19 | use Smokeping 2.004002; | 13 | while (my $q = new CGI::Fast) { | |
20 | ||||
21 | -Smokeping::cgi("/home/oetiker/checkouts/smokeping/trunk/software/etc/config.dist"); | |||
22 | +Smokeping::cgi("@PKG_SYSCONFDIR@/config"); | |||
23 | ||||
24 | =head1 NAME | |||
25 | ||||
26 | @@ -41,17 +40,17 @@ Please refer to the installation documen | |||
27 | When installing SmokePing, this file has to be adjusted to fit your | |||
28 | local system. Three paths have to be entered. | |||
29 | ||||
30 | - use lib qw(/usr/pack/rrdtool-1.0.33-to/lib/perl); | |||
31 | + use lib qw(@PREFIX@/lib/smokeping); | |||
32 | ||||
33 | One pointing to your B<rrdtool> installation | |||
34 | ||||
35 | - use lib qw(/home/oetiker/public_html/smokeping/lib); | |||
36 | + use lib qw(@PREFIX@/lib/smokeping); | |||
37 | ||||
38 | One pointing to the place where you have installed the SmokePing libraries | |||
39 | ||||
40 | use Smokeping; | |||
41 | ||||
42 | - Smokeping::cgi("/home/oetiker/.smokeping/config"); | |||
43 | + Smokeping::cgi("@PKG_SYSCONFDIR@/config"); | |||
44 | ||||
45 | The third path is the argument to the Smokeping::cgi command. It points to | |||
46 | the SmokePing configuration file. |
@@ -1,52 +1,55 @@ | @@ -1,52 +1,55 @@ | |||
1 | $NetBSD: patch-ac,v 1.8 2008/08/17 11:09:10 adrianp Exp $ | 1 | $NetBSD: patch-ac,v 1.8.30.1 2012/02/02 20:08:41 tron Exp $ | |
2 | 2 | |||
3 | --- etc/config.dist.orig 2008-07-24 18:36:57.000000000 +0100 | 3 | --- etc/config.dist.in.orig 2011-10-30 11:33:11.000000000 +0100 | |
4 | +++ etc/config.dist | 4 | +++ etc/config.dist.in 2012-02-02 16:51:40.000000000 +0100 | |
5 | @@ -1,19 +1,19 @@ | 5 | @@ -1,19 +1,19 @@ | |
6 | *** General *** | 6 | *** General *** | |
7 | 7 | |||
8 | -owner = Peter Random | 8 | -owner = Peter Random | |
9 | -contact = some@address.nowhere | 9 | -contact = some@address.nowhere | |
10 | -mailhost = my.mail.host | 10 | -mailhost = my.mail.host | |
11 | -sendmail = /usr/lib/sendmail | |||
12 | +owner = Charlie Root | 11 | +owner = Charlie Root | |
13 | +contact = root@localhost | 12 | +contact = root@localhost | |
14 | +mailhost = localhost | 13 | +mailhost = localhost | |
15 | +sendmail = /usr/sbin/sendmail | 14 | sendmail = @SENDMAIL@ | |
16 | # NOTE: do not put the Image Cache below cgi-bin | 15 | # NOTE: do not put the Image Cache below cgi-bin | |
17 | # since all files under cgi-bin will be executed ... this is not | 16 | # since all files under cgi-bin will be executed ... this is not | |
18 | # good for images. | 17 | # good for images. | |
19 | -imgcache = /home/oetiker/public_html/smokeping-ms/cache | 18 | -imgcache = @prefix@/cache | |
20 | +imgcache = @SPDIR@/.simg | 19 | +imgcache = @SPDIR@/.simg | |
21 | imgurl = cache | 20 | imgurl = cache | |
22 | -datadir = /tmp/smokeping-ms/data | 21 | -datadir = @prefix@/data | |
23 | -piddir = /tmp/smokeping-ms/var | 22 | -piddir = @prefix@/var | |
24 | -cgiurl = http://some.url/smokeping.cgi | 23 | -cgiurl = http://some.url/smokeping.cgi | |
25 | -smokemail = /home/oetiker/checkouts/smokeping/trunk/software/etc/smokemail.dist | 24 | -smokemail = @prefix@/etc/smokemail.dist | |
26 | -tmail = /home/oetiker/checkouts/smokeping/trunk/software/etc/tmail.dist | 25 | -tmail = @prefix@/etc/tmail.dist | |
27 | +datadir = @VARBASE@/db/smokeping | 26 | +datadir = @VARBASE@/db/smokeping | |
28 | +piddir = @VARBASE@/run | 27 | +piddir = @VARBASE@/run | |
29 | +cgiurl = http://localhost/cgi-bin/smokeping.cgi | 28 | +cgiurl = http://localhost/cgi-bin/smokeping.cgi | |
30 | +smokemail = @PREFIX@/etc/smokeping/smokemail | 29 | +smokemail = @PKG_SYSCONFDIR@/smokemail | |
31 | +tmail = @PKG_SYSCONFDIR@/tmail | 30 | +tmail = @PKG_SYSCONFDIR@/tmail | |
32 | # specify this to get syslog logging | 31 | # specify this to get syslog logging | |
33 | syslogfacility = local0 | 32 | syslogfacility = local0 | |
34 | # each probe is now run in its own process | 33 | # each probe is now run in its own process | |
35 | @@ -47,7 +47,7 @@ AVERAGE 0.5 144 720 | 34 | @@ -47,7 +47,7 @@ | |
36 | 35 | |||
37 | *** Presentation *** | 36 | *** Presentation *** | |
38 | 37 | |||
39 | -template = /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist | 38 | -template = @prefix@/etc/basepage.html.dist | |
40 | +template = @PKG_SYSCONFDIR@/basepage.html | 39 | +template = @PKG_SYSCONFDIR@/basepage.html | |
41 | 40 | |||
42 | + charts | 41 | + charts | |
43 | 42 | |||
44 | @@ -105,7 +105,7 @@ unison_tolerance = 2 | 43 | @@ -105,10 +105,10 @@ | |
45 | 44 | |||
46 | + FPing | 45 | + FPing | |
47 | 46 | |||
48 | -binary = /usr/sbin/fping | 47 | -binary = /usr/sbin/fping | |
49 | +binary = @PREFIX@/sbin/fping | 48 | +binary = @PREFIX@/sbin/fping | |
50 | 49 | |||
51 | *** Slaves *** | 50 | *** Slaves *** | |
52 | secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist | 51 | -secrets=@prefix@/etc/smokeping_secrets.dist | |
52 | +secrets=@PKG_SYSCONFDIR@/smokeping_secrets | |||
53 | +boomer | |||
54 | display_name=boomer | |||
55 | color=0000ff |
@@ -1,56 +1,13 @@ | @@ -1,56 +1,13 @@ | |||
1 | $NetBSD: patch-ad,v 1.5 2008/08/17 11:09:10 adrianp Exp $ | 1 | $NetBSD: patch-ad,v 1.5.30.1 2012/02/02 20:08:41 tron Exp $ | |
2 | 2 | |||
3 | --- bin/tSmoke.dist.orig 2008-07-24 18:37:05.000000000 +0100 | 3 | --- bin/tSmoke.orig 2012-02-02 15:16:10.000000000 +0100 | |
4 | +++ bin/tSmoke.dist | 4 | +++ bin/tSmoke 2012-02-02 15:16:31.000000000 +0100 | |
5 | @@ -51,8 +51,7 @@ use warnings; | 5 | @@ -63,7 +63,7 @@ | |
6 | # -- Getopt::Long | |||
7 | # | |||
8 | # Point the lib variables to your implementation | |||
9 | -use lib qw(lib); | |||
10 | -use lib qw(/usr/local/rrdtool-1.0.39/lib/perl); | |||
11 | +use lib "@PREFIX@/lib/smokeping"; | |||
12 | ||||
13 | use Smokeping 2.004002; | |||
14 | use Net::SMTP; | |||
15 | @@ -61,7 +60,7 @@ use Pod::Usage; | |||
16 | use RRDs; | 6 | use RRDs; | |
17 | 7 | |||
18 | # Point to your Smokeping config file | 8 | # Point to your Smokeping config file | |
19 | -my $cfgfile = "etc/config.dist"; | 9 | -my $cfgfile = "etc/config.dist"; | |
20 | +my $cfgfile = "@PKG_SYSCONFDIR@/config"; | 10 | +my $cfgfile = "@PKG_SYSCONFDIR@/config.dist"; | |
21 | 11 | |||
22 | # global variables | 12 | # global variables | |
23 | my $cfg; | 13 | my $cfg; | |
24 | @@ -476,9 +475,9 @@ past week and past month including an ov | |||
25 | Typical crontab used to invoke this are | |||
26 | ||||
27 | # Quick morning alert to see what's down | |||
28 | - 0 6 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mobilephone@att.net.invalid --morning | |||
29 | + 0 6 * * * @PREFIX@/bin/tSmoke.pl --q --to=mobilephone@att.net.invalid --morning | |||
30 | # Weekly report on the percent availability of network systems with no detail | |||
31 | - 0 8 * * * /usr/local/smokeping/bin/tSmoke.pl --q --to=mailbox@company.com.invalid --weekly --detail=0 | |||
32 | + 0 8 * * * @PREFIX@/bin/tSmoke.pl --q --to=mailbox@company.com.invalid --weekly --detail=0 | |||
33 | ||||
34 | =head1 SETUP | |||
35 | ||||
36 | @@ -498,17 +497,16 @@ We need to use the following B<libraries | |||
37 | ||||
38 | Set up your libraries: | |||
39 | ||||
40 | - use lib "/usr/local/smokeping/lib"; | |||
41 | - use lib "/usr/local/rrdtool-1.0.39/lib/perl"; | |||
42 | + use lib "@PREFIX@/lib/smokeping"; | |||
43 | ||||
44 | Point to your Smokeping B<config> file | |||
45 | ||||
46 | - my $cfgfile = "/usr/local/smokeping/etc/config"; | |||
47 | + my $cfgfile = "@PKG_SYSCONFDIR@/config"; | |||
48 | ||||
49 | Modify the Smokeping config file to include a path for tmail in the | |||
50 | General section: | |||
51 | ||||
52 | - tmail = /usr/local/smokeping/etc/tmail | |||
53 | + tmail = @PKG_SYSCONFDIR@/tmail | |||
54 | ||||
55 | =head1 COPYRIGHT | |||
56 |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | $NetBSD: patch-ae,v 1.1 2008/08/17 11:09:10 adrianp Exp $ | 1 | $NetBSD: patch-ae,v 1.1.30.1 2012/02/02 20:08:41 tron Exp $ | |
2 | 2 | |||
3 | --- htdocs/tr.cgi.dist.orig 2008-07-24 19:25:28.000000000 +0100 | 3 | --- htdocs/Makefile.in.orig 2012-02-02 15:51:17.000000000 +0100 | |
4 | +++ htdocs/tr.cgi.dist | 4 | +++ htdocs/Makefile.in 2012-02-02 15:52:04.000000000 +0100 | |
5 | @@ -1,6 +1,6 @@ | 5 | @@ -424,7 +424,7 @@ | |
6 | -#!/usr/sepp/bin/speedy-5.8.8 -w | 6 | install-data-local: | |
7 | +#!@PREFIX@/@INTERP@ -w | 7 | $(MKDIR) -p $(DESTDIR)$(HTDOCSDIR) | |
8 | use strict; | 8 | $(ECHO) "#!/bin/sh" > $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist | |
9 | -use lib qw(/home/oposs/smokeping/software/lib); | 9 | - $(ECHO) "$(prefix)/bin/smokeping_cgi $(prefix)/etc/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist | |
10 | +use lib qw(@PREFIX@/lib/smokeping); | 10 | + $(ECHO) "$(prefix)/bin/smokeping_cgi @PKG_SYSCONFDIR@/config" >> $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist | |
11 | use lib qw(perl); | 11 | chmod +x $(DESTDIR)$(HTDOCSDIR)/smokeping.fcgi.dist | |
12 | 12 | |||
13 | use CGI; | 13 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
$NetBSD: patch-af,v 1.1.2.2 2012/02/02 20:08:41 tron Exp $
--- lib/Makefile.in.orig 2012-02-02 16:07:25.000000000 +0100
+++ lib/Makefile.in 2012-02-02 16:07:33.000000000 +0100
@@ -217,7 +217,7 @@
PROBE := $(wildcard Smokeping/probes/*.pm)
MATCH := $(wildcard Smokeping/matchers/*.pm)
EXTRA_DIST = $(PM) $(SP) $(SORT) $(PROBE) $(MATCH)
-perllibdir = $(prefix)/lib
+perllibdir = $(prefix)/lib/smokeping
nobase_perllib_DATA = $(EXTRA_DIST)
all: all-am
$NetBSD: patch-ag,v 1.1.2.2 2012/02/02 20:08:41 tron Exp $
--- etc/basepage.html.dist.orig 2012-02-02 18:44:25.000000000 +0100
+++ etc/basepage.html.dist 2012-02-02 18:44:37.000000000 +0100
@@ -53,10 +53,10 @@
-->
</STYLE>
-<script src="cropper/lib/prototype.js" type="text/javascript"></script>
-<script src="cropper/lib/scriptaculous.js?load=builder,effects,dragdrop" type="text/javascript"></script>
-<script src="cropper/cropper.js" type="text/javascript"></script>
-<script src="cropper/smokeping-zoom.js" type="text/javascript"></script>
+<script src="/cropper/lib/prototype.js" type="text/javascript"></script>
+<script src="/cropper/lib/scriptaculous.js?load=builder,effects,dragdrop" type="text/javascript"></script>
+<script src="/cropper/cropper.js" type="text/javascript"></script>
+<script src="/cropper/smokeping-zoom.js" type="text/javascript"></script>