From 041aafb21240534a0c151cec310e5860fc8d8733 Mon Sep 17 00:00:00 2001 From: Matej Marusak Date: Feb 01 2018 15:20:15 +0000 Subject: import retrace-server-1.18.0 from upstream Signed-off-by: Matej Marusak --- diff --git a/.gitignore b/.gitignore index 5eeed2b..c112fb8 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /retrace-server-1.15.tar.gz /retrace-server-1.16.tar.gz /retrace-server-1.17.0.tar.gz +/retrace-server-1.18.0.tar.gz diff --git a/retrace-server.spec b/retrace-server.spec index 227c1b4..1de669d 100644 --- a/retrace-server.spec +++ b/retrace-server.spec @@ -1,11 +1,8 @@ -%{!?python_site: %global python_site %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")} - Summary: Application for remote coredump analysis Name: retrace-server -Version: 1.17.0 -Release: 2%{?dist} +Version: 1.18.0 +Release: 1%{?dist} License: GPLv2+ -Group: Applications/System URL: https://github.com/abrt/retrace-server Source0: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -17,9 +14,8 @@ BuildRequires: texinfo BuildRequires: asciidoc BuildRequires: xmlto -%{?el6:Requires: python-argparse} Requires: rsync -Requires: mock >= 1.1.11 +Requires: mock >= 1.4.7 Requires: xz Requires: gzip Requires: bzip2 @@ -28,16 +24,28 @@ Requires: p7zip Requires: unzip Requires: lzop Requires: elfutils -Requires: createrepo +Requires: createrepo >= 0.9.9-27 +%if 0%{?fedora} > 27 +Requires: python2-mod_wsgi +Requires: python2-webob +Requires: python2-magic +Requires: python2-requests +Requires: python2-requests-kerberos +Requires: python2-distro +%else Requires: mod_wsgi -Requires: mod_ssl Requires: python-webob +Requires: python-magic +Requires: python-requests +Requires: python-requests-kerberos +Requires: python-distro +%endif +Requires: mod_ssl Requires: sqlite Requires: yum-utils Requires: crash >= 5.1.7 Requires: wget Requires: kexec-tools -Requires: python-magic Requires(preun): /sbin/install-info Requires(post): /sbin/install-info Requires(post): /usr/bin/crontab @@ -109,7 +117,6 @@ then fi %files -f %{name}.lang -%defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}-httpd.conf %config(noreplace) %{_sysconfdir}/%{name}.conf %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} @@ -125,20 +132,57 @@ fi %{_bindir}/%{name}-reposync %{_bindir}/%{name}-reposync-faf %{_bindir}/%{name}-plugin-checker +%{_bindir}/%{name}-task %{_bindir}/bt_filter %{_bindir}/coredump2packages -%{python_site}/retrace/* +%{python_sitelib}/retrace/* %{_datadir}/%{name}/* %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 %{_mandir}/man1/%{name}-task.1* %doc %{_infodir}/%{name}* -%doc COPYING README.md +%doc README.md +%license COPYING %changelog -* Thu Jul 27 2017 Fedora Release Engineering - 1.17.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild +* Thu Feb 01 2018 Matej Marusak 1.18.0-1 +- mark license as license +- Update Python 2 dependency declarations to new packaging standards +- defattr is not needed as this is default +- use standard python_sitelib macro +- remove old changelog entries +- we do not build for el6 any more +- remove group +- Remove duplicate RetraceWorker._fail call when start_vmcore fails +- Add md5sum and kernelver to email notifications, help text to failing notification +- Convert notify_email_success and notify_email_fail to a single method +- Create notify_email_success / notify_email_fail helpers +- Enable packages with epoch +- Update to new mock +- Set kernelver and vmlinux as soon as possible +- reposync: Cleanup is not done by default in createrepo +- Explicitly state python version in shebangs +- Fix unreadable crash subdirectory when tarball is submitted without group read permissions +- Try noarch when checking for package +- Add pylintrc +- Use dnf in mock config on Fedora +- Update mock config for new mock version +- Pylint updates +- Add commandline client +- Add aliases into FAF reposync +- Cleanup tmp FAF repository after failing +- Write coresize for vmcores +- Change error message +- Fix wrong html tag +- Set zero to non-existing type of tasks +- Fix typeo in manager.wsgi which creates a backtrace on non-ftp tasks. +- Bump version of gettext +- Change path for README.md +- Fix problem with missing modules on kernel versions with cached vmlinux files. +- No first retrace time when no existing task +- Make the reposync tool more verbose if required * Thu Mar 30 2017 Matej Marusak 1.17.0-1 - Enable creating releases with makefile @@ -214,187 +258,3 @@ fi - 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 - -* Tue Mar 03 2015 Michal Toman 1.12-3 -- manager.wsgi - fix kernelver handling (harshula@redhat.com) -- add support for ppc64le and aarch64 - -* Thu Jul 31 2014 Michal Toman 1.12-1 -- do not run kmem on vmcores by default -- fix group readability of vmcores -- add support for lzop compression -- add DeleteFailedTaskAfter config option -- add arch-based remote execution -- add set-success and set-fail actions to retrace-server-interact -- add config sanity checks to retrace-server-cleanup - -* 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 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 -- allow to specify kernel VRA with custom cores -- do not require the trailing slash in task manager URL -- do not kill retrace-server-cleanup when retrace_log does not exist -- cache kernel version into task directory -- add support for ppc64, s390x -- include floating point registers in userspace backtraces -- execute ABRT's exploitability plugin if available - -* Wed Aug 21 2013 Michal Toman 1.10-1 -- add possibility to make case number clickable -- support local files in 'Custom core location' -- create the stats database group-writable -- do not die when saving stats fails -- add possibility to restart task -- do not show the output of 'mod -S' in crash -- change directory to $MISCDIR after jumping to crash -- load correct flavour for el4 kernels -- do not kill tasks started from task manager -- do not die if task manager is disabled -- add basic support for ARM -- find correct debuginfo for realtime kernels -- fix httpd config for apache 2.4 -- use mtime instead of atime in RetraceTask.get_age() -- use correct suffixes when unpacking archives -- do not die if module list can't be read from vmcore -- add support for X-CoreFileDirectory header -- add support for tweaking yum config in reposync -- rework reposync logging -- accept package list in the archive with crash data -- try harder to find ix86 debuginfo in koji - -* Wed Mar 20 2013 Michal Toman 1.9-1 -- guess debuginfo name correctly for <= el4 -- rename _log to retrace-log -- fix cross-arch vmcores processing -- debug mode checked by default in task manager -- fix typos -- touch task directory when using retrace-server-interact -- forward kernel version from command line correctly -- parse flavoured kernel version correctly -- allow to send notification e-mails -- symlink retrace_log to MISC_DIR -- do not die on download error -- rework front page -- be able to specify custom core location -- do not die if makedumpfile fails -- make FTP buffer size configurable -- fix detaching from httpd -- add more logging -- fix paths of DF_BIN and TAR_BIN -- fix dependencies -- unify access to task directory elements -- display the progress of FTP download -- add notes & case no. boxes -- run bt_filter on vmcores automatically -- add timestamps to logs -- enable free space check in task manager -- urlencode hyperlinks - -* Fri Nov 2 2012 Michal Toman 1.8-1 -- use standard python mechanisms for logging -- determine archive types with file magic -- catch all task-specific exceptions -- support various archive types -- make AuthGroup configurable -- allow overriding kernel version & architecture from command line -- create a writable directory for interactive debuggers -- add the retrace-server-interact printdir command -- autoload modules when jumping into crash -- make dead tasks deletable (really look to /proc) -- show downloaded files in task manager -- do not delete files that do not need unpacking -- show task's start and finish time -- added backref to downloaded file -- make vmcore readable for retrace group -- improve architecture guessing for vmcores -- add possibility to wget kernel debuginfo -- try harder to determine the actual vmcore -- fix kernel version handling -- fix httpd config - -* Fri Jul 27 2012 Michal Toman 1.7-1 -- check whether package can be retraced before uploading -- add possibility to disable interactive debugging -- add support for chrooted crashes -- also cache debuginfo for modules loaded in a vmcore -- add task manager -- add possibility to search kernel debuginfo in koji-like directory structure -- fix permission denied on gdb.sh -- add possibility to query an external FTP for task data -- tasks may have multiple results -- tasks may have remote resources -- add possibility to run makedumpfile on vmcores -- add possibility to archive old tasks instead of deleting them - -* Fri May 04 2012 Michal Toman 1.6-1 -- add support for interactive debugging -- coredump2packages - handle malformed eu-unstrip output -- expose repos via HTTP - -* Mon Feb 27 2012 Michal Toman 1.5-1 -- add support for F17 -- add hacks helping to depsolver -- read huge files buffered -- get rid of retrace-server.repo file -- add //delete action - -* Tue Nov 22 2011 Michal Toman 1.4-1 -- add support for vmcores -- add welcome page -- add statistics page -- add support for rawhide - -* Tue Aug 23 2011 Michal Toman 1.3-1 -- cron jobs are not enabled by default -- support X-Task-Type header -- use atomic operations to lock/rename -- add support for http(s) and ftp in reposync -- abort if release is not supported -- add option to use createrepo --update -- add support for F16 - -* Wed Jun 29 2011 Michal Toman 1.2-1 -- add option to verify GPG signatures -- make HTTPS optional -- use RetraceTask class -- validate input -- limit allowed files -- do not allow worker to start twice -- ship cron configuration -- do not require suid launcher -- minor bug and typo fixes - -* Wed Jun 01 2011 Scott Dodson 1.1-2 -- Add asciidocs xmlto to BuildRequires -* Wed Jun 01 2011 Michal Toman 1.1-1 -- add logrotate script -- add asciidoc support and manpages -- replace rm by os.remove() and shutil.rmtree() -- call du and df without block factor -- use communicate() instead of .stdout.read() -- replace popen by execlp -- import manual from ABRT git, minor changes -- create log directory -- use 'retrace' user and group - -* Wed May 18 2011 Michal Toman 1.0-1 -- initial packaging diff --git a/sources b/sources index 3aa91e8..2250e8c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (retrace-server-1.17.0.tar.gz) = 5220c110e4caf29547e5de7f1d98054247dc5de4240364aa974ddb45081f35356a6c8a0c0a2bd0a191ec4a75ec16b713496f26ddf3e86e95abed15621e65446e +SHA512 (retrace-server-1.18.0.tar.gz) = ccf4b90d610b4e2b94db2e5f590b375f291b06f2a48ee771896e634b123a90506617ca947a47985b6d547e603ca08fe6d65a5969cd309874db22f9188747db12