Package: release.debian.org Severity: normal Tags: buster User: [email protected] Usertags: pu
Hi, let's make python-evtx usable in buster by fixing the hexdump import. This change is cherry-picked from sid. the package is already uploaded. Andreas
diff -Nru python-evtx-0.6.1/debian/changelog python-evtx-0.6.1/debian/changelog --- python-evtx-0.6.1/debian/changelog 2017-07-17 10:09:27.000000000 +0200 +++ python-evtx-0.6.1/debian/changelog 2020-01-10 01:26:07.000000000 +0100 @@ -1,3 +1,12 @@ +python-evtx (0.6.1-1+deb10u1) buster; urgency=medium + + * Non-maintainer upload. + + [ Hilko Bengen ] + * Fix hexdump import (Closes: #942353) + + -- Andreas Beckmann <[email protected]> Fri, 10 Jan 2020 01:26:07 +0100 + python-evtx (0.6.1-1) unstable; urgency=medium * New upstream version 0.6.1 diff -Nru python-evtx-0.6.1/debian/patches/0001-Add-missing-hexdump.patch python-evtx-0.6.1/debian/patches/0001-Add-missing-hexdump.patch --- python-evtx-0.6.1/debian/patches/0001-Add-missing-hexdump.patch 2017-07-17 10:02:49.000000000 +0200 +++ python-evtx-0.6.1/debian/patches/0001-Add-missing-hexdump.patch 2020-01-10 01:26:07.000000000 +0100 @@ -3,12 +3,27 @@ Subject: Add missing hexdump --- - Evtx/hexdump.py | 466 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 466 insertions(+) - create mode 100755 Evtx/hexdump.py + Evtx/Nodes.py | 2 +- + Evtx/hexdump.py | 466 +++++++++++++++++++++++++++++++++++++++ + scripts/evtx_record_structure.py | 2 +- + 3 files changed, 468 insertions(+), 2 deletions(-) + create mode 100644 Evtx/hexdump.py +diff --git a/Evtx/Nodes.py b/Evtx/Nodes.py +index 216321d..20b1cbe 100644 +--- a/Evtx/Nodes.py ++++ b/Evtx/Nodes.py +@@ -22,7 +22,7 @@ import base64 + import itertools + + import six +-import hexdump ++import Evtx.hexdump as hexdump + + from .BinaryParser import Block + from .BinaryParser import ParseException diff --git a/Evtx/hexdump.py b/Evtx/hexdump.py -new file mode 100755 +new file mode 100644 index 0000000..fc0e97e --- /dev/null +++ b/Evtx/hexdump.py @@ -479,3 +494,14 @@ +# [ ] document chunking API +# [ ] document hexdump API +# [ ] blog about sys.stdout text mode problem on Windows +diff --git a/scripts/evtx_record_structure.py b/scripts/evtx_record_structure.py +index 0da7afa..e19cd25 100755 +--- a/scripts/evtx_record_structure.py ++++ b/scripts/evtx_record_structure.py +@@ -1,5 +1,5 @@ + #!/usr/bin/env python +-import hexdump ++import Evtx.hexdump as hexdump + + import Evtx.Evtx as evtx + from Evtx.Nodes import RootNode

