diff --git a/www/lighttpd/Portfile b/www/lighttpd/Portfile index f3db3bc80b7df..97b70420bfcf3 100644 --- a/www/lighttpd/Portfile +++ b/www/lighttpd/Portfile @@ -5,11 +5,11 @@ PortGroup legacysupport 1.0 PortGroup lua 1.0 name lighttpd -version 1.4.76 +version 1.4.77 revision 0 -checksums rmd160 6f119159a4552b24d3c98fc486ed89144299d6b9 \ - sha256 8cbf4296e373cfd0cedfe9d978760b5b05c58fdc4048b4e2bcaf0a61ac8f5011 \ - size 847132 +checksums rmd160 0de64e49751d399fa9a90d186b70c6d298d81013 \ + sha256 acafabdbfa2267d8b6452d03d85fdd2a66525f3f05a36a79b6645c017f1562ce \ + size 857872 set branch [join [lrange [split ${version} .] 0 1] .] categories www @@ -52,7 +52,7 @@ post-patch { ${worksrcpath}/doc/config/conf.d/cgi.conf \ ${worksrcpath}/doc/config/conf.d/fastcgi.conf \ ${worksrcpath}/doc/config/conf.d/rrdtool.conf \ - ${worksrcpath}/doc/config/lighttpd.conf + ${worksrcpath}/doc/config/lighttpd.annotated.conf } configure.args-append CC_FOR_BUILD="${configure.cc}" \ @@ -76,8 +76,8 @@ platform darwin { set user "_www" set group "_www" } - reinplace "s|@USER@|${user}|g" ${worksrcpath}/doc/config/lighttpd.conf - reinplace "s|@GROUP@|${group}|g" ${worksrcpath}/doc/config/lighttpd.conf + reinplace "s|@USER@|${user}|g" ${worksrcpath}/doc/config/lighttpd.annotated.conf + reinplace "s|@GROUP@|${group}|g" ${worksrcpath}/doc/config/lighttpd.annotated.conf } } diff --git a/www/lighttpd/files/patch-conf-darwin.diff b/www/lighttpd/files/patch-conf-darwin.diff index 9330d283be122..05de64fd613a1 100644 --- a/www/lighttpd/files/patch-conf-darwin.diff +++ b/www/lighttpd/files/patch-conf-darwin.diff @@ -22,9 +22,9 @@ ## ## list of usernames which may not use this feature ---- doc/config/lighttpd.conf.orig 2019-05-31 11:21:36.000000000 -0500 -+++ doc/config/lighttpd.conf 2019-05-31 11:22:27.000000000 -0500 -@@ -101,8 +101,8 @@ +--- doc/config/lighttpd.annotated.conf.orig 2019-05-31 11:21:36.000000000 -0500 ++++ doc/config/lighttpd.annotated.conf 2019-05-31 11:22:27.000000000 -0500 +@@ -97,8 +97,8 @@ ## Run as a different username/groupname. ## This requires root permissions during startup. ## diff --git a/www/lighttpd/files/patch-conf.diff b/www/lighttpd/files/patch-conf.diff index 1eecbe2cc30e0..be5296ae7e317 100644 --- a/www/lighttpd/files/patch-conf.diff +++ b/www/lighttpd/files/patch-conf.diff @@ -57,8 +57,8 @@ ## ## Path to the rrdtool database. You can override this in conditionals. ---- doc/config/lighttpd.conf.orig 2022-08-07 14:03:57.000000000 -0500 -+++ doc/config/lighttpd.conf 2022-08-09 20:15:15.000000000 -0500 +--- doc/config/lighttpd.annotated.conf.orig 2022-08-07 14:03:57.000000000 -0500 ++++ doc/config/lighttpd.annotated.conf 2022-08-09 20:15:15.000000000 -0500 @@ -13,11 +13,11 @@ ## if you add a variable here. Add the corresponding variable in the ## chroot example as well. @@ -74,7 +74,7 @@ +var.home_dir = "@PREFIX@/var/lib/lighttpd" +var.conf_dir = "@PREFIX@/etc/lighttpd" - ## + ## ## run the server chrooted. @@ -58,7 +58,7 @@ ## used in: @@ -85,7 +85,7 @@ ## ## Base directory for sockets. -@@ -388,7 +388,7 @@ +@@ -374,7 +374,7 @@ ## Format: .html ## -> ..../status-404.html for 'File not found' ##