SPECS: postfix.spec - rel.2 - monit support for postfix
blues
blues at pld-linux.org
Sun Oct 14 22:42:54 CEST 2007
Author: blues Date: Sun Oct 14 20:42:54 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel.2 - monit support for postfix
---- Files affected:
SPECS:
postfix.spec (1.298 -> 1.299)
---- Diffs:
================================================================
Index: SPECS/postfix.spec
diff -u SPECS/postfix.spec:1.298 SPECS/postfix.spec:1.299
--- SPECS/postfix.spec:1.298 Sat Oct 6 00:51:38 2007
+++ SPECS/postfix.spec Sun Oct 14 22:42:49 2007
@@ -21,7 +21,7 @@
Name: postfix
Version: 2.4.5
%define vda_ver 2.4.5
-Release: 1
+Release: 2
Epoch: 2
License: distributable
Group: Networking/Daemons
@@ -38,6 +38,7 @@
Source8: %{name}-bounce.cf.pl
# http://postfix.state-of-mind.de/bounce-templates/bounce.de-DE.cf
Source9: %{name}-bounce.cf.de
+Source10: %{name}.monitrc
Patch0: %{name}-config.patch
Patch1: %{name}-conf_msg.patch
Patch2: %{name}-dynamicmaps.patch
@@ -220,6 +221,19 @@
użytkownika mail_owner podanego w main.cf (zwykle nazywającego się
postfix).
+%package -n monit-rc-%{name}
+Summary: monit support for Postfix
+Summary(pl.UTF-8): Wsparcie monit dla Postfix-a
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+Requires: monit
+
+%description -n monit-rc-%{name}
+monitrc file for monitoring Postfix.
+
+%description -n monit-rc-%{name} -l pl.UTF-8
+Plik monitrc do monitorowania serwera Postfix.
+
%prep
%setup -q
%{?with_vda:zcat %{SOURCE7} | patch -p1 -s}
@@ -260,7 +274,7 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security} \
+install -d $RPM_BUILD_ROOT/etc/{cron.daily,rc.d/init.d,sysconfig,pam.d,security,monit} \
$RPM_BUILD_ROOT%{_sysconfdir}/{mail,sasl} \
$RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_libdir}/postfix,/usr/lib}\
$RPM_BUILD_ROOT{%{_includedir}/postfix,%{_mandir}} \
@@ -293,6 +307,7 @@
install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/smtp
install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/mail/bounce.cf.pl
install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/mail/bounce.cf.de
+install %{SOURCE10} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
install auxiliary/rmail/rmail $RPM_BUILD_ROOT%{_bindir}/rmail
install auxiliary/qshape/qshape.pl $RPM_BUILD_ROOT%{_bindir}/qshape
@@ -475,12 +490,19 @@
%attr(755,root,root) %{_bindir}/qshape
%{_mandir}/man1/qshape.1*
+%files -n monit-rc-%{name}
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/monit/%{name}.monitrc
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.299 2007/10/14 20:42:49 blues
+- rel.2 - monit support for postfix
+
Revision 1.298 2007/10/05 22:51:38 gotar
- added german bounce templates
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postfix.spec?r1=1.298&r2=1.299&f=u
More information about the pld-cvs-commit
mailing list