"Fossies" - the Fresh Open Source Software Archive

Member "monit-5.28.0/system/packages/redhat/monit.spec" (28 Mar 2021, 7134 Bytes) of package /linux/privat/monit-5.28.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "monit.spec": 5.27.2_vs_5.28.0.

    1 Name: monit
    2 Summary: Process monitor and restart utility
    3 Version: 5.28.0
    4 Release: 1
    5 URL: http://mmonit.com/monit/
    6 Source: http://mmonit.com/monit/dist/%{name}-%{version}.tar.gz
    7 Group: Utilities/Console
    8 BuildRoot: %{_tmppath}/%{name}-buildroot
    9 License: AGPL
   10 
   11 %{!?_with_ssl: %{!?_without_ssl: %define _with_ssl --with-ssl}}
   12 %{?_with_ssl:BuildRequires: openssl-devel}
   13 
   14 %{!?_with_pam: %{!?_without_pam: %define _with_pam --with-pam}}
   15 %{?_with_pam:BuildRequires: pam-devel}
   16 
   17 %description
   18 Monit is a utility for managing and monitoring processes,
   19 files, directories and filesystems on a Unix system. Monit conducts
   20 automatic maintenance and repair and can execute meaningful causal
   21 actions in error situations.
   22 
   23 %prep
   24 %setup
   25 
   26 %build
   27 %configure \
   28         %{?_with_ssl} \
   29         %{?_without_ssl} \
   30         %{?_with_pam} \
   31         %{?_without_pam}
   32 make %{?_smp_mflags}
   33 
   34 %install
   35 if [ -d %{buildroot} ] ; then
   36   rm -rf %{buildroot}
   37 fi
   38 
   39 mkdir -p %{buildroot}%{_bindir}
   40 mkdir -p %{buildroot}%{_mandir}/man1
   41 mkdir -p %{buildroot}/etc/init.d
   42 install -m 755 monit %{buildroot}%{_bindir}/monit
   43 install -m 644 monit.1 %{buildroot}%{_mandir}/man1/monit.1
   44 install -m 600 monitrc %{buildroot}/etc/monitrc
   45 install -m 755 system/startup/rc.monit %{buildroot}/etc/init.d/%{name}
   46 
   47 %post
   48 /sbin/chkconfig --add %{name}
   49 
   50 %preun
   51 if [ $1 = 0 ]; then
   52    /etc/init.d/%{name} stop >/dev/null 2>&1
   53    /sbin/chkconfig --del %{name}
   54 fi
   55 
   56 %clean
   57 if [ -d %{buildroot} ] ; then
   58   rm -rf %{buildroot}
   59 fi
   60 
   61 %files
   62 %defattr(-,root,root)
   63 %doc COPYING CHANGES
   64 %config(noreplace) /etc/monitrc
   65 %config /etc/init.d/%{name}
   66 %{_bindir}/%{name}
   67 %{_mandir}/man1/%{name}.1.gz
   68 
   69 %changelog
   70 * Mon Mar 29 2021 Monit team <support@mmonit.com>
   71 - Upgraded to monit-5.28.0
   72 
   73 * Tue Oct 27 2020 Martin Pala <martinp@tildeslash.com>
   74 - Upgraded to monit-5.27.2
   75 
   76 * Sun Aug 30 2020 Martin Pala <martinp@tildeslash.com>
   77 - Upgraded to monit-5.27.1
   78 
   79 * Thu Jan 16 2020 Martin Pala <martinp@tildeslash.com>
   80 - Upgraded to monit-5.27.0
   81 
   82 * Sat Jul 06 2019 Martin Pala <martinp@tildeslash.com>
   83 - Upgraded to monit-5.26.0
   84 
   85 * Tue Mar 05 2019 Martin Pala <martinp@tildeslash.com>
   86 - Upgraded to monit-5.25.3
   87 
   88 * Tue May 29 2018 Martin Pala <martinp@tildeslash.com>
   89 - Upgraded to monit-5.25.2
   90 
   91 * Fri Nov 17 2017 Martin Pala <martinp@tildeslash.com>
   92 - Upgraded to monit-5.25.1
   93 
   94 * Mon Sep 25 2017 Martin Pala <martinp@tildeslash.com>
   95 - Upgraded to monit-5.25.0
   96 
   97 * Thu Jun 08 2017 Martin Pala <martinp@tildeslash.com>
   98 - Upgraded to monit-5.24.0
   99 
  100 * Wed Apr 19 2017 Martin Pala <martinp@tildeslash.com>
  101 - Upgraded to monit-5.23.0
  102 
  103 * Tue Mar 07 2017 Martin Pala <martinp@tildeslash.com>
  104 - Upgraded to monit-5.22.0
  105 
  106 * Sat Oct 22 2016 Martin Pala <martinp@tildeslash.com>
  107 - Upgraded to monit-5.21.0
  108 
  109 * Tue Sep 06 2016 Martin Pala <martinp@tildeslash.com>
  110 - Upgraded to monit-5.20.0
  111 
  112 * Wed Jul 27 2016 Martin Pala <martinp@tildeslash.com>
  113 - Upgraded to monit-5.19.0
  114 
  115 * Fri Apr 01 2016 Martin Pala <martinp@tildeslash.com>
  116 - Upgraded to monit-5.18
  117 
  118 * Fri Mar 04 2016 Martin Pala <martinp@tildeslash.com>
  119 - Upgraded to monit-5.17.1
  120 
  121 * Thu Feb 04 2016 Martin Pala <martinp@tildeslash.com>
  122 - Upgraded to monit-5.17
  123 
  124 * Thu Nov 05 2015 Martin Pala <martinp@tildeslash.com>
  125 - Upgraded to monit-5.16
  126 
  127 * Mon Oct 12 2015 Martin Pala <martinp@tildeslash.com>
  128 - Upgraded to monit-5.15
  129 - Added rpmbuild options for building without PAM (--without pam)
  130 - Added rpmbuild options for building without SSL (--without ssl)
  131 - Dropped build dependency on flex and bison
  132 
  133 * Mon Jun 08 2015 Martin Pala <martinp@tildeslash.com>
  134 - Upgraded to monit-5.14
  135 
  136 * Mon Mar 23 2015 Martin Pala <martinp@tildeslash.com>
  137 - Upgraded to monit-5.13
  138 
  139 * Tue Mar 10 2015 Martin Pala <martinp@tildeslash.com>
  140 - Upgraded to monit-5.12.2
  141 
  142 * Fri Mar 6 2015 Martin Pala <martinp@tildeslash.com>
  143 - Upgraded to monit-5.12.1
  144 
  145 * Tue Feb 24 2015 Martin Pala <martinp@tildeslash.com>
  146 - Upgraded to monit-5.12
  147 
  148 * Wed Dec 17 2014 Martin Pala <martinp@tildeslash.com>
  149 - Upgraded to monit-5.11
  150 
  151 * Mon Oct 06 2014 Martin Pala <martinp@tildeslash.com>
  152 - Upgraded to monit-5.10
  153 
  154 * Sat Aug 23 2014 Martin Pala <martinp@tildeslash.com>
  155 - Upgraded to monit-5.9
  156 
  157 * Fri Aug 22 2014 Martin Pala <martinp@tildeslash.com>
  158 - Upgraded to monit-5.8.2
  159 
  160 * Sun Mar 30 2014 Martin Pala <martinp@tildeslash.com>
  161 - Upgraded to monit-5.8.1
  162 
  163 * Sat Mar 08 2014 Martin Pala <martinp@tildeslash.com>
  164 - Upgraded to monit-5.8
  165 
  166 * Thu Feb 20 2014 Martin Pala <martinp@tildeslash.com>
  167 - Upgraded to monit-5.7
  168 
  169 * Thu Jun 06 2013 Martin Pala <martinp@tildeslash.com>
  170 - Upgraded to monit-5.6
  171 
  172 * Tue Jun 04 2013 Martin Pala <martinp@tildeslash.com>
  173 - Upgraded to monit-5.5.1
  174 
  175 * Wed May 09 2012 Martin Pala <martinp@tildeslash.com>
  176 - Upgraded to monit-5.5
  177 
  178 * Sun May 06 2012 Martin Pala <martinp@tildeslash.com>
  179 - Upgraded to monit-5.4
  180 
  181 * Sat Oct 22 2011 Martin Pala <martinp@tildeslash.com>
  182 - Upgraded to monit-5.3.1
  183 
  184 * Thu Aug 25 2011 Martin Pala <martinp@tildeslash.com>
  185 - Upgraded to monit-5.3
  186 
  187 * Mon Mar 28 2011 Martin Pala <martinp@tildeslash.com>
  188 - Upgraded to monit-5.2.5
  189 
  190 * Wed Feb 23 2011 Martin Pala <martinp@tildeslash.com>
  191 - Upgraded to monit-5.2.4
  192 
  193 * Thu Sep 16 2010 Martin Pala <martinp@tildeslash.com>
  194 - Upgraded to monit-5.2
  195 
  196 * Thu Feb 18 2010 Martin Pala <martinp@tildeslash.com>
  197 - Upgraded to monit-5.1.1
  198 
  199 * Sat Jan 09 2010 Martin Pala <martinp@tildeslash.com>
  200 - Upgraded to monit-5.1
  201 
  202 * Thu May 28 2009 Martin Pala <martinp@tildeslash.com>
  203 - Upgraded to monit-5.0.3
  204 
  205 * Thu May 7 2009 Martin Pala <martinp@tildeslash.com>
  206 - Upgraded to monit-5.0.2
  207 
  208 * Wed Apr 22 2009 Martin Pala <martinp@tildeslash.com>
  209 - Upgraded to monit-5.0.1
  210 
  211 * Sun Apr 13 2008 Martin Pala <martinp@tildeslash.com>
  212 - Upgraded to monit-5.0
  213 
  214 * Tue Nov 06 2007 Martin Pala <martinp@tildeslash.com>
  215 - Upgraded to monit-4.10.1
  216 
  217 * Mon Nov 05 2007 Martin Pala <martinp@tildeslash.com>
  218 - Upgraded to monit-4.10
  219 
  220 * Mon Feb 19 2007 Martin Pala <martinp@tildeslash.com>
  221 - Upgraded to monit-4.9
  222 
  223 * Sun Mar 05 2006 Martin Pala <martinp@tildeslash.com>
  224 - Upgraded to monit-4.7
  225 
  226 * Mon Sep 19 2005 Martin Pala <martinp@tildeslash.com>
  227 - Upgraded to monit-4.6
  228 
  229 * Tue Oct 19 2004 Martin Pala <martinp@tildeslash.com>
  230 - Upgraded to monit-4.4
  231 
  232 * Tue Nov 04 2003 Martin Pala <martinp@tildeslash.com>
  233 - Fixed the bad path to monit binary in startup script. Thanks to Ben Ciceron
  234   for report of the problem.
  235 
  236 * Mon Oct 27 2003 Martin Pala <martinp@tildeslash.com>
  237 - Upgraded to monit-4.1
  238 
  239 * Tue Sep 23 2003 Martin Pala <martinp@tildeslash.com>
  240 - change the description
  241 
  242 * Fri Mar 07 2003 Martin Pala <martinp@tildeslash.com>
  243 - Upgraded to monit-4.0
  244 - Updated documentation list
  245 - Changed use of monit.conf file to default monitrc ( => monit could find it )
  246 - Use monitrc and rc.monit from default monit distribution
  247 
  248 * Wed Jul 10 2002 Rory Toma <rory@digeo.com>
  249 - Upgraded to monit-2.4.3
  250 
  251 * Mon Feb 05 2001 Clinton Work <work@scripty.com>
  252 - Upgraded to monit 1.2
  253 - Use chkconfig to add monit to the rc.d startup scripts
  254 - Use the example monitrc instead of my custom monit.conf
  255 - Fixed the monit homepage URL
  256 
  257 * Thu Feb 01 2001 Clinton Work <work@scripty.com>
  258 - Create the initial spec file
  259 - Created a sample config file and a rc startup script
  260