Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2014 20:27:29 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370950 - in head/security/bruteblock: . files
Message-ID:  <201410152027.s9FKRTjO043860@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Oct 15 20:27:29 2014
New Revision: 370950
URL: https://svnweb.freebsd.org/changeset/ports/370950
QAT: https://qat.redports.org/buildarchive/r370950/

Log:
  - Fix rule reset time on arm
  
  PR:		194381
  Submitted by:	ronald-lists@klop.ws
  MFH:		2014Q4

Added:
  head/security/bruteblock/files/patch-bruteblock.c   (contents, props changed)
Modified:
  head/security/bruteblock/Makefile

Modified: head/security/bruteblock/Makefile
==============================================================================
--- head/security/bruteblock/Makefile	Wed Oct 15 19:48:22 2014	(r370949)
+++ head/security/bruteblock/Makefile	Wed Oct 15 20:27:29 2014	(r370950)
@@ -3,7 +3,7 @@
 
 PORTNAME=	bruteblock
 PORTVERSION=	0.0.5
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	security
 MASTER_SITES=	http://samm.kiev.ua/bruteblock/ \
 		http://mirror.amdmi3.ru/distfiles/

Added: head/security/bruteblock/files/patch-bruteblock.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/bruteblock/files/patch-bruteblock.c	Wed Oct 15 20:27:29 2014	(r370950)
@@ -0,0 +1,11 @@
+--- bruteblock.c.orig	2006-08-20 08:22:37.000000000 +0200
++++ bruteblock.c	2014-10-15 16:19:19.000000000 +0200
+@@ -99,7 +99,7 @@
+ 				snprintf(table, sizeof(table), "%d", ipfw2_table_no);
+ 				argv[1] = table;
+ 				argv[2] = command;
+-				snprintf(utime, sizeof(utime), "%d",
++				snprintf(utime, sizeof(utime), "%lld",
+ 				time(NULL) + reset_ip);
+ 				argv[4] = utime;
+ 				argv[3] = host;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410152027.s9FKRTjO043860>