Date: Fri, 26 Jun 2020 13:21:38 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246623] [NEW PORT] www/caddy2 (Update to www/caddy) Message-ID: <bug-246623-7788-9CohrmhxhH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246623-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-246623-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246623 Daniel Tihanyi <daniel.tihanyi@tetragir.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #214927|0 |1 is obsolete| | --- Comment #12 from Daniel Tihanyi <daniel.tihanyi@tetragir.com> --- Created attachment 215958 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215958&action= =3Dedit 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_fla= gs. 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 bigge= r 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 updati= ng 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). --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246623-7788-9CohrmhxhH>