Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171959 - www-servers/lighttpd version bump to 1.5.0-r1691 (pre-release)
Summary: www-servers/lighttpd version bump to 1.5.0-r1691 (pre-release)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Markos Chandras (RETIRED)
URL: http://www.lighttpd.net/assets/2007/2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 21:00 UTC by Wolfram Schlich (RETIRED)
Modified: 2016-08-24 10:31 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lighttpd-1.5.0-r1691 ebuild (lighttpd-1.5.0.ebuild,5.55 KB, text/plain)
2007-03-25 12:01 UTC, Radek "rush" Senfeld
Details
lighttpd-1.5.0_p1811.ebuild (lighttpd-1.5.0_p1811.ebuild,6.11 KB, text/plain)
2007-04-23 08:39 UTC, Dean Baender
Details
lighttpd-1.5.0_p1857.ebuild (lighttpd-1.5.0_p1857.ebuild,6.11 KB, text/plain)
2007-05-22 08:35 UTC, Radek "rush" Senfeld
Details
lighttpd-1.5.0_p1857-r1.ebuild (lighttpd-1.5.0_p1857-r1.ebuild,6.27 KB, text/plain)
2007-05-22 13:01 UTC, Radek "rush" Senfeld
Details
lighttpd.conf-1.5.0 (lighttpd.conf-1.5.0,7.99 KB, text/plain)
2007-05-22 13:02 UTC, Radek "rush" Senfeld
Details
mod_fastcgi.conf-1.5.0 (mod_fastcgi.conf-1.5.0,628 bytes, text/plain)
2007-05-22 13:07 UTC, Radek "rush" Senfeld
Details
complete set of files, which are needed for compiling svn version. (lighttpd-9999.ebuild.tar.gz,19.05 KB, application/x-tgz)
2009-02-14 18:11 UTC, Konstantin Shabanov
Details
www-servers/lighttpd/lighttpd-1.5_pre20090508.ebuild (lighttpd-1.5_pre20090508.ebuild,5.18 KB, text/plain)
2009-05-13 05:17 UTC, Dmitry S. Kulyabov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2007-03-23 21:00:47 UTC
Would be very nice to have the 1.5.0 pre-releases in Portage.
Comment 1 Radek "rush" Senfeld 2007-03-25 12:01:01 UTC
Created attachment 114348 [details]
lighttpd-1.5.0-r1691 ebuild

It's based on 1.4.13-r1 ebuild. Made some modifications for 1.5.0 branch and added warning about new mod_proxy_core when fastcgi is in use flags.
Comment 2 Radek Podgorny 2007-04-05 19:35:32 UTC
...isn't a patch missing or something?

>>> Unpacking lighttpd-1.5.0-r1691.tar.gz to /var/tmp/portage/www-servers/lighttpd-1.5.0-r1691/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/local/portage/www-servers/lighttpd/files/1.5.0
 *   ( 1.5.0 )


!!! ERROR: www-servers/lighttpd-1.5.0-r1691 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3959:   Called src_unpack
  lighttpd-1.5.0-r1691.ebuild, line 104:   Called epatch '/usr/local/portage/www-servers/lighttpd/files/1.5.0'
  eutils.eclass, line 198:   Called die

!!! Cannot find $EPATCH_SOURCE!
Comment 3 Radek Podgorny 2007-04-05 19:47:46 UTC
...umm, my bad, one needs to create a dir named "1.5.0" under "files"...
Comment 4 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2007-04-15 09:50:42 UTC
at bug #174043 we are tracking security issues with 1.4.13.
i dont know if 1.5.0-r1691 is affected - just wanted to let you know.
Comment 5 Radek "rush" Senfeld 2007-04-18 21:51:05 UTC
(In reply to comment #3)
> ...umm, my bad, one needs to create a dir named "1.5.0" under "files"...
> 

ups, sorry.. forgot to mention
Comment 6 Dean Baender 2007-04-23 08:39:06 UTC
Created attachment 117062 [details]
lighttpd-1.5.0_p1811.ebuild

Updated pre-release ebuild to 1.5.0-r1811

New USE flags: 
  aio (linux async I/O, requires libaio)
  postgres (for PostgreSQL-based vhosting)
Comment 7 Konstantin Shabanov 2007-05-21 14:39:41 UTC
http://www.lighttpd.net/download/lighttpd-1.5.0-r1857.tar.gz
new version released.
Comment 8 Konstantin Shabanov 2007-05-21 19:15:52 UTC
Ebuild needs some updates:
1. lighttpd.conf
2. lighttpd init.d (Bug with php-fastcgi socket)
Comment 9 Radek "rush" Senfeld 2007-05-22 08:35:19 UTC
Created attachment 119965 [details]
lighttpd-1.5.0_p1857.ebuild
Comment 10 Radek "rush" Senfeld 2007-05-22 08:36:36 UTC
(In reply to comment #8)
> Ebuild needs some updates:
> 1. lighttpd.conf
> 2. lighttpd init.d (Bug with php-fastcgi socket)
> 

Could you please be more specific? :-)
Comment 11 Konstantin Shabanov 2007-05-22 09:39:35 UTC
1. http://trac.lighttpd.net/trac/browser/trunk/doc/lighttpd.conf 
diff this lighttpd.conf with which is in portage (/usr/(local)/portage/www-ser*/lig*/files/conf/lighttpd.conf).
2. http://www.cyberciti.biz/tips/freebsd-linux-lighttpd-1-5-fastcgi-configuration.html 
If I don't do /usr/bin/spawn-fcgi -s /tmp/php-fastcgi.sock -f /usr/bin/php-cgi -u lighttpd -g lighttpd -C 5 -P /var/run/spawn-fcgi.pid I see this error mod_proxy_core.c.940: (error) connect(unix:/tmp/php-fastcgi.sock) failed: No such file or directory (2)
mod_proxy_core.c.1451: (trace) connecting to address unix:/tmp/php-fastcgi.sock (0x553ea0) failed, disabling for 60 sec
Comment 12 Radek "rush" Senfeld 2007-05-22 13:01:28 UTC
Created attachment 119992 [details]
lighttpd-1.5.0_p1857-r1.ebuild

This ebuild incorporates some bugfixes and needs lighttpd.conf-1.5.0 and mod_fastcgi-1.5.0 to work properly.
Comment 13 Radek "rush" Senfeld 2007-05-22 13:02:13 UTC
Created attachment 119994 [details]
lighttpd.conf-1.5.0

Slightly modified config file for version 1.5.0
Comment 14 Radek "rush" Senfeld 2007-05-22 13:07:43 UTC
Created attachment 119996 [details]
mod_fastcgi.conf-1.5.0

Modified to use new mod_proxy_core
Comment 15 Radek "rush" Senfeld 2007-05-22 13:10:57 UTC
(In reply to comment #11)
> 1. http://trac.lighttpd.net/trac/browser/trunk/doc/lighttpd.conf 
> diff this lighttpd.conf with which is in portage
> (/usr/(local)/portage/www-ser*/lig*/files/conf/lighttpd.conf).

Could you please try new lighttpd-1.5.0_p1857-r1.ebuild, lighttpd.conf-1.5.0 and mod_fastcgi.conf-1.5.0? Now it should be a bit better. :-)

> 2.
> http://www.cyberciti.biz/tips/freebsd-linux-lighttpd-1-5-fastcgi-configuration.html 
> If I don't do /usr/bin/spawn-fcgi -s /tmp/php-fastcgi.sock -f /usr/bin/php-cgi
> -u lighttpd -g lighttpd -C 5 -P /var/run/spawn-fcgi.pid I see this error
> mod_proxy_core.c.940: (error) connect(unix:/tmp/php-fastcgi.sock) failed: No
> such file or directory (2)
> mod_proxy_core.c.1451: (trace) connecting to address unix:/tmp/php-fastcgi.sock
> (0x553ea0) failed, disabling for 60 sec
> 

I guess you need to start /etc/init.d/spawn-fcgi before starting lighttpd. That should fix this problem.
Comment 16 Konstantin Shabanov 2007-05-22 16:00:34 UTC
With proxy-core.check-local = "enable" I have this (when starting /etc/init.d/lighttpd after /etc/init.d/spawn-fcgi):
configfile-glue.c.169: (error) found deprecated key in 'proxy-core.check-local' = 'use $PHYSICAL["existing-path"] =~ ... { ... } instead'
mod_proxy_core_address.c.63: (trace) adding unix:/var/run/lighttpd/lighttpd-fastcgi-php-31342.socket to the address-pool
configfile-glue.c.169: (error) found deprecated key in 'proxy-core.check-local' = 'use $PHYSICAL["existing-path"] =~ ... { ... } instead'
Without server starting almost good.
And...please, add mod_dirlisting and mod_uploadprogress in server.modules list.

Comment 17 Roman V. Prikhodchenko 2007-08-15 03:47:10 UTC
lighttpd-1.5.0 don't compile with uClibc :(

http://blog.lighttpd.net/articles/2007/02/03/pre-release-lighttpd-1-5-0-r1593-tar-gz#
"Jan Kneschke Tue, 06 Feb 2007 09:22:12 GMT
lighttpd compiles without gthread-2.0 (after adjusting the configure script), but not without glib-2.0. Linking against a static glib-2.0 should be all you need when you build for uclibc."


>>> Emerging (1 of 1) www-servers/lighttpd-1.5.0_p1857-r1 to /
...
checking for GTHREAD... configure: error: Package requirements (gthread-2.0 >= 2.4.0) were not met:

No package 'gthread-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GTHREAD_CFLAGS
and GTHREAD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/lighttpd-1.5.0_p1857-r1/work/lighttpd-1.5.0/config.log

!!! ERROR: www-servers/lighttpd-1.5.0_p1857-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  lighttpd-1.5.0_p1857-r1.ebuild, line 136:   Called econf '--libdir=/usr/lib/lighttpd' '--enable-lfs' '--disable-ipv6' '--without-linux-aio' '--with-bzip2' '--without-fam' '--without-gdbm' '--without-lua' '--without-ldap' '--without-memcache' '--without-mysql' '--with-pcre' '--without-postgres' '--with-openssl' '--without-webdav-props' '--without-webdav-locks' '--without-attr'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'







emerge --info
Portage 2.1.1-r2 (uclibc/x86/2005.1, gcc-4.1.1, uclibc-0.9.28-r1, 2.6.22-gentoo-r3 i686)
=================================================================
System uname: 2.6.22-gentoo-r3 i686 AMD Athlon(tm) XP 1500+
Gentoo Base System version 1.12.6
Last Sync: Fri, 06 Apr 2007 01:47:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-gentoo-linux-uclibc"
CFLAGS="-march=i386 -Os -pipe -mmmx"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=i386 -Os -pipe -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol bitmap-fonts cli cracklib dri elibc_uclibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text midi minimal mmx ncurses pcre readline reflection session spl svg svgz truetype-fonts type1-fonts uclibc userland_GNU video_cards_dummy video_cards_fbdev video_cards_v4l xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 18 Ilya Eremin 2007-11-23 01:59:07 UTC
1992 snapshot has been out for some time now
http://www.lighttpd.net/download/lighttpd-1.5.0-r1992.tar.gz
Comment 19 Konstantin Shabanov 2009-02-14 18:11:38 UTC
Created attachment 182033 [details]
complete set of files, which are needed for compiling svn version.

-trunk version ebuild is ready to test. It'll be pretty to see it in official tree (after some fixes if required). Fam support dropped. Some files renamed (this is a reason for attaching archive). 'files/9999' dir is ready for applying patches.
Comment 20 Konstantin Shabanov 2009-02-14 18:15:27 UTC
And may be it'll be a good decision to rename bug to 'www-servers/lighttpd 1.5 branch'.
P.S. URL for latest pre-release: http://opensu.se/~darix/lighttpd/lighttpd-1.5.x.prerelease.r2349.tar.gz
Comment 21 Mark 2009-05-12 18:14:04 UTC
sorry to interject with a question, but is this in any overlays or anything? I'd love to take it for a spin!
Comment 22 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-05-12 19:44:50 UTC
comment(In reply to comment #21)
> sorry to interject with a question, but is this in any overlays or anything?
> I'd love to take it for a spin!
> 

not that I know of - be sure to note it here, if you find something.
thanks
Comment 23 Dmitry S. Kulyabov 2009-05-13 05:17:22 UTC
Created attachment 191106 [details]
www-servers/lighttpd/lighttpd-1.5_pre20090508.ebuild
Comment 24 Clif Morri 2010-09-07 01:50:15 UTC
Did you receive an answer to this bug?  I still have the same issue on my install of lighttpd 1.5
Comment 25 Alejandro Ojeda 2011-01-23 18:03:55 UTC
Since php-5.3.3-r1 it can be compiled with use flag fpm instead cgi for it work with lighttpd.

I think line:
use php && require_php_with_use cgi

It must be changed for something as:
use php && (require_php_with_use cgi || require_php_with_use fpm)
Comment 26 zlg (RETIRED) gentoo-dev 2016-08-24 10:31:57 UTC
Almost ten years later, lighttpd is still on 1.4.x and rather active. The 1.5 version seems to have been completely done away with. There is a 2.0 repository [1] that hasn't been touched in over 9 months. This repository does not include a README or other documentation directing people to compile, or how, so I hesitate to put 2.x into the tree as -- right now, anyway -- the 2.0 version is not meant to be used by anyone except lighttpd developers (which I am not).

1: https://git.lighttpd.net/lighttpd/lighttpd2.git/