SHA256
1
0
forked from pool/libewf

Accepting request 157165 from security

For factory only (not 12.3) - Update to latest release - fix license issue - closes BNC# 778993 - change license back to LGPL-3.0+

OBS-URL: https://build.opensuse.org/request/show/157165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libewf?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2013-03-04 16:28:11 +00:00 committed by Git OBS Bridge
parent e433315f4e
commit f76d8075f3
4 changed files with 46 additions and 16 deletions

View File

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

3
libewf-20130128.tar.gz Normal file
View File

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

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Feb 13 15:05:02 UTC 2013 - hpj@urpla.net
- update to libewf-20130128
- more sync to closer match the experimental version
- updated pyewf doc strings
- updated examples
- fix for zero sized section corruption scenario
-------------------------------------------------------------------
Tue Dec 11 00:06:59 UTC 2012 - Greg.Freemyer@gmail.com
- update to libewf-20121209
removed memwatch and gettext
- change license back to LGPL-3.0+
- closes BNC# 778993
- create new sub-package python-libewf with python bindings
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 6 22:19:56 UTC 2012 - Greg.Freemyer@gmail.com Thu Sep 6 22:19:56 UTC 2012 - Greg.Freemyer@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libewf # spec file for package libewf
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products 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,18 +18,16 @@
# #
%define soname 2 %define soname 2
%define timestamp 20130128
Name: libewf Name: libewf
Version: 0.0.0+20120813 Version: 0.0.0+%{timestamp}
Release: 0 Release: 0
# Per website the code is LGPL-3.0+, but GPL code is present.
# Upstream has been asked to resolve
# License: LGPL-3.0+
Summary: Library for the Expert Witness Compression Format (EWF) Summary: Library for the Expert Witness Compression Format (EWF)
License: GPL-3.0+ License: LGPL-3.0+
Group: System/Libraries Group: System/Libraries
Url: http://sourceforge.net/projects/libewf/ Url: http://code.google.com/p/libewf/
Source0: http://sourceforge.net/projects/libewf/files/libewf2/libewf-20120813/libewf-20120813.tar.gz Source0: http://libewf.googlecode.com/files/libewf-20130128.tar.gz
Source1: http://sourceforge.net/projects/libewf/files/mount_ewf/mount_ewf-20090113/mount_ewf-20090113.py Source1: http://sourceforge.net/projects/libewf/files/mount_ewf/mount_ewf-20090113/mount_ewf-20090113.py
# PATCH-FIX-OPENSUSE remove_date_time_macros.patch Greg.Freemyer@gmail.com -- rpmlint complains about the macros # PATCH-FIX-OPENSUSE remove_date_time_macros.patch Greg.Freemyer@gmail.com -- rpmlint complains about the macros
Patch0: remove_date_time_macros.patch Patch0: remove_date_time_macros.patch
@ -61,12 +59,12 @@ libewf allows you to read media information of EWF files in the SMART (EWF-S01)
format and the EnCase (EWF-E01) format. libewf allows to read files created by format and the EnCase (EWF-E01) format. libewf allows to read files created by
EnCase 1 to 6, linen and FTK Imager. EnCase 1 to 6, linen and FTK Imager.
%package -n ewftools %package -n ewftools
Summary: Utilities for the Expert Witness Compression Format (EWF) Summary: Utilities for the Expert Witness Compression Format (EWF)
Group: System/Filesystems Group: System/Filesystems
Requires: python-fuse >= 0.2 Requires: python-fuse >= 0.2
%description -n ewftools %description -n ewftools
Several tools for reading and writing EWF files. Several tools for reading and writing EWF files.
It contains tools to acquire, verify and export EWF files. It contains tools to acquire, verify and export EWF files.
@ -80,12 +78,22 @@ Requires: pkg-config
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
%package -n python-%{name}
Summary: Python binding for libewf
Group: System Environment/Libraries
#BuildRequires: python-devel
Requires: libewf%{soname} = %{version}
Requires: python
%description -n python-%{name}
Python binding for libewf. libewf can create and read EnCase forensic images.
%prep %prep
%setup -q -n libewf-20120813 %setup -q -n libewf-%{timestamp}
%patch0 -p1 %patch0 -p1
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing " export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="%{optflags}" export CXXFLAGS="%{optflags}"
%configure --disable-static \ %configure --disable-static \
--enable-wide-character-type \ --enable-wide-character-type \
@ -122,7 +130,6 @@ ln -s mount.ewf %{buildroot}/sbin/umount.ewf
%{_bindir}/ewf* %{_bindir}/ewf*
%{_mandir}/man1/*.gz %{_mandir}/man1/*.gz
/sbin/*.ewf /sbin/*.ewf
%{python_sitearch}/pyewf.so
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -132,4 +139,9 @@ ln -s mount.ewf %{buildroot}/sbin/umount.ewf
%{_libdir}/pkgconfig/libewf.pc %{_libdir}/pkgconfig/libewf.pc
%{_mandir}/man3/*.gz %{_mandir}/man3/*.gz
%files -n python-%{name}
%defattr(644,root,root,755)
%doc AUTHORS COPYING NEWS README
%{python_sitearch}/*.so
%changelog %changelog