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
This commit is contained in:
parent
1ed4c2da3f
commit
312799b702
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=451000
2 changed files with 5 additions and 7 deletions
|
@ -13,7 +13,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>0:devel/py-capstone
|
|||
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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue