Update to 2.58, fixes a rare bug in symon/sm_io.c. strsep() would

clobber stream information and make the first stream in the
configuration file disappear.
This commit is contained in:
naddy 2003-02-27 19:21:37 +00:00
parent 3ebba9f290
commit 235cd5c889
3 changed files with 8 additions and 41 deletions

View File

@ -1,11 +1,9 @@
# $OpenBSD: Makefile,v 1.5 2003/01/10 19:24:50 naddy Exp $
# $OpenBSD: Makefile,v 1.6 2003/02/27 19:21:37 naddy Exp $
COMMENT= "active monitoring tool"
V= 2.57
V= 2.58
DISTNAME= symon-${V}
CATEGORIES= net sysutils
MASTER_SITES= http://www.xs4all.nl/~wpd/symon/
CATEGORIES= sysutils net
HOMEPAGE= http://www.xs4all.nl/~wpd/symon/
MAINTAINER= Willem Dijkstra <wpd@xs4all.nl>
@ -16,6 +14,8 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
SUBPACKAGE?=
# client only package

View File

@ -1,3 +1,3 @@
MD5 (symon-2.57.tar.gz) = d002f5d9f8310096751ca0e95a082364
RMD160 (symon-2.57.tar.gz) = 342874163dce398389e33686c2d8be9724cafee6
SHA1 (symon-2.57.tar.gz) = 02b4af44a08723f62b73052e80dc765adc81fc97
MD5 (symon-2.58.tar.gz) = c70b3c085912513033fc3593e87e5e31
RMD160 (symon-2.58.tar.gz) = 4eb4c6a848cbdc79d957b99d3cd03ef088672a15
SHA1 (symon-2.58.tar.gz) = b870ad2ecb54229c1e9c7c0cd9da50d6550270fb

View File

@ -1,33 +0,0 @@
--- symon/sm_pf.c.orig Fri Jan 24 20:44:10 2003
+++ symon/sm_pf.c Fri Jan 24 20:44:44 2003
@@ -92,18 +92,18 @@
n = s.states;
return snpack(symon_buf, maxlen, arg, MT_PF,
- s.bcounters[0][PF_IN],
- s.bcounters[0][PF_OUT],
- s.bcounters[1][PF_IN],
- s.bcounters[1][PF_OUT],
- s.pcounters[0][PF_IN][PF_PASS],
- s.pcounters[0][PF_IN][PF_DROP],
- s.pcounters[0][PF_OUT][PF_PASS],
- s.pcounters[0][PF_OUT][PF_DROP],
- s.pcounters[1][PF_IN][PF_PASS],
- s.pcounters[1][PF_IN][PF_DROP],
- s.pcounters[1][PF_OUT][PF_PASS],
- s.pcounters[1][PF_OUT][PF_DROP],
+ s.bcounters[0][0],
+ s.bcounters[0][1],
+ s.bcounters[1][0],
+ s.bcounters[1][1],
+ s.pcounters[0][0][PF_PASS],
+ s.pcounters[0][0][PF_DROP],
+ s.pcounters[0][1][PF_PASS],
+ s.pcounters[0][1][PF_DROP],
+ s.pcounters[1][0][PF_PASS],
+ s.pcounters[1][0][PF_DROP],
+ s.pcounters[1][1][PF_PASS],
+ s.pcounters[1][1][PF_DROP],
n,
s.fcounters[0],
s.fcounters[1],