From owner-freebsd-ports-bugs@freebsd.org Fri Jun 26 13:21:39 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0990435818C for ; Fri, 26 Jun 2020 13:21:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49tcwf6c2Dz4cSj for ; Fri, 26 Jun 2020 13:21:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E2233357E4E; Fri, 26 Jun 2020 13:21:38 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E1ECD35811A for ; Fri, 26 Jun 2020 13:21:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49tcwf5jggz4cW6 for ; Fri, 26 Jun 2020 13:21:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF8AF14AA6 for ; Fri, 26 Jun 2020 13:21:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05QDLcoM055590 for ; Fri, 26 Jun 2020 13:21:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05QDLc43055589 for ports-bugs@FreeBSD.org; Fri, 26 Jun 2020 13:21:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246623] [NEW PORT] www/caddy2 (Update to www/caddy) Date: Fri, 26 Jun 2020 13:21:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: buildisok X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: daniel.tihanyi@tetragir.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2020 13:21:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246623 Daniel Tihanyi changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #214927|0 |1 is obsolete| | --- Comment #12 from Daniel Tihanyi --- 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.=