From owner-svn-ports-all@freebsd.org Sun Jan 20 14:11:47 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6F6214911B1; Sun, 20 Jan 2019 14:11:47 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D79597D63; Sun, 20 Jan 2019 14:11:47 +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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 619B03492; Sun, 20 Jan 2019 14:11:47 +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 x0KEBl82019324; Sun, 20 Jan 2019 14:11:47 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0KEBkro019319; Sun, 20 Jan 2019 14:11:46 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201901201411.x0KEBkro019319@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Sun, 20 Jan 2019 14:11:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r490792 - 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: 490792 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6D79597D63 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.93 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.93)[-0.928,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Sun, 20 Jan 2019 14:11:48 -0000 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