Hello Sagar, 

r...@schmersel.net (Rob Schmersel), 2023.06.24 (Sat) 10:29 (CEST):
> On Fri, 23 Jun 2023 14:46:07 +0200 (CEST)
> Sagar Acharya <sagaracha...@tutanota.com> wrote:
> 
> > I would like to run httpd daemon as released by OpenBSD on alpine
> > linux.
> > 
> > What is the procedure to do so? Will the code build straightaway or
> > would one have to make any changes? Thanking you
> 
> Someone already tried this once upon a time:
> https://github.com/ren-e/openhttpd
> Can use this for guidance on changes needed?

Or, possibly even better:

https://github.com/omar-polo/httpd-portable

A quick dump of the README.md:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
OpenBSD httpd, portable version
this is an unofficial port of OpenBSD httpd!

Building

httpd depends on:

yacc/bison
libtls (either from LibreSSL or libretls)
libevent

The compilation is the usual:

./configure
make
make install

httpd needs the user _httpd to be present on the system. At the moment,
there's no way to change the expected username other than modify the
sources.

Per-OS notes:
freebsd: the IPV6_MINHOPCOUNT setsockopt option is absent, so the tcp
option ip minttl is ignored for IPv6 sockets. Likewise, the tcp [no]
sack option is also ignored (regardless of the IP version.)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Marcus

Reply via email to