From owner-svn-ports-all@freebsd.org Sun Jan 21 12:40:38 2018 Return-Path: Delivered-To: svn-ports-all@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 D60BEEC8E6F; Sun, 21 Jan 2018 12:40:38 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B057669E28; Sun, 21 Jan 2018 12:40:38 +0000 (UTC) (envelope-from antoine@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 CC5333C8D; Sun, 21 Jan 2018 12:40:37 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0LCebBR013647; Sun, 21 Jan 2018 12:40:37 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0LCebr0013645; Sun, 21 Jan 2018 12:40:37 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201801211240.w0LCebr0013645@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Sun, 21 Jan 2018 12:40:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459602 - in head/security/py-volatility: . files X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: in head/security/py-volatility: . files X-SVN-Commit-Revision: 459602 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 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, 21 Jan 2018 12:40:38 -0000 Author: antoine Date: Sun Jan 21 12:40:37 2018 New Revision: 459602 URL: https://svnweb.freebsd.org/changeset/ports/459602 Log: Fix a deprecation warning when using psxview with xlsx output Modified: head/security/py-volatility/Makefile head/security/py-volatility/files/patch-volatility_plugins_malware_psxview.py Modified: head/security/py-volatility/Makefile ============================================================================== --- head/security/py-volatility/Makefile Sun Jan 21 12:38:25 2018 (r459601) +++ head/security/py-volatility/Makefile Sun Jan 21 12:40:37 2018 (r459602) @@ -3,7 +3,7 @@ PORTNAME= volatility PORTVERSION= 2.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security python MASTER_SITES= http://downloads.volatilityfoundation.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} Modified: head/security/py-volatility/files/patch-volatility_plugins_malware_psxview.py ============================================================================== --- head/security/py-volatility/files/patch-volatility_plugins_malware_psxview.py Sun Jan 21 12:38:25 2018 (r459601) +++ head/security/py-volatility/files/patch-volatility_plugins_malware_psxview.py Sun Jan 21 12:40:37 2018 (r459602) @@ -47,9 +47,12 @@ ws = wb.create_sheet() ws.title = "Psxview Output" ws.append(["Offset (P)", -@@ -350,13 +350,13 @@ class PsXview(common.AbstractWindowsComm +@@ -348,15 +348,15 @@ class PsXview(common.AbstractWindowsComm + wb.save(filename = self._config.OUTPUT_FILE) + wb = load_workbook(filename = self._config.OUTPUT_FILE) - ws = wb.get_sheet_by_name(name = "Psxview Output") +- ws = wb.get_sheet_by_name(name = "Psxview Output") ++ ws = wb["Psxview Output"] for col in xrange(1, 12): - ws.cell("{0}{1}".format(get_column_letter(col), 1)).style = BoldStyle + ws["{0}{1}".format(get_column_letter(col), 1)].style = BoldStyle