Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 647
    • Issues 647
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 208
    • Merge Requests 208
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #12216

Closed
Open
Opened Dec 21, 2020 by Steffen Nurpmeso@sdaoden

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

Edited Dec 22, 2020 by Kevin Daudt
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#12216