mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] lighttpd: Bump to version 1.4.31
@ 2013-01-23 10:15 Alexander Stein
  2013-01-23 10:15 ` [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly Alexander Stein
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stein @ 2013-01-23 10:15 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Stein

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
---
 rules/lighttpd.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rules/lighttpd.make b/rules/lighttpd.make
index a4601ba..359a991 100644
--- a/rules/lighttpd.make
+++ b/rules/lighttpd.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIGHTTPD) += lighttpd
 #
 # Paths and names
 #
-LIGHTTPD_VERSION	:= 1.4.30
-LIGHTTPD_MD5		:= 63f9df52dcae0ab5689a95c99c54e48a
+LIGHTTPD_VERSION	:= 1.4.31
+LIGHTTPD_MD5		:= c718cc27658240d307b8a1d1c7c4bb54
 LIGHTTPD		:= lighttpd-$(LIGHTTPD_VERSION)
 LIGHTTPD_SUFFIX		:= tar.bz2
 LIGHTTPD_URL		:= http://download.lighttpd.net/lighttpd/releases-1.4.x/$(LIGHTTPD).$(LIGHTTPD_SUFFIX)
-- 
1.8.1.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly
  2013-01-23 10:15 [ptxdist] [PATCH 1/2] lighttpd: Bump to version 1.4.31 Alexander Stein
@ 2013-01-23 10:15 ` Alexander Stein
  2013-01-23 11:26   ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stein @ 2013-01-23 10:15 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Stein

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
---
 rules/lighttpd.in   | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 rules/lighttpd.make |  99 ++++++++++++++++++++++++++
 2 files changed, 300 insertions(+)

diff --git a/rules/lighttpd.in b/rules/lighttpd.in
index d84fec7..6a7f577 100644
--- a/rules/lighttpd.in
+++ b/rules/lighttpd.in
@@ -146,5 +146,206 @@ config LIGHTTPD_GENERIC_SITE
 	  from <ptxdist-install>/generic/var/www/lighttpd.html
 	  and some php demos.
 
+menuconfig LIGHTTPD_SELECT_MODULES
+	bool
+	prompt "Select single modules"
+	help
+	  This installs single modules, which can be selected in this menu.
+
+if LIGHTTPD_SELECT_MODULES
+
+config LIGHTTPD_MOD_ACCESS
+	bool
+	prompt "mod_access"
+	help
+	  Enable mod_access.
+
+config LIGHTTPD_MOD_ACCESSLOG
+	bool
+	prompt "mod_accesslog"
+	help
+	  Enable mod_accesslog.
+
+config LIGHTTPD_MOD_ALIAS
+	bool
+	prompt "mod_alias"
+	help
+	  Enable mod_alias.
+
+config LIGHTTPD_MOD_AUTH
+	bool
+	prompt "mod_auth"
+	help
+	  Enable mod_auth.
+
+config LIGHTTPD_MOD_CGI
+	bool
+	prompt "mod_cgi"
+	help
+	  Enable mod_cgi.
+
+config LIGHTTPD_MOD_CML
+	bool
+	prompt "mod_cml"
+	help
+	  Enable mod_cml.
+
+config LIGHTTPD_MOD_COMPRESS
+	bool
+	prompt "mod_compress"
+	help
+	  Enable mod_compress.
+
+config LIGHTTPD_MOD_DIRLISTING
+	bool
+	prompt "mod_dirlisting"
+	help
+	  Enable mod_dirlisting.
+
+config LIGHTTPD_MOD_EVASIVE
+	bool
+	prompt "mod_evasive"
+	help
+	  Enable mod_evasive.
+
+config LIGHTTPD_MOD_EVHOST
+	bool
+	prompt "mod_evhost"
+	help
+	  Enable mod_evhost.
+
+config LIGHTTPD_MOD_EXPIRE
+	bool
+	prompt "mod_expire"
+	help
+	  Enable mod_expire.
+
+config LIGHTTPD_MOD_EXTFORWARD
+	bool
+	prompt "mod_extforward"
+	help
+	  Enable mod_extforward.
+
+config LIGHTTPD_MOD_FASTCGI
+	bool
+	prompt "mod_fastcgi"
+	help
+	  Enable mod_fastcgi.
+
+config LIGHTTPD_MOD_FLV_STREAMING
+	bool
+	prompt "mod_flv_streaming"
+	help
+	  Enable mod_flv_streaming.
+
+config LIGHTTPD_MOD_INDEXFILE
+	bool
+	prompt "mod_indexfile"
+	help
+	  Enable mod_indexfile.
+
+config LIGHTTPD_MOD_MAGNET
+	bool
+	prompt "mod_magnet"
+	help
+	  Enable mod_magnet.
+
+config LIGHTTPD_MOD_MYSQL_VHOST
+	bool
+	prompt "mod_mysql_vhost"
+	help
+	  Enable mod_mysql_vhost.
+
+config LIGHTTPD_MOD_PROXY
+	bool
+	prompt "mod_proxy"
+	help
+	  Enable mod_proxy.
+
+config LIGHTTPD_MOD_REDIRECT
+	bool
+	prompt "mod_redirect"
+	help
+	  Enable mod_redirect.
+
+config LIGHTTPD_MOD_REWRITE
+	bool
+	prompt "mod_rewrite"
+	help
+	  Enable mod_rewrite.
+
+config LIGHTTPD_MOD_RRDTOOL
+	bool
+	prompt "mod_rrdtool"
+	help
+	  Enable mod_rrdtool.
+
+config LIGHTTPD_MOD_SCGI
+	bool
+	prompt "mod_scgi"
+	help
+	  Enable mod_scgi.
+
+config LIGHTTPD_MOD_SECDOWNLOAD
+	bool
+	prompt "mod_secdownload"
+	help
+	  Enable mod_secdownload.
+
+config LIGHTTPD_MOD_SETENV
+	bool
+	prompt "mod_secdownload"
+	help
+	  Enable mod_secdownload.
+
+config LIGHTTPD_MOD_SIMPLE_VHOST
+	bool
+	prompt "mod_simple_vhost"
+	help
+	  Enable mod_simple_vhost.
+
+config LIGHTTPD_MOD_SSI
+	bool
+	prompt "mod_ssi"
+	help
+	  Enable mod_ssi.
+
+config LIGHTTPD_MOD_STATICFILE
+	bool
+	prompt "mod_staticfile"
+	help
+	  Enable mod_staticfile.
+
+config LIGHTTPD_MOD_STATUS
+	bool
+	prompt "mod_status"
+	help
+	  Enable mod_status.
+
+config LIGHTTPD_MOD_TRIGGER_B4_DL
+	bool
+	prompt "mod_trigger_b4_dl"
+	help
+	  Enable mod_trigger_b4_dl.
+
+config LIGHTTPD_MOD_USERDIR
+	bool
+	prompt "mod_userdir"
+	help
+	  Enable mod_userdir.
+
+config LIGHTTPD_MOD_USERTRACK
+	bool
+	prompt "mod_usertrack"
+	help
+	  Enable mod_usertrack.
+
+config LIGHTTPD_MOD_WEBDAV
+	bool
+	prompt "mod_webdav"
+	help
+	  Enable mod_webdav.
+
+endif
 
 endif
diff --git a/rules/lighttpd.make b/rules/lighttpd.make
index 359a991..f5fc49a 100644
--- a/rules/lighttpd.make
+++ b/rules/lighttpd.make
@@ -76,6 +76,7 @@ $(STATEDIR)/lighttpd.targetinstall:
 	@$(call install_copy, lighttpd, 0, 0, 0755, -, \
 		/usr/sbin/lighttpd-angel)
 
+ifndef PTXCONF_LIGHTTPD_SELECT_MODULES
 #	# modules
 	@cd $(LIGHTTPD_PKGDIR) && \
 		find ./usr/lib -name "*.so" | \
@@ -83,6 +84,104 @@ $(STATEDIR)/lighttpd.targetinstall:
 		$(call install_copy, lighttpd, 0, 0, 0644, -, \
 			$${file##.}) \
 	done
+else
+ifdef PTXCONF_LIGHTTPD_MOD_ACCESS
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_access.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_ACCESSLOG
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_accesslog.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_ALIAS
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_alias.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_AUTH
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_auth.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_CGI
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_cgi.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_CML
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_cml.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_COMPRESS
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_compress.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_DIRLISTING
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_dirlisting.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_EVASIVE
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_evasive.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_EVHOST
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_evhost.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_EXPIRE
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_expire.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_EXTFORWARD
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_extforward.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_FASTCGI
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_fastcgi.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_FLV_STREAMING
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_flv_streaming.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_INDEXFILE
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_indexfile.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_MAGNET
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_magnet.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_MYSQL_VHOST
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_mysql_vhost.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_PROXY
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_proxy.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_REDIRECT
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_redirect.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_REWRITE
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_rewrite.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_RRDTOOL
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_rrdtool.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_SCGI
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_scgi.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_SECDOWNLOAD
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_secdownload.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_SETENV
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_setenv.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_SIMPLE_VHOST
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_simple_vhost.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_SSI
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_ssi.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_STATICFILE
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_staticfile.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_STATUS
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_status.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_TRIGGER_B4_DL
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_trigger_b4_dl.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_USERDIR
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_userdir.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_USERTRACK
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_usertrack.so)
+endif
+ifdef PTXCONF_LIGHTTPD_MOD_WEBDAV
+	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_webdav.so)
+endif
+endif
 
 #	#
 #	# configs
-- 
1.8.1.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly
  2013-01-23 10:15 ` [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly Alexander Stein
@ 2013-01-23 11:26   ` Michael Olbrich
  2013-01-23 12:28     ` Alexander Stein
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2013-01-23 11:26 UTC (permalink / raw)
  To: ptxdist

Hi,

What's the usecase for this? This are a lot of options and hard to
maintain. And the plugins are so small, that I don't think it's worth it to
save the space.

Michael

On Wed, Jan 23, 2013 at 11:15:52AM +0100, Alexander Stein wrote:
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> ---
>  rules/lighttpd.in   | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  rules/lighttpd.make |  99 ++++++++++++++++++++++++++
>  2 files changed, 300 insertions(+)
> 
> diff --git a/rules/lighttpd.in b/rules/lighttpd.in
> index d84fec7..6a7f577 100644
> --- a/rules/lighttpd.in
> +++ b/rules/lighttpd.in
> @@ -146,5 +146,206 @@ config LIGHTTPD_GENERIC_SITE
>  	  from <ptxdist-install>/generic/var/www/lighttpd.html
>  	  and some php demos.
>  
> +menuconfig LIGHTTPD_SELECT_MODULES
> +	bool
> +	prompt "Select single modules"
> +	help
> +	  This installs single modules, which can be selected in this menu.
> +
> +if LIGHTTPD_SELECT_MODULES
> +
> +config LIGHTTPD_MOD_ACCESS
> +	bool
> +	prompt "mod_access"
> +	help
> +	  Enable mod_access.
> +
> +config LIGHTTPD_MOD_ACCESSLOG
> +	bool
> +	prompt "mod_accesslog"
> +	help
> +	  Enable mod_accesslog.
> +
> +config LIGHTTPD_MOD_ALIAS
> +	bool
> +	prompt "mod_alias"
> +	help
> +	  Enable mod_alias.
> +
> +config LIGHTTPD_MOD_AUTH
> +	bool
> +	prompt "mod_auth"
> +	help
> +	  Enable mod_auth.
> +
> +config LIGHTTPD_MOD_CGI
> +	bool
> +	prompt "mod_cgi"
> +	help
> +	  Enable mod_cgi.
> +
> +config LIGHTTPD_MOD_CML
> +	bool
> +	prompt "mod_cml"
> +	help
> +	  Enable mod_cml.
> +
> +config LIGHTTPD_MOD_COMPRESS
> +	bool
> +	prompt "mod_compress"
> +	help
> +	  Enable mod_compress.
> +
> +config LIGHTTPD_MOD_DIRLISTING
> +	bool
> +	prompt "mod_dirlisting"
> +	help
> +	  Enable mod_dirlisting.
> +
> +config LIGHTTPD_MOD_EVASIVE
> +	bool
> +	prompt "mod_evasive"
> +	help
> +	  Enable mod_evasive.
> +
> +config LIGHTTPD_MOD_EVHOST
> +	bool
> +	prompt "mod_evhost"
> +	help
> +	  Enable mod_evhost.
> +
> +config LIGHTTPD_MOD_EXPIRE
> +	bool
> +	prompt "mod_expire"
> +	help
> +	  Enable mod_expire.
> +
> +config LIGHTTPD_MOD_EXTFORWARD
> +	bool
> +	prompt "mod_extforward"
> +	help
> +	  Enable mod_extforward.
> +
> +config LIGHTTPD_MOD_FASTCGI
> +	bool
> +	prompt "mod_fastcgi"
> +	help
> +	  Enable mod_fastcgi.
> +
> +config LIGHTTPD_MOD_FLV_STREAMING
> +	bool
> +	prompt "mod_flv_streaming"
> +	help
> +	  Enable mod_flv_streaming.
> +
> +config LIGHTTPD_MOD_INDEXFILE
> +	bool
> +	prompt "mod_indexfile"
> +	help
> +	  Enable mod_indexfile.
> +
> +config LIGHTTPD_MOD_MAGNET
> +	bool
> +	prompt "mod_magnet"
> +	help
> +	  Enable mod_magnet.
> +
> +config LIGHTTPD_MOD_MYSQL_VHOST
> +	bool
> +	prompt "mod_mysql_vhost"
> +	help
> +	  Enable mod_mysql_vhost.
> +
> +config LIGHTTPD_MOD_PROXY
> +	bool
> +	prompt "mod_proxy"
> +	help
> +	  Enable mod_proxy.
> +
> +config LIGHTTPD_MOD_REDIRECT
> +	bool
> +	prompt "mod_redirect"
> +	help
> +	  Enable mod_redirect.
> +
> +config LIGHTTPD_MOD_REWRITE
> +	bool
> +	prompt "mod_rewrite"
> +	help
> +	  Enable mod_rewrite.
> +
> +config LIGHTTPD_MOD_RRDTOOL
> +	bool
> +	prompt "mod_rrdtool"
> +	help
> +	  Enable mod_rrdtool.
> +
> +config LIGHTTPD_MOD_SCGI
> +	bool
> +	prompt "mod_scgi"
> +	help
> +	  Enable mod_scgi.
> +
> +config LIGHTTPD_MOD_SECDOWNLOAD
> +	bool
> +	prompt "mod_secdownload"
> +	help
> +	  Enable mod_secdownload.
> +
> +config LIGHTTPD_MOD_SETENV
> +	bool
> +	prompt "mod_secdownload"
> +	help
> +	  Enable mod_secdownload.
> +
> +config LIGHTTPD_MOD_SIMPLE_VHOST
> +	bool
> +	prompt "mod_simple_vhost"
> +	help
> +	  Enable mod_simple_vhost.
> +
> +config LIGHTTPD_MOD_SSI
> +	bool
> +	prompt "mod_ssi"
> +	help
> +	  Enable mod_ssi.
> +
> +config LIGHTTPD_MOD_STATICFILE
> +	bool
> +	prompt "mod_staticfile"
> +	help
> +	  Enable mod_staticfile.
> +
> +config LIGHTTPD_MOD_STATUS
> +	bool
> +	prompt "mod_status"
> +	help
> +	  Enable mod_status.
> +
> +config LIGHTTPD_MOD_TRIGGER_B4_DL
> +	bool
> +	prompt "mod_trigger_b4_dl"
> +	help
> +	  Enable mod_trigger_b4_dl.
> +
> +config LIGHTTPD_MOD_USERDIR
> +	bool
> +	prompt "mod_userdir"
> +	help
> +	  Enable mod_userdir.
> +
> +config LIGHTTPD_MOD_USERTRACK
> +	bool
> +	prompt "mod_usertrack"
> +	help
> +	  Enable mod_usertrack.
> +
> +config LIGHTTPD_MOD_WEBDAV
> +	bool
> +	prompt "mod_webdav"
> +	help
> +	  Enable mod_webdav.
> +
> +endif
>  
>  endif
> diff --git a/rules/lighttpd.make b/rules/lighttpd.make
> index 359a991..f5fc49a 100644
> --- a/rules/lighttpd.make
> +++ b/rules/lighttpd.make
> @@ -76,6 +76,7 @@ $(STATEDIR)/lighttpd.targetinstall:
>  	@$(call install_copy, lighttpd, 0, 0, 0755, -, \
>  		/usr/sbin/lighttpd-angel)
>  
> +ifndef PTXCONF_LIGHTTPD_SELECT_MODULES
>  #	# modules
>  	@cd $(LIGHTTPD_PKGDIR) && \
>  		find ./usr/lib -name "*.so" | \
> @@ -83,6 +84,104 @@ $(STATEDIR)/lighttpd.targetinstall:
>  		$(call install_copy, lighttpd, 0, 0, 0644, -, \
>  			$${file##.}) \
>  	done
> +else
> +ifdef PTXCONF_LIGHTTPD_MOD_ACCESS
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_access.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_ACCESSLOG
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_accesslog.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_ALIAS
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_alias.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_AUTH
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_auth.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_CGI
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_cgi.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_CML
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_cml.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_COMPRESS
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_compress.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_DIRLISTING
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_dirlisting.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_EVASIVE
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_evasive.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_EVHOST
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_evhost.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_EXPIRE
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_expire.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_EXTFORWARD
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_extforward.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_FASTCGI
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_fastcgi.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_FLV_STREAMING
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_flv_streaming.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_INDEXFILE
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_indexfile.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_MAGNET
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_magnet.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_MYSQL_VHOST
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_mysql_vhost.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_PROXY
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_proxy.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_REDIRECT
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_redirect.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_REWRITE
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_rewrite.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_RRDTOOL
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_rrdtool.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_SCGI
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_scgi.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_SECDOWNLOAD
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_secdownload.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_SETENV
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_setenv.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_SIMPLE_VHOST
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_simple_vhost.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_SSI
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_ssi.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_STATICFILE
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_staticfile.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_STATUS
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_status.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_TRIGGER_B4_DL
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_trigger_b4_dl.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_USERDIR
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_userdir.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_USERTRACK
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_usertrack.so)
> +endif
> +ifdef PTXCONF_LIGHTTPD_MOD_WEBDAV
> +	@$(call install_copy, lighttpd, 0, 0, 0644, -, /usr/lib/mod_webdav.so)
> +endif
> +endif
>  
>  #	#
>  #	# configs
> -- 
> 1.8.1.1
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly
  2013-01-23 11:26   ` Michael Olbrich
@ 2013-01-23 12:28     ` Alexander Stein
  2013-01-25  9:47       ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Stein @ 2013-01-23 12:28 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Olbrich

Hello Michael,

On Wednesday 23 January 2013 12:26:24, Michael Olbrich wrote:
> What's the usecase for this? This are a lot of options and hard to
> maintain. And the plugins are so small, that I don't think it's worth it to
> save the space.

That's exactly the use case. On that particular board we don't have much flash memory available, so even reducing about 1,4 MiB is essential in that case.
You can at least get a list of the modules when the package is installed using this shell command:
> for mod in platform/packages/lighttpd-1.4.31/usr/lib/lighttpd/*.so; do MOD=$(basename $mod); echo ${MOD/.so/}; done
This could be a starting point to create e.g. a lighttpd_modules.in by a script which includes this options.

Best regards,
Alexander


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly
  2013-01-23 12:28     ` Alexander Stein
@ 2013-01-25  9:47       ` Michael Olbrich
  2013-01-28 13:14         ` Alexander Stein
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2013-01-25  9:47 UTC (permalink / raw)
  To: ptxdist

Hi,

On Wed, Jan 23, 2013 at 01:28:26PM +0100, Alexander Stein wrote:
> On Wednesday 23 January 2013 12:26:24, Michael Olbrich wrote:
> > What's the usecase for this? This are a lot of options and hard to
> > maintain. And the plugins are so small, that I don't think it's worth it to
> > save the space.
> 
> That's exactly the use case. On that particular board we don't have much
> flash memory available, so even reducing about 1,4 MiB is essential in that
> case.
> You can at least get a list of the modules when the package is installed using this shell command:
> > for mod in platform/packages/lighttpd-1.4.31/usr/lib/lighttpd/*.so; do MOD=$(basename $mod); echo ${MOD/.so/}; done
> This could be a starting point to create e.g. a lighttpd_modules.in by a script which includes this options.

I've pushed my lighttpd rework that I've been working on for some time. You
can now explicitly select some modules (those that require extra
dependencies etc.). For the rest there is a string to add them manually.
The list will be added for loading to the config file, and optionally used
to only install these modules.
Does this work for you?

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly
  2013-01-25  9:47       ` Michael Olbrich
@ 2013-01-28 13:14         ` Alexander Stein
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Stein @ 2013-01-28 13:14 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Olbrich

Hello Michael,

On Friday 25 January 2013 10:47:25, Michael Olbrich wrote:
> On Wed, Jan 23, 2013 at 01:28:26PM +0100, Alexander Stein wrote:
> > On Wednesday 23 January 2013 12:26:24, Michael Olbrich wrote:
> > > What's the usecase for this? This are a lot of options and hard to
> > > maintain. And the plugins are so small, that I don't think it's worth it to
> > > save the space.
> > 
> > That's exactly the use case. On that particular board we don't have much
> > flash memory available, so even reducing about 1,4 MiB is essential in that
> > case.
> > You can at least get a list of the modules when the package is installed using this shell command:
> > > for mod in platform/packages/lighttpd-1.4.31/usr/lib/lighttpd/*.so; do MOD=$(basename $mod); echo ${MOD/.so/}; done
> > This could be a starting point to create e.g. a lighttpd_modules.in by a script which includes this options.
> 
> I've pushed my lighttpd rework that I've been working on for some time. You
> can now explicitly select some modules (those that require extra
> dependencies etc.). For the rest there is a string to add them manually.
> The list will be added for loading to the config file, and optionally used
> to only install these modules.
> Does this work for you?

Yep, that's fine enough too. I wasn't even ware that mod_indexfile, mod_dirlisting and mod_staticfile are loaded anyway.
Thanks.

Alexander


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-28 13:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 10:15 [ptxdist] [PATCH 1/2] lighttpd: Bump to version 1.4.31 Alexander Stein
2013-01-23 10:15 ` [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly Alexander Stein
2013-01-23 11:26   ` Michael Olbrich
2013-01-23 12:28     ` Alexander Stein
2013-01-25  9:47       ` Michael Olbrich
2013-01-28 13:14         ` Alexander Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox