Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package request: Caddy webserver #387

Closed
thenktor opened this issue May 16, 2024 · 4 comments
Closed

package request: Caddy webserver #387

thenktor opened this issue May 16, 2024 · 4 comments
Assignees

Comments

@thenktor
Copy link

Hi,

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

@teutat3s
Copy link
Member

teutat3s commented May 16, 2024

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

@thenktor
Copy link
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?

@teutat3s
Copy link
Member

teutat3s commented May 17, 2024

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.

@jperkin jperkin self-assigned this May 17, 2024
@jperkin
Copy link
Collaborator

jperkin commented May 17, 2024

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.

@jperkin jperkin closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants