diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-03-17 16:05:27 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-03-17 16:05:27 +0100 |
commit | 9e5aa0f02f90865c8e264c7a8922fa071f0f694c (patch) | |
tree | 27db0f286d4041052b3406341707df275b11418e | |
parent | 1eb94f00ea61c9087b917e1e9d77d5cf9f6fa077 (diff) | |
download | abrt-9e5aa0f02f90865c8e264c7a8922fa071f0f694c.tar.gz abrt-9e5aa0f02f90865c8e264c7a8922fa071f0f694c.tar.xz abrt-9e5aa0f02f90865c8e264c7a8922fa071f0f694c.zip |
-added event config files for Mailx trac#163
-rw-r--r-- | abrt.spec | 3 | ||||
-rw-r--r-- | src/plugins/Makefile.am | 7 | ||||
-rw-r--r-- | src/plugins/mailx_events.conf | 1 | ||||
-rw-r--r-- | src/plugins/report_Mailx.xml | 28 |
4 files changed, 35 insertions, 4 deletions
@@ -505,7 +505,8 @@ fi %files plugin-mailx %defattr(-,root,root,-) %config(noreplace) %{_sysconfdir}/%{name}/plugins/Mailx.conf -%{_libdir}/%{name}/Mailx.glade +%{_sysconfdir}/%{name}/events/report_Mailx.xml +%{_sysconfdir}/%{name}/events.d/mailx_events.conf %{_mandir}/man7/abrt-Mailx.7.gz %{_bindir}/abrt-action-mailx diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 95d9d41d..76cbe04c 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -21,7 +21,6 @@ bin_PROGRAMS = \ dist_pluginslib_DATA = \ Logger.glade \ - Mailx.glade \ Bugzilla.glade \ RHTSupport.glade \ Upload.glade \ @@ -46,12 +45,14 @@ dist_events_DATA = \ report_Bugzilla.conf \ report_Logger.conf \ analyze_LocalGDB.xml \ - analyze_RetraceServer.xml + analyze_RetraceServer.xml \ + report_Mailx.xml eventsconfdir = $(EVENTS_CONF_DIR) dist_eventsconf_DATA = \ - ccpp_events.conf + ccpp_events.conf \ + mailx_events.conf man_MANS = \ abrt-Bugzilla.7 \ diff --git a/src/plugins/mailx_events.conf b/src/plugins/mailx_events.conf new file mode 100644 index 00000000..41b976da --- /dev/null +++ b/src/plugins/mailx_events.conf @@ -0,0 +1 @@ +EVENT=report_Mailx abrt-action-mailx diff --git a/src/plugins/report_Mailx.xml b/src/plugins/report_Mailx.xml new file mode 100644 index 00000000..5ff7ee34 --- /dev/null +++ b/src/plugins/report_Mailx.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<event> + <name>Mailx</name> + <description>Send the problem report over email</description> + <options> + <option type="text" name="Mailx_Subject"> + <label>Subject</label> + <allow-empty>no</allow-empty> + <description>Message subject</description> + <default-value>[abrt] detected a crash</default-value> + </option> + <option type="text" name="Mailx_EmailFrom"> + <label>Sender</label> + <allow-empty>no</allow-empty> + <description>Sender's email</description> + </option> + <option type="text" name="Mailx_EmailTo"> + <label>Recipient</label> + <allow-empty>no</allow-empty> + <description>Recipient's email</description> + </option> + <option type="bool" name="Mailx_SendBinaryData"> + <label>Send Binary Data</label> + <description>Send binary files like coredump</description> + <default-value>no</default-value> + </option> + </options> +</event> |