This patch upgrades lighttpd to 1.4.2 which itself is a bugfix release and upgrading is encouraged. A small patch is needed to allow compilation on FreeBSD (already fixed in lighttpd). lighttpd.sh.in did not show up on my mirror so it's once more included in this patch. It might already be in the main repository as the commit message suggests this and then can be ignored.
State Changed From-To: open->closed Committed, thanks! The startup-script was okay, though.