SPECS: smokeping.spec - rel.5 - add lighttp config

blues blues at pld-linux.org
Fri Jun 16 17:28:02 CEST 2006


Author: blues                        Date: Fri Jun 16 15:28:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel.5 - add lighttp config

---- Files affected:
SPECS:
   smokeping.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/smokeping.spec
diff -u SPECS/smokeping.spec:1.38 SPECS/smokeping.spec:1.39
--- SPECS/smokeping.spec:1.38	Mon May 22 00:16:18 2006
+++ SPECS/smokeping.spec	Fri Jun 16 17:27:57 2006
@@ -10,7 +10,7 @@
 Summary(pl):	Smokeping - narzędzie do tworzenia wykresów opóźnień sieci
 Name:		smokeping
 Version:	2.0.5
-Release:	4
+Release:	5
 License:	GPL v2
 Group:		Networking/Utilities
 Source0:	http://people.ee.ethz.ch/~oetiker/webtools/smokeping/pub/%{name}-%{version}.tar.gz
@@ -18,6 +18,7 @@
 Source1:	%{name}.init
 Source2:	%{name}.conf
 Source3:	%{name}-config
+Source4:	%{name}-lighttpd.conf
 URL:		http://people.ee.ethz.ch/~oetiker/webtools/smokeping/
 BuildRequires:	perl-tools-pod
 BuildRequires:	rpm-perlprov >= 4.1-13
@@ -104,6 +105,7 @@
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_wwwconfdir}/httpd.conf
 install %{SOURCE2} $RPM_BUILD_ROOT%{_wwwconfdir}/apache.conf
+install %{SOURCE4} $RPM_BUILD_ROOT%{_wwwconfdir}/lighttpd.conf
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/config
 install doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
@@ -158,6 +160,12 @@
 %triggerun cgi -- apache < 2.2.0, apache-base
 %webapp_unregister httpd %{_webapp}
 
+%triggerin -- lighttpd
+%webapp_register lighttpd %{_webapp}
+
+%triggerun -- lighttpd
+%webapp_unregister lighttpd %{_webapp}
+
 %triggerpostun -- %{name} < 2.0.5-0.3
 # we put trigger on main package, because we can't trigger in new package
 # this will create .rpmnew files when one installs -cgi package. but that's more than okay
@@ -191,6 +199,7 @@
 %dir %attr(750,root,http) %{_wwwconfdir}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_wwwconfdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_wwwconfdir}/httpd.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_wwwconfdir}/lighttpd.conf
 %attr(755,root,root) %{_cgi_bindir}/*.cgi
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -199,6 +208,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2006/06/16 15:27:57  blues
+- rel.5 - add lighttp config
+
 Revision 1.38  2006/05/21 22:16:18  glen
 - rel 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/smokeping.spec?r1=1.38&r2=1.39&f=u



More information about the pld-cvs-commit mailing list