Bug 194381 - [patch] security/bruteblock: make ipfw rule timeout work on arm
Summary: [patch] security/bruteblock: make ipfw rule timeout work on arm
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 14:29 UTC by Ronald Klop
Modified: 2015-04-09 01:05 UTC (History)
0 users

See Also:
ronald-lists: maintainer-feedback? (amdmi3)


Attachments
patch for fixing the timeout on arm (392 bytes, text/x-csrc)
2014-10-15 14:29 UTC, Ronald Klop
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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