Bug 167771

Summary: [patch] net-mgmt/mrtg fix rateup's coredump
Product: Ports & Packages Reporter: Alexey V. Panfilov <ports>
Component: Individual Port(s)Assignee: Michael Scheidell <scheidell>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
mrtg_diff.txt none

Description Alexey V. Panfilov 2012-05-10 11:50:10 UTC
Reported via private mail:

"problem appeared after 2.16.4,1 => 2.17.4,7, my log is flooded by
every run with:
kernel: pid 90528 (rateup), uid 0: exited on signal 11 (core dumped)

a tipical KMG setting is kMG[whatever]: ,M,G,

when I comment this line rateup conlcudes without error

funny is, the graph is still updated, so seems rateup dies after doing
it's job"

Fix: Apply diff (between 2.17.4 release and current):
http://oss.oetiker.ch/mrtg-trac/changeset?reponame=&new=402@trunk%2Fsrc%2Fsrc%2Frateup.c&old=397@trunk%2Fsrc%2Fsrc%2Frateup.c

Patch attached with submission follows:
How-To-Repeat: Compose config with option kMG.
Comment 1 Alexey V. Panfilov 2012-05-10 11:57:22 UTC
Forgot add PORTREVISION to Makefile

--
Simple Lehisnoe ;-)
Comment 2 Michael Scheidell freebsd_committer freebsd_triage 2012-05-11 20:09:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it.
Comment 3 Michael Scheidell freebsd_committer freebsd_triage 2012-05-11 20:23:43 UTC
State Changed
From-To: open->closed

Committed, minor change: used standardized name for patch-src__rateup.c. 
Thanks!