Subject: CVS commit: pkgsrc/net/snmptt
From: Juraj Lutter
Date: 2020-11-04 19:32:26
Message id: 20201104183226.D3055FB28@cvs.NetBSD.org

Log Message:
snmptt: Update to 1.4.2

Changelog:
* v1.4.2 - July 23rd, 2020:
  - Fixed a security issue with EXEC / PREXEC / unknown_trap_exec that could
    allow malicious shell code to be executed (CVE-2020-24361).
  - Fixed a bug with EXEC / PREXEC / unknown_trap_exec that caused commands to be
    run as root instead of the user defined in daemon_uid.

* v1.4 - November 6th, 2013:
  - Added snmptt.ini option net_snmp_perl_cache_enable to enable caching of
    Net-SNMP Perl module OID and ENUM translations.  This may speed up
    translations and reduce CPU load when net_snmp_perl_enable and translate_*
    options are enabled.
  - Fixed bug with snmptthandler-embedded where IP addresses and OIDs were not
    being detected properly because they contained 'OID:', 'IpAddress:' etc.
  - Fixed bug with MATCH.  The PREEXEC $p variable could not be used with MATCH.
    PREEXEC is now executed first if MATCH contains $p.
  - Fixed bug with syslog.  Log entries were supposed to be logged with
    snmptt[pid] but instad of the pid it was actually the effective user ID
    (2980512).
  - Fixed bug where the hostname is not detected properly when snmptrapd is
    configured to not use DNS.
  - Fixed bug where if the spool directory is not defined, files may be deleted
    from the wrong folder (3020696).
  - Fixed bug with syslog logging.  Function was not being called properly
    (3166749).
  - Fixed bug with MATCH where number ranges were not working (3397982).
  - Fixed bug with multi-line traps (2915658).
  - Fixed bug with LOGONLY severity.  EXEC was being executed even if the trap
    had a severity of LOGONLY (3567744).
  - Fixed bug with snmptt hanging if the log message sent to syslog contained a %
    symbol.  All %'s are now escaped before sending to syslog (3567748).
  - Fixed possible bug with MySQL.  Put CONNECT string on one line.
  - Fixed bug with not being able to write to the debug log file when running
    snmptt as non-root if the debug file didn't already exist with the correct
    permissions at startup.  The ownership of snmptt.debug is now set to
    daemon_uid before switching to the new uid.  Patch 3423525.
  - Installation documentation updates (bug 3425999).

Files:
RevisionActionfile
1.17modifypkgsrc/net/snmptt/Makefile
1.3modifypkgsrc/net/snmptt/distinfo