head 1.6; access; symbols pkgsrc-2026Q2:1.6.0.30 pkgsrc-2026Q2-base:1.6 pkgsrc-2026Q1:1.6.0.28 pkgsrc-2026Q1-base:1.6 pkgsrc-2025Q4:1.6.0.26 pkgsrc-2025Q4-base:1.6 pkgsrc-2025Q3:1.6.0.24 pkgsrc-2025Q3-base:1.6 pkgsrc-2025Q2:1.6.0.22 pkgsrc-2025Q2-base:1.6 pkgsrc-2025Q1:1.6.0.20 pkgsrc-2025Q1-base:1.6 pkgsrc-2024Q4:1.6.0.18 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.16 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.6.0.14 pkgsrc-2024Q2-base:1.6 pkgsrc-2024Q1:1.6.0.12 pkgsrc-2024Q1-base:1.6 pkgsrc-2023Q4:1.6.0.10 pkgsrc-2023Q4-base:1.6 pkgsrc-2023Q3:1.6.0.8 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.6 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.4 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.2 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.5.0.70 pkgsrc-2022Q3-base:1.5 pkgsrc-2022Q2:1.5.0.68 pkgsrc-2022Q2-base:1.5 pkgsrc-2022Q1:1.5.0.66 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.64 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.62 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.60 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.58 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.56 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.54 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.50 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.30 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.5.0.52 pkgsrc-2019Q4-base:1.5 pkgsrc-2019Q3:1.5.0.48 pkgsrc-2019Q3-base:1.5 pkgsrc-2019Q2:1.5.0.46 pkgsrc-2019Q2-base:1.5 pkgsrc-2019Q1:1.5.0.44 pkgsrc-2019Q1-base:1.5 pkgsrc-2018Q4:1.5.0.42 pkgsrc-2018Q4-base:1.5 pkgsrc-2018Q3:1.5.0.40 pkgsrc-2018Q3-base:1.5 pkgsrc-2018Q2:1.5.0.38 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.36 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.34 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.32 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.28 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.26 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.24 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.22 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.20 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.18 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.16 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.5.0.14 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.12 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.10 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.8 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.6 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.5.0.4 pkgsrc-2014Q2-base:1.5 pkgsrc-2014Q1:1.5.0.2 pkgsrc-2014Q1-base:1.5 pkgsrc-2013Q4:1.4.0.18 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.16 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.14 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.12 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.10 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.8 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.6 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.4 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.2 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.2.0.4 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.1.1.1.0.10 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.8 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.6 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.4 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.2 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2022.12.07.08.15.59; author jperkin; state Exp; branches; next 1.5; commitid KkaPsPvh2RoEiB4E; 1.5 date 2014.02.27.20.22.41; author spz; state Exp; branches; next 1.4; commitid EBfiybNpMYHLkMqx; 1.4 date 2011.10.16.15.19.08; author spz; state Exp; branches; next 1.3; 1.3 date 2011.10.15.23.07.24; author spz; state Exp; branches; next 1.2; 1.2 date 2011.04.22.14.52.18; author spz; state Exp; branches; next 1.1; 1.1 date 2010.02.14.22.58.58; author spz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.02.14.22.58.58; author spz; state Exp; branches; next ; desc @@ 1.6 log @xymon: Use pkgsrc/system c-ares instead of bundled. Fixes build on systems that happen to put link libraries in LDFLAGS due to incredibly strict configure script. Bump PKGREVISION. @ text @$NetBSD: patch-aa,v 1.5 2014/02/27 20:22:41 spz Exp $ add extra options for cases where PREFIX is not in a standard location add INSTALLEXADIR for some pkgsrc magic $NetBSD: patch-aa,v 1.5 2014/02/27 20:22:41 spz Exp $ --- configure.server.orig 2019-04-22 18:20:02.000000000 +0000 +++ configure.server @@@@ -17,6 +17,8 @@@@ do To configure Xymon, the following options are available: --rrdinclude DIRECTORY : Specify location of RRDtool include files --rrdlib DIRECTORY : Specify location of RRDtool libraries + --pngconfig PROGRAM : Specify location of libpng-config program + --zlib DIRECTORY : Specify location of Z library --pcreinclude DIRECTORY : Specify location of PCRE include files --pcrelib DIRECTORY : Specify location of PCRE libraries --sslinclude DIRECTORY : Specify location of OpenSSL include files @@@@ -25,6 +27,7 @@@@ do --ldaplib DIRECTORY : Specify location of OpenLDAP libraries --caresinclude DIRECTORY : Specify location of C-ARES include files --careslib DIRECTORY : Specify location of C-ARES libraries + --snmpconfig PROGRAM : Specify location of net-snmp-config program --fping FILENAME : Specify location of the Fping program The script will search a number of standard directories for @@@@ -38,6 +41,12 @@@@ EOF "--rrdlib") USERRRDLIB="$1"; shift ;; + "--pngconfig") + USERPNGCONFIG="$1"; shift + ;; + "--zlib") + USERZLIB="$1"; shift + ;; "--pcreinclude") USERPCREINC="$1"; shift ;; @@@@ -62,6 +71,9 @@@@ EOF "--careslib") USERCARESLIB="$1"; shift ;; + "--snmpconfig") + USERSNMPCONFIG="$1"; shift + ;; "--fping") USERFPING="$1"; shift ;; @@@@ -404,14 +416,16 @@@@ then fi echo ""; echo "" -echo "# Toplevel Makefile for Xymon" > Makefile +echo "# Toplevel Makefile for Xymon" > Makefile echo "BUILDTOPDIR=\`pwd\`" >>Makefile echo "" >>Makefile -echo "# configure settings for Xymon" >>Makefile +echo "# configure settings for Xymon" >>Makefile echo "#" >>Makefile echo "# Toplevel dir" >>Makefile echo "XYMONTOPDIR = $XYMONTOPDIR" >>Makefile +echo "# Linkfarm" >>Makefile +echo "XYMONHOME = $XYMONHOME" >>Makefile echo "# Server data dir for hist/ etc." >>Makefile echo "XYMONVAR = $XYMONVAR" >>Makefile echo "# CGI scripts go in CGIDIR" >>Makefile @@@@ -453,7 +467,7 @@@@ then echo "CARESINCDIR = -I$CARESINC" >>Makefile fi if test "$CARESLIB" != ""; then - echo "CARESLIBS = -L$LIB -lcares" >>Makefile + echo "CARESLIBS = -L$CARESLIB -lcares" >>Makefile echo "RPATHVAL += ${LIB}" >>Makefile else echo "CARESLIBS = -lcares" >>Makefile @@@@ -531,6 +545,7 @@@@ echo "LIBRTDEF = $LIBRTDEF" echo "" >>Makefile echo "# Net-SNMP settings" >>Makefile echo "DOSNMP = $DOSNMP" >>Makefile +echo "SNMPCONFIG = $SNMPCONFIG" >>Makefile echo "" >>Makefile echo "# Large File Support settings" >>Makefile @@@@ -561,6 +576,9 @@@@ fi if test "$INSTALLETCDIR" != ""; then echo "INSTALLETCDIR = $INSTALLETCDIR" >>Makefile fi +if test "$INSTALLEXADIR" != ""; then + echo "INSTALLEXADIR = $INSTALLEXADIR" >>Makefile +fi if test "$INSTALLEXTDIR" != ""; then echo "INSTALLEXTDIR = $INSTALLEXTDIR" >>Makefile fi @ 1.5 log @Update to 4.3.17. The last two teeny versions were for bug fixes. Also contains the inode check expansion for NetBSD from PR 48575 Upstream changelog: Changes for 4.3.15 - 4.3.17 =========================== No significant changes. Changes for 4.3.14 ================== In previous Xymon versions, a client-only configuration (i.e. one configured with "./configure --client") would place the client files in a "client" subdirectory below the directory specified during configuration. This is the same directory layout as a server installation, where the server and client parts of Xymon are in separate subdirectories. In 4.3.14, the default has changed so a client-only installation now installs in the directory given during the configure-step. The "/client" has been eliminated, so if you are upgrading an existing client you must either move the old client installation one level up from the "client/" directory, or change the Makefile generated by "configure --client" and add "/client" to the XYMONTOPDIR setting. The SNI support added in 4.3.13 causes problems with some older webservers, whose SSL implementation cannot handshake correctly when SNI is used. The failed handshake causes Xymon to report the site as down. In 4.3.14, the default is changed so SNI is disabled. A new "--sni" option was added to xymonnet to control the default setting, and two new tags "sni" and "nosni" can be used in hosts.cfg to control SNI for each host that is tested. Changes for 4.3.13 ================== This is mostly a bugfix release. Apart from simple bugs (see the Changes file), there are some enhancements: Alerts sent via e-mail have line-endings converted to plain , since the carriage-return characters would cause some mailers to send alerts as a (binary) attachment to an empty mail message. https-URL's can be forced to use TLS only, by using "httpst://..." similar to how SSLv2 and SSLv3 can be chosen. SSL connections (e.g. for https URL's) now use the TLS "Server Name Indication" (SNI) if your OpenSSL library supports it. This allows testing of systems that have multiple SSL websites located on the same physical IP+port (i.e. virtual name-based hosts). Changes for 4.3.12 ================== NOTE: This release includes a bugfix for a security issue in the xymond_history and xymond_rrd modules. A "drophost" command sent to the xymond port (default: 1984) from an IP listed in the --admin-senders access control list can be used to delete files owned by the user running the xymond daemon. This is allowed by default, so it is highly recommended to install this update. Changes for 4.3.2 - 4.3.11 ========================== See the Changes file for a list of significant changes. These releases are mostly to fix bugs. NOTE: Some configuration parameters have changed, so you must regenerate the top-level Makefile by running the "configure" script before compiling the new version. The inode-check introduced in 4.3.8 and 4.3.10 requires that you update both the Xymon server installation and the Xymon client on the systems where you want to monitor how many inodes are being used. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2011/10/16 15:19:08 spz Exp $ d7 1 a7 1 $NetBSD$ d9 1 a9 1 --- configure.server.orig 2014-01-26 12:39:20.000000000 +0000 d51 1 a51 1 @@@@ -400,14 +412,16 @@@@ then d70 10 a79 1 @@@@ -527,6 +541,7 @@@@ echo "LIBRTDEF = $LIBRTDEF" d87 1 a87 1 @@@@ -557,6 +572,9 @@@@ fi @ 1.4 log @fix build issues when building with non-standard PREFIX (found by dholland) introduce options allow optional building with net-snmp support pkglint cosmetics @ text @d1 1 a1 1 $NetBSD$ d7 3 a9 1 --- configure.server.orig 2011-03-08 17:20:28.000000000 +0000 d11 1 a11 1 @@@@ -17,12 +17,15 @@@@ do d20 1 a20 2 --ssllib DIRECTORY : Specify location of OpenSSL libraries --ldapinclude DIRECTORY : Specify location of OpenLDAP include files d22 2 d28 1 a28 1 @@@@ -36,6 +39,12 @@@@ EOF d41 3 a43 3 @@@@ -54,6 +63,9 @@@@ EOF "--ldaplib") USERLDAPLIB="$1"; shift d51 1 a51 1 @@@@ -393,11 +405,11 @@@@ then d65 6 a70 1 @@@@ -477,6 +489,7 @@@@ echo "LIBRTDEF = $LIBRTDEF" d78 1 a78 1 @@@@ -507,6 +520,9 @@@@ fi @ 1.3 log @Update xymon and xymonclient to 4.3.5 adjust Makefile to avoid/fix problems found by dholland Upstream changelog: Changes from 4.3.4 -> 4.3.5 (9 Sep 2011) ======================================== * rev 6754 * Fix crash in CGI generating the "info" status column. * Fix broken handling of IGNORE for log-file analysis. * Fix broken clean-up of obsolete cookies (no user impact). * Devmon RRD handler: Fix missing initialisation, which might cause crashes of the RRD handler. * Fix crashes in xymond caused by faulty new library for storing cookies and host-information. * Fix memory corruption/crash in xymond caused by logging of multi-source statuses. * New "delayred" and "delayyellow" definitions for a host can be used to delay change to a yellow/red status for any status column (replaces the network-specific "badFOO" definitions). * analysis.cfg and alerts.cfg: New DISPLAYGROUP setting to select hosts by the group/group-only/group-except text. * New HOSTDOCURL setting in xymonserver.cfg. Replaces the xymongen "--docurl" and "--doccgi" options, and is used by all tools. * xymond_history option to control location of PID file. * Critical Systems view: Optionally show eventlog for the hosts present on the CS view. * Critical Systems view: Multiple --config options can now be used, to display critical systems from multiple configurations on one page. * Detailed status display: Speedup by no longer having to load the hosts.cfg file. * xymongen and xymonnet: Optionally load the hosts.cfg from xymond instead of having to read the file. Changes from 4.3.3 -> 4.3.4 (1 Aug 2011) ======================================== * rev 6722 * Fix crashes and data corruption in Xymon worker modules (xymond_client, xymond_rrd etc) after handling large messages. * Fix xymond lock-up when renaming/deleting hosts * Fix xymond cookie lookup mechanism * Webpages: Add new HOSTPOPUP setting to control what values from hosts.cfg are displayed as a "comment" to the hostname (either in pop-up's or next to the hostname). * Fix xymond_client crash if analysis.cfg contains invalid configuration entries, e.g. expressions that do not compile. * Fix showgraph CGI crash when legends contain colon. * xymonnet: Include hostname when reporting erroneous test-spec * CGI utils: Multiple potential security fixes involving buffer- overruns when generating responses. * CGI utils: Fix crash when invoked with HTTP "HEAD" * CGI utils: Fix crashes on 64-bit platforms due to missing prototype of "basename()" function. * svcstatus CGI: Dont crash if history log is not a file. * Critical systems view CGI: Cross-site scripting fix * Fix recovery-messages for alerts sent to a GROUP * RRD "memory" status handler now recognizes the output from the bb-xsnmp.pl module (for Cisco routers). * Web templates modified so the menu CSS can override the default body CSS. * Acknowledge web page now allows selecting minutes/hours/days * Enable/Disable webpage enhanced, so when selecting multiple hosts the "Tests" column only lists the tests those hosts have. Changes from 4.3.2 -> 4.3.3 (6 May 2011) ======================================== * rev6684 * SECURITY FIX: Some CGI parameters were used to construct filenames of historical logfiles without being sanitized, so they could be abused to read files on the webserver. * SECURITY FIX: More cross-site scripting vulnerabilities. * Remove extra "," before "History" button on status-view * Critical view: Shring priority-column to 10% width * hosts.cfg loader: Check for valid IP spec (nibbles in 0-255 range). Large numbers in a nibble were accepted, triggering problems when trying to ping the host. * Alert macros no longer limited to 8kB @ text @d3 4 d9 1 a9 1 @@@@ -17,6 +17,8 @@@@ do d13 1 a13 1 + --pnglib DIRECTORY : Specify location of PNG library d18 8 a25 1 @@@@ -36,6 +38,12 @@@@ EOF d29 2 a30 2 + "--pnglib") + USERPNGLIB="$1"; shift d38 33 a70 1 @@@@ -507,6 +515,9 @@@@ fi @ 1.2 log @package update to 4.3.2: + fixes cross-site scripting vulnerabilities (SA44036) + contains a lot of filename cleanup work (no more bb and hobbit) please read upgrade-to-430.txt when upgrading from a previous pkg (see also the install message) @ text @d5 23 a27 1 @@@@ -507,6 +507,9 @@@@ fi @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- configure.server.orig 2009-02-12 13:09:34.000000000 +0000 d5 1 a5 1 @@@@ -495,6 +495,9 @@@@ fi @ 1.1.1.1 log @xymon is the successor to hobbit. This is the server package. It's a beta, so handle with care. @ text @@