SPECS: lighttpd.spec - 1.4.9-20060104-1523 pre-release - use %serv...

glen glen at pld-linux.org
Tue Jan 10 21:50:06 CET 2006


Author: glen                         Date: Tue Jan 10 20:50:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 1.4.9-20060104-1523 pre-release
- use %service to allow admin to skip restarts
- enable lua by default

---- Files affected:
SPECS:
   lighttpd.spec (1.149 -> 1.150) 

---- Diffs:

================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.149 SPECS/lighttpd.spec:1.150
--- SPECS/lighttpd.spec:1.149	Wed Jan  4 23:23:01 2006
+++ SPECS/lighttpd.spec	Tue Jan 10 21:50:00 2006
@@ -20,16 +20,16 @@
 %bcond_without	ssl		# ssl support
 %bcond_with	mysql		# mysql support in mod_mysql_vhost
 %bcond_with	ldap		# ldap support in mod_auth
-%bcond_with	lua		# LUA support in mod_cml
+%bcond_without	lua		# LUA support in mod_cml
 %bcond_with	memcache	# memcached support in mod_cml / mod_trigger_b4_dl
-%bcond_with	gamin		# gamin for reducing number of stat() calls. 
+%bcond_with	gamin		# gamin for reducing number of stat() calls.
 				# NOTE: must be enabled in config: server.stat-cache-engine = "fam"
 %bcond_with	gdbm		# gdbm in mod_trigger_b4_dl
 %bcond_with	webdav_props	# properties in mod_webdav (includes extra sqlite3/libxml deps)
 %bcond_with	valgrind	# compile code with valgrind support.
 
 # Prerelease snapshot: DATE-TIME
-#define _snap 20050116-1743
+%define _snap 20060104-1523
 
 %if 0%{?_snap}
 %define _source http://www.lighttpd.net/download/%{name}-%{version}-%{_snap}.tar.gz
@@ -37,17 +37,17 @@
 %define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
 %endif
 
-%define		_rel 4
+%define		_rel 0.8
 
 Summary:	Fast and light HTTP server
 Summary(pl):	Szybki i lekki serwer HTTP
 Name:		lighttpd
-Version:	1.4.8
+Version:	1.4.9
 Release:	%{_rel}%{?_snap:.%(echo %{_snap}|tr - _)}
 Group:		Networking/Daemons
 License:	BSD
 Source0:	%{_source}
-# Source0-md5:	7d7790ef95ff5755f73bfcda4f13696d
+# Source0-md5:	67b9580b79c058b7a854964ee6fa0294
 Source1:	%{name}.init
 Source2:	%{name}.conf
 Source3:	%{name}.user
@@ -81,7 +81,7 @@
 %{?with_ssl:BuildRequires:	openssl-devel}
 BuildRequires:	pcre-devel
 BuildRequires:	pkgconfig
-BuildRequires:	rpmbuild(macros) >= 1.202
+BuildRequires:	rpmbuild(macros) >= 1.268
 %{?with_webdav_props:BuildRequires:	sqlite3-devel}
 %{?with_valgrind:BuildRequires:	valgrind}
 BuildRequires:	zlib-devel
@@ -309,17 +309,11 @@
 
 %post
 /sbin/chkconfig --add %{name}
-if [ -f /var/lock/subsys/%{name} ]; then
-	/etc/rc.d/init.d/%{name} restart 1>&2
-else
-	echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
-fi
+%service %{name} restart "LigHTTPd webserver"
 
 %preun
 if [ "$1" = "0" ]; then
-	if [ -f /var/lock/subsys/%{name} ]; then
-		/etc/rc.d/init.d/%{name} stop 1>&2
-	fi
+	%service %{name} stop
 	/sbin/chkconfig --del %{name}
 fi
 
@@ -362,6 +356,7 @@
 %attr(755,root,root) %{_libdir}/mod_auth.so
 %attr(755,root,root) %{_libdir}/mod_cgi.so
 %attr(755,root,root) %{_libdir}/mod_dirlisting.so
+%attr(755,root,root) %{_libdir}/mod_evasive.so
 %attr(755,root,root) %{_libdir}/mod_evhost.so
 %attr(755,root,root) %{_libdir}/mod_expire.so
 %attr(755,root,root) %{_libdir}/mod_fastcgi.so
@@ -419,6 +414,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.150  2006/01/10 20:50:00  glen
+- 1.4.9-20060104-1523 pre-release
+- use %service to allow admin to skip restarts
+- enable lua by default
+
 Revision 1.149  2006/01/04 22:23:01  glen
 - kill Provides: httpd
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/lighttpd.spec?r1=1.149&r2=1.150&f=u



More information about the pld-cvs-commit mailing list