From ebb2c1b506be4cdb3842ad31e4a0339a4feee879103696efef503d6f9f1b30c6 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 26 Sep 2013 17:59:48 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++++++++++++++++ .gitignore | 1 + python-tsk.changes | 29 +++++++++++++++++++++++++ python-tsk.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++ pytsk-20130910.tgz | 3 +++ 5 files changed, 110 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-tsk.changes create mode 100644 python-tsk.spec create mode 100644 pytsk-20130910.tgz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.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 +*.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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-tsk.changes b/python-tsk.changes new file mode 100644 index 0000000..50277e1 --- /dev/null +++ b/python-tsk.changes @@ -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 + diff --git a/python-tsk.spec b/python-tsk.spec new file mode 100644 index 0000000..78e8291 --- /dev/null +++ b/python-tsk.spec @@ -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 diff --git a/pytsk-20130910.tgz b/pytsk-20130910.tgz new file mode 100644 index 0000000..e699551 --- /dev/null +++ b/pytsk-20130910.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf72dd05923a0e84e9bc2aa118f608a683cbb7565177825e7e2c10bb0ea4d308 +size 283049