summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-03-08 14:13:29 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2011-03-08 14:13:29 +0100
commit00bd0d83d1907c4a8beaae1d76fa284c0faf13bf (patch)
tree8f191a545df7ac9b6d6035980388d6bb664e57fc
parent077b157218254437185b5cb9d0267df72a918b79 (diff)
downloadabrt-00bd0d83d1907c4a8beaae1d76fa284c0faf13bf.tar.gz
abrt-00bd0d83d1907c4a8beaae1d76fa284c0faf13bf.tar.xz
abrt-00bd0d83d1907c4a8beaae1d76fa284c0faf13bf.zip
add Bugzilla.xml event description
-rw-r--r--abrt.spec1
-rw-r--r--configure.ac2
-rw-r--r--src/plugins/Bugzilla.xml29
-rw-r--r--src/plugins/Makefile.am5
4 files changed, 37 insertions, 0 deletions
diff --git a/abrt.spec b/abrt.spec
index 6492e14a..8befece8 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -496,6 +496,7 @@ fi
%files plugin-bugzilla
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/%{name}/plugins/Bugzilla.conf
+%{_sysconfdir}/%{name}/events/Bugzilla.xml
%{_libdir}/%{name}/Bugzilla.glade
%{_mandir}/man7/abrt-Bugzilla.7.gz
%{_bindir}/abrt-action-bugzilla
diff --git a/configure.ac b/configure.ac
index bf10138d..3ced9e48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,7 @@ AC_CHECK_HEADER([sys/inotify.h], [],
CONF_DIR='${sysconfdir}/${PACKAGE_NAME}'
VAR_RUN='${localstatedir}/run'
PLUGINS_CONF_DIR='${sysconfdir}/${PACKAGE_NAME}/plugins'
+EVENTS_DIR='${sysconfdir}/${PACKAGE_NAME}/events'
EVENTS_CONF_DIR='${sysconfdir}/${PACKAGE_NAME}/events.d'
PLUGINS_LIB_DIR='${libdir}/${PACKAGE_NAME}'
ENABLE_SOCKET_OR_DBUS='-DENABLE_DBUS=1'
@@ -104,6 +105,7 @@ AC_SUBST(CONF_DIR)
AC_SUBST(VAR_RUN)
AC_SUBST(PLUGINS_CONF_DIR)
AC_SUBST(EVENTS_CONF_DIR)
+AC_SUBST(EVENTS_DIR)
AC_SUBST(PLUGINS_LIB_DIR)
AC_SUBST(DEBUG_DUMPS_DIR)
AC_SUBST(DEBUG_INFO_DIR)
diff --git a/src/plugins/Bugzilla.xml b/src/plugins/Bugzilla.xml
new file mode 100644
index 00000000..b8bd6e7a
--- /dev/null
+++ b/src/plugins/Bugzilla.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<event>
+ <name>Bugzilla</name>
+ <action>_Report this problem to the Red Hat bug tracker</action>
+ <options>
+ <option type="text" name="Bugzilla_BugzillaURL">
+ <label>Bugzilla URL</label>
+ <allow-empty>no</allow-empty>
+ <description>Address of the bugzilla server</description>
+ <property>Address of the bugzilla server</property>
+ <notused1>blahblahblah</notused1>
+ </option>
+ <option type="text" name="Bugzilla_Login">
+ <label>User name</label>
+ <allow-empty>no</allow-empty>
+ <description>Username to use to log into your bugzilla account</description>
+ </option>
+ <option type="password" name="Bugzilla_Password">
+ <label>Password</label>
+ <allow-empty>no</allow-empty>
+ <description>Password for your bugzilla account</description>
+ </option>
+ <option type="bool" name="Bugzilla_SSLVerify">
+ <label>SSL Verify</label>
+ <description>Check the ssl key validity</description>
+ </option>
+ </options>
+</event>
+
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 59e0f1a4..0a409463 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -38,6 +38,11 @@ dist_pluginsconf_DATA = \
RHTSupport.conf \
Upload.conf
+eventsdir = $(EVENTS_DIR)
+
+dist_events_DATA = \
+ Bugzilla.xml
+
eventsconfdir = $(EVENTS_CONF_DIR)
dist_eventsconf_DATA = \