SPECS: mailman.spec - add apache1 support

glen glen at pld-linux.org
Sat Feb 4 12:23:56 CET 2006


Author: glen                         Date: Sat Feb  4 11:23:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add apache1 support

---- Files affected:
SPECS:
   mailman.spec (1.114 -> 1.115) 

---- Diffs:

================================================================
Index: SPECS/mailman.spec
diff -u SPECS/mailman.spec:1.114 SPECS/mailman.spec:1.115
--- SPECS/mailman.spec:1.114	Fri Feb  3 23:44:20 2006
+++ SPECS/mailman.spec	Sat Feb  4 12:23:50 2006
@@ -194,6 +194,8 @@
 sed 's#/usr#mailman /usr#' cron/crontab.in > $RPM_BUILD_ROOT/etc/cron.d/%{name}
 sed -e 's#/usr/lib/mailman#%{_libdir}/mailman#g' %{SOURCE2} \
 	> $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
+sed -e 's#/usr/lib/mailman#%{_libdir}/mailman#g' %{SOURCE2} \
+	> $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 sed -e 's#/usr/lib/mailman#%{_libdir}/mailman#g' %{SOURCE3} \
 	> $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
@@ -265,6 +267,12 @@
 	fi
 fi
 
+%triggerin -- apache1
+%webapp_register apache %{_webapp}
+
+%triggerun -- apache1
+%webapp_unregister apache %{_webapp}
+
 %triggerin -- apache < 2.2.0, apache-base
 %webapp_register httpd %{_webapp}
 
@@ -352,14 +360,15 @@
 %defattr(644,root,root,755)
 %doc BUGS FAQ NEWS README README.CONTRIB README.NETSCAPE README.USERAGENT TODO UPGRADING INSTALL
 %{_mandir}/man?/*
+%attr(2775,root,mailman) %dir %{_sysconfdir}
+%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/apache.conf
 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf
+%attr(644,root,mailman) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mm_cfg.py
+%attr(644,root,mailman) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sitelist.cfg
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
 /etc/smrsh/%{name}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
-%attr(2775,root,mailman) %dir %{_sysconfdir}
-%attr(644,root,mailman) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mm_cfg.py
-%attr(644,root,mailman) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sitelist.cfg
 
 %attr(754,root,root) /etc/rc.d/init.d/%{name}
 
@@ -415,6 +424,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.115  2006/02/04 11:23:50  glen
+- add apache1 support
+
 Revision 1.114  2006/02/03 22:44:20  baggins
 - fixed requires
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mailman.spec?r1=1.114&r2=1.115&f=u



More information about the pld-cvs-commit mailing list