Bug 194381

Summary: [patch] security/bruteblock: make ipfw rule timeout work on arm
Product: Ports & Packages Reporter: Ronald Klop <ronald-lists>
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Some People Flags: ronald-lists: maintainer-feedback? (amdmi3)
Priority: ---    
Version: Latest   
Hardware: arm   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199263
Attachments:
Description Flags
patch for fixing the timeout on arm none

Description Ronald Klop 2014-10-15 14:29:19 UTC
Created attachment 148339 [details]
patch for fixing the timeout on arm

On my Sheevaplug arm system bruteblock sets the rule reset time always to 0. This is because utime (long long) is printed as an int.
This also solves a warning from clang.

I'm running:
FreeBSD 11.0-CURRENT (SHEEVAPLUG) #3 r272028M: Thu Oct  9 02:25:25 CEST 2014

I also verified the port still works on my amd64 machine.

The attachment can be put in ports/security/bruteblock/files.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-15 14:29:19 UTC
Auto-assigned to maintainer amdmi3@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-10-15 20:28:00 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Oct 15 20:27:30 UTC 2014
New revision: 370950
URL: https://svnweb.freebsd.org/changeset/ports/370950

Log:
  - Fix rule reset time on arm

  PR:		194381
  Submitted by:	ronald-lists@klop.ws
  MFH:		2014Q4

Changes:
  head/security/bruteblock/Makefile
  head/security/bruteblock/files/patch-bruteblock.c
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-10-15 22:27:19 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Oct 15 22:26:25 UTC 2014
New revision: 370961
URL: https://svnweb.freebsd.org/changeset/ports/370961

Log:
  MFH: r370950

  - Fix rule reset time on arm

  PR:		194381
  Submitted by:	ronald-lists@klop.ws
  Approved by:	portmgr

Changes:
_U  branches/2014Q4/
  branches/2014Q4/security/bruteblock/Makefile
  branches/2014Q4/security/bruteblock/files/patch-bruteblock.c