From 5c1b99f843f50689fbb51e6fc3d820dbd0c18d8fcb933ec8af3e31f794cc89da Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Tue, 14 Feb 2017 20:31:07 +0000 Subject: [PATCH 1/3] Accepting request 457161 from home:gregfreemyer:Tools-for-forensic-boot-cd Update to latest and add python3 binding OBS-URL: https://build.opensuse.org/request/show/457161 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsntfs?expand=0&rev=7 --- libfsntfs-experimental-20151130.tar.gz | 3 --- libfsntfs-experimental-20160418.tar.gz | 3 +++ libfsntfs.changes | 11 ++++++++ libfsntfs.spec | 36 +++++++++++++++++++------- 4 files changed, 41 insertions(+), 12 deletions(-) delete mode 100644 libfsntfs-experimental-20151130.tar.gz create mode 100644 libfsntfs-experimental-20160418.tar.gz diff --git a/libfsntfs-experimental-20151130.tar.gz b/libfsntfs-experimental-20151130.tar.gz deleted file mode 100644 index d78af5b..0000000 --- a/libfsntfs-experimental-20151130.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:181956668b2270f50ea7d7e5074e35a31229c44e19c6f08b418a54da76c20d3e -size 1589620 diff --git a/libfsntfs-experimental-20160418.tar.gz b/libfsntfs-experimental-20160418.tar.gz new file mode 100644 index 0000000..50600d5 --- /dev/null +++ b/libfsntfs-experimental-20160418.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f125cc66d16a5d1060b8f0a1f8dbf6b8d88070fee73cffebcac0ecdc58860893 +size 1652286 diff --git a/libfsntfs.changes b/libfsntfs.changes index 6bad456..04b1c0b 100644 --- a/libfsntfs.changes +++ b/libfsntfs.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Jul 28 22:25:59 UTC 2016 - Greg.Freemyer@gmail.com + +- update to v0~20160418 + * Worked on security descriptor support + * worked on Python bindings + * worked on Python 3 support + * 2016 update +- use libcstring, libfdata from factory again +- add python3 binding subpackage + ------------------------------------------------------------------- Wed Feb 3 20:16:14 UTC 2016 - Greg.Freemyer@gmail.com diff --git a/libfsntfs.spec b/libfsntfs.spec index 89ee71f..41dffcb 100644 --- a/libfsntfs.spec +++ b/libfsntfs.spec @@ -17,7 +17,7 @@ %define lname libfsntfs1 -%define timestamp 20151130 +%define timestamp 20160418 Name: libfsntfs Version: 0~%{timestamp} Release: 0 @@ -35,18 +35,18 @@ BuildRequires: pkgconfig(libclocale) >= 20130609 BuildRequires: pkgconfig(libcnotify) >= 20130609 BuildRequires: pkgconfig(libcpath) >= 20130609 BuildRequires: pkgconfig(libcsplit) >= 20130609 +BuildRequires: pkgconfig(libcstring) >= 20150101 BuildRequires: pkgconfig(libcsystem) >= 20120425 BuildRequires: pkgconfig(libcthreads) BuildRequires: pkgconfig(libfcache) +BuildRequires: pkgconfig(libfdata) BuildRequires: pkgconfig(libfdatetime) >= 20130317 BuildRequires: pkgconfig(libfguid) >= 20130904 BuildRequires: pkgconfig(libfwnt) BuildRequires: pkgconfig(libuna) >= 20120425 -#as of Feb 2, 2016, the various released versions of the below all cause compile errors. +#as of Jul 28, 2016, the various released versions of the below all cause compile errors. # libcerror and libcstring are examples of very fundamental parts of libyal, but the latest released version causes build errors here (12/2/2015). #BuildRequires: pkgconfig(libcerror) > 20150407 -#BuildRequires: pkgconfig(libcstring) > 20150101 -#BuildRequires: pkgconfig(libfdata) #not yet in OBS #BuildRequires: pkgconfig(libfusn) BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -57,7 +57,7 @@ Library and tools to access the New Technology File System (NTFS). Note that this project currently only focuses on the analysis of the format. %package -n %{lname} -Summary: Library to access the New Technology File System (NTFS). +Summary: Library to access the New Technology File System (NTFS) License: LGPL-3.0+ Group: System/Libraries @@ -67,7 +67,7 @@ libfsntfs is a library to access the New Technology File System (NTFS). Note that this project currently only focuses on the analysis of the format. %package tools -Summary: Tools to access the New Technology File System (NTFS). +Summary: Tools to access the New Technology File System (NTFS) License: LGPL-3.0+ Group: Productivity/File utilities @@ -89,21 +89,34 @@ This subpackage contains libraries and header files for developing applications that want to make use of %{name}. %package -n python-%{name} -Summary: Python bindings for libfsntfs +Summary: Python 2 bindings for libfsntfs License: LGPL-3.0+ Group: Development/Libraries/Python Requires: %{lname} = %{version} Requires: python +BuildRequires: pkgconfig(python2) Provides: pyfsntfs = %{version} %description -n python-%{name} -Python binding for libfsntfs, which can access the NTFS filesystem. +Python 2 binding for libfsntfs, which can access the NTFS filesystem. + +%package -n python3-%{name} +Summary: Python 3 bindings for libfsntfs +License: LGPL-3.0+ +Group: Development/Libraries/Python +Requires: %{lname} = %{version} +Requires: python3 +BuildRequires: pkgconfig(python3) +Provides: pyfsntfs = %{version} + +%description -n python3-%{name} +Python 3 binding for libfsntfs, which can access the NTFS filesystem. %prep %setup -q -n libfsntfs-%{timestamp} %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 @@ -137,4 +150,9 @@ find %{buildroot} -type f -name "*.la" -delete -print %doc AUTHORS COPYING README %{python_sitearch}/pyfsntfs.so +%files -n python3-%{name} +%defattr(-,root,root) +%doc AUTHORS COPYING +%{python3_sitearch}/pyfsntfs.so + %changelog From 7242a48e5169a1edee859f76f823bd20e87289f88bd0dc0f106d13dda8deb642 Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Thu, 16 Feb 2017 22:40:35 +0000 Subject: [PATCH 2/3] Accepting request 458594 from home:gregfreemyer:Tools-for-forensic-boot-cd fix broken build OBS-URL: https://build.opensuse.org/request/show/458594 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsntfs?expand=0&rev=8 --- libfsntfs.changes | 5 +++++ libfsntfs.spec | 11 +++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/libfsntfs.changes b/libfsntfs.changes index 04b1c0b..30a02ba 100644 --- a/libfsntfs.changes +++ b/libfsntfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 16 22:30:06 UTC 2017 - Greg.Freemyer@gmail.com + +- use internal version of libfdata and libfcache. New releases broke libfsntfs compiles. + ------------------------------------------------------------------- Thu Jul 28 22:25:59 UTC 2016 - Greg.Freemyer@gmail.com diff --git a/libfsntfs.spec b/libfsntfs.spec index 41dffcb..bddc2c0 100644 --- a/libfsntfs.spec +++ b/libfsntfs.spec @@ -1,7 +1,7 @@ # # spec file for package libfsntfs # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,15 +38,14 @@ BuildRequires: pkgconfig(libcsplit) >= 20130609 BuildRequires: pkgconfig(libcstring) >= 20150101 BuildRequires: pkgconfig(libcsystem) >= 20120425 BuildRequires: pkgconfig(libcthreads) -BuildRequires: pkgconfig(libfcache) -BuildRequires: pkgconfig(libfdata) BuildRequires: pkgconfig(libfdatetime) >= 20130317 BuildRequires: pkgconfig(libfguid) >= 20130904 BuildRequires: pkgconfig(libfwnt) BuildRequires: pkgconfig(libuna) >= 20120425 -#as of Jul 28, 2016, the various released versions of the below all cause compile errors. -# libcerror and libcstring are examples of very fundamental parts of libyal, but the latest released version causes build errors here (12/2/2015). -#BuildRequires: pkgconfig(libcerror) > 20150407 +#as of Feb 28, 2017, recent releases of the below all cause compile errors. +#BuildRequires: pkgconfig(libfdata) +#BuildRequires: pkgconfig(libfcache) +#BuildRequires: pkgconfig(libcerror) > 20170101 #not yet in OBS #BuildRequires: pkgconfig(libfusn) BuildRoot: %{_tmppath}/%{name}-%{version}-build From fb5052b5d0aa31f5a4a0940a9181fa9b98f4f8e618003cb9502edbc1272c9e6c Mon Sep 17 00:00:00 2001 From: Greg Freemyer Date: Mon, 20 Feb 2017 21:25:58 +0000 Subject: [PATCH 3/3] Accepting request 459348 from home:gregfreemyer:Tools-for-forensic-boot-cd OBS-URL: https://build.opensuse.org/request/show/459348 OBS-URL: https://build.opensuse.org/package/show/security:forensics/libfsntfs?expand=0&rev=9 --- libfsntfs.changes | 4 +++- libfsntfs.spec | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/libfsntfs.changes b/libfsntfs.changes index 30a02ba..12dd17b 100644 --- a/libfsntfs.changes +++ b/libfsntfs.changes @@ -1,7 +1,9 @@ ------------------------------------------------------------------- Thu Feb 16 22:30:06 UTC 2017 - Greg.Freemyer@gmail.com -- use internal version of libfdata and libfcache. New releases broke libfsntfs compiles. +- use internal version of libfdata and libfcache. + * New releases broke libfsntfs compiles. +- change RPM Group for python binding to development/languages/python ------------------------------------------------------------------- Thu Jul 28 22:25:59 UTC 2016 - Greg.Freemyer@gmail.com diff --git a/libfsntfs.spec b/libfsntfs.spec index bddc2c0..514b554 100644 --- a/libfsntfs.spec +++ b/libfsntfs.spec @@ -90,7 +90,7 @@ applications that want to make use of %{name}. %package -n python-%{name} Summary: Python 2 bindings for libfsntfs License: LGPL-3.0+ -Group: Development/Libraries/Python +Group: Development/Languages/Python Requires: %{lname} = %{version} Requires: python BuildRequires: pkgconfig(python2) @@ -102,7 +102,7 @@ Python 2 binding for libfsntfs, which can access the NTFS filesystem. %package -n python3-%{name} Summary: Python 3 bindings for libfsntfs License: LGPL-3.0+ -Group: Development/Libraries/Python +Group: Development/Languages/Python Requires: %{lname} = %{version} Requires: python3 BuildRequires: pkgconfig(python3)