From de3dd6bed108751770856f4419f9e3d196da935ce558b308fbb46cf455853ac1 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Tue, 7 Apr 2020 19:33:40 +0000 Subject: [PATCH 1/2] Accepting request 792034 from home:gregfreemyer:Tools-for-forensic-boot-cd - update to v0~20191221 * Added binary XML creation time to API and evtxexport #21 * worked on tests - add python3 subpackage OBS-URL: https://build.opensuse.org/request/show/792034 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libevtx?expand=0&rev=17 --- libevtx-alpha-20181227.tar.gz | 3 --- libevtx-alpha-20191221.tar.gz | 3 +++ libevtx.changes | 8 ++++++++ libevtx.spec | 36 +++++++++++++++++++++++++---------- 4 files changed, 37 insertions(+), 13 deletions(-) delete mode 100644 libevtx-alpha-20181227.tar.gz create mode 100644 libevtx-alpha-20191221.tar.gz diff --git a/libevtx-alpha-20181227.tar.gz b/libevtx-alpha-20181227.tar.gz deleted file mode 100644 index 2c8ada2..0000000 --- a/libevtx-alpha-20181227.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d0661138389a0ffc01428143c7a905d6dc60837912dc7fd04624b356dea4ead -size 1912084 diff --git a/libevtx-alpha-20191221.tar.gz b/libevtx-alpha-20191221.tar.gz new file mode 100644 index 0000000..9a1767d --- /dev/null +++ b/libevtx-alpha-20191221.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c621b55c88b44786a28d19e02f976e33ce0c46c8de898d2d67d0e34da37a29d5 +size 1949526 diff --git a/libevtx.changes b/libevtx.changes index af9a073..e8a4f24 100644 --- a/libevtx.changes +++ b/libevtx.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Apr 7 18:49:27 UTC 2020 - Greg Freemyer + +- update to v0~20191221 + * Added binary XML creation time to API and evtxexport #21 + * worked on tests +- add python3 subpackage + ------------------------------------------------------------------- Thu Mar 28 17:20:30 UTC 2019 - Greg Freemyer diff --git a/libevtx.spec b/libevtx.spec index 4694209..88d794e 100644 --- a/libevtx.spec +++ b/libevtx.spec @@ -1,7 +1,7 @@ # # spec file for package libevtx # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,13 @@ Name: libevtx %define lname libevtx1 -%define timestamp 20181227 +%define timestamp 20191221 Version: 0~%timestamp Release: 0 Summary: Library and tools to access the Windows XML Event Log (EVTX) format License: LGPL-3.0-or-later AND GFDL-1.3-only Group: Productivity/File utilities -Url: https://github.com/libyal/libevtx/wiki +URL: https://github.com/libyal/libevtx/wiki Source: https://github.com/libyal/libevtx/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz Source2: Windows_XML_Event_Log_EVTX.pdf BuildRequires: pkg-config @@ -92,15 +92,25 @@ libevtx is a library to access the Windows XML Event log format. This subpackage contains libraries and header files for developing applications that want to make use of %name. -%package -n python-%name +%package -n python2-%name +Summary: Python2 bindings for libevtx +License: LGPL-3.0-or-later +Group: Development/Libraries/Python +Requires: %lname = %version +BuildRequires: pkgconfig(python2) +Obsoletes: pyevtx <= 20191221 + +%description -n python2-%name +Python bindings for libevtx, which can read Windows XML Event files. + +%package -n python3-%name Summary: Python bindings for libevtx License: LGPL-3.0-or-later Group: Development/Libraries/Python Requires: %lname = %version -Requires: python -Provides: pyevtx = %version +BuildRequires: pkgconfig(python3) -%description -n python-%name +%description -n python3-%name Python bindings for libevtx, which can read Windows XML Event files. %prep @@ -108,7 +118,7 @@ Python bindings for libevtx, which can read Windows XML Event files. cp "%SOURCE2" . %build -%configure --disable-static --enable-wide-character-type --enable-python +%configure --disable-static --enable-wide-character-type --enable-python2 --enable-python3 make %{?_smp_mflags} %install @@ -138,10 +148,16 @@ find %buildroot -name '*.la' -delete %_libdir/pkgconfig/libevtx.pc %_mandir/man3/libevtx.3* -%files -n python-%name +%files -n python2-%name %defattr(-,root,root) %doc AUTHORS README %license COPYING -%python_sitearch/pyevtx.so +%python2_sitearch/pyevtx.so + +%files -n python3-%name +%defattr(-,root,root) +%doc AUTHORS README +%license COPYING +%python3_sitearch/pyevtx.so %changelog From 402351bf3ae9a0a1c71380084366e4197561017b80c3930f3a231d8e4b8be647 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Wed, 8 Apr 2020 22:55:06 +0000 Subject: [PATCH 2/2] Accepting request 792564 from home:gregfreemyer:Tools-for-forensic-boot-cd - update to v0~20191221 * Added binary XML creation time to API and evtxexport #21 * worked on tests - rename python-libevtx to python2-libevtx - add python3 subpackage - update to v0~20181227 * work on python bindings * code clean-up * documentation fixes * Added fallback for caseless wide string compare * address libfdata API changes - update to v0~20160107 * 2016 update * worked on Python 3 support * Worked on format support * applied updates * worked on Python bindings * updated m4 scripts * changed version for pypi repacking * worked on setup.py - use internal libfwevt. fixes failures found in integration testing with plaso - update to v0~20150105 * 2015 update * worked on Python 3 support * worked on tests * code clean up - Use libyal packages from OBS where appropriate * test the builds by running "run_tests.py" from the plaso tarball * don't use OBS packages thst introduce test failures. - update to 0~20141112 * changes to expose the event identifier qualifiers in the python bindings * updated dependencies and corresponding changes * update Python-bindings tests - update URL and Source fields to use the new github site - update to 0~20140901 * bug fix in Python-bindings - update Source: field to have fullpath, delete DL_URL - testing failed, passes if these 2 internal packages are used * libfguid * libfdatetime - add these 2 lines to python sub-project to ensure proper syncronization between versions * Requires: %lname = %version * Provides: pyevtx = %version - update to 0~20140731 * bug fix in Python-bindings * worked on dpkg debug packages support * updated dependencies * worked on Python-bindings * replaced PackageMaker for pkgbuild * code clean up * worked on setup.py * added evtxexport man page * removed examples * 2014 update * small fix in evtxexport -h output - use libregf from external package - using internal libregf, latest factory update broke libevtx - update to 0~20131013 * updated dependencies - using internal libwrc, latest factory update broke libevtx - removed 0~ from buildrequires dependencies - update to 0~20130923 * updated dependencies * worked on libcthreads build support - update to 0~20130727 * updated dependencies * pyevtx - changed event identifier to an unsigned long - fixes for >2G file objects in BFIO glue code - other updates and bug fixes * removed unnecessary restriction in library include headers * worked on tests * improved reading from dirty files with an incorrect number of chunks * fix for encoding special characters in XML output * added support for parsing ProcessingErrorData * worked on improving corruption detection for recovered records * textual changes * fixed codepage 1255 restriction * improvements to message string support - changed to gz compression to simplyfy donwload/convert - used factory version of libyal libraries if possible - update to 0~20130329 * bug fix for recent libfdata changes - Cleanups: Set RPM group, license, summary and description metadata; remove unused %py_requires; do not bloat shlib package with documentation - Use system libraries instead of bundled ones where possible - Name the tools package according to upstream's recommendation - Drop unnecessary -fno-strict-aliasing - initial package (version 0~20130319) for build.opensuse.org OBS-URL: https://build.opensuse.org/request/show/792564 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libevtx?expand=0&rev=18 --- libevtx.changes | 1 + libevtx.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/libevtx.changes b/libevtx.changes index e8a4f24..de71fb6 100644 --- a/libevtx.changes +++ b/libevtx.changes @@ -4,6 +4,7 @@ Tue Apr 7 18:49:27 UTC 2020 - Greg Freemyer - update to v0~20191221 * Added binary XML creation time to API and evtxexport #21 * worked on tests +- rename python-libevtx to python2-libevtx - add python3 subpackage ------------------------------------------------------------------- diff --git a/libevtx.spec b/libevtx.spec index 88d794e..80a4cb9 100644 --- a/libevtx.spec +++ b/libevtx.spec @@ -99,6 +99,7 @@ Group: Development/Libraries/Python Requires: %lname = %version BuildRequires: pkgconfig(python2) Obsoletes: pyevtx <= 20191221 +Obsoletes: python-%name <= 20191221 %description -n python2-%name Python bindings for libevtx, which can read Windows XML Event files.