Hello community, here is the log from the commit of package python-plaso for openSUSE:Factory checked in at 2015-01-30 15:00:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-plaso (Old) and /work/SRC/openSUSE:Factory/.python-plaso.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-plaso" Changes: -------- --- /work/SRC/openSUSE:Factory/python-plaso/python-plaso.changes 2014-09-07 11:10:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-plaso.new/python-plaso.changes 2015-01-30 15:00:15.000000000 +0100 @@ -1,0 +2,27 @@ +Mon Jan 12 16:46:29 UTC 2015 - [email protected] + +- Make iPython a requirement, not a recommendation. + * It is needed for preg and pshell + * version 1.2.1 or newer is required + +------------------------------------------------------------------- +Mon Dec 22 20:32:35 UTC 2014 - [email protected] + +- update to v1.2.0 + * Increased stabiity, less memory, faster extraction + * Fixed excessive momory consusmption bugs + * Source scanner moved from plaso to dfVFS + * New JSON storage back-end available for testing only + * preg overhauled + * New parsers and plug-ins +- update some Requires tag version levels to agree with check_dependencies +- remove #DL_URL field and make #Source a full URL +- added "internal_version" macro useful when building git code +- Added Requires: pyfwsi +- add numerous lines to %prep to eliminate shebang lines which rpmlint was complaining about +- add check_dependencies.py to the %doc files so users can check their own dependencies +- remove frontend python files that are in both /usr/bin and under the python tree structure +- remove other unneeded python files instead of excluding them. Do this prior to calling fdupes +- add explicit "%py_compile ." to resolve rpmlint complaint about datestamps not matching + +------------------------------------------------------------------- Old: ---- plaso-1.1.0.tar.gz New: ---- v1.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-plaso.spec ++++++ --- /var/tmp/diff_new_pack.ZeZ4ti/_old 2015-01-30 15:00:24.000000000 +0100 +++ /var/tmp/diff_new_pack.ZeZ4ti/_new 2015-01-30 15:00:24.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-plaso # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,14 +17,15 @@ Name: python-plaso -Version: 1.1.0 +Version: 1.2.0 Release: 0 +%define internal_version 1.2.0_20141211 Summary: Plaso is a library for working with forensic timelines License: Apache-2.0 Group: Development/Libraries/Python Url: http://plaso.kiddaland.net/ -#DL-URL: https://e366e647f8637dd31e0a13f75e5469341a9ab0ee.googledrive.com/host/0B30H7z4S52FleW5vUHBnblJfcjg/1.1.0/release/plaso-1.1.0.tar.gz -Source0: plaso-%{version}.tar.gz +#git: git clone https://github.com/log2timeline/plaso.git +Source: https://github.com/log2timeline/plaso/archive/v1.2.0.tar.gz BuildRequires: fdupes BuildRequires: pkg-config BuildRequires: python-devel @@ -34,35 +35,36 @@ Requires: python-binplist >= 0.1.4 Requires: python-construct >= 2.5.2 Requires: python-dateutil -Requires: python-dfVFS Requires: python-dpkt Requires: python-hachoir-core Requires: python-hachoir-metadata -Requires: python-hachoir-parser +Requires: python-hachoir-parser >= 1.3.4 # These are core libraries. Make sure current versions are used Requires: pyevt >= 0~20140731 -Requires: pyevtx >= 0~20140731 +Requires: pyevtx >= 0~20141112 Requires: pyewf >= 0~20140603 -Requires: pylnk >= 0~20140731 +Requires: pylnk >= 0~20141026 Requires: pymsiecf >= 0~20140731 Requires: pyolecf >= 0~20140801 Requires: pyregf >= 0~20140803 +Requires: python-dfVFS >= 0~20141220 Requires: pyvshadow >= 0~20140731 Requires: pyesedb +Requires: pyfwsi Requires: pyqcow Requires: pysmdev Requires: pyvhdi Requires: pyvmdk +Requires: IPython >= 1.2.1 Requires: python-bencode Requires: python-protobuf Requires: python-psutil -Requires: python-pyparsing +Requires: python-pyparsing >= 2.0.2 Requires: python-tsk Requires: python-tz Requires: python-yaml -Recommends: IPython Recommends: libevt-tools Recommends: libevtx-tools Recommends: libewf-tools @@ -86,31 +88,59 @@ %prep %setup -q -n plaso-%version -find plaso -name \*.py | xargs sed -i "/#!\/usr\/bin\/python/d" +for subdir in analysis artifacts classifier engine events filters formatters lib multi_processing parsers preprocessors serializer unix winreg winnt output; do +find plaso/$subdir -name \*.py | xargs sed -i "/#!\/usr\/bin\/python/d" +done +sed -i "/#!\/usr\/bin\/env python/d" plaso/lib/objectfilter*.py +sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/__init__.py +sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/utils.py +sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/presets.py +sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/frontend.py +sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/test_lib.py +sed -i "/#!\/usr\/bin\/python/d" plaso/frontend/*_test.py +sed -i "/#!\/usr\/bin\/python/d" plaso/proto/__init__.py +sed -i "/#!\/usr\/bin\/python/d" plaso/__init__.py +sed -i "/#!\/usr\/bin\/python/d" tools/__init__.py +sed -i "/#!\/usr\/bin\/python/d" tools/plaso_process_info.py %build CFLAGS="%{optflags}" python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} +rm %{buildroot}%{python_sitelib}/plaso/frontend/pinfo.* +rm %{buildroot}%{python_sitelib}/plaso/frontend/psort.* +rm %{buildroot}%{python_sitelib}/plaso/frontend/preg.* +rm %{buildroot}%{python_sitelib}/plaso/frontend/pshell.* +rm %{buildroot}%{python_sitelib}/plaso/frontend/pprof.* +rm %{buildroot}%{python_sitelib}/plaso/frontend/log2timeline.* +rm %{buildroot}%{python_sitelib}/plaso/frontend/image_export.* +rm %{buildroot}%{python_sitelib}/plaso/frontend/plasm.* +rm %{buildroot}%{python_sitelib}/tools/plaso_extract_search_history.py +rm %{buildroot}%{python_sitelib}/tools/plaso_extract_search_history.pyc +rm %{buildroot}%{python_sitelib}/test_data/__init__.py +rm %{buildroot}%{python_sitelib}/test_data/__init__.pyc +rm %{buildroot}%{python_sitelib}/tools/__init__.py +rm %{buildroot}%{python_sitelib}/tools/__init__.pyc +# Fix python-bytecode-inconsistent-mtime +pushd %{buildroot}%{python_sitelib}/plaso/ +%py_compile . +popd %fdupes -s %{buildroot} +%check +# this would require all the "#requires" packages to be installed. They aren't. +#python utils/check_dependencies.py + %files %defattr(-,root,root) -%doc ACKNOWLEDGEMENTS AUTHORS LICENSE.TXT +%doc ACKNOWLEDGEMENTS AUTHORS LICENSE +%doc utils/check_dependencies.py %{python_sitelib}/plaso-%{version}-py2.7.egg-info %dir %{python_sitelib}/tools -%{python_sitelib}/tools/image_export.py -%{python_sitelib}/tools/image_export.pyc -%{python_sitelib}/tools/plaso_extract_search_history.py -%{python_sitelib}/tools/plaso_extract_search_history.pyc %{python_sitelib}/tools/plaso_process_info.py %{python_sitelib}/tools/plaso_process_info.pyc %{python_sitelib}/plaso -%exclude %{python_sitelib}/test_data/__init__.py -%exclude %{python_sitelib}/test_data/__init__.pyc -%exclude %{python_sitelib}/tools/__init__.py -%exclude %{python_sitelib}/tools/__init__.pyc %{_bindir}/image_export.py %{_bindir}/log2timeline.py %{_bindir}/pinfo.py -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
