Hello community,

here is the log from the commit of package mailgraph for openSUSE:Factory 
checked in at 2020-08-29 20:42:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mailgraph (Old)
 and      /work/SRC/openSUSE:Factory/.mailgraph.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mailgraph"

Sat Aug 29 20:42:28 2020 rev:7 rq:830134 version:1.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/mailgraph/mailgraph.changes      2019-12-31 
10:28:37.158957148 +0100
+++ /work/SRC/openSUSE:Factory/.mailgraph.new.3399/mailgraph.changes    
2020-08-29 20:42:39.769472993 +0200
@@ -1,0 +2,10 @@
+Wed Aug 12 10:02:56 UTC 2020 - Lars Vogdt <[email protected]>
+
+- explicitely require perl(RRDs) module
+- changes in /etc/sysconfig/mailgraph:
+  + enable statfile
+  + default log format switched to rsyslog long time ago
+- split out mailgraph-apache subpackage, containing apache dependency
+  and cgi files (mailgraph works without it)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mailgraph.spec ++++++
--- /var/tmp/diff_new_pack.51CHQT/_old  2020-08-29 20:42:42.445474111 +0200
+++ /var/tmp/diff_new_pack.51CHQT/_new  2020-08-29 20:42:42.445474111 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mailgraph
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -56,11 +56,11 @@
 BuildArch:      noarch
 BuildRequires:  apache2-devel
 Requires(pre):  %fillup_prereq
-Requires:       apache2-mod_perl
 Requires:       logrotate
 Requires:       postfix
 Requires:       rrdtool
 Requires:       perl(File::Tail)
+Requires:       perl(RRDs)
 #
 %if 0%{?suse_version} > 1100
 Provides:       %{css_dir}
@@ -79,6 +79,21 @@
 that produces daily, weekly, monthly and yearly graphs of received/sent
 and bounced/rejected mail (SMTP traffic).
 
+%package apache
+Summary:        Files and dependencies to show mailgraph stats in apache
+Group:          Productivity/Networking/Diagnostic
+Requires:       %name = %version
+Requires:       apache2-mod_perl
+
+%description apache
+This package contains files (and dependencies) to show the generated 
+mailgraph statistics in an apache webserver.
+
+Mailgraph is a very simple mail statistics RRDtool frontend for Postfix
+that produces daily, weekly, monthly and yearly graphs of received/sent
+and bounced/rejected mail (SMTP traffic).
+
+
 %prep
 %setup -q
 %patch0 -p1
@@ -167,6 +182,9 @@
 %else
 %{_sysconfdir}/init.d/%{name}
 %endif
+
+%files apache
+%defattr(-,root,root)
 %{cgi_dir}/%{name}.cgi
 %{css_dir}/%{name}.css
 %{css_dir}/rrdtool.gif

++++++ mailgraph.service ++++++
--- /var/tmp/diff_new_pack.51CHQT/_old  2020-08-29 20:42:42.541474151 +0200
+++ /var/tmp/diff_new_pack.51CHQT/_new  2020-08-29 20:42:42.541474151 +0200
@@ -4,6 +4,12 @@
 After=mail-transfer-agent.target
 
 [Service]
+Environment="MAILGRAPH_OPTS=-v --statfile /var/log/mailgraph/mailgraph.stats"
+Environment="MAILGRAPH_PID=/var/run/mailgraph.pid"
+Environment="MAILGRAPH_RRD=/var/lib/mailgraph"
+Environment="MAILGRAPH_LOG=/var/log/mailgraph/mailgraph.log"
+Environment="MAILGRAPH_LOG_FILE=/var/log/mail"
+Environment="MAILGRAPH_LOG_TYPE=rsyslog"
 EnvironmentFile=-/etc/sysconfig/mailgraph
 Nice=19
 ExecStart=/usr/bin/mailgraph.pl $MAILGRAPH_OPTS --logfile 
${MAILGRAPH_LOG_FILE} --logtype ${MAILGRAPH_LOG_TYPE} --daemon-rrd 
${MAILGRAPH_RRD} --daemon-log ${MAILGRAPH_LOG}

++++++ mailgraph.sysconfig ++++++
--- /var/tmp/diff_new_pack.51CHQT/_old  2020-08-29 20:42:42.569474162 +0200
+++ /var/tmp/diff_new_pack.51CHQT/_new  2020-08-29 20:42:42.573474164 +0200
@@ -17,7 +17,7 @@
 ##  --virbl-is-virus   count virbl rejects as viruses
 #
 ## !!! for systemd there needs to be a [SPACE] before first option !!!
-MAILGRAPH_OPTS=" -v"
+MAILGRAPH_OPTS="-v --statfile /var/log/mailgraph/mailgraph.stats"
 
 ## Type:        string
 ## Default:     "/var/run/mailgraph.pid"
@@ -42,5 +42,5 @@
 ## Type:        string(syslog,rsyslog,metalog)
 ## Default:     "syslog"
 ## Config:      -l, --logtype t
-MAILGRAPH_LOG_TYPE="syslog"
+MAILGRAPH_LOG_TYPE="rsyslog"
 



Reply via email to