From owner-freebsd-ports-bugs@freebsd.org Wed Nov 9 20:47:05 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2A24C387B9 for ; Wed, 9 Nov 2016 20:47:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C828A6D5 for ; Wed, 9 Nov 2016 20:47:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA9Kl5YN050891 for ; Wed, 9 Nov 2016 20:47:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214372] www/subsonic-standalone: Cannot set both HTTP and HTTPS ports Date: Wed, 09 Nov 2016 20:47:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: nintendud+FREEBSDBUGS@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jlh@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2016 20:47:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214372 Bug ID: 214372 Summary: www/subsonic-standalone: Cannot set both HTTP and HTTPS ports Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jlh@FreeBSD.org Reporter: nintendud+FREEBSDBUGS@gmail.com Flags: maintainer-feedback?(jlh@FreeBSD.org) Assignee: jlh@FreeBSD.org The latest subsonic-standalone package has a single configuration option for port. The port is used for HTTP when SSL is disabled, and HTTPS when SSL is enabled. When SSL is enabled, the HTTP port is set to 0. It makes complete logical sense to disable HTTP when HTTPS is enabled. Unfortunately, Subsonic currently has a bug that prevents Subsonic Premium subdomains from functioning when -Dsubsonic.port is set to 0 and inaccessib= le externally [0]. To work around this bug (at least until upstream fixes it) and to support d= ual http/https configurations for those that want it, I believe it should be possible to configure both ports independently. The older version of this package exposed subsonic_http_port and subsonic_https_port, but I believe t= he current configuration behavior is cleaner/safer for most users. My suggestion: expose a subsonic_https_port option. If that option is explicitly present, use subsonic_port for HTTP and subsonic_https_port for HTTPS. Otherwise, use the current behavior that disables HTTP. Thoughts? [0] https://sourceforge.net/p/subsonic/bugs/199/ --=20 You are receiving this mail because: You are the assignee for the bug.=