--- net-im/prosody/Makefile (revision 533139) +++ net-im/prosody/Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= prosody PORTVERSION= 0.11.5 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= https://prosody.im/downloads/source/ --- net-im/prosody/files/patch-plugins_mod__http__files.lua (nonexistent) +++ net-im/prosody/files/patch-plugins_mod__http__files.lua (working copy) @@ -0,0 +1,11 @@ +--- plugins/mod_http_files.lua.orig 2020-01-19 15:50:32 UTC ++++ plugins/mod_http_files.lua +@@ -112,7 +112,7 @@ function serve(opts) + local last_modified = os_date('!%a, %d %b %Y %H:%M:%S GMT', attr.modification); + response_headers.last_modified = last_modified; + +- local etag = ('"%02x-%x-%x-%x"'):format(attr.dev or 0, attr.ino or 0, attr.size or 0, attr.modification or 0); ++ local etag = ('"%x-%x-%x"'):format(attr.change or 0, attr.size or 0, attr.modification or 0); + response_headers.etag = etag; + + local if_none_match = request_headers.if_none_match