Accepting request 198403 from security

License issue BNC#839248 resolved.  libtalloc removed from package and class.c file relicensed by upstream author as Apache-2.0

python bindings for sleuthkit.  Required by plaso.

OBS-URL: https://build.opensuse.org/request/show/198403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tsk?expand=0&rev=1
This commit is contained in:
Stephan Kulow
2013-09-26 17:59:48 +00:00
committed by Git OBS Bridge
commit aa533e8a95
5 changed files with 114 additions and 0 deletions

24
.gitattributes vendored Normal file
View File

@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
.gitignore vendored Normal file
View File

@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild

29
python-tsk.changes Normal file
View File

@@ -0,0 +1,29 @@
-------------------------------------------------------------------
Wed Sep 11 02:57:48 UTC 2013 - Greg.Freemyer@gmail.com
- Address legal issues raised in BNC#839248
- update to latest version in source repo (as of 9/10/2013)
* now uses libtalloc shared library if available
* remaining GPL licenses changed to Apache-2.0 with permission of relevant copyright holder
- added BuildRequires libtalloc-devel to allow shared library to be used
- added rm -rf talloc and talloc.new to highlight they are not used in the build
-------------------------------------------------------------------
Thu Aug 22 12:59:47 UTC 2013 - Greg.Freemyer@gmail.com
- fix BuildRequires
* remove spurious pcre-devel
* add gcc-c++
-------------------------------------------------------------------
Sat Aug 17 04:47:01 UTC 2013 - Greg.Freemyer@gmail.com
- update to latest version in source repo
- per author, sleuthkit-devel 4.1 compatibility is only in the source repo
- change version from 0.0.0~ to 0~
-------------------------------------------------------------------
Wed Mar 27 17:47:31 UTC 2013 - Greg.Freemyer@gmail.com
- initial package

54
python-tsk.spec Normal file
View File

@@ -0,0 +1,54 @@
#
# spec file for package python-tsk
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-tsk
Version: 0~20130910
Release: 0
License: Apache-2.0
Summary: Python bindings for tsk - The SleuthKit
Url: http://code.google.com/p/pytsk
Group: Development/Libraries/Python
#DL-URL: http://pytsk.googlecode.com/files/pytsk-2012-11-10.tgz
#pytsk support for TSK 4.1 is not released, so we have to pull it from the source repo
#from source repo: hg clone https://code.google.com/p/pytsk/
Source0: pytsk-20130910.tgz
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRequires: libtalloc-devel
BuildRequires: sleuthkit-devel
BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The Sleuthkit is a forensic filesystem analysis framework (http://www.sleuthkit.org/). This project is a python binding for the sleuthkit.
%prep
%setup -q -n pytsk
# remove unused libraries with incompatible license, use libtalloc from main repositories
rm -rf pytsk talloc
rm -rf pytsk talloc.new
%build
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --root=%{buildroot} --prefix=%{_prefix} --record-rpm=INSTALLED_FILES
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog

3
pytsk-20130910.tgz Normal file
View File

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