From owner-freebsd-apache@freebsd.org Sun Jun 30 21:00:32 2019 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A73B115DF9BC for ; Sun, 30 Jun 2019 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2B5DA704BD for ; Sun, 30 Jun 2019 21:00:32 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id E353115DF8A7; Sun, 30 Jun 2019 21:00:31 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1F0715DF8A3 for ; Sun, 30 Jun 2019 21:00:31 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 71216704B4 for ; Sun, 30 Jun 2019 21:00:31 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A0FA211DDF for ; Sun, 30 Jun 2019 21:00:30 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5UL0Uhr065822 for ; Sun, 30 Jun 2019 21:00:30 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5UL0Ult065817 for apache@FreeBSD.org; Sun, 30 Jun 2019 21:00:30 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201906302100.x5UL0Ult065817@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: apache@FreeBSD.org Subject: Problem reports for apache@FreeBSD.org that need special attention Date: Sun, 30 Jun 2019 21:00:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jun 2019 21:00:32 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- In Progress | 238490 | www/apache24: Q/A warns about missing dependencie 1 problems total for which you should take action. From owner-freebsd-apache@freebsd.org Fri Jul 5 07:59:14 2019 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7979515E7AA2 for ; Fri, 5 Jul 2019 07:59:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1B79D8AA94 for ; Fri, 5 Jul 2019 07:59:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CA94E15E7A9D; Fri, 5 Jul 2019 07:59:13 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A821C15E7A9C for ; Fri, 5 Jul 2019 07:59:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 45F4A8AA8F for ; Fri, 5 Jul 2019 07:59:13 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5AD6A128C for ; Fri, 5 Jul 2019 07:59:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x657xCLk019840 for ; Fri, 5 Jul 2019 07:59:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x657xC1k019838 for apache@FreeBSD.org; Fri, 5 Jul 2019 07:59:12 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: apache@FreeBSD.org Subject: [Bug 238999] www/apache24: Add /usr/local/bin (and maybe /usr/local/sbin) to apache24 env PATH Date: Fri, 05 Jul 2019 07:59:10 +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: easy X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: indeax@yandex.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords 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-apache@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2019 07:59:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238999 Bug ID: 238999 Summary: www/apache24: Add /usr/local/bin (and maybe /usr/local/sbin) to apache24 env PATH Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: easy Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: apache@FreeBSD.org Reporter: indeax@yandex.com Flags: maintainer-feedback?(apache@FreeBSD.org) Assignee: apache@FreeBSD.org Hello, I found that the default env path in apache24 is set to: PATH=3D/bin:/usr/bin:/sbin:/usr/sbin In FreeBSD all installed ports/pkgs are in /usr/local so binary files are n= ot found if the whole path for it it's not specified. For example I've installed NextCloud (php), it use "gs" to generate pdf previews for uploaded pdfs. I found it was not working because it did not f= ound the gs command (not in PATH) although gs is installed. I corrected in may local server adding the file: /usr/local/etc/apache24/envvars.d/path.env With: PATH=3D"/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/sbin" Then restart apache24. This "bug" is related to the compiled pkg version, maybe it can be modified/customized in port version, I have not tested. But anyway I think = it should be compiled by default adding /usr/local/bin (and sbin) in env PATH.= Or adding the path.env file to the pkg. Thanks. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-apache@freebsd.org Fri Jul 5 07:59:14 2019 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34CB715E7A9E for ; Fri, 5 Jul 2019 07:59:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id AC2CE8AA91 for ; Fri, 5 Jul 2019 07:59:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 66ADE15E7A9A; Fri, 5 Jul 2019 07:59:13 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F64215E7A98 for ; Fri, 5 Jul 2019 07:59:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D35FB8AA8D for ; Fri, 5 Jul 2019 07:59:12 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 13728128A for ; Fri, 5 Jul 2019 07:59:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x657xBjI019816 for ; Fri, 5 Jul 2019 07:59:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x657xBr6019815 for apache@FreeBSD.org; Fri, 5 Jul 2019 07:59:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: maintainer-feedback requested: [Bug 238999] www/apache24: Add /usr/local/bin (and maybe /usr/local/sbin) to apache24 env PATH Date: Fri, 05 Jul 2019 07:59:10 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: easy X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2019 07:59:14 -0000 Bugzilla Automation has asked freebsd-apache mailing list for maintainer-feedback: Bug 238999: www/apache24: Add /usr/local/bin (and maybe /usr/local/sbin) to apache24 env PATH https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238999 --- Description --- Hello, I found that the default env path in apache24 is set to: PATH=3D/bin:/usr/bin:/sbin:/usr/sbin In FreeBSD all installed ports/pkgs are in /usr/local so binary files are n= ot found if the whole path for it it's not specified. For example I've installed NextCloud (php), it use "gs" to generate pdf previews for uploaded pdfs. I found it was not working because it did not f= ound the gs command (not in PATH) although gs is installed. I corrected in may local server adding the file: /usr/local/etc/apache24/envvars.d/path.env With: PATH=3D"/usr/local/bin:/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/sbin" Then restart apache24. This "bug" is related to the compiled pkg version, maybe it can be modified/customized in port version, I have not tested. But anyway I think = it should be compiled by default adding /usr/local/bin (and sbin) in env PATH.= Or adding the path.env file to the pkg. Thanks.