From 89f0e5def6ed520168256ad653ea18c73080090b16e25475f71bc0bd4e9a6d56 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Tue, 7 Apr 2020 15:58:42 +0000 Subject: [PATCH 1/2] Accepting request 792017 from home:gregfreemyer:Tools-for-forensic-boot-cd - update to v0~20191220 * code clean-up * increased format support - add python3 binding subpackage - Use libcerror and libcstring from factory instead of internal versions OBS-URL: https://build.opensuse.org/request/show/792017 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libesedb?expand=0&rev=10 --- libesedb-experimental-20181229.tar.gz | 3 -- libesedb-experimental-20191220.tar.gz | 3 ++ libesedb.changes | 9 +++++ libesedb.spec | 50 +++++++++++++++++++-------- 4 files changed, 47 insertions(+), 18 deletions(-) delete mode 100644 libesedb-experimental-20181229.tar.gz create mode 100644 libesedb-experimental-20191220.tar.gz diff --git a/libesedb-experimental-20181229.tar.gz b/libesedb-experimental-20181229.tar.gz deleted file mode 100644 index 28d84a7..0000000 --- a/libesedb-experimental-20181229.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa84b43179755241003f5b76a5193c2c1793a36f4566ed09ff564deaff5b7e63 -size 1840102 diff --git a/libesedb-experimental-20191220.tar.gz b/libesedb-experimental-20191220.tar.gz new file mode 100644 index 0000000..a167b01 --- /dev/null +++ b/libesedb-experimental-20191220.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:584e7df266900fd1f51337fd34fb889cbd72eb14af1c9429e0849dafa7d37997 +size 1880534 diff --git a/libesedb.changes b/libesedb.changes index 7a67e4d..920c080 100644 --- a/libesedb.changes +++ b/libesedb.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Apr 7 15:32:21 UTC 2020 - Greg Freemyer + +- update to v0~20191220 + * code clean-up + * increased format support +- add python3 binding subpackage +- Use libcerror and libcstring from factory instead of internal versions + ------------------------------------------------------------------- Thu Mar 28 16:29:35 UTC 2019 - Greg Freemyer diff --git a/libesedb.spec b/libesedb.spec index 8969f3b..4bd5924 100644 --- a/libesedb.spec +++ b/libesedb.spec @@ -1,7 +1,7 @@ # # spec file for package libesedb # -# 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 @@ -17,14 +17,14 @@ %define lname libesedb1 -%define timestamp 20181229 +%define timestamp 20191220 Name: libesedb Version: 0~%{timestamp} Release: 0 Summary: Library and tools to access the ESE Database File (EDB) format License: LGPL-3.0-or-later AND GFDL-1.1-or-later AND GFDL-1.3-or-later Group: Productivity/File utilities -Url: https://github.com/libyal/libesedb/wiki +URL: https://github.com/libyal/libesedb/wiki Source: https://github.com/libyal/libesedb/releases/download/%timestamp/%{name}-experimental-%{timestamp}.tar.gz Source2: Exchange.pdf Source3: Extensible_Storage_Engine_ESE_Database_File_EDB_format.pdf @@ -36,12 +36,14 @@ BuildRequires: python-devel BuildRequires: pkgconfig(libbfio) >= 20130721 BuildRequires: pkgconfig(libcdata) >= 20140105 BuildRequires: pkgconfig(libcerror) >= 20140105 +BuildRequires: pkgconfig(libcerror) >= 20181117 BuildRequires: pkgconfig(libcfile) >= 20130609 BuildRequires: pkgconfig(libclocale) >= 20130609 BuildRequires: pkgconfig(libcnotify) >= 20120425 BuildRequires: pkgconfig(libcpath) >= 20130609 BuildRequires: pkgconfig(libcsplit) >= 20130609 BuildRequires: pkgconfig(libcstring) >= 20120425 +BuildRequires: pkgconfig(libcstring) >= 20150101 BuildRequires: pkgconfig(libcsystem) >= 20120425 BuildRequires: pkgconfig(libcthreads) >= 20130723 BuildRequires: pkgconfig(libfcache) >= 20120405 @@ -52,11 +54,7 @@ BuildRequires: pkgconfig(libfmapi) BuildRequires: pkgconfig(libfvalue) BuildRequires: pkgconfig(libfwnt) BuildRequires: pkgconfig(libmapidb) -BuildRequires: pkgconfig(libuna) >= 20120425 - -#Use internal package. OBS version causes build failure. Tested Feb 7, 2016 -#BuildRequires: pkgconfig(libcerror) >= 20140105 -#BuildRequires: pkgconfig(libcstring) >= 20120425 +BuildRequires: pkgconfig(libuna) >= 20190102 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -93,19 +91,35 @@ applications like Windows Search, Windows Mail, Exchange, Active Directory, etc. This subpackage contains libraries and header files for developing applications that want to make use of libesedb. -%package -n python-%{name} +%package -n python2-%{name} Summary: Python bindings for libesedb, a EDB file format parser License: LGPL-3.0-or-later Group: Development/Libraries/Python Requires: %{lname} = %{version} Requires: python -Provides: pyesedb +BuildRequires: pkgconfig(python2) +Obsoletes: pyesedb <= 20191220 -%description -n python-%{name} +%description -n python2-%{name} libesedb is a library to access EDB files. ESEDB is used in many different applications like Windows Search, Windows Mail, Exchange, Active Directory, etc. -Python bindings for libesedb, which can read EDB files. ESEDB is used in many +Python2 bindings for libesedb, which can read EDB files. ESEDB is used in many +different applications like Windows Search, Windows Mail, Exchange, Active +Directory, etc. + +%package -n python3-%{name} +Summary: Python bindings for libesedb, a EDB file format parser +License: LGPL-3.0-or-later +Group: Development/Libraries/Python +Requires: %{lname} = %{version} +BuildRequires: pkgconfig(python3) + +%description -n python3-%{name} +libesedb is a library to access EDB files. ESEDB is used in many different +applications like Windows Search, Windows Mail, Exchange, Active Directory, etc. + +Python3 bindings for libesedb, which can read EDB files. ESEDB is used in many different applications like Windows Search, Windows Mail, Exchange, Active Directory, etc. @@ -118,7 +132,7 @@ cp "%{SOURCE5}" . cp "%{SOURCE6}" . %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 @@ -157,10 +171,16 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/pkgconfig/libesedb.pc %{_mandir}/man3/libesedb.3* -%files -n python-%{name} +%files -n python2-%{name} %defattr(-,root,root) %doc AUTHORS README ChangeLog %license COPYING -%{python_sitearch}/pyesedb.so +%{python2_sitearch}/pyesedb.so + +%files -n python3-%{name} +%defattr(-,root,root) +%doc AUTHORS README ChangeLog +%license COPYING +%{python3_sitearch}/pyesedb.so %changelog From d01874dcf7731d4fe69f9055c8b0537145f4601edb33c6459be40c721c541882 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Wed, 8 Apr 2020 22:56:04 +0000 Subject: [PATCH 2/2] Accepting request 792565 from home:gregfreemyer:Tools-for-forensic-boot-cd - update to v0~20191220 * code clean-up * increased format support - rename python-libesedb to python2-libesedb - add python3 binding subpackage - Use libcerror and libcstring from factory instead of internal versions - update to v0~20181229 * worked on Python 2 / 3 support * worked on Python bindings * multiple bug fixes * libfdata API change triggered changes - Use internal libcerror and libcstring to fix builds and segfault found in testing - update to v0~20151213 * worked on support for newly discovered unknown page flag * removed LIBESEDB_FLAG_READ and LIBESEDB_FLAG_WRITE * worked on Python bindings * worked on setup.py * code clean up - use libcerror, libcstring, libfdata packages from OBS again instead of internal versions - update to v0~20150409 * 2015 update * changes for handling tagged data types in version 0x620 revision 0x14 database * changes for long value look up in dirty databases * changes for long value key compare * worked on long value support * worked on long value error tolerance * worked on NULL value support (JET_coltypNil) * worked on libfdata btree refactor * worked on Python 3 support * worked on Python bindings * worked on tests * code clean up - update to v0~20141110 - remove %if opensuse logic. Not needed now libyal is in security:forensics - use libyal packages from OBS exclusively, nothing internal - update URL to the new github site - replace Source: field with fully defined URL - remove DL-URL comment - initial package in OBS (v0~20140803) OBS-URL: https://build.opensuse.org/request/show/792565 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libesedb?expand=0&rev=11 --- libesedb.changes | 1 + libesedb.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/libesedb.changes b/libesedb.changes index 920c080..8d9267a 100644 --- a/libesedb.changes +++ b/libesedb.changes @@ -4,6 +4,7 @@ Tue Apr 7 15:32:21 UTC 2020 - Greg Freemyer - update to v0~20191220 * code clean-up * increased format support +- rename python-libesedb to python2-libesedb - add python3 binding subpackage - Use libcerror and libcstring from factory instead of internal versions diff --git a/libesedb.spec b/libesedb.spec index 4bd5924..a340779 100644 --- a/libesedb.spec +++ b/libesedb.spec @@ -99,6 +99,7 @@ Requires: %{lname} = %{version} Requires: python BuildRequires: pkgconfig(python2) Obsoletes: pyesedb <= 20191220 +Obsoletes: python-%{name} <= 20191220 %description -n python2-%{name} libesedb is a library to access EDB files. ESEDB is used in many different