SPECS: lighttpd.spec - separate modules which require extra deps t...

glen glen at pld-linux.org
Fri Jul 22 00:04:16 CEST 2005


Author: glen                         Date: Thu Jul 21 22:04:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separate modules which require extra deps to subpackages
- add lua and memcache deps for mod_cml
- mod_trigger_b4_dl also has optional memcached support

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

---- Diffs:

================================================================
Index: SPECS/lighttpd.spec
diff -u SPECS/lighttpd.spec:1.114 SPECS/lighttpd.spec:1.115
--- SPECS/lighttpd.spec:1.114	Fri Jul 15 20:55:59 2005
+++ SPECS/lighttpd.spec	Fri Jul 22 00:04:11 2005
@@ -1,8 +1,8 @@
 # $Revision$, $Date$
-#
 # TODO:
 # - test ldap and mysql (failed at this time)
 # - mysql issue: http://www.freebsd.org/cgi/query-pr.cgi?pr=76866
+# - gdbm for mod_trigger_b4_dl http://www.lighttpd.net/documentation/trigger_b4_dl.html
 #
 # Conditional build for lighttpd:
 %bcond_without	xattr		# without support of extended attributes
@@ -11,9 +11,11 @@
 # and don't need > 2GB file requests,
 # see http://article.gmane.org/gmane.comp.web.lighttpd:722
 %bcond_without	largefile	# without largefile support
-%bcond_without	ssl		# disable ssl support
-%bcond_with	mysql		# with mysql
+%bcond_without	ssl			# disable ssl support
+%bcond_without	mysql		# without mysql
 %bcond_with	ldap		# with ldap
+%bcond_with	lua			# enable LUA support in mod_cml
+%bcond_with	memcache	# enable memcached support in mod_cml / mod_trigger_b4_dl
 %bcond_with	valgrind	# compile code with valgrind support.
 %bcond_with	dirhide		# with 'hide from dirlisting' hack
 #
@@ -26,7 +28,7 @@
 %define _source http://www.lighttpd.net/download/%{name}-%{version}.tar.gz
 %endif
 
-%define		_rel 1
+%define		_rel 1.12
 
 Summary:	Fast and light HTTP server
 Summary(pl):	Szybki i lekki serwer HTTP
@@ -54,6 +56,8 @@
 %{?with_mysql:BuildRequires:	mysql-devel}
 %{?with_ldap:BuildRequires:		openldap-devel}
 %{?with_ssl:BuildRequires:	openssl-devel}
+%{?with_lua:BuildRequires:	lua50-devel}
+%{?with_memcache:BuildRequires:	libmemcache-devel}
 BuildRequires:	pcre-devel
 BuildRequires:	rpmbuild(macros) >= 1.202
 %{?debug:BuildRequires:	valgrind}
@@ -96,6 +100,50 @@
 doskonałe oprogramowanie web-serwerowe na każdy serwer cierpiący z
 powodu problemów z obciążeniem.
 
+%package mod_compress
+Summary:	Output Compression
+Group:		Networking/Daemons
+URL:		http://www.lighttpd.net/documentation/compress.html
+Requires:	%{name} = %{version}-%{release}
+
+%description mod_compress
+Output compression reduces the network load and can improve the
+overall throughput of the webserver.
+
+Only static content is supported up to now.
+
+The server negotiates automaticly which compression method is used.
+Supported are gzip, deflate, bzip.
+
+%package mod_cml
+Summary:	Cache Meta Language module
+Group:		Networking/Daemons
+URL:		http://www.lighttpd.net/documentation/cml.html
+Requires:	%{name} = %{version}-%{release}
+
+%description mod_cml
+CML is a Meta language to describe the dependencies of a page at one
+side and building a page from its fragments on the other side using
+LUA.
+
+%package mod_mysql_vhost
+Summary:	MySQL based vhosting
+Group:		Networking/Daemons
+URL:		http://www.lighttpd.net/documentation/mysqlvhost.html
+Requires:	%{name} = %{version}-%{release}
+
+%description mod_mysql_vhost
+This module provides virtual hosts (vhosts) based on a MySQL table.
+
+%package mod_trigger_b4_dl
+Summary:	Trigger before Download
+Group:		Networking/Daemons
+URL:		http://www.lighttpd.net/documentation/trigger_b4_dl.html
+Requires:	%{name} = %{version}-%{release}
+
+%description mod_trigger_b4_dl
+Another anti hot-linking module.
+
 %package -n spawn-fcgi
 Summary:	Spawn fcgi-process directly
 Summary(pl):	Bezpośrednie uruchamianie procesów fcgi
@@ -127,7 +175,9 @@
 	%{?with_ldap:--with-ldap} \
 	%{!?with_ipv6:--disable-ipv6} \
 	%{!?with_largefile:--disable-lfs} \
-	%{?with_ssl:--with-openssl}
+	%{?with_ssl:--with-openssl} \
+	%{?with_lua:--with-lua} \
+	%{?with_memcache:--with-memcache}
 
 %{__make}
 
@@ -192,7 +242,26 @@
 %doc NEWS README ChangeLog doc/lighttpd.conf doc/*.txt doc/rrdtool-graph.sh
 %attr(755,root,root) %{_sbindir}/*
 %dir %{_libdir}
-%attr(755,root,root) %{_libdir}/*.so
+%attr(755,root,root) %{_libdir}/mod_access.so
+%attr(755,root,root) %{_libdir}/mod_accesslog.so
+%attr(755,root,root) %{_libdir}/mod_alias.so
+%attr(755,root,root) %{_libdir}/mod_auth.so
+%attr(755,root,root) %{_libdir}/mod_cgi.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
+%attr(755,root,root) %{_libdir}/mod_proxy.so
+%attr(755,root,root) %{_libdir}/mod_redirect.so
+%attr(755,root,root) %{_libdir}/mod_rewrite.so
+%attr(755,root,root) %{_libdir}/mod_rrdtool.so
+%attr(755,root,root) %{_libdir}/mod_scgi.so
+%attr(755,root,root) %{_libdir}/mod_secdownload.so
+%attr(755,root,root) %{_libdir}/mod_setenv.so
+%attr(755,root,root) %{_libdir}/mod_simple_vhost.so
+%attr(755,root,root) %{_libdir}/mod_ssi.so
+%attr(755,root,root) %{_libdir}/mod_status.so
+%attr(755,root,root) %{_libdir}/mod_userdir.so
+%attr(755,root,root) %{_libdir}/mod_usertrack.so
 %attr(750,root,root) %dir /var/log/archiv/%{name}
 %dir %attr(750,lighttpd,root) /var/log/%{name}
 %attr(755,lighttpd,lighttpd) %{_lighttpddir}
@@ -204,6 +273,22 @@
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}
 %{_mandir}/man?/*
 
+%files mod_compress
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/mod_compress.so
+
+%files mod_cml
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/mod_cml.so
+
+%files mod_mysql_vhost
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/mod_mysql_vhost.so
+
+%files mod_trigger_b4_dl
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/mod_trigger_b4_dl.so
+
 %files -n spawn-fcgi
 %defattr(644,root,root,755)
 %doc doc/spawn-php.sh
@@ -215,6 +300,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.115  2005/07/21 22:04:11  glen
+- separate modules which require extra deps to subpackages
+- add lua and memcache deps for mod_cml
+- mod_trigger_b4_dl also has optional memcached support
+
 Revision 1.114  2005/07/15 18:55:59  aredridel
 - up to 1.3.15
 
================================================================

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




More information about the pld-cvs-commit mailing list