mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
@ 2016-10-21  8:26 Andreas Geisenhainer
  2016-10-21  9:28 ` Michael Olbrich
  2016-10-21 10:05 ` Alexander Dahl
  0 siblings, 2 replies; 13+ messages in thread
From: Andreas Geisenhainer @ 2016-10-21  8:26 UTC (permalink / raw)
  To: ptxdist

 * update dependency from "memcache" to "memcached"
 * add menuconfig entry for proxy module
 * update configure switches
 ** remove no longer valid "--runstatdir=<dir>"
 ** update kerberos5 to krb5
 ** explicitly disable openssl support (default is: no)
 ** update webdav_props and webdav_locks options and
    and make them depend on their respective parent (props or locks)

Signed-off-by: Andreas Geisenhainer <Andreas.Geisenhainer@atsonline.de>
---
 rules/lighttpd.in   | 12 +++++++++---
 rules/lighttpd.make | 16 +++++++++++-----
 2 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/rules/lighttpd.in b/rules/lighttpd.in
index d535394..60c5ff5 100644
--- a/rules/lighttpd.in
+++ b/rules/lighttpd.in
@@ -16,7 +16,7 @@ menuconfig LIGHTTPD
 	select SQLITE			if LIGHTTPD_WEBDAV_PROPS
 	select LIBUUID			if LIGHTTPD_WEBDAV_LOCKS
 	select OPENSSL			if LIGHTTPD_OPENSSL
-	select LIBMEMCACHE		if LIGHTTPD_MEMCACHE
+	select LIBMEMCACHED		if LIGHTTPD_MEMCACHED
 	select LUA			if LIGHTTPD_LUA
 	select LUA_INSTALL_LIBLUA	if LIGHTTPD_LUA
 	select PHP5			if LIGHTTPD_MOD_FASTCGI_PHP && RUNTIME
@@ -60,7 +60,7 @@ config LIGHTTPD_LUA
 	help
 	  lua engine for mod_cml and mod_magnet
 
-config LIGHTTPD_MEMCACHE
+config LIGHTTPD_MEMCACHED
 	bool
 	prompt "memcached storage"
 	help
@@ -171,7 +171,7 @@ config LIGHTTPD_MOD_REWRITE
 
 config LIGHTTPD_MOD_TRIGGER_B4_DL
 	bool
-	select LIGHTTPD_MEMCACHE
+	select LIGHTTPD_MEMCACHED
 	select LIGHTTPD_PCRE
 	prompt "mod_trigger_b4_dl"
 	help
@@ -200,6 +200,12 @@ config LIGHTTPD_WEBDAV_LOCKS
 	  locks in mod_webdav
 endif
 
+config LIGHTTPD_MOD_PROXY
+	bool
+	prompt "mod_proxy"
+	help
+	  Proxy support
+
 config LIGHTTPD_MOD_EXTRA
 	string
 	prompt "extra modules"
diff --git a/rules/lighttpd.make b/rules/lighttpd.make
index 31217f4..523cda2 100644
--- a/rules/lighttpd.make
+++ b/rules/lighttpd.make
@@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIGHTTPD) += lighttpd
 #
 # Paths and names
 #
-LIGHTTPD_VERSION	:= 1.4.39
-LIGHTTPD_MD5		:= 63c7563be1c7a7a9819a51f07f1af8b2
+LIGHTTPD_VERSION	:= 1.4.42
+LIGHTTPD_MD5		:= 53c55d7e1dac7adec161cd5490491f6d
 LIGHTTPD		:= lighttpd-$(LIGHTTPD_VERSION)
 LIGHTTPD_SUFFIX		:= tar.xz
 LIGHTTPD_URL		:= http://download.lighttpd.net/lighttpd/releases-1.4.x/$(LIGHTTPD).$(LIGHTTPD_SUFFIX)
@@ -36,7 +36,6 @@ LIGHTTPD_LICENSE	:= BSD-3-Clause
 LIGHTTPD_CONF_TOOL	:= autoconf
 LIGHTTPD_CONF_OPT	:= \
 	$(CROSS_AUTOCONF_USR) \
-	--runstatedir=/run \
 	--libdir=/usr/lib/lighttpd \
 	--$(call ptx/endis, PTXCONF_GLOBAL_LARGE_FILE)-lfs \
 	$(GLOBAL_IPV6_OPTION) \
@@ -48,15 +47,21 @@ LIGHTTPD_CONF_OPT	:= \
 	--without-valgrind \
 	--without-libunwind \
 	--$(call ptx/wwo, PTXCONF_LIGHTTPD_OPENSSL)-openssl \
-	--without-kerberos5 \
+	--without-krb5 \
+	--without-aix-soname \
+	--without-openssl \
 	--$(call ptx/wwo, PTXCONF_LIGHTTPD_PCRE)-pcre \
 	--$(call ptx/wwo, PTXCONF_LIGHTTPD_ZLIB)-zlib \
 	--$(call ptx/wwo, PTXCONF_LIGHTTPD_BZ2LIB)-bzip2 \
 	--$(call ptx/wwo, PTXCONF_LIGHTTPD_FAM)-fam \
 	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_PROPS)-webdav-props \
+	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_PROPS)-libxml \
+	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_PROPS)-sqlite \
 	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_LOCKS)-webdav-locks \
+	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_LOCKS)-uuid \
 	--without-gdbm \
-	--$(call ptx/wwo, PTXCONF_LIGHTTPD_MEMCACHE)-memcache \
+	--without-geoip \
+	--$(call ptx/wwo, PTXCONF_LIGHTTPD_MEMCACHED)-memcached \
 	--$(call ptx/wwo, PTXCONF_LIGHTTPD_LUA)-lua
 
 # ----------------------------------------------------------------------------
@@ -75,6 +80,7 @@ LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_MAGNET)		+= mod_magnet
 LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_REWRITE)	+= mod_rewrite
 LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_TRIGGER_B4_DL)	+= mod_trigger_b4_dl
 LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_WEBDAV)		+= mod_webdav
+LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_PROXY)		+= mod_proxy
 LIGHTTPD_MODULES-y += $(call remove_quotes,$(PTXCONF_LIGHTTPD_MOD_EXTRA))
 
 LIGHTTPD_MODULE_STRING := $(subst $(space),$(comma),$(addsuffix \",$(addprefix \",$(LIGHTTPD_MODULES-y))))

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-21  8:26 [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42 Andreas Geisenhainer
@ 2016-10-21  9:28 ` Michael Olbrich
  2016-10-21 10:41   ` Andreas Geisenhainer
  2016-10-21 10:05 ` Alexander Dahl
  1 sibling, 1 reply; 13+ messages in thread
From: Michael Olbrich @ 2016-10-21  9:28 UTC (permalink / raw)
  To: ptxdist

On Fri, Oct 21, 2016 at 10:26:37AM +0200, Andreas Geisenhainer wrote:
>  * update dependency from "memcache" to "memcached"
>  * add menuconfig entry for proxy module
>  * update configure switches
>  ** remove no longer valid "--runstatdir=<dir>"
>  ** update kerberos5 to krb5
>  ** explicitly disable openssl support (default is: no)
>  ** update webdav_props and webdav_locks options and
>     and make them depend on their respective parent (props or locks)
> 
> Signed-off-by: Andreas Geisenhainer <Andreas.Geisenhainer@atsonline.de>
> ---
>  rules/lighttpd.in   | 12 +++++++++---
>  rules/lighttpd.make | 16 +++++++++++-----
>  2 files changed, 20 insertions(+), 8 deletions(-)
> 
> diff --git a/rules/lighttpd.in b/rules/lighttpd.in
> index d535394..60c5ff5 100644
> --- a/rules/lighttpd.in
> +++ b/rules/lighttpd.in
> @@ -16,7 +16,7 @@ menuconfig LIGHTTPD
>  	select SQLITE			if LIGHTTPD_WEBDAV_PROPS
>  	select LIBUUID			if LIGHTTPD_WEBDAV_LOCKS
>  	select OPENSSL			if LIGHTTPD_OPENSSL
> -	select LIBMEMCACHE		if LIGHTTPD_MEMCACHE
> +	select LIBMEMCACHED		if LIGHTTPD_MEMCACHED
>  	select LUA			if LIGHTTPD_LUA
>  	select LUA_INSTALL_LIBLUA	if LIGHTTPD_LUA
>  	select PHP5			if LIGHTTPD_MOD_FASTCGI_PHP && RUNTIME
> @@ -60,7 +60,7 @@ config LIGHTTPD_LUA
>  	help
>  	  lua engine for mod_cml and mod_magnet
>  
> -config LIGHTTPD_MEMCACHE
> +config LIGHTTPD_MEMCACHED

This deserves entry in scripts/migrate/migrate_ptx to help migration. There
should be enough examples show how it works if you are unfamiliar with sed
scripts.

>  	bool
>  	prompt "memcached storage"
>  	help
> @@ -171,7 +171,7 @@ config LIGHTTPD_MOD_REWRITE
>  
>  config LIGHTTPD_MOD_TRIGGER_B4_DL
>  	bool
> -	select LIGHTTPD_MEMCACHE
> +	select LIGHTTPD_MEMCACHED
>  	select LIGHTTPD_PCRE
>  	prompt "mod_trigger_b4_dl"
>  	help
> @@ -200,6 +200,12 @@ config LIGHTTPD_WEBDAV_LOCKS
>  	  locks in mod_webdav
>  endif
>  
> +config LIGHTTPD_MOD_PROXY
> +	bool
> +	prompt "mod_proxy"
> +	help
> +	  Proxy support

We only have explicit module options for modules with extra dependencies.
Use LIGHTTPD_MOD_EXTRA for everything else. So remove this please.

> +
>  config LIGHTTPD_MOD_EXTRA
>  	string
>  	prompt "extra modules"
> diff --git a/rules/lighttpd.make b/rules/lighttpd.make
> index 31217f4..523cda2 100644
> --- a/rules/lighttpd.make
> +++ b/rules/lighttpd.make
> @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIGHTTPD) += lighttpd
>  #
>  # Paths and names
>  #
> -LIGHTTPD_VERSION	:= 1.4.39
> -LIGHTTPD_MD5		:= 63c7563be1c7a7a9819a51f07f1af8b2
> +LIGHTTPD_VERSION	:= 1.4.42
> +LIGHTTPD_MD5		:= 53c55d7e1dac7adec161cd5490491f6d
>  LIGHTTPD		:= lighttpd-$(LIGHTTPD_VERSION)
>  LIGHTTPD_SUFFIX		:= tar.xz
>  LIGHTTPD_URL		:= http://download.lighttpd.net/lighttpd/releases-1.4.x/$(LIGHTTPD).$(LIGHTTPD_SUFFIX)
> @@ -36,7 +36,6 @@ LIGHTTPD_LICENSE	:= BSD-3-Clause
>  LIGHTTPD_CONF_TOOL	:= autoconf
>  LIGHTTPD_CONF_OPT	:= \
>  	$(CROSS_AUTOCONF_USR) \
> -	--runstatedir=/run \

Are you sure this option is gone?

>  	--libdir=/usr/lib/lighttpd \
>  	--$(call ptx/endis, PTXCONF_GLOBAL_LARGE_FILE)-lfs \
>  	$(GLOBAL_IPV6_OPTION) \
> @@ -48,15 +47,21 @@ LIGHTTPD_CONF_OPT	:= \
>  	--without-valgrind \
>  	--without-libunwind \
>  	--$(call ptx/wwo, PTXCONF_LIGHTTPD_OPENSSL)-openssl \
> -	--without-kerberos5 \
> +	--without-krb5 \
> +	--without-aix-soname \

Leave this one out. It's just ignored anyways on Linux.

> +	--without-openssl \

This is wrong. It's already set based on PTXCONF_LIGHTTPD_OPENSSL above.
You might want to move that line if the order in './configure --help'
changed.

>  	--$(call ptx/wwo, PTXCONF_LIGHTTPD_PCRE)-pcre \
>  	--$(call ptx/wwo, PTXCONF_LIGHTTPD_ZLIB)-zlib \
>  	--$(call ptx/wwo, PTXCONF_LIGHTTPD_BZ2LIB)-bzip2 \
>  	--$(call ptx/wwo, PTXCONF_LIGHTTPD_FAM)-fam \
>  	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_PROPS)-webdav-props \
> +	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_PROPS)-libxml \
> +	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_PROPS)-sqlite \
>  	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_LOCKS)-webdav-locks \
> +	--$(call ptx/wwo, PTXCONF_LIGHTTPD_WEBDAV_LOCKS)-uuid \
>  	--without-gdbm \
> -	--$(call ptx/wwo, PTXCONF_LIGHTTPD_MEMCACHE)-memcache \
> +	--without-geoip \
> +	--$(call ptx/wwo, PTXCONF_LIGHTTPD_MEMCACHED)-memcached \
>  	--$(call ptx/wwo, PTXCONF_LIGHTTPD_LUA)-lua
>  
>  # ----------------------------------------------------------------------------
> @@ -75,6 +80,7 @@ LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_MAGNET)		+= mod_magnet
>  LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_REWRITE)	+= mod_rewrite
>  LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_TRIGGER_B4_DL)	+= mod_trigger_b4_dl
>  LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_WEBDAV)		+= mod_webdav
> +LIGHTTPD_MODULES-$(PTXCONF_LIGHTTPD_MOD_PROXY)		+= mod_proxy

remove this (see above).

Michael

>  LIGHTTPD_MODULES-y += $(call remove_quotes,$(PTXCONF_LIGHTTPD_MOD_EXTRA))
>  
>  LIGHTTPD_MODULE_STRING := $(subst $(space),$(comma),$(addsuffix \",$(addprefix \",$(LIGHTTPD_MODULES-y))))
> 
> _______________________________________________
> 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] 13+ messages in thread

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-21  8:26 [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42 Andreas Geisenhainer
  2016-10-21  9:28 ` Michael Olbrich
@ 2016-10-21 10:05 ` Alexander Dahl
  2016-10-31 14:16   ` Alexander Dahl
  1 sibling, 1 reply; 13+ messages in thread
From: Alexander Dahl @ 2016-10-21 10:05 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 468 bytes --]

Hei hei,

On 21.10.2016 10:26, Andreas Geisenhainer wrote:
>  ** explicitly disable openssl support (default is: no)

Please don't do this. We use lighttpd with https.

besides: how well did you test the new version? There were lots of
changes in 1.4.40 with bugfixes for them in 1.4.41 and 1.4.42. See:

https://www.lighttpd.net/2016/7/16/1.4.40/
https://www.lighttpd.net/2016/7/31/1.4.41/
https://www.lighttpd.net/2016/10/16/1.4.42/

Greets
Alex



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-21  9:28 ` Michael Olbrich
@ 2016-10-21 10:41   ` Andreas Geisenhainer
  2016-10-21 11:59     ` Clemens Gruber
  2016-10-21 15:24     ` Michael Olbrich
  0 siblings, 2 replies; 13+ messages in thread
From: Andreas Geisenhainer @ 2016-10-21 10:41 UTC (permalink / raw)
  To: ptxdist

On 21/10/16 11:28 AM, Michael Olbrich wrote:
> On Fri, Oct 21, 2016 at 10:26:37AM +0200, Andreas Geisenhainer wrote:
>> -config LIGHTTPD_MEMCACHE
>> +config LIGHTTPD_MEMCACHED
> This deserves entry in scripts/migrate/migrate_ptx to help migration. There
> should be enough examples show how it works if you are unfamiliar with sed
> scripts.

I'll look into it. Thanks for the pointer.
Should the migration from->to be based on the current->next
release?

>
>> 	$(CROSS_AUTOCONF_USR) \
>> -	--runstatedir=/run \
> Are you sure this option is gone?

About 95.8201%. The option is no longer listed in ./configure
and it explicitly complains about it, and fails, when set.

>
>> +	--without-openssl \
> This is wrong. It's already set based on PTXCONF_LIGHTTPD_OPENSSL above.
> You might want to move that line if the order in './configure --help'
> changed.
You're right, my bad.


Have a nice Weekend
Andreas

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-21 10:41   ` Andreas Geisenhainer
@ 2016-10-21 11:59     ` Clemens Gruber
  2016-10-21 15:25       ` Michael Olbrich
  2016-10-21 15:24     ` Michael Olbrich
  1 sibling, 1 reply; 13+ messages in thread
From: Clemens Gruber @ 2016-10-21 11:59 UTC (permalink / raw)
  To: ptxdist

On Fri, Oct 21, 2016 at 12:41:48PM +0200, Andreas Geisenhainer wrote:
> On 21/10/16 11:28 AM, Michael Olbrich wrote:
> > On Fri, Oct 21, 2016 at 10:26:37AM +0200, Andreas Geisenhainer wrote:
> > > -config LIGHTTPD_MEMCACHE
> > > +config LIGHTTPD_MEMCACHED
> > This deserves entry in scripts/migrate/migrate_ptx to help migration. There
> > should be enough examples show how it works if you are unfamiliar with sed
> > scripts.
> 
> I'll look into it. Thanks for the pointer.
> Should the migration from->to be based on the current->next
> release?

Hi,

is it really necessary to change LIGHTTPD_MEMCACHE to
LIGHTTPD_MEMCACHED just because they changed the configure option to
better reflect the name of the daemon? Is it worth the hassle of
migrating it?

Thanks,
Clemens


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-21 10:41   ` Andreas Geisenhainer
  2016-10-21 11:59     ` Clemens Gruber
@ 2016-10-21 15:24     ` Michael Olbrich
  2016-10-24  9:33       ` Andreas Geisenhainer
  1 sibling, 1 reply; 13+ messages in thread
From: Michael Olbrich @ 2016-10-21 15:24 UTC (permalink / raw)
  To: ptxdist

On Fri, Oct 21, 2016 at 12:41:48PM +0200, Andreas Geisenhainer wrote:
> On 21/10/16 11:28 AM, Michael Olbrich wrote:
> > On Fri, Oct 21, 2016 at 10:26:37AM +0200, Andreas Geisenhainer wrote:
> > > -config LIGHTTPD_MEMCACHE
> > > +config LIGHTTPD_MEMCACHED
> > This deserves entry in scripts/migrate/migrate_ptx to help migration. There
> > should be enough examples show how it works if you are unfamiliar with sed
> > scripts.
> 
> I'll look into it. Thanks for the pointer.
> Should the migration from->to be based on the current->next
> release?

Correct. I'm not sure why we have 'from' here. That was introduced before
my time :-).

> > > 	$(CROSS_AUTOCONF_USR) \
> > > -	--runstatedir=/run \
> > Are you sure this option is gone?
> 
> About 95.8201%. The option is no longer listed in ./configure
> and it explicitly complains about it, and fails, when set.

I just wanted to be sure. This options exists if the configure script was
generated with newer autoconf versions.

> > 
> > > +	--without-openssl \
> > This is wrong. It's already set based on PTXCONF_LIGHTTPD_OPENSSL above.
> > You might want to move that line if the order in './configure --help'
> > changed.
> You're right, my bad.
> 

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] 13+ messages in thread

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-21 11:59     ` Clemens Gruber
@ 2016-10-21 15:25       ` Michael Olbrich
  0 siblings, 0 replies; 13+ messages in thread
From: Michael Olbrich @ 2016-10-21 15:25 UTC (permalink / raw)
  To: ptxdist

On Fri, Oct 21, 2016 at 01:59:34PM +0200, Clemens Gruber wrote:
> On Fri, Oct 21, 2016 at 12:41:48PM +0200, Andreas Geisenhainer wrote:
> > On 21/10/16 11:28 AM, Michael Olbrich wrote:
> > > On Fri, Oct 21, 2016 at 10:26:37AM +0200, Andreas Geisenhainer wrote:
> > > > -config LIGHTTPD_MEMCACHE
> > > > +config LIGHTTPD_MEMCACHED
> > > This deserves entry in scripts/migrate/migrate_ptx to help migration. There
> > > should be enough examples show how it works if you are unfamiliar with sed
> > > scripts.
> > 
> > I'll look into it. Thanks for the pointer.
> > Should the migration from->to be based on the current->next
> > release?
> 
> is it really necessary to change LIGHTTPD_MEMCACHE to
> LIGHTTPD_MEMCACHED just because they changed the configure option to
> better reflect the name of the daemon? Is it worth the hassle of
> migrating it?

That's why I asked for an entry in scripts/migrate/migrate_ptx. That will
rename the option in ptxconfig when running 'ptxdist migrate'.

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] 13+ messages in thread

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-21 15:24     ` Michael Olbrich
@ 2016-10-24  9:33       ` Andreas Geisenhainer
  2016-10-24 11:48         ` Michael Olbrich
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Geisenhainer @ 2016-10-24  9:33 UTC (permalink / raw)
  To: ptxdist

On 21/10/16 05:24 PM, Michael Olbrich wrote:
> On Fri, Oct 21, 2016 at 12:41:48PM +0200, Andreas Geisenhainer wrote:
>> On 21/10/16 11:28 AM, Michael Olbrich wrote:
>>> On Fri, Oct 21, 2016 at 10:26:37AM +0200, Andreas Geisenhainer wrote:
>>>> 	$(CROSS_AUTOCONF_USR) \
>>>> -	--runstatedir=/run \
>>> Are you sure this option is gone?
>> About 95.8201%. The option is no longer listed in ./configure
>> and it explicitly complains about it, and fails, when set.
> I just wanted to be sure. This options exists if the configure script was
> generated with newer autoconf versions.

You're right, again. Some update with my system allows me to
reproduce the behavior where the configure switch appears again.
As of now, I'm unable to determine the difference between the
autoconf versions on my main system and our build system/ptxdist.
All seem to use 2.69.

Let's just put this patch on the back burner for a bit …
At least we are aware of some problems, who might need some
attention down the line …


have a nice day
Andreas

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-24  9:33       ` Andreas Geisenhainer
@ 2016-10-24 11:48         ` Michael Olbrich
  2016-10-24 13:21           ` Andreas Geisenhainer
  0 siblings, 1 reply; 13+ messages in thread
From: Michael Olbrich @ 2016-10-24 11:48 UTC (permalink / raw)
  To: ptxdist

On Mon, Oct 24, 2016 at 11:33:30AM +0200, Andreas Geisenhainer wrote:
> On 21/10/16 05:24 PM, Michael Olbrich wrote:
> > On Fri, Oct 21, 2016 at 12:41:48PM +0200, Andreas Geisenhainer wrote:
> > > On 21/10/16 11:28 AM, Michael Olbrich wrote:
> > > > On Fri, Oct 21, 2016 at 10:26:37AM +0200, Andreas Geisenhainer wrote:
> > > > > 	$(CROSS_AUTOCONF_USR) \
> > > > > -	--runstatedir=/run \
> > > > Are you sure this option is gone?
> > > About 95.8201%. The option is no longer listed in ./configure
> > > and it explicitly complains about it, and fails, when set.
> > I just wanted to be sure. This options exists if the configure script was
> > generated with newer autoconf versions.
> 
> You're right, again. Some update with my system allows me to
> reproduce the behavior where the configure switch appears again.
> As of now, I'm unable to determine the difference between the
> autoconf versions on my main system and our build system/ptxdist.
> All seem to use 2.69.
> 
> Let's just put this patch on the back burner for a bit …
> At least we are aware of some problems, who might need some
> attention down the line …

This is not something on your side. The person who generated the 1.4.42
tarball had an older version that whoever generated the 1.4.39 tarball. So
removing the "--runstatedir=/run" is correct. I just wanted to make sure
that is indeed the case.

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] 13+ messages in thread

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-24 11:48         ` Michael Olbrich
@ 2016-10-24 13:21           ` Andreas Geisenhainer
  0 siblings, 0 replies; 13+ messages in thread
From: Andreas Geisenhainer @ 2016-10-24 13:21 UTC (permalink / raw)
  To: ptxdist

On 24/10/16 01:48 PM, Michael Olbrich wrote:
> This is not something on your side. The person who generated
> the 1.4.42 tarball had an older version that whoever generated
> the 1.4.39 tarball. So removing the "--runstatedir=/run" is correct.
> I just wanted to make sure that is indeed the case.

I see. I will look further into this, but with a lower priority.
Since the patchset is within our local toolchain, I'll refine it
some more and come back here.


greetings
Andreas

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-21 10:05 ` Alexander Dahl
@ 2016-10-31 14:16   ` Alexander Dahl
  2016-10-31 15:14     ` Clemens Gruber
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Dahl @ 2016-10-31 14:16 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 432 bytes --]

Hei hei,

On 21.10.2016 12:05, Alexander Dahl wrote:
> besides: how well did you test the new version? There were lots of
> changes in 1.4.40 with bugfixes for them in 1.4.41 and 1.4.42. See:
> 
> https://www.lighttpd.net/2016/7/16/1.4.40/
> https://www.lighttpd.net/2016/7/31/1.4.41/
> https://www.lighttpd.net/2016/10/16/1.4.42/

Meanwhile 1.4.43 is out: https://www.lighttpd.net/2016/10/31/1.4.43/

Greets
Alex



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-31 14:16   ` Alexander Dahl
@ 2016-10-31 15:14     ` Clemens Gruber
  2016-11-11  9:23       ` Michael Olbrich
  0 siblings, 1 reply; 13+ messages in thread
From: Clemens Gruber @ 2016-10-31 15:14 UTC (permalink / raw)
  To: ptxdist

Hi,

On Mon, Oct 31, 2016 at 03:16:32PM +0100, Alexander Dahl wrote:
> Hei hei,
> 
> On 21.10.2016 12:05, Alexander Dahl wrote:
> > besides: how well did you test the new version? There were lots of
> > changes in 1.4.40 with bugfixes for them in 1.4.41 and 1.4.42. See:
> > 
> > https://www.lighttpd.net/2016/7/16/1.4.40/
> > https://www.lighttpd.net/2016/7/31/1.4.41/
> > https://www.lighttpd.net/2016/10/16/1.4.42/
> 
> Meanwhile 1.4.43 is out: https://www.lighttpd.net/2016/10/31/1.4.43/

What do you think about the following for the next version bump:

- Use install_alternative_tree instead of install_copy for conf.d

- Add server.use-ipv6 to default config and remove server.bind = 0.0.0.0
  (To be reachable via IPv4 and IPv6 per default)

- Add server.event-handler = "linux-sysepoll" to default config
  (And maybe also: server.network-backend = "linux-sendfile" ?)

- Install the mime.conf from doc/config/conf.d/mime.conf, or - if it
  exists - use projectroot/etc/lighttpd/mime.conf and do not hardcode
  the types in lighttpd.conf (?)

Thanks,
Clemens

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42
  2016-10-31 15:14     ` Clemens Gruber
@ 2016-11-11  9:23       ` Michael Olbrich
  0 siblings, 0 replies; 13+ messages in thread
From: Michael Olbrich @ 2016-11-11  9:23 UTC (permalink / raw)
  To: ptxdist

On Mon, Oct 31, 2016 at 04:14:57PM +0100, Clemens Gruber wrote:
> On Mon, Oct 31, 2016 at 03:16:32PM +0100, Alexander Dahl wrote:
> > On 21.10.2016 12:05, Alexander Dahl wrote:
> > > besides: how well did you test the new version? There were lots of
> > > changes in 1.4.40 with bugfixes for them in 1.4.41 and 1.4.42. See:
> > > 
> > > https://www.lighttpd.net/2016/7/16/1.4.40/
> > > https://www.lighttpd.net/2016/7/31/1.4.41/
> > > https://www.lighttpd.net/2016/10/16/1.4.42/
> > 
> > Meanwhile 1.4.43 is out: https://www.lighttpd.net/2016/10/31/1.4.43/
> 
> What do you think about the following for the next version bump:
> 
> - Use install_alternative_tree instead of install_copy for conf.d

No. This is deliberate. The config file snippet should be in the package
that provides the corresponding content.

> - Add server.use-ipv6 to default config and remove server.bind = 0.0.0.0
>   (To be reachable via IPv4 and IPv6 per default)

That's ok I think.

> - Add server.event-handler = "linux-sysepoll" to default config
>   (And maybe also: server.network-backend = "linux-sendfile" ?)

These are already the default if available.

> - Install the mime.conf from doc/config/conf.d/mime.conf, or - if it
>   exists - use projectroot/etc/lighttpd/mime.conf and do not hardcode
>   the types in lighttpd.conf (?)

Sounds good. We would need an explicit install stage, install
doc/config/conf.d/mime.conf to
$(LIGHTTPD_PKGDIR)/etc/lighttpd/conf.d/mime.conf and then install it with
install_alternative.

Any volunteers?

Regards,
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] 13+ messages in thread

end of thread, other threads:[~2016-11-11  9:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-21  8:26 [ptxdist] [PATCH] updates lighttpd version 1.4.39 -> 1.4.42 Andreas Geisenhainer
2016-10-21  9:28 ` Michael Olbrich
2016-10-21 10:41   ` Andreas Geisenhainer
2016-10-21 11:59     ` Clemens Gruber
2016-10-21 15:25       ` Michael Olbrich
2016-10-21 15:24     ` Michael Olbrich
2016-10-24  9:33       ` Andreas Geisenhainer
2016-10-24 11:48         ` Michael Olbrich
2016-10-24 13:21           ` Andreas Geisenhainer
2016-10-21 10:05 ` Alexander Dahl
2016-10-31 14:16   ` Alexander Dahl
2016-10-31 15:14     ` Clemens Gruber
2016-11-11  9:23       ` Michael Olbrich

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