Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 20:12:45 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462345 - in head/devel/py-oletools: . files
Message-ID:  <201802192012.w1JKCjIP017084@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Feb 19 20:12:45 2018
New Revision: 462345
URL: https://svnweb.freebsd.org/changeset/ports/462345

Log:
  Update to 0.52

Added:
  head/devel/py-oletools/files/
  head/devel/py-oletools/files/patch-oletools_oleform.py   (contents, props changed)
Modified:
  head/devel/py-oletools/Makefile
  head/devel/py-oletools/distinfo

Modified: head/devel/py-oletools/Makefile
==============================================================================
--- head/devel/py-oletools/Makefile	Mon Feb 19 20:12:11 2018	(r462344)
+++ head/devel/py-oletools/Makefile	Mon Feb 19 20:12:45 2018	(r462345)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	oletools
-PORTVERSION=	0.51
+PORTVERSION=	0.52
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,12 @@ COMMENT=	Tools to analyze security characteristics of 
 
 LICENSE=	BSD2CLAUSE MIT
 LICENSE_COMB=	multi
-LICENSE_FILE_BSD2CLAUSE=	${WRKSRC}/oletools/LICENSE.txt
-LICENSE_FILE_MIT=	${WRKSRC}/oletools/LICENSE.txt
+LICENSE_FILE=	${WRKSRC}/oletools/LICENSE.txt
 
 NO_ARCH=	yes
-USES=		python
-USE_PYTHON=	distutils autoplist
+USES=		dos2unix python zip
+USE_LOCALE=	en_US.UTF-8
+USE_PYTHON=	distutils concurrent autoplist
+DOS2UNIX_FILES=	oletools/oleform.py
 
 .include <bsd.port.mk>

Modified: head/devel/py-oletools/distinfo
==============================================================================
--- head/devel/py-oletools/distinfo	Mon Feb 19 20:12:11 2018	(r462344)
+++ head/devel/py-oletools/distinfo	Mon Feb 19 20:12:45 2018	(r462345)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1498801825
-SHA256 (oletools-0.51.tar.gz) = 4f15755db9c9e2ddea49e6c442609ed9f10d80c4bbf2b4f9be12a0a5695020e9
-SIZE (oletools-0.51.tar.gz) = 1514225
+TIMESTAMP = 1519025087
+SHA256 (oletools-0.52.zip) = c31573803881dd129d539c9df2bc6aeeedced6b57c3d0b7771d9dcd591780e14
+SIZE (oletools-0.52.zip) = 1669867

Added: head/devel/py-oletools/files/patch-oletools_oleform.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-oletools/files/patch-oletools_oleform.py	Mon Feb 19 20:12:45 2018	(r462345)
@@ -0,0 +1,29 @@
+--- oletools/oleform.py.orig	2018-02-19 16:28:01 UTC
++++ oletools/oleform.py
+@@ -118,7 +118,7 @@ def consume_TextProps(stream):
+ def consume_GuidAndFont(stream):
+     # GuidAndFont: [MS-OFORMS] 2.4.7
+     UUIDS = stream.unpacks('<LHH', 8) + stream.unpacks('>Q', 8)
+-    if UUIDS == (199447043, 36753, 4558, 11376937813817407569L):
++    if UUIDS == (199447043, 36753, 4558, 11376937813817407569):
+         # UUID == {0BE35203-8F91-11CE-9DE300AA004BB851}
+         # StdFont: [MS-OFORMS] 2.4.12
+         stream.check_value('StdFont (version)', '<B', 1, 1)
+@@ -126,7 +126,7 @@ def consume_GuidAndFont(stream):
+         stream.read(9)
+         bFaceLen = stream.unpack('<B', 1)
+         stream.read(bFaceLen)
+-    elif UUIDS == (2948729120, 55886, 4558, 13349514450607572916L):
++    elif UUIDS == (2948729120, 55886, 4558, 13349514450607572916):
+         # UUID == {AFC20920-DA4E-11CE-B94300AA006887B4}
+         consume_TextProps(stream)
+     else:
+@@ -136,7 +136,7 @@ def consume_GuidAndPicture(stream):
+     # GuidAndPicture: [MS-OFORMS] 2.4.8
+     # UUID == {0BE35204-8F91-11CE-9DE3-00AA004BB851}
+     stream.check_values('GuidAndPicture (UUID part 1)', '<LHH', 8, (199447044, 36753, 4558))
+-    stream.check_value('GuidAndPicture (UUID part 1)', '>Q', 8, 11376937813817407569L)
++    stream.check_value('GuidAndPicture (UUID part 1)', '>Q', 8, 11376937813817407569)
+     # StdPicture: [MS-OFORMS] 2.4.13
+     stream.check_value('StdPicture (Preamble)', '<L', 4, 0x0000746C)
+     size = stream.unpack('<L', 4)



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