From 298f247e75d0c8a9281d289217aa460706cd45a8 Mon Sep 17 00:00:00 2001 From: otis Date: Wed, 4 Nov 2020 18:32:26 +0000 Subject: 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). --- net/snmptt/Makefile | 7 +++---- net/snmptt/distinfo | 10 +++++----- 2 files changed, 8 insertions(+), 9 deletions(-) (limited to 'net/snmptt') diff --git a/net/snmptt/Makefile b/net/snmptt/Makefile index 7deb238dac5..f704ee8415c 100644 --- a/net/snmptt/Makefile +++ b/net/snmptt/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.16 2020/08/31 18:10:53 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2020/11/04 18:32:26 otis Exp $ # -DISTNAME= snmptt_1.3 -PKGNAME= snmptt-1.3 -PKGREVISION= 13 +DISTNAME= snmptt_1.4.2 +PKGNAME= snmptt-1.4.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=snmptt/} EXTRACT_SUFX= .tgz diff --git a/net/snmptt/distinfo b/net/snmptt/distinfo index 4a1dafc731c..80fa673f99d 100644 --- a/net/snmptt/distinfo +++ b/net/snmptt/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 00:35:37 agc Exp $ +$NetBSD: distinfo,v 1.3 2020/11/04 18:32:26 otis Exp $ -SHA1 (snmptt_1.3.tgz) = 441077d806c877545c2ce5688e0c1ecf5cca9bbb -RMD160 (snmptt_1.3.tgz) = 3f12f45720c263ccf0d27c8b391537da08083cbe -SHA512 (snmptt_1.3.tgz) = 8a8917c07879007eddafbbaac83ddbf8954e43df9086b7b5b29d88680e739f5b48d231e76ff11548349f25eb271d483ebcce6ad9a20746ba61ddd6a55201e415 -Size (snmptt_1.3.tgz) = 146314 bytes +SHA1 (snmptt_1.4.2.tgz) = 359b519ea973c0f0ea9f4dd838b340dd9091bae9 +RMD160 (snmptt_1.4.2.tgz) = e031eb7ae0601fd0a7c250f5022f6a869af4f969 +SHA512 (snmptt_1.4.2.tgz) = b8782aa5789227253c1b65c98771de7eba319f1f29b56224415f89d0c687515cd099f0ba7d0e304d43a9d054fa66335fe09d99545f50415745ac86b8b56a2b9d +Size (snmptt_1.4.2.tgz) = 142697 bytes -- cgit v1.2.3