From owner-svn-ports-all@FreeBSD.ORG Thu Apr 9 01:04:56 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D1BFDB9; Thu, 9 Apr 2015 01:04:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0866860D; Thu, 9 Apr 2015 01:04:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3914tFN053723; Thu, 9 Apr 2015 01:04:55 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3914tSC053719; Thu, 9 Apr 2015 01:04:55 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201504090104.t3914tSC053719@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 9 Apr 2015 01:04:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383615 - in head/security/bruteblock: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2015 01:04:56 -0000 Author: amdmi3 Date: Thu Apr 9 01:04:54 2015 New Revision: 383615 URL: https://svnweb.freebsd.org/changeset/ports/383615 Log: - Fix printing time_t on i386 PR: 199263 Submitted by: fesse@mail.ru Modified: head/security/bruteblock/Makefile head/security/bruteblock/files/patch-bruteblock.c Modified: head/security/bruteblock/Makefile ============================================================================== --- head/security/bruteblock/Makefile Wed Apr 8 22:52:29 2015 (r383614) +++ head/security/bruteblock/Makefile Thu Apr 9 01:04:54 2015 (r383615) @@ -3,7 +3,7 @@ PORTNAME= bruteblock PORTVERSION= 0.0.5 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= security MASTER_SITES= http://samm.kiev.ua/bruteblock/ \ http://mirror.amdmi3.ru/distfiles/ Modified: head/security/bruteblock/files/patch-bruteblock.c ============================================================================== --- head/security/bruteblock/files/patch-bruteblock.c Wed Apr 8 22:52:29 2015 (r383614) +++ head/security/bruteblock/files/patch-bruteblock.c Thu Apr 9 01:04:54 2015 (r383615) @@ -5,7 +5,8 @@ argv[1] = table; argv[2] = command; - snprintf(utime, sizeof(utime), "%d", +- time(NULL) + reset_ip); + snprintf(utime, sizeof(utime), "%lld", - time(NULL) + reset_ip); ++ (long long)(time(NULL) + reset_ip)); argv[4] = utime; argv[3] = host;