Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2019 14:11:46 +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: r490792 - in head/security/sandsifter: . files
Message-ID:  <201901201411.x0KEBkro019319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Sun Jan 20 14:11:46 2019
New Revision: 490792
URL: https://svnweb.freebsd.org/changeset/ports/490792

Log:
  security/sandsifter: update to version 1.03
  
  This version is based on a fork of the original repository (which was
  itself a fork) and is the same fork that Debian and Ubuntu use. The
  previous repository is no longer under development.
  
  Some binaries have been renamed by the new upstream.
  
  Extend pkg-messsage with some more usage instructions.
  
  Reported by:	repology

Deleted:
  head/security/sandsifter/files/patch-Makefile
  head/security/sandsifter/files/patch-sifter.py
Modified:
  head/security/sandsifter/Makefile
  head/security/sandsifter/distinfo
  head/security/sandsifter/pkg-descr
  head/security/sandsifter/pkg-message
  head/security/sandsifter/pkg-plist

Modified: head/security/sandsifter/Makefile
==============================================================================
--- head/security/sandsifter/Makefile	Sun Jan 20 14:06:31 2019	(r490791)
+++ head/security/sandsifter/Makefile	Sun Jan 20 14:11:46 2019	(r490792)
@@ -1,7 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	sandsifter
-PORTVERSION=	0.20170906
+PORTVERSION=	1.03
+DISTVERSIONPREFIX=v
 CATEGORIES=	security
 
 MAINTAINER=	rene@FreeBSD.org
@@ -17,24 +18,28 @@ BUILD_DEPENDS=	${LOCALBASE}/include/capstone/capstone.
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}capstone>0:devel/py-capstone@${PY_FLAVOR}
 
 USES=		gmake python localbase shebangfix
-
 USE_GITHUB=	yes
-GH_ACCOUNT=	xoreaxeaxeax
-GH_TAGNAME=	8375e6123d093629e3e4437d7903839fd0742c2a
-SHEBANG_FILES=	sifter.py summarize.py
+GH_ACCOUNT=	rigred
 
+SHEBANG_FILES=	sifter.py sifter-summarize.py
+
 OPTIONS_DEFINE=	DOCS
 
 PORTDOCS=	references/*
 
+post-patch:
+	${REINPLACE_CMD} -e 's,/proc/cpuinfo,/compat/linux/proc/cpuinfo,' \
+			-e 's,/usr/sbin,${PREFIX}/sbin,' \
+			${WRKSRC}/sifter.py
+
 do-install:
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} gui ${STAGEDIR}${DATADIR})
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} pyutil ${STAGEDIR}${DATADIR})
-	${INSTALL_PROGRAM} ${WRKSRC}/injector ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/sifter-injector ${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_SCRIPT} ${WRKSRC}/sifter.py ${STAGEDIR}${DATADIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/summarize.py ${STAGEDIR}${DATADIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/sifter-summarize.py ${STAGEDIR}${DATADIR}
 	${RLN} ${STAGEDIR}${DATADIR}/sifter.py ${STAGEDIR}${PREFIX}/bin/sifter
-	${RLN} ${STAGEDIR}${DATADIR}/summarize.py ${STAGEDIR}${PREFIX}/bin/summarize
+	${RLN} ${STAGEDIR}${DATADIR}/sifter-summarize.py ${STAGEDIR}${PREFIX}/bin/sifter-summarize
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 

Modified: head/security/sandsifter/distinfo
==============================================================================
--- head/security/sandsifter/distinfo	Sun Jan 20 14:06:31 2019	(r490791)
+++ head/security/sandsifter/distinfo	Sun Jan 20 14:11:46 2019	(r490792)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1523479892
-SHA256 (xoreaxeaxeax-sandsifter-0.20170906-8375e6123d093629e3e4437d7903839fd0742c2a_GH0.tar.gz) = 5c77f7d7158b4b3a4a6f723526361ae0f0560b5495b4ef95f7a4f4f4472f0c49
-SIZE (xoreaxeaxeax-sandsifter-0.20170906-8375e6123d093629e3e4437d7903839fd0742c2a_GH0.tar.gz) = 5285733
+TIMESTAMP = 1547931250
+SHA256 (rigred-sandsifter-v1.03_GH0.tar.gz) = aece752dbe1831b2c215d9345b124ad9fb0180996dc81bff34fdc3a609332e9c
+SIZE (rigred-sandsifter-v1.03_GH0.tar.gz) = 5288254

Modified: head/security/sandsifter/pkg-descr
==============================================================================
--- head/security/sandsifter/pkg-descr	Sun Jan 20 14:06:31 2019	(r490791)
+++ head/security/sandsifter/pkg-descr	Sun Jan 20 14:11:46 2019	(r490792)
@@ -6,4 +6,7 @@ every major vendor; ubiquitous software bugs in disass
 assemblers, and emulators; flaws in enterprise hypervisors; and both
 benign and security-critical hardware bugs in x86 chips.
 
-WWW: https://github.com/xoreaxeaxeax/sandsifter
+Run this program under sudo so that it will use the correct directories
+to store its data.
+
+WWW: https://github.com/rigred/sandsifter

Modified: head/security/sandsifter/pkg-message
==============================================================================
--- head/security/sandsifter/pkg-message	Sun Jan 20 14:06:31 2019	(r490791)
+++ head/security/sandsifter/pkg-message	Sun Jan 20 14:11:46 2019	(r490792)
@@ -3,3 +3,5 @@
 Before using this tool you should do the following as root:
 # sysctl security.bsd.map_at_zero=1
 # mount -t linprocfs linproc /compat/linux/proc
+
+Also make sure you use a 256-color capable terminal of at least 40 rows high.

Modified: head/security/sandsifter/pkg-plist
==============================================================================
--- head/security/sandsifter/pkg-plist	Sun Jan 20 14:06:31 2019	(r490791)
+++ head/security/sandsifter/pkg-plist	Sun Jan 20 14:11:46 2019	(r490792)
@@ -1,6 +1,6 @@
-bin/injector
 bin/sifter
-bin/summarize
+bin/sifter-summarize
+sbin/sifter-injector
 %%PORTDOCS%%%%DOCSDIR%%/README.md
 %%PORTDOCS%%%%DOCSDIR%%/domas_breaking_the_x86_isa.pdf
 %%PORTDOCS%%%%DOCSDIR%%/domas_breaking_the_x86_isa_wp.pdf
@@ -13,4 +13,4 @@ bin/summarize
 %%DATADIR%%/pyutil/colors.py
 %%DATADIR%%/pyutil/progress.py
 %%DATADIR%%/sifter.py
-%%DATADIR%%/summarize.py
+%%DATADIR%%/sifter-summarize.py



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