Index: lighttpd-1.4.26-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.26-r1.ebuild,v retrieving revision 1.7 diff -u -r1.7 lighttpd-1.4.26-r1.ebuild --- lighttpd-1.4.26-r1.ebuild 13 May 2010 16:18:03 -0000 1.7 +++ lighttpd-1.4.26-r1.ebuild 11 Jun 2010 16:45:14 -0000 @@ -54,6 +54,10 @@ # enable stat() caching use fam && \ dosed 's|#\(.*stat-cache.*$\)|\1|' ${config} + + # automatically listen on IPv6 if built with USE=ipv6 + use ipv6 && \ + dosed 's|# server.use-ipv6|server.use-ipv6|' ${config} } # remove non-essential stuff (for USE=minimal) Index: files/conf/lighttpd.conf =================================================================== RCS file: /var/cvsroot/gentoo-x86/www-servers/lighttpd/files/conf/lighttpd.conf,v retrieving revision 1.4 diff -u -r1.4 lighttpd.conf --- files/conf/lighttpd.conf 12 May 2009 09:54:12 -0000 1.4 +++ files/conf/lighttpd.conf 11 Jun 2010 16:45:14 -0000 @@ -91,6 +91,11 @@ # FAM support for caching stat() calls # requires that lighttpd be built with USE=fam # server.stat-cache-engine = "fam" + +# If lighttpd was build with IPv6 support, and you would like to listen on IPv6, +# uncomment the following: +# server.use-ipv6 = "enable" + # }}} # {{{ mod_staticfile