Would be very nice to have the 1.5.0 pre-releases in Portage.
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.
...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!
...umm, my bad, one needs to create a dir named "1.5.0" under "files"...
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.
(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
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)
http://www.lighttpd.net/download/lighttpd-1.5.0-r1857.tar.gz new version released.
Ebuild needs some updates: 1. lighttpd.conf 2. lighttpd init.d (Bug with php-fastcgi socket)
Created attachment 119965 [details] lighttpd-1.5.0_p1857.ebuild
(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? :-)
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
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.
Created attachment 119994 [details] lighttpd.conf-1.5.0 Slightly modified config file for version 1.5.0
Created attachment 119996 [details] mod_fastcgi.conf-1.5.0 Modified to use new mod_proxy_core
(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.
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.
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
1992 snapshot has been out for some time now http://www.lighttpd.net/download/lighttpd-1.5.0-r1992.tar.gz
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.
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
sorry to interject with a question, but is this in any overlays or anything? I'd love to take it for a spin!
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
Created attachment 191106 [details] www-servers/lighttpd/lighttpd-1.5_pre20090508.ebuild
Did you receive an answer to this bug? I still have the same issue on my install of lighttpd 1.5
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)
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/