From nobody Sun Oct 08 14:54:22 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S3QDG26Gtz4wCDd; Sun, 8 Oct 2023 14:54:22 +0000 (UTC) (envelope-from osa@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S3QDG1dlNz3FT0; Sun, 8 Oct 2023 14:54:22 +0000 (UTC) (envelope-from osa@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696776862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fbEzyhI2OrersjNPQ0nJU6ByzRk5rXOncZfcUQ6ekWM=; b=sEqQxJT3KTwYIdAVA6IJcD6wBdPBS2ZsHfOkAjQO5Ft8S3YV7ndrYL83Rood3kb5FrsWYi Pw+F701TUTUa+NSvTeclUlzLAZAiVVI9GEbsUBfwqYtqQPSmwdSlxPZaP35jUzB4fSwp3z 4YcHgbq5rC6Of/5Z4dvQlmwZBVJZRxBEw99ze/m9qV8jEQtvYzUt91nuv5Rb1jpfdVALm7 17go5/Z3Garx6iN3OEJ33hkQz5WT2VXT3z6NLQT9LxrsA2CXYa75BVTyc/MGn+qqacI2Jl Se+qYP56/xPM/aYr0uTdkO6gtWaQrJVi4vWY/GM3ykyhASIocHyrP/LrF+Yajw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696776862; a=rsa-sha256; cv=none; b=tYSeUlRbhgs/KJQxp+amdyvsreML3NPzhxaKwQrBD5/2Sh5g/uOku2K03hpG5v9EL8ri6o 6XaxFrJJVNnkjUJYAJ1HMcTXoygjYUNlLPhEP0hMWkN3n3H6Gq5y5DryI4yJL+krSnra2F YCo0ao6+wZrhPS7itoCR+7/smX9yuwU38unSqXKdAlhu6oIZ1QarnNbO26VEOqgA0pDyeJ ZmGjyYJykaDSzExtMTnN5qB2Hf8eufKlLe1Dm8pKv0rV7Cdxq/RFbe7KQKf/3LxNucwx5N SnD4XEhfTLNY7SDwOEfXA3cQFPnTRDjmjyBxe6D7D281pLCuBZsLXUThuMNoTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696776862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fbEzyhI2OrersjNPQ0nJU6ByzRk5rXOncZfcUQ6ekWM=; b=Yp4DN3c1HGcz9zYC0Y4NlcYTnod579jil4UWAWuCPvgG8aIaDwNi5+Qp92GtOgTCABQBVk OzxznTZgOubx0Nb52mtdeq4tspEVk302bEZ5S4Yo2ktiTjc6A05KDbjs5X5iNXANvNLg5l JKGn+gQcb7GsxGMRN2p73D7YxvyonmYzXzaHHz6ZwbTs8HNso5/T06dOoYuL2QMFYSCiiW /JXpia+OU2O5AfFFjBgXbRoLVAnkb3vLTAl6zkRTpaCGi4yU4wbCrY9Nklvc01leLvpth5 +Y4gsLtKnIB+oWMQv7WMc3HcrTjfeJjmVokQnrD9Zx8UwX+9JMiLXXmMq/gSeg== Received: by freefall.freebsd.org (Postfix, from userid 975) id 255D53D6A; Sun, 8 Oct 2023 14:54:22 +0000 (UTC) Date: Sun, 8 Oct 2023 14:54:22 +0000 From: "Sergey A. Osokin" To: Dan Langille Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 73922d6b363a - main - net-mgmt/librenms: Fix start on FreeBSD 14/nginx Message-ID: References: <202310071152.397BqxAf037182@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dJkOlpwyklQ+KDIZ" Content-Disposition: inline In-Reply-To: <202310071152.397BqxAf037182@gitrepo.freebsd.org> --dJkOlpwyklQ+KDIZ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Dan, On Sat, Oct 07, 2023 at 11:52:59AM +0000, Dan Langille wrote: > The branch main has been updated by dvl: >=20 > URL: https://cgit.FreeBSD.org/ports/commit/?id=3D73922d6b363a6902a05721d9= 102386ce657b03d4 >=20 > commit 73922d6b363a6902a05721d9102386ce657b03d4 > Author: Dan Langille > AuthorDate: 2023-10-07 11:49:41 +0000 > Commit: Dan Langille > CommitDate: 2023-10-07 11:49:41 +0000 >=20 > net-mgmt/librenms: Fix start on FreeBSD 14/nginx > =20 > This may be a path issue or a shell issue, but nginx on FreeBSD 14 > is not finding /usr/local/bin/php. The fix: use /usr/local/bin/php > as we have done with other patches. > =20 > +- base =3D ("/usr/bin/env", "php") > ++ base =3D ("/usr/local/bin/php",) Would that be better to use %%PREFIX%% in a patch and substitute that with a value of the ${LOCALBASE} variable in a post-patch phase? Thank you. --=20 Sergey A. Osokin --dJkOlpwyklQ+KDIZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQITBAEBCgB9FiEEZTMJYdHlAQrZCsSmOBlAga+KbzQFAmUiwpZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY1 MzMwOTYxRDFFNTAxMEFEOTBBQzRBNjM4MTk0MDgxQUY4QTZGMzQACgkQOBlAga+K bzQnigv+MSsLr1zrCk0OpTgYz5wJh7rftC6pn1chq3CDDkoZh7ShwZK+ZQT2FiTb Km9g27zJhPrgr/2Lpg3coXPrvw1tl2pVNExVo62aiKQ29Ka/RAXf/x3R995dAfXl bmYemt8v6eTa7NvdoRG05pHQaz/8oFzZ5yEYv3+Hwx5ZNuIm86PpN7DWCo8on3Na 1usawORl1GXCDoJbl0xQyeXNVNTwZrootmk2jDXP3M9GsNKGkHnKma+/hZezQIVk wTb7GCbeakCXv8r9xySrkKFfD7FdgIKilGRW4XozhngiASL1rrSV0gC7Sv0Bcv0D ggiYeCimo1XVcH0NCCNtv6sjf7mc7anydGBHA+arpAg/CbokmYB4umW8RQaLXnZW +z3ZxqjTnlf2pwNoLT/iRgQg8s/KgwC3xTRWPjX5mhmrnHqy4vwDlzQt+LBm8DDq xC6nCz+eMZfEAxhdUA3MV8FF1R+1AeWceBb18BdPaKM4xsvzfw76OqdInfF7TK0T njnUT6ZG =p2Tk -----END PGP SIGNATURE----- --dJkOlpwyklQ+KDIZ--