commit python-pefile for openSUSE:Factory
Hello community, here is the log from the commit of package python-pefile for openSUSE:Factory checked in at 2019-04-30 13:03:45 Comparing /work/SRC/openSUSE:Factory/python-pefile (Old) and /work/SRC/openSUSE:Factory/.python-pefile.new.5536 (New) Package is "python-pefile" Tue Apr 30 13:03:45 2019 rev:5 rq:697757 version:2019.4.18 Changes: --- /work/SRC/openSUSE:Factory/python-pefile/python-pefile.changes 2018-12-24 11:41:05.425468178 +0100 +++ /work/SRC/openSUSE:Factory/.python-pefile.new.5536/python-pefile.changes 2019-04-30 13:03:48.766073591 +0200 @@ -1,0 +2,7 @@ +Wed Apr 24 11:33:25 UTC 2019 - pgaj...@suse.com + +- version update to 2019.4.18 + * speed up parsing of files with many ordinals or exports + * other merged PRs and issues fixed since the last release + +--- Old: pefile-2018.8.8.tar.gz New: pefile-2019.4.18.tar.gz Other differences: -- ++ python-pefile.spec ++ --- /var/tmp/diff_new_pack.ZntLwq/_old 2019-04-30 13:03:49.434073024 +0200 +++ /var/tmp/diff_new_pack.ZntLwq/_new 2019-04-30 13:03:49.438073021 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pefile # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pefile -Version:2018.8.8 +Version:2019.4.18 Release:0 Summary:A python module to work with PE (pertable executable) files License:BSD-3-Clause @@ -61,7 +61,9 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -# Tests not in sdist +# Tests not in sdist and have good reason to at time of writing: +# https://github.com/erocarrera/pefile/issues/82#issuecomment-192018385 +# https://github.com/erocarrera/pefile/issues/171 # %%check # %%python_exec setup.py test ++ pefile-2018.8.8.tar.gz -> pefile-2019.4.18.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pefile-2018.8.8/.travis.yml new/pefile-2019.4.18/.travis.yml --- old/pefile-2018.8.8/.travis.yml 2017-09-03 14:48:50.0 +0200 +++ new/pefile-2019.4.18/.travis.yml2019-04-14 19:30:42.0 +0200 @@ -1,14 +1,24 @@ language: python -python: -- '2.7' -- '3.5' -- '3.5-dev' -- '3.6' -- '3.6-dev' +cache: pip +sudo: false +matrix: + include: +- python: 2.7 +- python: 3.5 +- python: 3.6 +- python: 3.7 + dist: xenial + sudo: yes +- python: nightly + dist: xenial + sudo: yes +- python: pypy +- python: pypy3 before_install: -- openssl aes-256-cbc -K $encrypted_a288ee1b388d_key -iv $encrypted_a288ee1b388d_iv - -in tests/test_data.tar.bz2.enc -out tests/test_data.tar.bz2 -d -- tar jxf tests/test_data.tar.bz2 -C tests +- if test -n "$encrypted_a288ee1b388d_key" && test -n "$encrypted_a288ee1b388d_iv"; then +openssl aes-256-cbc -K $encrypted_a288ee1b388d_key -iv $encrypted_a288ee1b388d_iv -in tests/test_data.tar.bz2.enc -out tests/test_data.tar.bz2 -d; +tar jxf tests/test_data.tar.bz2 -C tests; + fi install: - pip install -U pip pytest-cov codecov - pip install -I -e . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pefile-2018.8.8/LICENSE new/pefile-2019.4.18/LICENSE --- old/pefile-2018.8.8/LICENSE 2018-08-08 09:28:09.0 +0200 +++ new/pefile-2019.4.18/LICENSE2019-01-21 22:44:23.0 +0100 @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2004-2018 Ero Carrera +Copyright (c) 2004-2019 Ero Carrera Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pefile-2018.8.8/PKG-INFO new/pefile-2019.4.18/PKG-INFO --- old/pefile-2018.8.8/PKG-INFO2018-08-08 10:00:27.0 +0200 +++ new/pefile-2019.4.18/PKG-INFO 2019-04-18 18:19:38.0 +0200 @@ -1,12 +1,12 @@ Metadata-Version: 1.1 Name: pefile -Version: 2018.8.8 +Version: 2019.4.18 Summary: Python PE parsing module Home-page: https://github.com/erocarrera/pefile Author: Ero Carrera Author-email: ero.carr...@gmail.com License: UNKNOWN -Download-URL: https://github.com/erocarrera/pefile/releases/download/v2018.8.8/pefile-2018.8.8.tar.gz +Download-URL:
commit python-pefile for openSUSE:Factory
Hello community, here is the log from the commit of package python-pefile for openSUSE:Factory checked in at 2018-12-24 11:41:04 Comparing /work/SRC/openSUSE:Factory/python-pefile (Old) and /work/SRC/openSUSE:Factory/.python-pefile.new.28833 (New) Package is "python-pefile" Mon Dec 24 11:41:04 2018 rev:4 rq:659547 version:2018.8.8 Changes: --- /work/SRC/openSUSE:Factory/python-pefile/python-pefile.changes 2018-11-22 13:25:09.462022994 +0100 +++ /work/SRC/openSUSE:Factory/.python-pefile.new.28833/python-pefile.changes 2018-12-24 11:41:05.425468178 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:51:24 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-pefile.spec ++ --- /var/tmp/diff_new_pack.oaJPm1/_old 2018-12-24 11:41:05.969467696 +0100 +++ /var/tmp/diff_new_pack.oaJPm1/_new 2018-12-24 11:41:05.969467696 +0100 @@ -12,7 +12,7 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,6 @@ Group: Development/Languages/Python Url:https://github.com/erocarrera/pefile Source: https://files.pythonhosted.org/packages/source/p/pefile/pefile-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros
commit python-pefile for openSUSE:Factory
Hello community, here is the log from the commit of package python-pefile for openSUSE:Factory checked in at 2018-11-22 13:25:06 Comparing /work/SRC/openSUSE:Factory/python-pefile (Old) and /work/SRC/openSUSE:Factory/.python-pefile.new.19453 (New) Package is "python-pefile" Thu Nov 22 13:25:06 2018 rev:3 rq:650574 version:2018.8.8 Changes: --- /work/SRC/openSUSE:Factory/python-pefile/python-pefile.changes 2017-11-14 13:04:24.623178544 +0100 +++ /work/SRC/openSUSE:Factory/.python-pefile.new.19453/python-pefile.changes 2018-11-22 13:25:09.462022994 +0100 @@ -1,0 +2,12 @@ +Fri Nov 16 19:07:57 UTC 2018 - Todd R + +- Update to version 2018.8.8 + * Fixed tests + * Fixed bug accessing warnings attribute from the PE object + * Fix is_driver()'s behavior under Python 3. + * Fix a bug attempting to handle an invalid string + * Modified version information to handle multiple version +information that may exist within a single file. + * Prevent division by zero when pe.trim() returns no data + +--- Old: pefile-2017.11.5.tar.gz New: pefile-2018.8.8.tar.gz Other differences: -- ++ python-pefile.spec ++ --- /var/tmp/diff_new_pack.elfkRb/_old 2018-11-22 13:25:11.026021362 +0100 +++ /var/tmp/diff_new_pack.elfkRb/_new 2018-11-22 13:25:11.030021359 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pefile # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX 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,9 +17,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-pefile -Version:2017.11.5 +Version:2018.8.8 Release:0 Summary:A python module to work with PE (pertable executable) files License:BSD-3-Clause @@ -30,10 +29,10 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module future} -%endif Requires: python-future +# SECTION test requirements +BuildRequires: %{python_module future} +# /SECTION BuildArch: noarch %python_subpackages @@ -63,14 +62,13 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} -%check -%python_exec setup.py test -%endif +# Tests not in sdist +# %%check +# %%python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README +%doc README +%license LICENSE %{python_sitelib}/* %changelog ++ pefile-2017.11.5.tar.gz -> pefile-2018.8.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pefile-2017.11.5/LICENSE new/pefile-2018.8.8/LICENSE --- old/pefile-2017.11.5/LICENSE2017-05-26 17:11:08.0 +0200 +++ new/pefile-2018.8.8/LICENSE 2018-08-08 09:28:09.0 +0200 @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2004-2017 Ero Carrera +Copyright (c) 2004-2018 Ero Carrera Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pefile-2017.11.5/PKG-INFO new/pefile-2018.8.8/PKG-INFO --- old/pefile-2017.11.5/PKG-INFO 2017-11-05 20:46:04.0 +0100 +++ new/pefile-2018.8.8/PKG-INFO2018-08-08 10:00:27.0 +0200 @@ -1,12 +1,12 @@ Metadata-Version: 1.1 Name: pefile -Version: 2017.11.5 +Version: 2018.8.8 Summary: Python PE parsing module Home-page: https://github.com/erocarrera/pefile Author: Ero Carrera Author-email: ero.carr...@gmail.com License: UNKNOWN -Download-URL: https://github.com/erocarrera/pefile/releases/download/v2017.11.5/pefile-2017.11.5.tar.gz +Download-URL: https://github.com/erocarrera/pefile/releases/download/v2018.8.8/pefile-2018.8.8.tar.gz Description: pefile, Portable Executable reader module All the PE file basic structures are available with their default names as @@ -20,7 +20,7 @@ standard use. To the best of my knowledge most of the abuse is handled gracefully. -Copyright (c) 2005-2017 Ero Carrera +Copyright (c) 2005-2018 Ero Carrera All rights reserved. Keywords: pe,exe,dll,pefile,pecoff diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pefile-2017.11.5/README new/pefile-2018.8.8/README ---
commit python-pefile for openSUSE:Factory
Hello community, here is the log from the commit of package python-pefile for openSUSE:Factory checked in at 2017-11-14 13:04:10 Comparing /work/SRC/openSUSE:Factory/python-pefile (Old) and /work/SRC/openSUSE:Factory/.python-pefile.new (New) Package is "python-pefile" Tue Nov 14 13:04:10 2017 rev:2 rq:541564 version:2017.11.5 Changes: --- /work/SRC/openSUSE:Factory/python-pefile/python-pefile.changes 2015-08-19 09:29:43.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-pefile.new/python-pefile.changes 2017-11-14 13:04:24.623178544 +0100 @@ -1,0 +2,8 @@ +Thu Oct 19 00:59:49 UTC 2017 - toddrme2...@gmail.com + +- Implement single-spec version +- Update to version 2017.9.3 + * No changelog +- Drop unneeded force_version.patch + +--- Old: UserDB.TXT force_version.patch pefile-1.2.10-139.tar.gz New: pefile-2017.11.5.tar.gz Other differences: -- ++ python-pefile.spec ++ --- /var/tmp/diff_new_pack.WHBImq/_old 2017-11-14 13:04:25.711138763 +0100 +++ /var/tmp/diff_new_pack.WHBImq/_new 2017-11-14 13:04:25.715138616 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pefile # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,44 +16,61 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-pefile -Version:1.2.10+139 +Version:2017.11.5 Release:0 Summary:A python module to work with PE (pertable executable) files License:BSD-3-Clause -Group: Development/Libraries/Python +Group: Development/Languages/Python Url:https://github.com/erocarrera/pefile -Source0: https://github.com/erocarrera/pefile/archive/pefile-1.2.10-139.tar.gz -Source1: http://reverse-engineering-scripts.googlecode.com/files/UserDB.TXT -Patch1: force_version.patch -BuildRequires: python-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +Source: https://files.pythonhosted.org/packages/source/p/pefile/pefile-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module future} %endif +Requires: python-future +BuildArch: noarch + +%python_subpackages %description -PEFILE is a python module that is often used in malware analysis. (Replace this with text from website.) +Portable Executable reader module. + +All the PE file basic structures are available with their default names as +attributes of the instance returned. + +Processed elements such as the import table are made available with lowercase +names, to differentiate them from the upper case basic structure names. + +pefile has been tested against many edge cases such as corrupted and malformed +PEs as well as malware, which often attempts to abuse the format way beyond its +standard use. To the best of my knowledge most of the abuse is handled +gracefully. %prep -%setup -q -n pefile-pefile-1.2.10-139 -%patch1 -p1 -cp %{SOURCE1} . -sed -i "s|\r||" COPYING UserDB.TXT +%setup -q -n pefile-%{version} +sed -i -e '/^#!\//, 1d' pefile.py %build -python setup.py build +%python_build %install -python setup.py install --root=%{buildroot} --prefix=%{_prefix} -install -D -m 644 UserDB.TXT %{buildroot}%{_datadir}/python-pefile/UserDB.TXT +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%if %{with test} +%check +%python_exec setup.py test +%endif -%files -%defattr(-,root,root) -%doc COPYING README -%{_datadir}/python-pefile/ +%files %{python_files} +%defattr(-,root,root,-) +%doc LICENSE README %{python_sitelib}/* %changelog ++ pefile-1.2.10-139.tar.gz -> pefile-2017.11.5.tar.gz ++ 5375 lines of diff (skipped)