From owner-svn-ports-head@freebsd.org Sat Sep 30 18:07:29 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79E83E2C280; Sat, 30 Sep 2017 18:07:29 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 A5B6876BE6; Sat, 30 Sep 2017 18:07:28 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8UI7Rs0074409; Sat, 30 Sep 2017 18:07:27 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8UI7RL7074407; Sat, 30 Sep 2017 18:07:27 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201709301807.v8UI7RL7074407@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Sat, 30 Sep 2017 18:07:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451000 - in head/security/sandsifter: . files X-SVN-Group: ports-head X-SVN-Commit-Author: rene X-SVN-Commit-Paths: in head/security/sandsifter: . files X-SVN-Commit-Revision: 451000 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Sep 2017 18:07:29 -0000 Author: rene Date: Sat Sep 30 18:07:27 2017 New Revision: 451000 URL: https://svnweb.freebsd.org/changeset/ports/451000 Log: security/sandsifter: post-commit fixes - spell ONLY_FOR_ARCH_REASON correctly [1] - remove stale import which broke running the port [2] PR: 222701 [2] Submitted by: John Smith (godevilove AT ya.ru) [2] Submitted by: adamw [1] via private mail Modified: head/security/sandsifter/Makefile head/security/sandsifter/files/patch-sifter.py Modified: head/security/sandsifter/Makefile ============================================================================== --- head/security/sandsifter/Makefile Sat Sep 30 17:46:41 2017 (r450999) +++ head/security/sandsifter/Makefile Sat Sep 30 18:07:27 2017 (r451000) @@ -13,7 +13,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>0:devel/p USES= gmake python localbase shebangfix ONLY_FOR_ARCH= amd64 i386 -ONLY_FOR_ARCH_RAESON=Designed for x86 +ONLY_FOR_ARCH_REASON=Designed for x86 USE_GITHUB= yes GH_ACCOUNT= xoreaxeaxeax Modified: head/security/sandsifter/files/patch-sifter.py ============================================================================== --- head/security/sandsifter/files/patch-sifter.py Sat Sep 30 17:46:41 2017 (r450999) +++ head/security/sandsifter/files/patch-sifter.py Sat Sep 30 18:07:27 2017 (r451000) @@ -1,10 +1,8 @@ ---- sifter.py.orig 2017-09-22 12:42:26 UTC +--- sifter.py.orig 2017-09-30 17:57:06 UTC +++ sifter.py -@@ -26,11 +26,12 @@ import argparse - import code +@@ -27,10 +27,10 @@ import code import copy from ctypes import * -+import sysctl -INJECTOR = "./injector" +INJECTOR = "injector" @@ -15,7 +13,7 @@ LOG = OUTPUT + "log" SYNC = OUTPUT + "sync" TICK = OUTPUT + "tick" -@@ -679,7 +680,7 @@ class Gui: +@@ -679,7 +679,7 @@ class Gui: time.sleep(self.TIME_SLICE) def get_cpu_info(): @@ -24,7 +22,7 @@ cpu = [l.strip() for l in f.readlines()[:7]] return cpu -@@ -808,9 +809,16 @@ def main(): +@@ -808,9 +808,16 @@ def main(): if not os.path.exists(OUTPUT): os.makedirs(OUTPUT)