[Bug 246623] [NEW PORT] www/caddy2 (Update to www/caddy)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 26 13:21:39 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246623

Daniel Tihanyi <daniel.tihanyi at tetragir.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #214927|0                           |1
        is obsolete|                            |

--- Comment #12 from Daniel Tihanyi <daniel.tihanyi at tetragir.com> ---
Created attachment 215958
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215958&action=edit
Caddy to Caddy2 Update

I've completely rewrote the rc file, now it works fine (I already run it in
production). It's much shorter and easier then before. Also
- Instead of caddy_flags, the user has to pass arguments to caddy_extra_flags.
This is to avoid to usage of using command_args.
- Extra commands now contains restart as previously "service caddy restart"
couldn't actually restart the process.
- Added caddy_adapter variable in case the configuration is not in caddyfile
format

Besides this, I experimented with DNS plugins. I had a working state where all
DNS plugins would be compiled in, but it drastically made the package bigger so
I opted not to include all. I'm experimenting still to have a config option
where the user can chose 1 from the possible DNS plugins. I'm not sure when
will I have time to finish it.

I also edited the title to have caddy2 as a new port instead of just updating
caddy. This is because the configuration of caddy1 is not compatible with
caddy2. I also updated the maintainer to myself for the new port.

I tried a couple of methods to correctly include the version into the build,
but it doesn't seem to work so "caddy version" will still report (devel).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list