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
This commit is contained in:
Greg Freemyer 2017-02-14 20:31:07 +00:00 committed by Git OBS Bridge
parent e8e40abe4e
commit 5c1b99f843
4 changed files with 41 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:181956668b2270f50ea7d7e5074e35a31229c44e19c6f08b418a54da76c20d3e
size 1589620

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f125cc66d16a5d1060b8f0a1f8dbf6b8d88070fee73cffebcac0ecdc58860893
size 1652286

View File

@ -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

View File

@ -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