Skip to content

package request: Caddy webserver #387

Description

@thenktor

Hi,

would be nice to have a package for Caddy webserver: https://caddyserver.com/

Activity

  1. teutat3s commented on May 16, 2024

    @teutat3s

    caddy itself is packaged, it just does not have a SMF service yet. Did you try pkgin in caddy already?

  2. thenktor commented on May 17, 2024

    @thenktor
    Author

    Oh, indeed it's available in the repo:

    % uname -mrs
    Darwin 23.4.0 arm64
    
    % pkgin search caddy
    caddy-2.7.6nb1       General-purpose web server
    

    My fault was, that I was looking for it on OmniOS:

    root in omnios in ~
    # uname -mrvs
    SunOS 5.11 omnios-r151048-78ef87aa2a4 i86pc
    
    root in omnios in ~
    # pkgin search caddy
    No results found for caddy
    

    Are build logs available for the different systems? I guess caddy fails to build on Solaris and therefore it is missing there?

  3. teutat3s commented on May 17, 2024

    @teutat3s

    You're right, the build is currently failing, notably:

    go.step.sm/linkedca
    # github.com/caddyserver/caddy/v2
    ./listen_unix_setopt.go:7:30: undefined: unix.SO_REUSEPORT
    

    There's some movement 1 2 on SO_REUSEPORT for illumos, but we had patches to remove it in the past, that got removed in NetBSD@d3b56e4. I'll see if I can fix the build.

  4. self-assigned this
    on May 17, 2024
  5. jperkin commented on May 17, 2024

    @jperkin
    Collaborator

    I've merged in the upstream fix for this from caddyserver/caddy#6021. The next build should include it.

    As for the build logs, they are posted to the pkgsrc-bulk list, archive is here: https://mail-index.netbsd.org/pkgsrc-bulk/

    The builds that gets published to the OmniOS repository are the "pkgsrc-trunk-x86_64 SmartOS 20210826T002459Z" ones.

  6. added a commit that references this issue on Aug 2, 2024
    f8e6367
  7. added a commit that references this issue on Aug 24, 2024
  8. added a commit that references this issue on Mar 2, 2026
  9. 8 remaining items

  10. added a commit that references this issue on Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions