Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2017 18:07:27 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451000 - in head/security/sandsifter: . files
Message-ID:  <201709301807.v8UI7RL7074407@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
  



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