cgit: need recompile without sendfile(2) support (for lighttpd)
cgit cache stopped working on [edge] after lighttpd update (likely after 1.14.55 already, but i recognized no sooner than today). Thanks to help from cgit ML [1] the culprit was identified and all that needs to be done is that sendfile(2) is disabled until cgit manages to do that dynamically (or lighttpd supports it again):
--- cgit.mk.orig
+++ cgit.mk
@@ -64,7 +64,7 @@
endif
ifdef HAVE_LINUX_SENDFILE
- CGIT_CFLAGS += -DHAVE_LINUX_SENDFILE
+ #CGIT_CFLAGS += -DHAVE_LINUX_SENDFILE
endif
CGIT_OBJ_NAMES += cgit.o
[1] https://lists.zx2c4.com/pipermail/cgit/2020-December/004588.html
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information