--- /usr/portage/www-servers/lighttpd/lighttpd-1.4.28-r2.ebuild 2011-07-26 19:01:28.000000000 +0200 +++ lighttpd-1.4.28-r209.ebuild 2011-08-21 17:07:37.000000000 +0200 @@ -13,7 +13,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="bzip2 doc fam gdbm ipv6 ldap libev lua minimal memcache mysql pcre php rrdtool ssl test webdav xattr" +IUSE="bzip2 doc fam gdbm ipv6 ldap libev lua minimal memcache mysql pcre php rrdtool ssl test uploadprogress webdav xattr" RDEPEND=" >=sys-libs/zlib-1.1 @@ -99,6 +99,9 @@ sed -i -e 's|\(rst2html\)|\1.py|g' doc/Makefile.am || \ die "sed doc/Makefile.am failed" epatch "${FILESDIR}"/${P}-detect-libev.patch + if use uploadprogress; then + epatch "${FILESDIR}"/${P}-mod_uploadprogress.patch + fi eautoreconf } @@ -201,4 +204,13 @@ elog "which is now located in /etc/lighttpd. Please migrate your" elog "existing configuration." fi + + if use uploadprogress; then + elog "WARNING! mod_uploadprogress is a backported module from the" + elog "1.5x-branch, which is not considered stable yet.Please go to" + elog "http://redmine.lighttpd.net/wiki/1/Docs:ModUploadProgress" + elog "for more information. This configuration also is NOT supported" + elog "by upstream, so please refrain from reporting bugs. You have" + elog "been warned!" + fi }