From 2e0f92606bf568367c60054267751ed23fe1022e7d0f8b47df2e37c378d88c70 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Tue, 7 Apr 2020 20:10:27 +0000 Subject: [PATCH 1/2] Accepting request 792043 from home:gregfreemyer:Tools-for-forensic-boot-cd - update to v0~20191221 * minor release * Worked on Python wheel support - add python3 bindings submodule OBS-URL: https://build.opensuse.org/request/show/792043 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfwsi?expand=0&rev=12 --- libfwsi-experimental-20181227.tar.gz | 3 --- libfwsi-experimental-20191221.tar.gz | 3 +++ libfwsi.changes | 8 ++++++ libfwsi.spec | 39 +++++++++++++++++++--------- 4 files changed, 38 insertions(+), 15 deletions(-) delete mode 100644 libfwsi-experimental-20181227.tar.gz create mode 100644 libfwsi-experimental-20191221.tar.gz diff --git a/libfwsi-experimental-20181227.tar.gz b/libfwsi-experimental-20181227.tar.gz deleted file mode 100644 index 14900bc..0000000 --- a/libfwsi-experimental-20181227.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a604da34dd37138f3b0f1f29bb8030a9b4c22042666839ed2b9d1f758c37a73b -size 1296946 diff --git a/libfwsi-experimental-20191221.tar.gz b/libfwsi-experimental-20191221.tar.gz new file mode 100644 index 0000000..8bd6cea --- /dev/null +++ b/libfwsi-experimental-20191221.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:923fb8b533b00ba4bdd4d1491d58af19dd53508e856d18e188e4083963f12a3c +size 1314475 diff --git a/libfwsi.changes b/libfwsi.changes index fea2865..8e58817 100644 --- a/libfwsi.changes +++ b/libfwsi.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Apr 7 19:21:03 UTC 2020 - Greg Freemyer + +- update to v0~20191221 + * minor release + * Worked on Python wheel support +- add python3 bindings submodule + ------------------------------------------------------------------- Mon Apr 15 22:16:20 UTC 2019 - Greg Freemyer diff --git a/libfwsi.spec b/libfwsi.spec index b1650bd..3cde2ed 100644 --- a/libfwsi.spec +++ b/libfwsi.spec @@ -1,7 +1,7 @@ # # spec file for package libfwsi # -# 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,18 +17,17 @@ %define lname libfwsi1 -%define timestamp 20181227 +%define timestamp 20191221 Name: libfwsi Version: 0~%{timestamp} Release: 0 Summary: Library to access the Windows Shell Item format License: LGPL-3.0-or-later AND GFDL-1.3-or-later Group: Productivity/File utilities -Url: https://github.com/libyal/libfwsi/wiki +URL: https://github.com/libyal/libfwsi/wiki Source: https://github.com/libyal/libfwsi/releases/download/%timestamp/%name-experimental-%timestamp.tar.gz Source2: Windows_Shell_Item_format.pdf BuildRequires: pkg-config -BuildRequires: python-devel BuildRequires: pkgconfig(libcdata) >= 20140105 BuildRequires: pkgconfig(libcerror) >= 20140105 BuildRequires: pkgconfig(libclocale) @@ -68,23 +67,33 @@ Library to access the Windows Shell Item format for the libyal family of librari This subpackage contains libraries and header files for developing applications that want to make use of libfwsi. -%package -n python-%name +%package -n python2-%name +Summary: Python2 bindings for libfwsi +License: LGPL-3.0-or-later +Group: Development/Libraries/Python +Requires: %{lname} = %{version} +BuildRequires: pkgconfig(python2) +Obsoletes: pyfwsi <= 20191221 + +%description -n python2-%name +Python2 bindings for libfwsi, a library to access Windows Shell Items. + +%package -n python3-%name Summary: Python bindings for libfwsi License: LGPL-3.0-or-later Group: Development/Libraries/Python Requires: %{lname} = %{version} -Requires: python -Provides: pyfwsi = %{version} +BuildRequires: pkgconfig(python3) -%description -n python-%name -Python bindings for libfwsi, a library to access Windows Shell Items. +%description -n python3-%name +Python3 bindings for libfwsi, a library to access Windows Shell Items. %prep %setup -q -n libfwsi-%{timestamp} cp "%{S:2}" . %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 @@ -112,10 +121,16 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/pkgconfig/libfwsi.pc %{_mandir}/man3/libfwsi.3* -%files -n python-%name +%files -n python2-%name %defattr(-,root,root) %doc AUTHORS ChangeLog %license COPYING -%python_sitearch/pyfwsi.so +%python2_sitearch/pyfwsi.so + +%files -n python3-%name +%defattr(-,root,root) +%doc AUTHORS ChangeLog +%license COPYING +%python3_sitearch/pyfwsi.so %changelog From 2f6d8637068d1d7060e5695bc6dbf4f465081f60cfc5ffc2713ccb868d8baed8 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Wed, 8 Apr 2020 22:54:23 +0000 Subject: [PATCH 2/2] Accepting request 792563 from home:gregfreemyer:Tools-for-forensic-boot-cd - update to v0~20191221 * minor release * Worked on Python wheel support - rename python-libfwsi to python2-libfwsi - add python3 bindings submodule - update to v0~20181227 * Changes to improve handling corrupt shell item lists * Worked on Python bindings * Changes to improve handling corrupt URI extension values * Fix for handling corrupt shell items * Changes to improve handling corrupt file entry extension values * Added URI sub values shell item type * Changes for debug output and unsuppored extension block sizes * Changes to URI and URI sub shell items - update to v0~20170117 - update to v0~20150701 * bug fix for shared usage - update to v0~20150614 * bug fix for shared usage * changes for shell item being created outside of list * fix for missing libfwsi_notify_set_verbose - make pyfwsi provide version info - for the python sub-package add a Requires libfwsi - update to v0~20150105 * 2015 update * worked on Python 3 support * worked on utility scripts * small fixes * worked on format support - update URL to the new github site - replace Source: field with fully defined URL - remove DL-URL comment - remove %if opensuse logic. Not needed with libyal in security:forensics - use libyal packages from OBS if available - initial package in OBS (v0~20140801) OBS-URL: https://build.opensuse.org/request/show/792563 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfwsi?expand=0&rev=13 --- libfwsi.changes | 1 + libfwsi.spec | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libfwsi.changes b/libfwsi.changes index 8e58817..b1b46ac 100644 --- a/libfwsi.changes +++ b/libfwsi.changes @@ -4,6 +4,7 @@ Tue Apr 7 19:21:03 UTC 2020 - Greg Freemyer - update to v0~20191221 * minor release * Worked on Python wheel support +- rename python-libfwsi to python2-libfwsi - add python3 bindings submodule ------------------------------------------------------------------- diff --git a/libfwsi.spec b/libfwsi.spec index 3cde2ed..1e134d0 100644 --- a/libfwsi.spec +++ b/libfwsi.spec @@ -67,18 +67,19 @@ Library to access the Windows Shell Item format for the libyal family of librari This subpackage contains libraries and header files for developing applications that want to make use of libfwsi. -%package -n python2-%name +%package -n python2-%{name} Summary: Python2 bindings for libfwsi License: LGPL-3.0-or-later Group: Development/Libraries/Python Requires: %{lname} = %{version} BuildRequires: pkgconfig(python2) Obsoletes: pyfwsi <= 20191221 +Obsoletes: python-%{name} <= 20191221 %description -n python2-%name Python2 bindings for libfwsi, a library to access Windows Shell Items. -%package -n python3-%name +%package -n python3-%{name} Summary: Python bindings for libfwsi License: LGPL-3.0-or-later Group: Development/Libraries/Python