SPECS: horde.spec - added lighttpd support

paszczus paszczus at pld-linux.org
Tue Feb 14 18:17:02 CET 2006


Author: paszczus                     Date: Tue Feb 14 17:17:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added lighttpd support

---- Files affected:
SPECS:
   horde.spec (1.140 -> 1.141) 

---- Diffs:

================================================================
Index: SPECS/horde.spec
diff -u SPECS/horde.spec:1.140 SPECS/horde.spec:1.141
--- SPECS/horde.spec:1.140	Tue Feb 14 14:17:19 2006
+++ SPECS/horde.spec	Tue Feb 14 18:16:57 2006
@@ -32,6 +32,7 @@
 Source0:	ftp://ftp.horde.org/pub/horde/%{_hordeapp}-%{version}-%{_rc}.tar.gz
 # Source0-md5:	ed640e7118a20a66ea6667c494a98fd5
 Source1:	%{name}.conf
+Source2:	%{name}-lighttpd.conf
 Patch0:		%{name}-path.patch
 Patch1:		%{name}-shell.disabled.patch
 Patch2:		%{name}-util-h3.patch
@@ -210,6 +211,7 @@
 ln -s %{_defaultdocdir}/%{name}-%{version}/CREDITS $RPM_BUILD_ROOT%{_appdir}/docs
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
 
 > $RPM_BUILD_ROOT/var/log/horde/%{_hordeapp}.log
 install scripts/ldap/horde.schema $RPM_BUILD_ROOT%{schemadir}
@@ -275,6 +277,13 @@
 %triggerun -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
+%triggerin -- lighttpd
+%webapp_register lighttpd %{_webapp}
+
+%triggerun -- lighttpd
+%webapp_unregister lighttpd %{_webapp}
+
+
 %triggerpostun -- horde < 3.0.7-1.4
 for i in conf.php hooks.php mime_drivers.php motd.php nls.php prefs.php registry.php; do
 	if [ -f /etc/horde.org/%{_hordeapp}/$i.rpmsave ]; then
@@ -310,6 +319,7 @@
 %attr(750,root,http) %dir %{_sysconfdir}
 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
 %attr(660,root,http) %config(noreplace) %{_sysconfdir}/conf.php
 %attr(660,root,http) %config(noreplace) %ghost %{_sysconfdir}/conf.php.bak
 %attr(640,root,http) %config(noreplace) %{_sysconfdir}/[!c]*.php
@@ -341,6 +351,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.141  2006/02/14 17:16:57  paszczus
+- added lighttpd support
+
 Revision 1.140  2006/02/14 13:17:19  paszczus
 - updated to 3.1rc3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/horde.spec?r1=1.140&r2=1.141&f=u



More information about the pld-cvs-commit mailing list