From 9b5ad9f0787656af591a28f960a30b03307150cc Mon Sep 17 00:00:00 2001 From: Miroslav Suchý Date: Mar 30 2017 12:54:05 +0000 Subject: import retrace-server-1.17.0 from upstream --- diff --git a/.gitignore b/.gitignore index ffe335b..5eeed2b 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /retrace-server-1.14.tar.gz /retrace-server-1.15.tar.gz /retrace-server-1.16.tar.gz +/retrace-server-1.17.0.tar.gz diff --git a/0001-Fix-invalid-syntax-error-in-sys.stderr.print.patch b/0001-Fix-invalid-syntax-error-in-sys.stderr.print.patch deleted file mode 100644 index c4743d6..0000000 --- a/0001-Fix-invalid-syntax-error-in-sys.stderr.print.patch +++ /dev/null @@ -1,28 +0,0 @@ -From c963a59ef39ade0ed83a72d5833117d89aa3e0c4 Mon Sep 17 00:00:00 2001 -From: Matej Habrnal -Date: Wed, 15 Jun 2016 10:13:31 +0200 -Subject: [PATCH] Fix invalid syntax error in sys.stderr.print() - -Use write() instead of print(), sys.stderr has no print() method. - -Signed-off-by: Matej Habrnal ---- - src/create.wsgi | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/create.wsgi b/src/create.wsgi -index 49c02d7..1c3e98f 100644 ---- a/src/create.wsgi -+++ b/src/create.wsgi -@@ -200,7 +200,7 @@ def application(environ, start_response): - - retcode = task.start() - if retcode != 0: -- sys.stderr.print("Task {0} failed to start: {1}\n".format( -+ sys.stderr.write("Task {0} failed to start: {1}\n".format( - task.get_taskid(), retcode)) - - return response(start_response, "201 Created", "", --- -2.8.4 - diff --git a/retrace-server.spec b/retrace-server.spec index 725df9a..6e38d71 100644 --- a/retrace-server.spec +++ b/retrace-server.spec @@ -2,15 +2,12 @@ Summary: Application for remote coredump analysis Name: retrace-server -Version: 1.16 -Release: 4%{?dist} +Version: 1.17.0 +Release: 1%{?dist} License: GPLv2+ Group: Applications/System -URL: https://fedorahosted.org/abrt/wiki/AbrtRetraceServer -Source: https://fedorahosted.org/released/%{name}/%{name}-%{version}.tar.gz - -# git format-patch -N -M --topo-order %%{version} -Patch0001: 0001-Fix-invalid-syntax-error-in-sys.stderr.print.patch +URL: https://github.com/abrt/retrace-server +Source0: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch @@ -29,6 +26,7 @@ Requires: bzip2 Requires: tar Requires: p7zip Requires: unzip +Requires: lzop Requires: elfutils Requires: createrepo Requires: mod_wsgi @@ -53,10 +51,9 @@ generation service over a network using HTTP protocol. %prep %setup -q -%patch0001 -p1 %build -autoreconf +autoconf %configure make %{?_smp_mflags} @@ -126,26 +123,61 @@ fi %{_bindir}/%{name}-interact %{_bindir}/%{name}-cleanup %{_bindir}/%{name}-reposync +%{_bindir}/%{name}-reposync-faf +%{_bindir}/%{name}-plugin-checker %{_bindir}/bt_filter %{_bindir}/coredump2packages %{python_site}/retrace/* %{_datadir}/%{name}/* -%doc %{_mandir}/man1/%{name}-cleanup.1.gz -%doc %{_mandir}/man1/%{name}-interact.1.gz -%doc %{_mandir}/man1/%{name}-reposync.1.gz -%doc %{_mandir}/man1/%{name}-worker.1.gz +%doc %{_mandir}/man1/%{name}-cleanup.1* +%doc %{_mandir}/man1/%{name}-interact.1* +%doc %{_mandir}/man1/%{name}-reposync.1* +%doc %{_mandir}/man1/%{name}-worker.1* %doc %{_infodir}/%{name}* -%doc COPYING INSTALL README TODO +%doc COPYING README.md %changelog -* Sat Feb 11 2017 Fedora Release Engineering - 1.16-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 1.16-3 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Jun 16 2016 Jakub Filak - 1.16-2 -- Fix invalid syntax caused by use of 'sys.stderr.print()' +* Thu Mar 30 2017 Matej Marusak 1.17.0-1 +- Enable creating releases with makefile +- Introduce gen-version +- Do not use fedorahosted.org as source +- Include md5sum of original archive in summary page +- Do not try to get default time when ftptask +- Fix character escape typo +- Change retrace-server httpd config +- Modify search for existing vmlinux files in cache to handle older kernel-debuginfos +- Default to hex mode for crash commands involving backtraces. +- Create directories for tests if they are not present +- Don't mention old wiki page +- Fix double call of _fail method +- Update README +- Allow any compression of man pages +- Autogen without args configures for debugging +- Run 'configure' at the end of 'autogen' +- Improve autogen to list and install dependencies +- Avoid circular dependency on kernel-debuginfo for vmlinux files already in cache +- Add plugin checking action +- Update documentation of plugin in README +- Use short form rhel when creating repository +- Fix methods arguments +- Move global variables to config.py.in +- Recover from missing start/finish task files +- Change error message in cleanup script +- Add '-ascending' argument to gdb +- Use devtoolset-4-gdb when used on RHEL +- Enable creating repository from faf repository +- Add 'make check' +- Correct eu-unstrip parser if FILE is . +- Not mark packages with different architectures as duplicity +- Separate worker start_retrace method +- Add class to wrap plugins accessing +- Add class to wrap configuration file reading +- Delete python labels when no python backtrace available +- Git ignore bytecode +- Add python backtrace, source and locals into backtrace +- Move src/lib to src/retrace to make testing retrace-server easier +- Add "exploitable" into LocationMatch in the httpd.conf +- Fix invalid syntax error in sys.stderr.print() * Thu Jun 2 2016 Jakub Filak - 1.16-1 - Log failed to start tasks @@ -154,8 +186,6 @@ fi - Fix duplicate email if a vmcore task fails to determine the kernel version - Fix typo preventing email notifications from working. - Correct eu-unstrip parser if FILE is '-' - -* Tue Mar 22 2016 Jakub Filak - 1.15-2 - Allow package names with Epoch * Fri Mar 18 2016 Jakub Filak - 1.15-1 @@ -171,22 +201,25 @@ fi - Enforce uniform mode bits for almost all RetraceTask files - Fix incorrect group permissions when writing RetraceServer files especially with interactive mode - Fix retrace-server-worker --restart backtrace due to unwriteable retrace_log - -* Fri Feb 19 2016 Jakub Filak - 1.14-2 -- Introduce AllowVMCoreTask and AllowUserCoreTask configuration options +- Correct license address +- Add VMCoreTask and UsrCoreTask to config * Tue Feb 16 2016 Jakub Filak - 1.14-1 -- New upstream release 1.14 - -* Thu Feb 04 2016 Fedora Release Engineering - 1.13-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Thu Jan 14 2016 Jakub Filak - 1.13-1 -- New upstream release 1.13 -- Add sqlite and /usr/bin/crontab to Requires - -* Thu Jun 18 2015 Fedora Release Engineering - 1.12-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild +- generated config.py for the target platform at build time +- update URL patterns for Fedora repositories +- spec: add sqlite and cron to requirements +- set "crash" inside get_crash_cmd file if the file does not exist +- fix get_use_mock typo +- use %%global for the nested python_site macro instead of %%define + +* Mon Oct 05 2015 Michal Toman 1.13-1 +- update handling of RT kernels +- do not forward error messages from 'strings' to actual stderr +- do not die if RepoDir has no subdirs +- allow 32-bit crash to be executed on 64-bit hosts +- add bits for script hooks +- better integration with FAF +- refactor worker * Wed Mar 11 2015 Michal Toman 1.12-4 - fix the invocation of mock shell @@ -204,12 +237,13 @@ fi - add set-success and set-fail actions to retrace-server-interact - add config sanity checks to retrace-server-cleanup -* Sun Jun 08 2014 Fedora Release Engineering - 1.11-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild +* Thu Mar 13 2014 Michal Toman 1.11-2 +- fix changelog +- do not run 'kmem' crash command by default * Thu Feb 27 2014 Michal Toman 1.11-1 -- do not die trying to chmod a hardling -- do not hardlink unpacked vmcores +- do not die trying to chmod a hardlink +- only hardlink unpacked vmcores - print command line formatted correctly - allow submitting vmcores with spaces in file name - do not run makedumpfile when not necessary @@ -244,8 +278,6 @@ fi - accept package list in the archive with crash data - try harder to find ix86 debuginfo in koji -* Sun Aug 04 2013 Fedora Release Engineering - 1.9-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Mar 20 2013 Michal Toman 1.9-1 - guess debuginfo name correctly for <= el4 - rename _log to retrace-log @@ -310,8 +342,6 @@ fi - add possibility to run makedumpfile on vmcores - add possibility to archive old tasks instead of deleting them -* Sat Jul 21 2012 Fedora Release Engineering - 1.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri May 04 2012 Michal Toman 1.6-1 - add support for interactive debugging - coredump2packages - handle malformed eu-unstrip output @@ -324,8 +354,6 @@ fi - get rid of retrace-server.repo file - add //delete action -* Sat Jan 14 2012 Fedora Release Engineering - 1.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Nov 22 2011 Michal Toman 1.4-1 - add support for vmcores - add welcome page diff --git a/sources b/sources index 459fa17..3aa91e8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6866854e3d8d31a67c5efe4ea80e7ac1 retrace-server-1.16.tar.gz +SHA512 (retrace-server-1.17.0.tar.gz) = 5220c110e4caf29547e5de7f1d98054247dc5de4240364aa974ddb45081f35356a6c8a0c0a2bd0a191ec4a75ec16b713496f26ddf3e86e95abed15621e65446e