commit monit for openSUSE:Factory

2018-01-13 Thread root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2018-01-13 21:44:10

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Sat Jan 13 21:44:10 2018 rev:40 rq:556905 version:5.25.1

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2017-12-01 
15:54:27.298273435 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2018-01-13 
21:44:21.507274002 +0100
@@ -1,0 +2,20 @@
+Thu Dec 14 10:01:46 UTC 2017 - ch...@computersalat.de
+
+- remove double Req of %insserv_prereq
+
+---
+Wed Dec 13 17:29:44 UTC 2017 - ch...@computersalat.de
+
+- fix for boo#1072692
+  * monit: unable to start
+  * add systemd monit.service file
+  * still support SysVinit (SLE_11)
+- update to 5.25.1
+  * https://mmonit.com/monit/changes/
+- rebase patches
+  * monit-better_default_monitrc.patch
+  * monit-rundir.patch
+- format specfile
+- more use of macros
+
+---

Old:

  monit-5.22.0.tar.gz
  monit-5.22.0.tar.gz.sha256

New:

  monit-5.25.1.tar.gz
  monit-5.25.1.tar.gz.sha256
  monit.service



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.VFJppV/_old  2018-01-13 21:44:22.503227579 +0100
+++ /var/tmp/diff_new_pack.VFJppV/_new  2018-01-13 21:44:22.507227393 +0100
@@ -23,19 +23,21 @@
 %endif
 
 Name:   monit
-Version:5.22.0
+Version:5.25.1
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0
 Group:  System/Monitoring
-Source: https://mmonit.com/monit/dist/monit-%{version}.tar.gz
-Source2:https://mmonit.com/monit/dist/monit-%{version}.tar.gz.sha256
-Source1:monit-vendor-files.tar.gz
-Patch1: monit-better_default_monitrc.patch
-Patch2: monit-rundir.patch
-Source99:   monit-rpmlintrc
-Url:https://mmonit.com/monit/#download
+Url:https://m%{name}.com/%{name}/#download
+Source0:https://m%{name}.com/%{name}/dist/%{name}-%{version}.tar.gz
+Source1:
https://m%{name}.com/%{name}/dist/%{name}-%{version}.tar.gz.sha256
+Source2:%{name}-rpmlintrc
+Source3:%{name}.service
+Source100:  %{name}-vendor-files.tar.gz
+Patch1: %{name}-better_default_monitrc.patch
+Patch2: %{name}-rundir.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+#
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison
@@ -46,9 +48,20 @@
 BuildRequires:  make
 BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
-PreReq: %insserv_prereq
-Obsoletes:  monit-beta < %{version}
-Provides:   monit-beta = %{version}
+
+%if 0%{?suse_version} >= 1210
+BuildRequires:  systemd
+%{?systemd_requires}
+%define has_systemd 1
+%define _monit_run_dir  /run/%{name}
+%else
+Requires(pre):  %insserv_prereq
+%define _monit_run_dir  %{_localstatedir}/run/%{name}
+%endif
+
+Obsoletes:  %{name}-beta < %{version}
+Provides:   %{name}-beta = %{version}
+
 %if "%{_vendor}" == "suse"
 %define VENDOR SUSE
 %else
@@ -88,9 +101,9 @@
 You must also install the package %{name} to actually use monit.
 
 %prep
-%setup -q -a1
-%patch1 -p1
-%patch2 -p1
+%setup -q -a100
+%patch1
+%patch2
 
 find doc/ -type f -size 0 -exec %__rm {} \;
 
@@ -106,27 +119,27 @@
 
 %__install -d \
"%{buildroot}/etc/init.d" \
-   "%{buildroot}%{_sysconfdir}/monit.d" \
+   "%{buildroot}%{_sysconfdir}/%{name}.d" \
"%{buildroot}%{_sbindir}" \
-   "%{buildroot}%{_datadir}/monit" \
+   "%{buildroot}%{_datadir}/%{name}" \
"%{buildroot}%{_fillupdir}" \
-   "%{buildroot}/run/monit" \
-   "%{buildroot}/run/monit/events" \
-   "%{buildroot}%{_var}/lib/monit"
-
-. vendor-files/sysconfig/monit.tmpl
-MONIT_BIN="%{_bindir}/monit"
-MONIT_MODIFY_INITTAB="%{_datadir}/monit/monit-modifyinittab"
-MONIT_PID_FILE="/run/monit/monit.pid"
-MONIT_SYSCONFIG_FILE="/etc/sysconfig/monit"
-MONIT_INITTAB_STATE_FILE="%{_var}/lib/monit/monit-inittab.state"
-MONIT_ARGS="-p ${MONIT_PID_FILE} -s /run/monit/monit.state"
-MONIT_EVENTQUE_DIR="%{_var}/lib/monit"
-%__sed -e "s|%{_var}/monit|${MONIT_EVENTQUE_DIR}|g" \
-   < monitrc > "%{buildroot}%{_sysconfdir}/monitrc"
+   "%{buildroot}%{_monit_run_dir}" \
+   "%{buildroot}%{_monit_run_dir}/events" \
+   "%{buildroot}%{_localstatedir}/lib/%{name}"
+
+. vendor-files/sysconfig/%{name}.tmpl
+MONIT_BIN="%{_bindir}/%{name}"
+MONIT_MODIFY_INITTAB="%{_datadir}/%{name}/%{name}-modifyinittab"
+MONIT_PID_FILE="%{_monit_run_dir}/%{name}.pid"

commit monit for openSUSE:Factory

2017-12-01 Thread root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2017-12-01 15:54:01

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Fri Dec  1 15:54:01 2017 rev:39 rq:546725 version:5.22.0

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2017-04-24 
09:49:22.342962384 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2017-12-01 
15:54:27.298273435 +0100
@@ -1,0 +2,6 @@
+Thu Nov 23 13:50:51 UTC 2017 - rbr...@suse.com
+
+- Replace references to /var/adm/fillup-templates with new 
+  %_fillupdir macro (boo#1069468)
+
+---



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.88d8fa/_old  2017-12-01 15:54:28.582227232 +0100
+++ /var/tmp/diff_new_pack.88d8fa/_new  2017-12-01 15:54:28.582227232 +0100
@@ -17,6 +17,11 @@
 #
 
 
+#Compat macro for new _fillupdir macro introduced in Nov 2017
+%if ! %{defined _fillupdir}
+  %define _fillupdir /var/adm/fillup-templates
+%endif
+
 Name:   monit
 Version:5.22.0
 Release:0
@@ -104,7 +109,7 @@
"%{buildroot}%{_sysconfdir}/monit.d" \
"%{buildroot}%{_sbindir}" \
"%{buildroot}%{_datadir}/monit" \
-   "%{buildroot}%{_var}/adm/fillup-templates" \
+   "%{buildroot}%{_fillupdir}" \
"%{buildroot}/run/monit" \
"%{buildroot}/run/monit/events" \
"%{buildroot}%{_var}/lib/monit"
@@ -140,7 +145,7 @@
 %__install -m0754 vendor-files/init/monit "%{buildroot}/etc/init.d/monit"
 %__ln_s ../../etc/init.d/monit "%{buildroot}/usr/sbin/rcmonit"
 %__install -m0754 vendor-files/tools/monit-modifyinittab 
"%{buildroot}%{_datadir}/monit"
-%__install -m0644 vendor-files/sysconfig/monit 
"%{buildroot}%{_var}/adm/fillup-templates/sysconfig.monit"
+%__install -m0644 vendor-files/sysconfig/monit 
"%{buildroot}%{_fillupdir}/sysconfig.monit"
 touch "%{buildroot}%{_var}/lib/monit/monit-inittab.state"
 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1110
 touch "%{buildroot}/run/monit/.monit.id"
@@ -185,7 +190,7 @@
 %{_bindir}/monit
 %dir %{_datadir}/monit
 %{_datadir}/monit/monit-modifyinittab
-%{_var}/adm/fillup-templates/sysconfig.monit
+%{_fillupdir}/sysconfig.monit
 %dir %{_var}/lib/monit
 %ghost %{_var}/lib/monit/monit-inittab.state
 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1110




commit monit for openSUSE:Factory

2017-04-24 Thread root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2017-04-24 09:49:21

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Mon Apr 24 09:49:21 2017 rev:38 rq:489761 version:5.22.0

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2017-03-18 
20:51:00.733954149 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2017-04-24 
09:49:22.342962384 +0200
@@ -1,0 +2,41 @@
+Fri Apr 21 08:28:52 UTC 2017 - lie...@rz.uni-mannheim.de
+
+- update to 5.22:
+  + New: Linux: Added support for monitoring ZFS disk activity.
+  + New: Added option to explicit specify if the HTTP method HEAD
+ or GET should be used in a HTTP protocol test. If not
+ specified, HEAD will be used unless a content or a checksum
+ test is also specified, in which case GET is used instead.
+ The default is normally what you want, but now you have the
+ option to specificially use GET instead of HEAD.
+  + New: File, Directory, Fifo checks: Added support for explicit
+ testing access, change and modification time properties.
+ If the type is not specified, the original timestamp test
+ is performed, which checks the latest of ctime and mtime.
+ It is also possible to use newer and older operators in the
+ test now.
+  + New: Renamed the statement, set logfile  to
+set log .
+  + Fixed: Linux: If the monitored filesystem was not found in
+   /proc/diskstat, Monit could leak filedescriptors.
+  + Fixed: Solaris on SPARC: Monit didn't trigger an event if a
+   protocol test failed.
+  + Fixed: Systemd template for Monit: Added StandardOutput=null
+   option to prevent systemd to duplicate Monit log output.
+  + Fixed: Monit cross-compilation
+  + Fixed: configure --without-zlib
+  + Fixed: If the connection test required STARTTLS, the certificate
+   valid days test was broken.
+  + Fixed: Compile on MacOSX 10.6.x - 10.9.x.
+  + Fixed: HTTP protocol test: Allow using a request string in addition
+   to path, to monitor e.g. a HTTP proxy.
+  + Fixed: If connection or ping test repetition is set, log partial
+   failures with warning priority instead of error.
+  + Fixed: Linux: Support rootfs ramdisk.
+  + Fixed: Connection retry was broken and performed the test only
+   once with no retry on error.
+  + Fixed: Linux: Subtract ZFS ARC size from the system memory usage.
+  + Fixed: SSL certificate validity test and checksum test didn't work
+   for self-signed certificates.
+
+---

Old:

  monit-5.21.0.tar.gz
  monit-5.21.0.tar.gz.sha256

New:

  monit-5.22.0.tar.gz
  monit-5.22.0.tar.gz.sha256



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.rLeYrQ/_old  2017-04-24 09:49:23.330822667 +0200
+++ /var/tmp/diff_new_pack.rLeYrQ/_new  2017-04-24 09:49:23.334822100 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   monit
-Version:5.21.0
+Version:5.22.0
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0

++ monit-5.21.0.tar.gz -> monit-5.22.0.tar.gz ++
 24972 lines of diff (skipped)

++ monit-5.21.0.tar.gz.sha256 -> monit-5.22.0.tar.gz.sha256 ++
--- /work/SRC/openSUSE:Factory/monit/monit-5.21.0.tar.gz.sha256 2017-03-18 
20:51:00.645966614 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit-5.22.0.tar.gz.sha256
2017-04-24 09:49:22.254974828 +0200
@@ -1 +1 @@
-fbf76163ed4a180854d378af60fed0cdbc5a8772823957234efc182ead10c03c  
monit-5.21.0.tar.gz
+9fc58b5e3caafd64f0b6fff3e65ae757239fab37d04fb33efce177da15176183  
monit-5.22.0.tar.gz

++ monit-better_default_monitrc.patch ++
--- /var/tmp/diff_new_pack.rLeYrQ/_old  2017-04-24 09:49:23.738764969 +0200
+++ /var/tmp/diff_new_pack.rLeYrQ/_new  2017-04-24 09:49:23.738764969 +0200
@@ -1,11 +1,11 @@
 monit-5.20.0/monitrc   2016-10-21 11:58:30.0 +0200
-+++ monit-5.20.0/monitrc   2016-11-04 14:58:04.539402482 +0100
+--- monit-5.22.0/monitrc   2017-04-19 15:19:49.0 +0200
 monit-5.22.0/monitrc   2017-04-21 10:56:02.422079492 +0200
 @@ -24,20 +24,20 @@
  ## Set syslog logging. If you want to log to a standalone log file instead,
  ## specify the full path to the log file
  #
--set logfile syslog
-+set logfile syslog facility log_daemon
+-set log syslog
++set log syslog facility log_daemon
  
  #
  #
@@ -13,14 +13,14 @@
  ## running Monit instance. By default this file is stored in $HOME/.monit.pid
  #
 -# set pidfile /var/run/monit.pid
-+set 

commit monit for openSUSE:Factory

2017-03-18 Thread root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2017-03-18 20:50:59

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Sat Mar 18 20:50:59 2017 rev:37 rq:480851 version:5.21.0

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2016-11-10 
13:23:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2017-03-18 
20:51:00.733954149 +0100
@@ -1,0 +2,33 @@
+Fri Mar 17 13:45:49 UTC 2017 - lie...@rz.uni-mannheim.de
+
+- update to 5.21:
+  + New: We have added a set of new tests that you can use to monitor
+ and check the performance of your file-systems and disks.
+ Disk i/o metrics are also displayed in the Monit GUI and
+ CLI. M/Monit 3.7.0 can be used to view statistics and charts.
+  + New: We have also added disk i/o tests and metrics for each process.
+ Available metrics depends on the platform.
+  + New: You can now use NFS/CIFS/SSHFS/etc. connection strings as path
+ for filesystem checks.
+  + New: Report filesystem type in status output
+  + New: Extended existence test to not only test if an object does not
+ exist, but also the inverse, to test if an object does exist.
+  + New: You can now set the SSL/TLS version to be used by the Monit
+ HTTP interface. The syntax follows the general SSL/TLS options
+ settings, which was introduced in Monit 5.15.
+  + New: It is now possible to set the SSL/TLS ciphers Monit's HTTP
+ server should use.
+  + New: The certificate minimum valid days test now triggers the
+ timestamp event instead of connection event.
+  + New: M/Monit: show MacOS version instead of Darwin kernel version.
+  + New: Show textual representation of filesystem flags instead of numeric.
+  + Fixed: A lot of bugs.
+
+---
+Wed Mar 15 17:57:42 UTC 2017 - dims...@opensuse.org
+
+- PreReq %insserv_prereq: we install legacy SyS-V init scripts and
+  need to handle them. It's our own duty to ensure the legacy
+  toolchain is present.
+
+---

Old:

  monit-5.20.0.tar.gz
  monit-5.20.0.tar.gz.sha256

New:

  monit-5.21.0.tar.gz
  monit-5.21.0.tar.gz.sha256



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.rJgcIJ/_old  2017-03-18 20:51:01.345867462 +0100
+++ /var/tmp/diff_new_pack.rJgcIJ/_new  2017-03-18 20:51:01.349866896 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package monit
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #   Pascal Bleser 
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:   monit
-Version:5.20.0
+Version:5.21.0
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0
@@ -41,6 +41,7 @@
 BuildRequires:  make
 BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
+PreReq: %insserv_prereq
 Obsoletes:  monit-beta < %{version}
 Provides:   monit-beta = %{version}
 %if "%{_vendor}" == "suse"

++ monit-5.20.0.tar.gz -> monit-5.21.0.tar.gz ++
 39429 lines of diff (skipped)

++ monit-5.20.0.tar.gz.sha256 -> monit-5.21.0.tar.gz.sha256 ++
--- /work/SRC/openSUSE:Factory/monit/monit-5.20.0.tar.gz.sha256 2016-11-10 
13:23:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit-5.21.0.tar.gz.sha256
2017-03-18 20:51:00.645966614 +0100
@@ -1 +1 @@
-ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d  
monit-5.20.0.tar.gz
+fbf76163ed4a180854d378af60fed0cdbc5a8772823957234efc182ead10c03c  
monit-5.21.0.tar.gz




commit monit for openSUSE:Factory

2016-11-10 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2016-11-10 13:23:48

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2016-09-24 
15:29:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2016-11-10 
13:23:50.0 +0100
@@ -1,0 +2,25 @@
+Fri Nov  4 13:17:39 UTC 2016 - lie...@rz.uni-mannheim.de
+
+- update to 5.20:
+  + New: Added gzip compression support to the HTTP GUI.
+  + New: Added gzip compression when communicating with M/Monit.
+  + New: Added global set onreboot 
+statement which allows to set a default service startup
+policy (the default is onreboot start).
+  + New: Added new timeout options to the set limits statement:
+  + New: The cpu, memory, swap, inode and space tests now allows
+using decimal values when testing percent usage.
+  + New: Set the HOME environment variable when executing program
+as other user.
+  + Fixed: CSRF vulnerability (CVE-2016-7067). (boo#1007455) 
+  + Fixed: A lot of bugs.
+
+- update to 5.19:
+  + New: Monit HTTP: support for IPv6 added.
+  + New: Monit HTTP GUI: it is now possible to listen on both TCP
+and unix sockets.
+  + New: apache-status protocol test:
+  + New: Added Basic Authentication support to the HTTP protocol test.
+  + Fixed: A lot of bugs.
+
+---

Old:

  monit-5.18.tar.gz
  monit-5.18.tar.gz.sha256

New:

  monit-5.20.0.tar.gz
  monit-5.20.0.tar.gz.sha256



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.XSqTgD/_old  2016-11-10 13:23:51.0 +0100
+++ /var/tmp/diff_new_pack.XSqTgD/_new  2016-11-10 13:23:51.0 +0100
@@ -18,13 +18,13 @@
 
 
 Name:   monit
-Version:5.18
+Version:5.20.0
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0
 Group:  System/Monitoring
-Source: http://mmonit.com/monit/dist/monit-%{version}.tar.gz
-Source2:http://mmonit.com/monit/dist/monit-%{version}.tar.gz.sha256
+Source: https://mmonit.com/monit/dist/monit-%{version}.tar.gz
+Source2:https://mmonit.com/monit/dist/monit-%{version}.tar.gz.sha256
 Source1:monit-vendor-files.tar.gz
 Patch1: monit-better_default_monitrc.patch
 Patch2: monit-rundir.patch

++ monit-5.18.tar.gz -> monit-5.20.0.tar.gz ++
 27614 lines of diff (skipped)

++ monit-5.18.tar.gz.sha256 -> monit-5.20.0.tar.gz.sha256 ++
--- /work/SRC/openSUSE:Factory/monit/monit-5.18.tar.gz.sha256   2016-09-24 
15:29:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit-5.20.0.tar.gz.sha256
2016-11-10 13:23:50.0 +0100
@@ -1 +1 @@
-75ccb85fa2ac1f44c9c95c5a6b539a254b0a1d64e16a36ec9eeb867484a4fcaf  
monit-5.18.tar.gz
+ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d  
monit-5.20.0.tar.gz

++ monit-better_default_monitrc.patch ++
--- /var/tmp/diff_new_pack.XSqTgD/_old  2016-11-10 13:23:52.0 +0100
+++ /var/tmp/diff_new_pack.XSqTgD/_new  2016-11-10 13:23:52.0 +0100
@@ -1,5 +1,5 @@
 monit-5.16/monitrc 2016-02-04 09:11:03.0 +0100
-+++ monit-5.16/monitrc 2016-02-09 08:51:00.185575004 +0100
+--- monit-5.20.0/monitrc   2016-10-21 11:58:30.0 +0200
 monit-5.20.0/monitrc   2016-11-04 14:58:04.539402482 +0100
 @@ -24,20 +24,20 @@
  ## Set syslog logging. If you want to log to a standalone log file instead,
  ## specify the full path to the log file
@@ -16,7 +16,7 @@
 +set pidfile /run/monit/monit.pid
  #
  ## Set the location of the Monit id file which stores the unique id for the
- ## Monit instance. The id is generated and stored on first Monit start. By 
+ ## Monit instance. The id is generated and stored on first Monit start. By
  ## default the file is placed in $HOME/.monit.id.
  #
 -# set idfile /var/.monit.id
@@ -33,29 +33,29 @@
  #
  #
  
-@@ -62,10 +62,10 @@
+@@ -66,10 +66,10 @@
  ## Set global SSL options (just most common options showed, see manual for
  ## full list).
  #
 -# set ssl {
 -# verify : enable, # verify SSL certificates (disabled by default but 
STRONGLY RECOMMENDED)
-+set ssl {
++ set ssl {
 + verify : enable, # verify SSL certificates (disabled by default but 
STRONGLY RECOMMENDED)
  # selfsigned : allow   # allow self signed SSL certificates (reject by 
default)
 -# }
-+}
++ }
  #
  #
- ## Set the list of mail servers for alert delivery. Multiple servers may be 
-@@ -77,6 +77,7 @@
+ ## Set the list of mail servers for alert delivery. 

commit monit for openSUSE:Factory

2016-09-24 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2016-09-24 15:28:36

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2016-04-12 
19:40:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2016-09-24 
15:29:18.0 +0200
@@ -1,0 +2,32 @@
+Mon Jun 27 13:40:19 UTC 2016 - lie...@rz.uni-mannheim.de
+
+- update to 5.18:
+  + New: Monit console commands now output text in tables and in
+ colors. Your terminal must support UTF-8 and colors. For
+ best rendering of tables, we recommend using a fixed width
+ font in your terminal such as Menlo for non-ascii fonts.
+ Please see this FAQ entry to learn how to setup your console
+ to support UTF-8 character encoding.
+  + New: A new CLI command was added for succinct reporting and to make
+ it easy to query Monit from scripts: monit report [options].
+ Without option, prints a short overview of the state of all
+ services managed by Monit.
+  + New: Environment variable MONIT_SERVICE was added to check program
+ scripts. The variable contains the name of the service
+ (from monitrc) for which the program is executed.
+  + New: A new onreboot statement was added for controlling service
+ startup on reboot.
+  + New: The old mode statement is reduced to active and passive. Where
+ active mode provides automatic restart of service on error,
+ while passive does not, and only provide alerts. Active mode
+ is the default mode. The third mode, manual, is deprecated
+ and replaced by onreboot laststate. The manual mode is still
+ supported for backward compatibility.
+  + New: Test for checking system uptime. Can be used to test the uptime
+ of the system (boot time) and perform an action.
+  + New: Added >= and <= as operators for use in comparison tests.
+  + New: All errors will be listed if a service has multiple errors.
+ Previously, Monit displayed only the last error.
+  + Fixed: A lot of bugfixes...
+
+---

Old:

  monit-5.17.1.tar.gz
  monit-5.17.1.tar.gz.sha256

New:

  monit-5.18.tar.gz
  monit-5.18.tar.gz.sha256



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.dH1wEF/_old  2016-09-24 15:29:19.0 +0200
+++ /var/tmp/diff_new_pack.dH1wEF/_new  2016-09-24 15:29:19.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   monit
-Version:5.17.1
+Version:5.18
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0

++ monit-5.17.1.tar.gz -> monit-5.18.tar.gz ++
 27217 lines of diff (skipped)

++ monit-5.17.1.tar.gz.sha256 -> monit-5.18.tar.gz.sha256 ++
--- /work/SRC/openSUSE:Factory/monit/monit-5.17.1.tar.gz.sha256 2016-04-12 
19:40:18.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit-5.18.tar.gz.sha256  
2016-09-24 15:29:18.0 +0200
@@ -1 +1 @@
-f71a22cfb6bd91ff46496e72e1d1b1021ecd651e7748131ce0f995cc37ff0b42  
monit-5.17.1.tar.gz
+75ccb85fa2ac1f44c9c95c5a6b539a254b0a1d64e16a36ec9eeb867484a4fcaf  
monit-5.18.tar.gz




commit monit for openSUSE:Factory

2016-04-12 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2016-04-12 19:40:17

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2016-03-26 
15:24:02.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2016-04-12 
19:40:18.0 +0200
@@ -1,0 +2,42 @@
+Mon Apr 11 07:49:33 UTC 2016 - lie...@rz.uni-mannheim.de
+
+- update to 5.17.1:
+  + Fixed: Monit crashed when trying to deliver alert by mail if monit
+   set alert was configured, but the set mail-format statement
+  was missing (regression in Monit 5.17).
+
+- update to 5.17:
+  + New: Extended the SMTP protocol test to support STARTTLS in addition
+to SMTPS. Thanks to Robert Nelson for initial patch.
+  + New: The SMTP protocol test can now, optionally, perform authentication
+during testing. Just add username and password if you want to test
+that authentication also works. We recommend using smtps if
+authentication is to be performed to encrypt the communication.
+  + New: Support extended e-mail format when specyfing from and reply-to
+addresses. That is, instead of just the email address you can also
+specify the name of the user.
+  + New: A new environment variable MONIT_PROGRAM_STATUS was added to check
+program to allow scripts called from exec to access the check programs
+last exit status.
+  + Fixed: The include statement now check if a file has already been included
+  to prevent circular or recursive inclusion of files.
+  + Fixed: Reinitialize supplementary user groups in an exec action when
+  executing as a different user.
+  + Fixed: The value in if changed checksum and if changed timestamp has been
+  made persistent across Monit restart/reload. If the value changes
+  while Monit is stopped, Monit will now notice.
+  + Fixed: Related to Issue #316 above, we now also save file size, filesystem
+  flags, file/directory/fifo/filesystem permissions, network link speed
+  so the last known values will be persistent and if changed tests will
+  work as expected across a Monit restart/reload.
+  + Fixed: favicon did not display properly in the Browser when Monit was 
behind
+  a reverse HTTP proxy.
+  + Fixed: Monit CLI actions like monit monitor all could fail if you had more
+  than ~ 50 services in your config file.
+  + Fixed: The send/expect protocol test returned error if the target server 
sent
+  more data than the buffer limit.
+  + Fixed: On 32-bit platforms with more then 4GB of RAM, Monit reported 
incorrect
+  system and swap memory values (regression in Monit 5.16).
+  + Fixed: Save state on exit when monit is executed in non-deamon mode.
+
+---

Old:

  monit-5.16.tar.gz
  monit-5.16.tar.gz.sha256

New:

  monit-5.17.1.tar.gz
  monit-5.17.1.tar.gz.sha256



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.ZFNTOK/_old  2016-04-12 19:40:19.0 +0200
+++ /var/tmp/diff_new_pack.ZFNTOK/_new  2016-04-12 19:40:19.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   monit
-Version:5.16
+Version:5.17.1
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0

++ monit-5.16.tar.gz -> monit-5.17.1.tar.gz ++
 20914 lines of diff (skipped)

++ monit-5.16.tar.gz.sha256 -> monit-5.17.1.tar.gz.sha256 ++
--- /work/SRC/openSUSE:Factory/monit/monit-5.16.tar.gz.sha256   2016-02-11 
12:37:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit-5.17.1.tar.gz.sha256
2016-04-12 19:40:18.0 +0200
@@ -1 +1 @@
-5b998e796113ce244c8b575da09d3a62bac1b2765484fe6416f224b4ba8f391f  
monit-5.16.tar.gz
+f71a22cfb6bd91ff46496e72e1d1b1021ecd651e7748131ce0f995cc37ff0b42  
monit-5.17.1.tar.gz




commit monit for openSUSE:Factory

2016-03-26 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2016-03-26 15:23:59

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2016-02-11 
12:37:53.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2016-03-26 
15:24:02.0 +0100
@@ -1,0 +2,7 @@
+Fri Mar 18 11:20:16 UTC 2016 - jgleiss...@suse.com
+
+- monit-rundir.patch: use /run/monit for pid file (bnc#971647)
+- updated monit-better_default_monitrc.patch to set pid file
+  correctly in /etc/monitrc
+
+---

New:

  monit-rundir.patch



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.xYvUrb/_old  2016-03-26 15:24:03.0 +0100
+++ /var/tmp/diff_new_pack.xYvUrb/_new  2016-03-26 15:24:03.0 +0100
@@ -27,6 +27,7 @@
 Source2:http://mmonit.com/monit/dist/monit-%{version}.tar.gz.sha256
 Source1:monit-vendor-files.tar.gz
 Patch1: monit-better_default_monitrc.patch
+Patch2: monit-rundir.patch
 Source99:   monit-rpmlintrc
 Url:https://mmonit.com/monit/#download
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -83,13 +84,7 @@
 %prep
 %setup -q -a1
 %patch1 -p1
-%__perl -n -e 'print $1,"\n" if /^\+{3}\s+(\S+)/' <"%PATCH3" \
-| while read f; do
-%__perl -i -p -e '
-s,\Q@@PIDDIR@@\E,/run/monit,g;
-s,\Q@@EVENTDIR@@\E,/run/monit/events,g;
-' "$f"
-done
+%patch2 -p1
 
 find doc/ -type f -size 0 -exec %__rm {} \;
 

++ monit-better_default_monitrc.patch ++
--- /var/tmp/diff_new_pack.xYvUrb/_old  2016-03-26 15:24:03.0 +0100
+++ /var/tmp/diff_new_pack.xYvUrb/_new  2016-03-26 15:24:03.0 +0100
@@ -13,7 +13,7 @@
  ## running Monit instance. By default this file is stored in $HOME/.monit.pid
  #
 -# set pidfile /var/run/monit.pid
-+set pidfile /var/run/monit.pid
++set pidfile /run/monit/monit.pid
  #
  ## Set the location of the Monit id file which stores the unique id for the
  ## Monit instance. The id is generated and stored on first Monit start. By 

++ monit-rundir.patch ++
Index: monit-5.16/src/monit.h
===
--- monit-5.16.orig/src/monit.h 2016-02-04 09:11:03.0 +0100
+++ monit-5.16/src/monit.h  2016-03-18 11:56:44.328774407 +0100
@@ -137,11 +137,11 @@
 #define USEC_PER_MSEC  1000L
 
 #define ARGMAX 64
-#define MYPIDDIR   PIDDIR
+#define MYPIDDIR   "/run/monit"
 #define MYPIDFILE  "monit.pid"
 #define MYSTATEFILE"monit.state"
 #define MYIDFILE   "monit.id"
-#define MYEVENTLISTBASE"/var/monit"
+#define MYEVENTLISTBASE"/run/monit/events"
 
 #define LOCALHOST  "localhost"
 



commit monit for openSUSE:Factory

2016-02-11 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2016-02-11 12:37:52

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is "monit"

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2014-12-01 
14:01:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2016-02-11 
12:37:53.0 +0100
@@ -1,0 +2,178 @@
+Tue Feb  9 07:22:28 UTC 2016 - lie...@rz.uni-mannheim.de
+
+- update to 5.16:
+  + New: Added a new statement for overriding default limits used by Monit.
+  + New: Issue #276: Allow specific source address for port and ping tests.
+  + New: Issue #205: Enhanced process check with a new thread counts test.
+  + New: Issue #280: Timestamp tests now reports both the old and the new
+(changed) timestamp in alerts.
+  + New: Issue #299: Show the last output of the program check when running
+monit status from the console.
+  + New: Issue #275: monit --version now shows the compile-time features that
+were enabled at build time.
+  + New: Issue #282: Added support for setting a custom URL path with
+apache-status protocol test.
+  + New: Changed responsetime for port and unixsocket tests to microseconds
+precision.
+  + New: Added support for DragonFly BSD. Thanks to Daniel Bilik.
+  + Fixed: A lot of bugfixes
+
+---
+Mon Jan 25 13:22:24 UTC 2016 - lie...@rz.uni-mannheim.de
+
+- update to 5.15:
+  + New: Added a statement for setting global or local SSL/TLS options.
+  + New: Added option to verify SSL server certificates.
+  + New: Support SSL client certificate authentication for SSL connections.
+  + New: To just connect using SSL/TLS without specifying a protocol, you can
+ now use SSL instead of the former type TCPSSL statement
+ (which is deprecated).
+  + New: SSL certificate expiration test.
+  + New: Extended SSL certificate fingerprint (checksum) test with the SHA1 
hash
+ type in addition to the existing MD5 test.
+  + New: Extended the ping test to optionally allow setting a packet size
+ (default is 64 bytes)
+  + New: The ping tests now report network response time in milliseconds
+ rather than in seconds.
+  + New: PAM and SSL support are now optional when building Monit RPM.
+  + Fixed: The File content match test will move the read-cursor to the end
+   of the file the first time a file is added to Monit.
+  + Fixed: Support for OpenSSL 0.9.8
+  + Fixed: Abbreviated file permission error message (otherwise the message,
+   which was rather long, could get truncated in logs and become
+   unintelligible).
+  + Fixed: Only add the User-Agent HTTP header if it is not already set.
+   Also allow single quotes in addition to double quotes around
+   header values.
+  + Fixed: If a check host statement contains no if-tests, emit a more
+   comprehensible error message.
+  + Fixed: Do not log "Error reading pid from ..." for non-process checks
+   on stop/restart.
+  + Fixed: Monit could freeze for a period when performing a ping test.
+  + Fixed: Do not cascade start action to dependant services if only parent
+   start was requested.
+  + Fixed: Implement hard dependency between services. If a service depends
+   on another service, it will not start until the parent service
+   check returns no errors. For example, if Apache depends on MySQL,
+   Monit will not start Apache until MySQL is confirmed up and running
+   and passes all its tests. Previously, Monit would start MySQL,
+   but not wait for MySQL to be confirmed up and running before
+   it started Apache.
+  + Fixed: The HTTP protocol test paused Monit for a few seconds if a
+   content match test was used and the server sent a response
+   using chunked encoding.
+  + Fixed: Monit no longer exit if it fails to fork. This is debatable,
+   but for Monit's use-case we think it is better to try and continue.
+  + Fixed: Monit leaked file descriptors if program execution failed.
+   Don't forget the shebang #! at the beginning of your script
+  + Fixed: Monit stopped on reload if the control file did not end with
+   an empty newline.
+  + Fixed: With OS X El Capitan, Apple introduced a new System Integrity
+   Protection policy (SIP) which, among other things, block the
+   system call, task_for_pid.We now check to see if SIP is enabled
+   and if it is, we do not call task_for_pid so as not to unnecessary
+   fill system logs with errors. This also means that Monit, on
+   El Capitan, can no longer check a process memory and 

commit monit for openSUSE:Factory

2014-12-01 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2014-12-01 14:01:08

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2014-07-31 
21:50:50.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2014-12-01 
14:01:18.0 +0100
@@ -1,0 +2,68 @@
+Sat Nov 29 16:42:21 UTC 2014 - lmue...@suse.com
+
+- update to 5.10:
+  + New: Redis protocol test added.
+  + New: MongoDB protocol test added.
+  + New: Changes due to vulnerabilities in SSLv2 and SSLv3.
+ See CVE-2014-3566 aka POODLE.
+  + Fixed: Issue #101: Manual-mode monitored services state may not be restored
+if the monitoring state was changed by user right before the system died.
+  + Fixed: Issue #104: Keep umask Monit was started with when executing
+start/stop/restart programs, check programs and creating files.
+  + Fixed: Issue #107: Support multi-line response in the LMTP protocol test.
+  + Fixed: Support TLSv1.1 and TLSv1.2 when FIPS is enabled.
+- update to 5.9:
+  + New: Output from your check program script is now displayed in Monit’s UI.
+  + New: Aggregate and use human friendly units for memory, swap and space
+ usage values in the User Interface.
+  + New: Support monitoring of filesystems by generic device strings such as
+ sshfs on Linux or ZFS filesystems on Solaris.
+  + New: You can now send HTTP headers with the HTTP protocol test.
+  + New: Program check now supports exit status change monitoring.
+  + New: Added option to run check program as a different user and/or group.
+  + New: Changed name of ICMP ECHO statement to Ping which is the more common
+ name used for a network ping.
+  + New: Simplified HTTP and SMTP protocol test with SSL.
+  + Fixed: Issue #59, Issue #88: Some systems with upstart (e.g. RHEL/CentOS)
+   had problems with Monit's restart action which consists of a
+   stop/start sequence.
+  + Fixed: Issue #54: MySQL protocol test.
+  + Fixed: Issue #64: Resets counter once a service has successfully restarted
+  + New: Issue #84. You can now test for '\0' in an expect string.
+  + Fixed: Issue #55: Only run cron style checks once per minute.
+  + Fixed: Issue #78: Include open slots in Apache status check calculations
+  + Fixed: Issue #57: Inode usage check and space usage check now show correct
+   result for large filesystems on 32-bit platforms.
+  + Fixed: Issue #70: Removed newline in Monit's $ENV strings
+  + Fixed: Issue #72: Monit no longer requires a start, stop or restart
+   program defined for a check.
+  + Fixed: P.R. #17: Bug fix, missing check file target files result in error
+   Invalid checksum sha1 has a string length of 40.
+  + Fixed: P.R. #18: Add missing space in the timeout text in UI.
+  + Fixed: Issue #71: Subtract SLAB reclaimable memory from the system memory
+   usage on Linux
+  + Fixed: Support TLSv1.1 and TLSv1.2 in set mailserver
+  + Fixed: Sporadic PPID changed from 0 to ... alert after process restart
+  + Fixed: PID/PPID changed events were sometimes triggered after program
+   restart
+  + Fixed: Linux: filesystem space usage on some network based filesystems
+   such as sshfs
+  + Fixed: Automatically reload Monit if ID was reset using --resetid CLI
+   option.
+  + Fixed: Improved speed of send/expect protocol test
+  + Fixed: Fixed SMTP protocol test to check the response code
+
+---
+Sat Nov 29 15:57:18 UTC 2014 - lmue...@suse.com
+
+- Remove /var from path in rpmlintrc of the .monit.id file.
+- Package /run only on post-11.1 systems.
+
+---
+Sat Nov 29 14:47:53 UTC 2014 - lmue...@suse.com
+
+- Modify shebang to point to bash where bash is required in
+  vendor-files/tools/monit-modifyinittab.tmpl
+- Align used SUSE trade name in the vendor-files.
+
+---

Old:

  monit-5.8.1.tar.gz

New:

  monit-5.10.tar.gz
  monit-5.10.tar.gz.sha256



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.wnsjJU/_old  2014-12-01 14:01:20.0 +0100
+++ /var/tmp/diff_new_pack.wnsjJU/_new  2014-12-01 14:01:20.0 +0100
@@ -18,12 +18,13 @@
 
 
 Name:   monit
-Version:5.8.1
+Version:5.10
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0
 Group:  System/Monitoring
 Source: 

commit monit for openSUSE:Factory

2014-07-31 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2014-07-31 21:50:33

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2013-09-27 
17:46:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2014-07-31 
21:50:50.0 +0200
@@ -1,0 +2,10 @@
+Wed Jul 30 00:26:49 UTC 2014 - sfal...@opensuse.org
+
+- update to 5.8.1:
+  * Changed all /var/run to /run to fix rpmlint check failure in Factory
+  * Added: monit-5.8.1.tar.gz
+  * Deleted: monit-5.6.tar.gz
+ monit-page_shift.patch as new version deprecates it
+  * Updated: monit-better_default_monitrc.patch
+
+---

Old:

  monit-5.6.tar.gz
  monit-page_shift.patch

New:

  monit-5.8.1.tar.gz



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.9hF4mV/_old  2014-07-31 21:50:52.0 +0200
+++ /var/tmp/diff_new_pack.9hF4mV/_new  2014-07-31 21:50:52.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package monit
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #   Pascal Bleser pascal.ble...@opensuse.org
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,16 +18,15 @@
 
 
 Name:   monit
-Version:5.6
+Version:5.8.1
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0
 Group:  System/Monitoring
 Source: http://mmonit.com/monit/dist/monit-%{version}.tar.gz
 Source1:monit-vendor-files.tar.gz
-Patch1: monit-page_shift.patch
-Patch2: monit-better_default_monitrc.patch
-Patch3: monit-dirs.patch
+Patch1: monit-better_default_monitrc.patch
+Patch2: monit-dirs.patch
 Source99:   monit-rpmlintrc
 Url:http://mmonit.com/monit/download/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -83,14 +82,13 @@
 
 %prep
 %setup -q -a1
-%patch1
+%patch1 -p1
 %patch2
-%patch3
 %__perl -n -e 'print $1,\n if /^\+{3}\s+(\S+)/' %PATCH3 \
 | while read f; do
 %__perl -i -p -e '
-s,\Q@@PIDDIR@@\E,%{_var}/run/monit,g;
-s,\Q@@EVENTDIR@@\E,%{_var}/run/monit/events,g;
+s,\Q@@PIDDIR@@\E,/run/monit,g;
+s,\Q@@EVENTDIR@@\E,/run/monit/events,g;
 ' $f
 done
 
@@ -112,19 +110,19 @@
%{buildroot}%{_sbindir} \
%{buildroot}%{_datadir}/monit \
%{buildroot}%{_var}/adm/fillup-templates \
-   %{buildroot}%{_var}/run/monit \
-   %{buildroot}%{_var}/run/monit/events \
+   %{buildroot}/run/monit \
+   %{buildroot}/run/monit/events \
%{buildroot}%{_var}/lib/monit
 
-touch %{buildroot}%{_var}/run/monit/.monit.id
+touch %{buildroot}/run/monit/.monit.id
 
 . vendor-files/sysconfig/monit.tmpl
 MONIT_BIN=%{_bindir}/monit
 MONIT_MODIFY_INITTAB=%{_datadir}/monit/monit-modifyinittab
-MONIT_PID_FILE=%{_var}/run/monit/monit.pid
+MONIT_PID_FILE=/run/monit/monit.pid
 MONIT_SYSCONFIG_FILE=/etc/sysconfig/monit
 MONIT_INITTAB_STATE_FILE=%{_var}/lib/monit/monit-inittab.state
-MONIT_ARGS=-p ${MONIT_PID_FILE} -s %{_var}/run/monit/monit.state
+MONIT_ARGS=-p ${MONIT_PID_FILE} -s /run/monit/monit.state
 MONIT_EVENTQUE_DIR=%{_var}/lib/monit
 %__sed -e s|%{_var}/monit|${MONIT_EVENTQUE_DIR}|g \
 monitrc  %{buildroot}%{_sysconfdir}/monitrc
@@ -151,7 +149,7 @@
 %__install -m0754 vendor-files/tools/monit-modifyinittab 
%{buildroot}%{_datadir}/monit
 %__install -m0644 vendor-files/sysconfig/monit 
%{buildroot}%{_var}/adm/fillup-templates/sysconfig.monit
 touch %{buildroot}%{_var}/lib/monit/monit-inittab.state
-touch %{buildroot}%{_var}/run/monit/monit.{pid,state}
+touch %{buildroot}/run/monit/monit.{pid,state}
 %__install -m0644 vendor-files/docu/README README.SUSE
 
 %__install -d %{buildroot}%{_docdir}/%{name}
@@ -161,15 +159,15 @@
 echo %doc %{_docdir}/%{name}/$f doc.main.lst
 done
 doc.doc.lst
-for f in CHANGES README* doc; do
+for f in README* doc; do
 %__cp -a $f %{buildroot}%{_docdir}/%{name}/
 echo %doc %{_docdir}/%{name}/$(basename $f) doc.doc.lst
 done
 
 %post
 %{fillup_and_insserv}
-%__install -d -m0700 -o root -g root %{_var}/run/monit
-%__install -d -m0700 -o root -g root %{_var}/run/monit/events
+%__install -d -m0700 -o root -g root /run/monit
+%__install -d -m0700 -o root -g root /run/monit/events
 
 %preun
 %{stop_on_removal monit}
@@ -194,11 +192,11 @@
 %{_var}/adm/fillup-templates/sysconfig.monit
 %dir %{_var}/lib/monit
 %ghost %{_var}/lib/monit/monit-inittab.state
-%ghost %dir %{_var}/run/monit
-%ghost 

commit monit for openSUSE:Factory

2013-09-27 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2013-09-27 17:46:58

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2013-06-13 
17:11:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2013-09-27 
17:46:59.0 +0200
@@ -1,0 +2,17 @@
+Wed Sep 04 06:16:30 UTC 2013 - pascal.ble...@opensuse.org
+
+- update to 5.6:
+  * SMTP AUTH LOGIN support added (MS Exchange SMTP authentication should now
+work)
+  * favicon.ico added to the HTTP interface
+  * Bugfixes:
+- If an undefined checksum test was used and the file did not exist on
+  Monit start, Monit would return an error
+- If the configuration file ended with a comment but with no trailing LF
+  character, Monit would return syntax error
+- If a service timed out after too many restarts and alert was used as the
+  action, then the Timeout flag remained set even if the service recovered
+- Escape mail messages properly for sending via SMTP
+- Escape XML messages properly
+
+---

Old:

  monit-5.5.1.tar.gz

New:

  monit-5.6.tar.gz



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.BtuiZj/_old  2013-09-27 17:47:00.0 +0200
+++ /var/tmp/diff_new_pack.BtuiZj/_new  2013-09-27 17:47:00.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   monit
-Version:5.5.1
+Version:5.6
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0

++ monit-5.5.1.tar.gz - monit-5.6.tar.gz ++
 10823 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit monit for openSUSE:Factory

2013-06-13 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2013-06-13 17:11:34

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2013-03-24 
21:50:24.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2013-06-13 
17:11:36.0 +0200
@@ -1,0 +2,13 @@
+Wed Jun  5 12:14:38 UTC 2013 - l...@samba.org
+
+- update to 5.5.1:
+  * Info and debug messages are no longer sent to stderr, only to stdout.
+  * Improved output from 'check program', If the program returns an error
+message, include only that message in alert $DESCRIPTION so users can
+compose their own alert format. If program provided no output on
+error, use a default message.
+  * Improved check system, $HOST can now be used as a service name.
+$HOST will expand to the system hostname. Example: check system $HOST
+  * Fixed Unable to read magic which was reported on first Monit start.
+
+---

Old:

  monit-5.5.tar.gz

New:

  monit-5.5.1.tar.gz



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.nR1oPq/_old  2013-06-13 17:11:37.0 +0200
+++ /var/tmp/diff_new_pack.nR1oPq/_new  2013-06-13 17:11:37.0 +0200
@@ -18,7 +18,7 @@
 
 
 Name:   monit
-Version:5.5
+Version:5.5.1
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0

++ monit-5.5.tar.gz - monit-5.5.1.tar.gz ++
 51060 lines of diff (skipped)

++ monit-better_default_monitrc.patch ++
--- /var/tmp/diff_new_pack.nR1oPq/_old  2013-06-13 17:11:37.0 +0200
+++ /var/tmp/diff_new_pack.nR1oPq/_new  2013-06-13 17:11:37.0 +0200
@@ -1,6 +1,8 @@
 monitrc.orig   2011-11-04 11:54:04.674000463 +0100
-+++ monitrc2011-11-04 11:56:10.848000463 +0100
-@@ -24,24 +24,24 @@
+Index: monitrc
+===
+--- monitrc.orig
 monitrc
+@@ -24,24 +24,24 @@ set daemon  60  # check serv
  ## Set syslog logging with the 'daemon' facility. If the FACILITY option is
  ## omitted, Monit will use 'user' facility by default. If you want to log to 
  ## a standalone log file instead, specify the full path to the log file
@@ -8,7 +10,7 @@
 -# set logfile syslog facility log_daemon   
 -#
 +
-+set logfile syslog facility log_daemon   
++set logfile syslog facility log_daemon
 +
  #
  ## Set the location of the Monit id file which stores the unique id for the
@@ -34,7 +36,7 @@
  ## Set the list of mail servers for alert delivery. Multiple servers may be 
  ## specified using a comma separator. If the first mail server fails, Monit 
  # will use the second mail server in the list and so on. By default Monit 
uses 
-@@ -50,7 +50,9 @@
+@@ -50,7 +50,9 @@ set daemon  60  # check serv
  # set mailserver mail.bar.baz,   # primary mailserver
  #backup.bar.baz port 10025,  # backup mailserver on port 10025
  #localhost   # fallback relay
@@ -45,7 +47,7 @@
  #
  ## By default Monit will drop alert events if no mail servers are available. 
  ## If you want to keep the alerts for later delivery retry, you can use the 
-@@ -62,7 +64,11 @@
+@@ -62,7 +64,11 @@ set daemon  60  # check serv
  # set eventqueue
  # basedir /var/monit  # set the base directory where events will be stored
  # slots 100   # optionally limit the queue size
@@ -58,7 +60,7 @@
  #
  ## Send status and events to M/Monit (for more informations about M/Monit 
  ## see http://mmonit.com/). By default Monit registers credentials with 
-@@ -98,7 +104,9 @@
+@@ -98,7 +104,9 @@ set daemon  60  # check serv
  ## are expanded at runtime. For example, to override the sender, use:
  #
  # set mail-format { from: mo...@foo.bar }
@@ -69,13 +71,13 @@
  #
  ## You can set alert recipients whom will receive alerts if/when a 
  ## service defined in this file has errors. Alerts may be restricted on 
-@@ -107,6 +115,9 @@
- # set alert sys...@foo.bar   # receive all alerts
- # set alert mana...@foo.bar only on { timeout }  # receive just service-
- ## timeout alert
+@@ -108,6 +116,9 @@ set daemon  60  # check serv
+ ## Do not alert when Monit start,stop or perform a user initiated action
+ # set alert mana...@foo.bar not on { instance, action } 
+ #
 +
 +set alert root@localhost
 +
  #
- #
  ## Monit has an embedded web server 

commit monit for openSUSE:Factory

2013-03-24 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2013-03-24 21:39:29

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit, Maintainer is lmue...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2012-11-06 
16:13:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2013-03-24 
21:50:24.0 +0100
@@ -1,0 +2,6 @@
+Tue Mar 12 03:57:36 UTC 2013 - poelzleith...@b1-systems.de
+
+- use relative path for dirname in init script. dirname is not 
+  longer in /bin, therefor the init script is broken
+
+---



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.wSkUxI/_old  2013-03-24 21:51:05.0 +0100
+++ /var/tmp/diff_new_pack.wSkUxI/_new  2013-03-24 21:51:05.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package monit
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #   Pascal Bleser pascal.ble...@opensuse.org
 #
 # All modifications and additions to the file contributed by third parties

++ monit-vendor-files.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vendor-files/init/monit.tmpl 
new/vendor-files/init/monit.tmpl
--- old/vendor-files/init/monit.tmpl2012-01-26 00:24:17.0 +0100
+++ new/vendor-files/init/monit.tmpl2013-03-14 13:47:31.0 +0100
@@ -74,13 +74,13 @@
 case $1 in
start)
echo -n Starting monit 
-   /bin/mkdir -p -m0700 /var/run/monit
+   mkdir -p -m0700 /var/run/monit
if test yes = ${MONIT_VIA_INITTAB}; then
echo via /etc/inittab
${MONIT_MODIFY_INITTAB} --add  echo -en ${esc}[1A
else
-PID_DIR=$(/bin/dirname $MONIT_PID_FILE)
-[ -n $PID_DIR ]  /bin/mkdir -p -m0700 $PID_DIR
+PID_DIR=$(dirname $MONIT_PID_FILE)
+[ -n $PID_DIR ]  mkdir -p -m0700 $PID_DIR
checkproc -p ${MONIT_PID_FILE} ${MONIT_BIN}  \
echo -n  Warning: monit already running. 
startproc -p ${MONIT_PID_FILE} ${MONIT_BIN} -c 
${MONIT_RC_FILE} ${MONIT_ARGS}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit monit for openSUSE:Factory

2012-11-06 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2012-11-06 16:13:36

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit, Maintainer is lmue...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2012-05-21 
07:28:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2012-11-06 
16:13:41.0 +0100
@@ -1,0 +2,24 @@
+Sun Nov  4 16:51:40 UTC 2012 - l...@samba.org
+
+- update to 5.5:
+  * check program:
+- Multiple exit values can be tested within single program check
+- Exit value test supports multiple cycles option (for X cycles)
+- If exit value test matches and the stderr has no data, try stdout
+  * Renamed mail header (message-id and mime-version) to prevent
+triggering spam check of capitalization.
+  * The 'check system name' statement sets the system hostname in mail
+alerts and initial hostname in M/Monit.
+  * Increase the default mailserver timeout to 30 seconds.
+  * Fix the rare hung on linux which may occur during program execution.
+  * In the case that the process start/restart execution failed, monit kept
+Execution failed flag even if the process was recovered later (for
+example it was starting slowly or manually recovered).
+  * Fix the mail alert (strict SMTP implementation) to pass MTA-side sanity
+checks like postscreen.
+  * The -t option tests the configuration file syntax even if the
+file permissions are wrong.
+  * Do not display the default non-existence test for the check
+program (not applicable in the check program context).
+
+---

Old:

  monit-5.4.tar.gz

New:

  monit-5.5.tar.gz



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.UMr7bc/_old  2012-11-06 16:13:44.0 +0100
+++ /var/tmp/diff_new_pack.UMr7bc/_new  2012-11-06 16:13:44.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   monit
-Version:5.4
+Version:5.5
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0

++ monit-5.4.tar.gz - monit-5.5.tar.gz ++
 16757 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit monit for openSUSE:Factory

2012-05-20 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2012-05-21 07:28:41

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit, Maintainer is lmue...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2012-03-12 
20:15:48.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2012-05-21 
07:28:44.0 +0200
@@ -1,0 +2,22 @@
+Fri May 18 10:13:08 UTC 2012 - l...@samba.org
+
+- update to 5.4:
+  * New process uptime test added.
+  * The monit hostname will fallback to plain machine's hostname if the lookup
+for FQDN hostname didn't found matching entry.  
+  * The CPU usage for multi-threaded processes on multi-core machine was
+reported incorrectly in the case that the process used more CPU resources
+then equivalent to one core.
+  * The content match test now sends one event per cycle and pattern.
+  * The /proc/ files content match test was skipped, as the file size on the
+ procfs is 0, so monit supposed that there is no content to read.
+  * Allow reading status and perform Monit actions when using client SSL
+certificate.
+  * When the process is starting/stopping, do the process state check more
+effectively to not stress the low power devices with aggresive polling.
+  * Make the process start/stop wait resistant to large time changes.
+  * Compilation: If PAM is enabled but the PAM headers or library are not
+found by the configure script, it will report error.
+- BuildRequire pam-devel.
+ 
+---

Old:

  monit-5.3.2.tar.gz

New:

  monit-5.4.tar.gz



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.2YF36K/_old  2012-05-21 07:28:46.0 +0200
+++ /var/tmp/diff_new_pack.2YF36K/_new  2012-05-21 07:28:46.0 +0200
@@ -17,9 +17,8 @@
 #
 
 
-
 Name:   monit
-Version:5.3.2
+Version:5.4
 Release:0
 Summary:Service Manager and Monitor System
 License:AGPL-3.0
@@ -41,6 +40,7 @@
 BuildRequires:  libtool
 BuildRequires:  make
 BuildRequires:  openssl-devel
+BuildRequires:  pam-devel
 Obsoletes:  monit-beta  %{version}
 Provides:   monit-beta = %{version}
 %if %{_vendor} == suse

++ monit-5.3.2.tar.gz - monit-5.4.tar.gz ++
 15780 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit monit for openSUSE:Factory

2012-03-12 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2012-03-12 20:15:39

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit, Maintainer is lmue...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2011-12-01 
12:24:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2012-03-12 
20:15:48.0 +0100
@@ -1,0 +2,42 @@
+Tue Mar  6 09:13:45 UTC 2012 - cfarr...@suse.com
+
+- license update: AGPL-3.0
+  My mistake - there is no entry for AGPL-3.0+ on spdx.org/licenses. The
+  only available one is AGPL-3.0 (without the plus)
+
+---
+Wed Feb 29 14:17:55 UTC 2012 - cfarr...@suse.com
+
+- license update: AGPL-3.0+
+  monit is AGPL-3.0 _not_ GPL-3.0
+
+---
+Wed Jan 25 23:34:26 UTC 2012 - pascal.ble...@opensuse.org
+
+- fix bnc#743289 by adding monit-dirs.patch to set the PIDDIR accordingly to
+  what is preset in the monitrc configuration (and in the spec file), as well
+  as to fix the default event directory
+
+---
+Wed Dec 21 08:26:20 UTC 2011 - pascal.ble...@opensuse.org
+
+- update to 5.3.2:
+  * fix bug #34801: the file content match test did reset of the read position
+in the case that the unmonitor or stop action was done. When the file
+monitoring was enabled again, the content match test was applied to the
+content which was tested already.
+  * log error details in the case that the name resolving failed
+  * fix the system cpu usage statistics when pattern based process check is
+used and the service is restarted
+  * Debian Bug#652715: include files not found warning: do not display the
+warning if the include directory is empty
+
+- create /var/run/monit in the init script on start (if needed), as /var/run is
+  on a volatile filesystem (tmpfs) since 12.1
+
+---
+Tue Dec 13 13:21:51 UTC 2011 - co...@suse.com
+
+- fix license to be in spdx.org format
+
+---

Old:

  monit-5.3.1.tar.gz

New:

  monit-5.3.2.tar.gz
  monit-dirs.patch



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.3O47in/_old  2012-03-12 20:15:50.0 +0100
+++ /var/tmp/diff_new_pack.3O47in/_new  2012-03-12 20:15:50.0 +0100
@@ -1,7 +1,8 @@
 #
 # spec file for package monit
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#   Pascal Bleser pascal.ble...@opensuse.org
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,24 +16,31 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   monit
-Version:5.3.1
-Release:1
+Version:5.3.2
+Release:0
 Summary:Service Manager and Monitor System
+License:AGPL-3.0
+Group:  System/Monitoring
 Source: http://mmonit.com/monit/dist/monit-%{version}.tar.gz
 Source1:monit-vendor-files.tar.gz
 Patch1: monit-page_shift.patch
 Patch2: monit-better_default_monitrc.patch
+Patch3: monit-dirs.patch
 Source99:   monit-rpmlintrc
 Url:http://mmonit.com/monit/download/
-Group:  System/Monitoring
-License:GNU General Public License (GPL)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  bison flex gcc glibc-devel make openssl-devel
-BuildRequires:  autoconf automake libtool
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  bison
+BuildRequires:  flex
+BuildRequires:  gcc
+BuildRequires:  glibc-devel
+BuildRequires:  libtool
+BuildRequires:  make
+BuildRequires:  openssl-devel
 Obsoletes:  monit-beta  %{version}
 Provides:   monit-beta = %{version}
 %if %{_vendor} == suse
@@ -53,7 +61,6 @@
 remote hosts: monit can ping a remote host and check port connections.
 
 %package doc
-License:GNU General Public License (GPL)
 Summary:Service Manager and Monitor System (Documentation and Examples)
 Group:  System/Monitoring
 %if 0%{?suse_version} = 1120
@@ -78,6 +85,14 @@
 %setup -q -a1
 %patch1
 %patch2
+%patch3
+%__perl -n -e 'print $1,\n if /^\+{3}\s+(\S+)/' %PATCH3 \
+| while read f; do
+%__perl -i -p -e '
+s,\Q@@PIDDIR@@\E,%{_var}/run/monit,g;

commit monit for openSUSE:Factory

2011-12-01 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2011-12-01 12:24:48

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit, Maintainer is lmue...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2011-10-26 
15:40:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2011-12-01 
12:24:49.0 +0100
@@ -1,0 +2,18 @@
+Wed Nov 30 18:05:54 UTC 2011 - pascal.ble...@opensuse.org
+
+- fixes to init script and configuration file for state file
+- fix installation routine on = 12.1: directories under /var/run are now
+  created at installation time, as /var/run is on tmpfs on = 12.1
+- minor packaging improvements, including the use of the pristine upstream
+  tarball instead of a recompressed one (better traceability)
+
+---
+Fri Nov  4 11:00:25 UTC 2011 - pascal.ble...@opensuse.org
+
+- add some better defaults:
+  * set mailserver to localhost
+  * set alert recipient to root@localhost
+  * enable event queue in /var/run/monit/events
+  * move id and state files to /var/run/monit/
+
+---

Old:

  monit-5.3.1.tar.bz2

New:

  monit-5.3.1.tar.gz
  monit-better_default_monitrc.patch
  monit-rpmlintrc



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.giN89l/_old  2011-12-01 12:24:50.0 +0100
+++ /var/tmp/diff_new_pack.giN89l/_new  2011-12-01 12:24:50.0 +0100
@@ -22,10 +22,11 @@
 Version:5.3.1
 Release:1
 Summary:Service Manager and Monitor System
-# http://mmonit.com/monit/dist/monit-%{version}.tar.gz
-Source: monit-%{version}.tar.bz2
+Source: http://mmonit.com/monit/dist/monit-%{version}.tar.gz
 Source1:monit-vendor-files.tar.gz
 Patch1: monit-page_shift.patch
+Patch2: monit-better_default_monitrc.patch
+Source99:   monit-rpmlintrc
 Url:http://mmonit.com/monit/download/
 Group:  System/Monitoring
 License:GNU General Public License (GPL)
@@ -76,6 +77,7 @@
 %prep
 %setup -q -a1
 %patch1
+%patch2
 
 find doc/ -type f -size 0 -exec %__rm {} \;
 
@@ -96,8 +98,11 @@
%{buildroot}%{_datadir}/monit \
%{buildroot}%{_var}/adm/fillup-templates \
%{buildroot}%{_var}/run/monit \
+   %{buildroot}%{_var}/run/monit/events \
%{buildroot}%{_var}/lib/monit
 
+touch %{buildroot}%{_var}/run/monit/.monit.id
+
 . vendor-files/sysconfig/monit.tmpl
 MONIT_BIN=%{_bindir}/monit
 MONIT_MODIFY_INITTAB=%{_datadir}/monit/monit-modifyinittab
@@ -148,6 +153,8 @@
 
 %post
 %{fillup_and_insserv}
+%__install -d -m0700 -o root -g root %{_var}/run/monit
+%__install -d -m0700 -o root -g root %{_var}/run/monit/events
 
 %preun
 %{stop_on_removal monit}
@@ -157,7 +164,7 @@
 %{insserv_cleanup}
 
 %clean
-%__rm -rf %{buildroot}
+%{?buildroot:%__rm -rf %{buildroot}}
 
 %files -f doc.main.lst
 %defattr(-,root,root)
@@ -175,6 +182,8 @@
 %ghost %dir %{_var}/run/monit
 %ghost %{_var}/run/monit/monit.pid
 %ghost %{_var}/run/monit/monit.state
+%ghost %{_var}/run/monit/.monit.id
+%ghost %dir %{_var}/run/monit/events
 %doc %{_mandir}/man1/monit.1%{ext_man}
 
 %files doc -f doc.doc.lst

++ monit-better_default_monitrc.patch ++
--- monitrc.orig2011-11-04 11:54:04.674000463 +0100
+++ monitrc 2011-11-04 11:56:10.848000463 +0100
@@ -24,24 +24,24 @@
 ## Set syslog logging with the 'daemon' facility. If the FACILITY option is
 ## omitted, Monit will use 'user' facility by default. If you want to log to 
 ## a standalone log file instead, specify the full path to the log file
-#
-# set logfile syslog facility log_daemon   
-#
+
+set logfile syslog facility log_daemon   
+
 #
 ## Set the location of the Monit id file which stores the unique id for the
 ## Monit instance. The id is generated and stored on first Monit start. By 
 ## default the file is placed in $HOME/.monit.id.
-#
-# set idfile /var/.monit.id
-#
+
+set idfile /var/run/monit/.monit.id
+
 ## Set the location of the Monit state file which saves monitoring states
 ## on each cycle. By default the file is placed in $HOME/.monit.state. If
 ## the state file is stored on a persistent filesystem, Monit will recover
 ## the monitoring state across reboots. If it is on temporary filesystem, the
 ## state will be lost on reboot which may be convenient in some situations.
-#
-# set statefile /var/.monit.state
-#
+
+set statefile /var/run/monit/monit.state
+
 ## Set the list of mail servers for alert delivery. Multiple servers may be 
 ## specified 

commit monit for openSUSE:Factory

2011-10-26 Thread h_root
Hello community,

here is the log from the commit of package monit for openSUSE:Factory checked 
in at 2011-10-26 15:31:29

Comparing /work/SRC/openSUSE:Factory/monit (Old)
 and  /work/SRC/openSUSE:Factory/.monit.new (New)


Package is monit, Maintainer is lmue...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/monit/monit.changes  2011-09-23 
02:13:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.monit.new/monit.changes 2011-10-26 
15:40:30.0 +0200
@@ -1,0 +2,46 @@
+Tue Oct 25 22:08:47 UTC 2011 - pascal.ble...@opensuse.org
+
+- update to 5.3.1:
+  * log the particular connection attempt failure in debug mode when the retry
+is enabled
+  * Monit can deliver events and status to independent M/Monit instances if
+multiple mmonit URLs are set
+  * fixed: the ICMP echo (ping) test may report false positive error if the
+machine where Monit is running has heavy ICMP traffic generated by other
+applications
+  * fixed: the file content match test will be performed even on the existing
+content when Monit starts; the last position is saved to the statefile, so
+monit won't generate alert after restart; note that when you start the
+monit 5.3.1 the first time, it can do actions for content match which was
+handled by previous monit version already as the previous monit versions
+didn't saved the position
+  * make the monitoring state persistent for manual mode services
+  * display the memory usage total % in the status overview; the memory usage
+in kB displayed the total already, so the percentage didn't match
+  * fix the HTML overview page alignment in the Internet Explorer
+  * fix sporadic SSL routines:func(169):reason(161) errors
+  * if MySQL protocol test failed, report the correct MySQL error code
+
+- changes from 5.3.0:
+  * new 'check program' statement added: allows to check the exit status of an
+external program or script from Monit
+  * added crontab style support for individual services; you can now specify
+when an individual service should run its checks (or not run)
+  * connection retry option added: allows to retry a network connection in the
+same testing cycle before reporting an error
+  * detailed protocol connection errors are now included in alerts
+  * the HTML overview page displays the CPU and memory total now (including
+children), so real service related usage is displayed also for services
+which spawn worker processes, such as Apache or Spamassassin
+  * HTML view improvements
+  * fix MySQL protocol test: MySQL 5.5.12 returns new error code in the case of
+authentication failure
+  * the stacktrace logging on error is disabled in -v (verbose) mode as it was
+too verbose for common service debugging tasks, it can be enabled using -vv
+option
+  * improve how fast Monit check if a program was started or stopped
+  * fix the monitoring state presentation during service restart which
+temporarily displayed Not monitored, whereas the monitoring was enabled
+  * the data collected is updated only if the check was not skipped
+
+---

Old:

  monit-5.2.5.tar.bz2

New:

  monit-5.3.1.tar.bz2



Other differences:
--
++ monit.spec ++
--- /var/tmp/diff_new_pack.7HC2BN/_old  2011-10-26 15:41:07.0 +0200
+++ /var/tmp/diff_new_pack.7HC2BN/_new  2011-10-26 15:41:07.0 +0200
@@ -19,7 +19,7 @@
 
 
 Name:   monit
-Version:5.2.5
+Version:5.3.1
 Release:1
 Summary:Service Manager and Monitor System
 # http://mmonit.com/monit/dist/monit-%{version}.tar.gz
@@ -51,16 +51,6 @@
 checksum changes, or size changes. You can even use monit to monitor
 remote hosts: monit can ping a remote host and check port connections.
 
-
-
-
-Authors:
-
-Jan-Henrik Haukeland hauk at tildeslash dot com
-Martin Pala martin.pala at iol dot cz
-Rory Toma rory at digeo dot com
-Christian Hopp chopp at iei dot tu-clausthal dot de
-
 %package doc
 License:GNU General Public License (GPL)
 Summary:Service Manager and Monitor System (Documentation and Examples)
@@ -90,18 +80,14 @@
 find doc/ -type f -size 0 -exec %__rm {} \;
 
 %build
-#autoreconf -fiv
 export CFLAGS=%{optflags} -fno-strict-aliasing
 %configure \
--with-ssl-lib-dir=%{_libdir}
 
-%__make %{?jobs:-j%{jobs}}
+%__make %{?_smp_flags}
 
 %install
-%__make \
-   BINDIR=%{buildroot}%{_bindir} \
-   MANDIR=%{buildroot}%{_mandir}/man1 \
-   install
+%__make DESTDIR=%{buildroot} install
 
 %__install -d \
%{buildroot}/etc/init.d \
@@ -150,12 +136,12 @@
 
 %__install -d %{buildroot}%{_docdir}/%{name}
 doc.main.lst
-for f in COPYING LICENSE;