From owner-freebsd-questions@freebsd.org Mon Jun 7 05:38:19 2021 Return-Path: Delivered-To: freebsd-questions@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 0A966647DEA for ; Mon, 7 Jun 2021 05:38:19 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 4Fz2GL26Qxz3hGF for ; Mon, 7 Jun 2021 05:38:18 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=uz70qX1Twxv2Qv5CPEqW2jHkZuivelS03g9B5tuBGa0=; b=m9xOfB/AbUD0QNBwMVj3hMbq5A EyVtnWPOTiEvL8mgreKzK+vfA3phGn6bq/qV2EvrjvfVCXf9II6GP/xPWZldOPtJhhU+k5j00B3Aa TD2rbg2CidhwZmI1FeOW9xnDfjZdsRYyxQQgUCATL/W3dRgl8hj7xKWyOmfiLjZHotzc=; Received: from vas by admin.sibptus.ru with local (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1lq7xo-0004Br-JK; Mon, 07 Jun 2021 12:38:16 +0700 Date: Mon, 7 Jun 2021 12:38:16 +0700 From: Victor Sudakov To: FreeBSD Questions Cc: Paul Procacci Subject: Re: lang/php72 needed Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DpDzqlEHj/5CJ/Fg" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 4Fz2GL26Qxz3hGF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=m9xOfB/A; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-6.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5001:21dc::10:from]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; SPAMHAUS_ZRD(0.00)[2001:19f0:5001:21dc::10:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[sibptus.ru:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; FREEMAIL_CC(0.00)[gmail.com]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2021 05:38:19 -0000 --DpDzqlEHj/5CJ/Fg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Paul Procacci wrote: > Having lots of php72 is no problem if you `find | xargs`. > I tried this and didn't _really_ run into any problems. > I didn't try any of the extensions however. >=20 > This is what I did: > # svn co -r r559730 https://svn.freebsd.org/port/head /tmp/ports > # cd /tmp/ports > # find . -iname "php72*" -type d -print0 | xargs -0 -I% cp -R % /usr/port= s/% > # cd /usr/ports/lang/php72 > # make install >=20 > There were some errors, but they were easily cleaned up by installing the > missing pieces via pkg. Just to name one: > # pkg install p5-Locale-gettext This will not work in poudriere. I'd like to have a reproducible build, if possible, not some kind of one-time hack. [dd] >=20 > Extensions would be similar, but I didn't try any. There may be many dependencies to fix. I have already tried going your way with the php52 port on a recent FreeBSD, this turned out to be an unpleasant manual process of fixing dependencies etc, and eventually I failed to overcome the problem. It's strange and alarming that nobody cares in the FreeBSD world. In Linux, you can install all versions from packages.sury.org, and what's more, you can even have different versions simultaneously on one system. --=20 Victor Sudakov VAS4-RIPE http://vas.tomsk.ru/ 2:5005/49@fidonet --DpDzqlEHj/5CJ/Fg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJgvbDIAAoJEA2k8lmbXsY0hMMH/3LXs/cAG9Frp/FXxUq9y/1J jXKBnqYKYaogEg4HzFsHKJkXUaTA1YbMQEshFYaydAEgbkAASdzyYDiYL+UtNRY8 Mi9xQnHJ7KtzVpi3faEIkDKX8W0vPXtx9yOQ3rqC9QbPvspTv9n7zWkz8RBjNlnN UkGiIr+xDk6vb5HeUObjae1RmXYYUMYsPu0svNROX/WTeDyXZEgBVFrVwZg2NKgX 6qdwa9ILlGVGiMWVZoZ1EDMjxzYHRVaGHqwdB8xKa1dAc1PzgNuxWsgZ5uVqkPXG /f5JebDEckgEri6dA+/Yy5vhLk7fawYMaptFBZnITQVJfwUceMl/yCpZeT0+7w4= =TKOY -----END PGP SIGNATURE----- --DpDzqlEHj/5CJ/Fg--