forked from pool/libpff
Accepting request 457507 from security:forensics
1 OBS-URL: https://build.opensuse.org/request/show/457507 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libpff?expand=0&rev=5
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ebbcb1d855ca12869d55ab333eb4ab96a1503886d1ce134d6df4131e3725bdfd
|
|
||||||
size 1757989
|
|
3
libpff-experimental-20161119.tar.gz
Normal file
3
libpff-experimental-20161119.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d12e5e7c2682010a9f234e2961b09b3adf2c0ac20f06cbb0356f572bd024cc1e
|
||||||
|
size 1961081
|
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 15 17:02:45 UTC 2017 - Greg.Freemyer@gmail.com
|
||||||
|
|
||||||
|
- Updated to v0~20161119
|
||||||
|
* changes only provided in gitlog
|
||||||
|
- Renamed Personal_Folder_File_PFF_format.pdf to meet new naming rules
|
||||||
|
- correct URL and Source fields to the new github location
|
||||||
|
- Clean-up BuildRequires to use external packages as feasible
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 17 09:30:29 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Add pkgconfig.diff; adds libbfio as a require into the .pc file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 14 13:47:22 UTC 2014 - Greg.Freemyer@gmail.com
|
Thu Aug 14 13:47:22 UTC 2014 - Greg.Freemyer@gmail.com
|
||||||
|
|
||||||
|
31
libpff.spec
31
libpff.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libpff
|
# spec file for package libpff
|
||||||
#
|
#
|
||||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,47 +18,47 @@
|
|||||||
|
|
||||||
Name: libpff
|
Name: libpff
|
||||||
%define lname libpff1
|
%define lname libpff1
|
||||||
%define timestamp 20131028
|
%define timestamp 20161119
|
||||||
Version: 0~%timestamp
|
Version: 0~%timestamp
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library and tools to access Microsoft PFF and OFF format files
|
Summary: Library and tools to access Microsoft PFF and OFF format files
|
||||||
License: LGPL-3.0+ and GFDL-1.1+ and GFDL-1.3+
|
License: LGPL-3.0+ and GFDL-1.1+ and GFDL-1.3+
|
||||||
Group: Productivity/File utilities
|
Group: Productivity/File utilities
|
||||||
Url: http://code.google.com/p/libpff/
|
Url: https://github.com/libyal/libpff/wiki
|
||||||
|
Source: https://github.com/libyal/libpff/releases/download/%{timestamp}/libpff-experimental-%{timestamp}.tar.gz
|
||||||
#DL-URL: https://googledrive.com/host/0B3fBvzttpiiScU9qcG5ScEZKZE0/libpff-experimental-20131028.tar.gz
|
|
||||||
Source: %name-experimental-%timestamp.tar.gz
|
|
||||||
Source2: PFF_Forensics_-_analyzing_the_horrible_reference_file_format.pdf
|
Source2: PFF_Forensics_-_analyzing_the_horrible_reference_file_format.pdf
|
||||||
Source3: PFF_forensics_-_e-mail_and_appoinment_falsification_analysis.pdf
|
Source3: PFF_forensics_-_e-mail_and_appoinment_falsification_analysis.pdf
|
||||||
Source4: Personal_Folder_File_(PFF)_format.pdf
|
Source4: Personal_Folder_File_PFF_format.pdf
|
||||||
Source5: MAPI_definitions.pdf
|
Source5: MAPI_definitions.pdf
|
||||||
Source6: libpff-libfdata.pdf
|
Source6: libpff-libfdata.pdf
|
||||||
|
Patch1: pkgconfig.diff
|
||||||
|
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
# use factory packages if available
|
# use factory packages if available
|
||||||
%if 0%{?suse_version} > 1230
|
%if 0%{?suse_version} > 1230
|
||||||
BuildRequires: pkgconfig(libbfio) >= 20130721
|
BuildRequires: pkgconfig(libbfio) >= 20130721
|
||||||
|
BuildRequires: pkgconfig(libcdata)
|
||||||
BuildRequires: pkgconfig(libcfile) >= 20130609
|
BuildRequires: pkgconfig(libcfile) >= 20130609
|
||||||
BuildRequires: pkgconfig(libclocale) >= 20130609
|
BuildRequires: pkgconfig(libclocale) >= 20130609
|
||||||
BuildRequires: pkgconfig(libcnotify) >= 20120425
|
BuildRequires: pkgconfig(libcnotify) >= 20120425
|
||||||
BuildRequires: pkgconfig(libcpath) >= 20130609
|
BuildRequires: pkgconfig(libcpath) >= 20130609
|
||||||
BuildRequires: pkgconfig(libcsplit) >= 20130609
|
BuildRequires: pkgconfig(libcsplit) >= 20130609
|
||||||
|
BuildRequires: pkgconfig(libcstring) >= 20120425
|
||||||
|
BuildRequires: pkgconfig(libcsystem) >= 20120425
|
||||||
|
BuildRequires: pkgconfig(libcthreads)
|
||||||
|
BuildRequires: pkgconfig(libfcache) >= 20120405
|
||||||
|
BuildRequires: pkgconfig(libfdata) >= 20120405
|
||||||
BuildRequires: pkgconfig(libfdatetime) >= 20120522
|
BuildRequires: pkgconfig(libfdatetime) >= 20120522
|
||||||
BuildRequires: pkgconfig(libfguid) >= 20120426
|
BuildRequires: pkgconfig(libfguid) >= 20120426
|
||||||
|
BuildRequires: pkgconfig(libfvalue) >= 20120428
|
||||||
|
BuildRequires: pkgconfig(libfwnt) >= 20120426
|
||||||
BuildRequires: pkgconfig(libuna) >= 20120425
|
BuildRequires: pkgconfig(libuna) >= 20120425
|
||||||
%endif
|
%endif
|
||||||
# fails to build with factory package, use internal
|
# fails to build with factory package, use internal
|
||||||
# verified 8/14/2014
|
# verified 2/14/2017
|
||||||
#BuildRequires: pkgconfig(libcerror) >= 20120425
|
#BuildRequires: pkgconfig(libcerror) >= 20120425
|
||||||
# not (yet) released as packages by upstream
|
|
||||||
#BuildRequires: pkgconfig(libfmapi) >= 20120405
|
#BuildRequires: pkgconfig(libfmapi) >= 20120405
|
||||||
#BuildRequires: pkgconfig(libfvalue) >= 20120428
|
|
||||||
#BuildRequires: pkgconfig(libfwnt) >= 20120426
|
|
||||||
#BuildRequires: pkgconfig(libcstring) >= 20120425
|
|
||||||
#BuildRequires: pkgconfig(libcsystem) >= 20120425
|
|
||||||
#BuildRequires: pkgconfig(libfcache) >= 20120405
|
|
||||||
#BuildRequires: pkgconfig(libfdata) >= 20120405
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -117,6 +117,7 @@ and Offline Folder File (OFF) formats.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn libpff-%timestamp
|
%setup -qn libpff-%timestamp
|
||||||
|
%patch -P 1 -p1
|
||||||
cp "%{S:2}" "%{S:3}" "%{S:4}" "%{S:5}" "%{S:6}" .
|
cp "%{S:2}" "%{S:3}" "%{S:4}" "%{S:5}" "%{S:6}" .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
21
pkgconfig.diff
Normal file
21
pkgconfig.diff
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2016-10-17 11:30:09.349081315 +0200
|
||||||
|
|
||||||
|
libpff.h #includes <libbfio.h> and therefore, a require tag is needed.
|
||||||
|
(At least on openSUSE where LIBPFF_HAVE_BFIO is true.)
|
||||||
|
This probably should be even more conditionalized upon LIBPFF_HAVE_BFIO,
|
||||||
|
but I leave that to upstream.
|
||||||
|
---
|
||||||
|
libpff.pc.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: libpff-20131028/libpff.pc.in
|
||||||
|
===================================================================
|
||||||
|
--- libpff-20131028.orig/libpff.pc.in
|
||||||
|
+++ libpff-20131028/libpff.pc.in
|
||||||
|
@@ -9,4 +9,4 @@ Version: @VERSION@
|
||||||
|
Libs: -L${libdir} -lpff
|
||||||
|
Libs.private: @ax_libbfio_pc_libs_private@ @ax_libcdata_pc_libs_private@ @ax_libcerror_pc_libs_private@ @ax_libcfile_pc_libs_private@ @ax_libclocale_pc_libs_private@ @ax_libcnotify_pc_libs_private@ @ax_libcpath_pc_libs_private@ @ax_libcsplit_pc_libs_private@ @ax_libcthreads_pc_libs_private@ @ax_libfcache_pc_libs_private@ @ax_libfdata_pc_libs_private@ @ax_libfdatetime_pc_libs_private@ @ax_libfguid_pc_libs_private@ @ax_libfmapi_pc_libs_private@ @ax_libfwnt_pc_libs_private@ @ax_libuna_pc_libs_private@ @ax_pthread_pc_libs_private@ @ax_zlib_pc_libs_private@
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
-
|
||||||
|
+Requires: libbfio
|
Reference in New Issue
Block a user