From owner-freebsd-questions@freebsd.org Mon Jun 7 06:13:42 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 397D864872E for ; Mon, 7 Jun 2021 06:13:42 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fz3395Vd5z3mVB for ; Mon, 7 Jun 2021 06:13:41 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: by mail-pj1-x102a.google.com with SMTP id i22so9190204pju.0 for ; Sun, 06 Jun 2021 23:13:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gf0CHNRmtzcXSGqtnO/Cod60dpsOtf1KCkXSN7MjOx4=; b=oElELQCNu3uVxCU2feQKIFGWVQPi7SFF3kp6EyDIY601GU8kuW1sNfdPRDICwCRP3J GyMwfvne1OSSPogw/lwkPX3RvzHsHULYzNhKoE++/5WFQ3dSsLhEPBazUK9so0fChbzi HcLtSqqKOx77M7nCbwDREKY0sdQVXDlsK8frtVhQsHrz6j1GB+U5O+erI0t/pshQY3mb lVqAWq5kyCZZMUBTLwCXExd/5MWiKvGA9kBwJUqdrTx961mgrzH8E4iL5f9Us+mxrkZy NHHKGL5eMfvc/oPALhtqU5f+IvfYU/7eMdyqiOxboHdzTLapykKUEMu+zXPKTf0IMc2A iUVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gf0CHNRmtzcXSGqtnO/Cod60dpsOtf1KCkXSN7MjOx4=; b=qyIUYtTCF2w0KY9rZbUEKY2ZnEnTp2BUcwzhtr7LgLoqtJwBhzfKr4S/TpXomsVhi0 7ohDBPu2ah/mO3xfcDxaFxFdn+I92r7T48ZFPpxLFZBNqU5iVeM5+odvvLd/JJAVu5YY KVf1iDRdVYhpm6Gggb40x0+nAB5b65e042lJ6tpownm1h/hauJP4Yj4gzs8g/qMgehQN veH1p0IfLN0BmD5fHWZmzY3pu6FlS6M+WnZWGEusFS2Fm/AjmvNemoK4fr223ncNd+5M zVmJWbujuVxSfhpSe2lLnwzgOX8RpXFRj7nVokPUzHxXu34y1F6iILtjO6+bCZV6RG54 V+qg== X-Gm-Message-State: AOAM5338P8GzIGK4Plo7h1D3xVO04gR8VbQhACGREYBAQAgk9K7ijb9K pekttnOo252U2Oh+fknNZOBZ4JMgXKpUuK2gsw== X-Google-Smtp-Source: ABdhPJwqB/qp+hvq6DfWTywf2+VnT2cZtlaX64aemBtzOvNGEzBUR/kD1oDVMzaR1ABRiP5sikmAh5J3uvRzUBXGt98= X-Received: by 2002:a17:90a:16c2:: with SMTP id y2mr18556230pje.236.1623046420569; Sun, 06 Jun 2021 23:13:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Paul Procacci Date: Mon, 7 Jun 2021 02:13:29 -0400 Message-ID: Subject: Re: lang/php72 needed To: Victor Sudakov Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4Fz3395Vd5z3mVB X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=oElELQCN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2607:f8b0:4864:20::102a as permitted sender) smtp.mailfrom=pprocacci@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::102a:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::102a:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::102a:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 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 06:13:42 -0000 I'm not sure if it's either strange nor alarming like you claim. That version of php is EOL from the vendor afterall. The specific topic of maintaining support for old software, or retaining backwards compatibility has been hashed before not only here, but in most venerable software. Your packages.sury.org example exists because someone out in the world ( On= d=C5=99ej Sur=C3=BD ) has a need for it on Linux and makes his packages available to = all. He happens to not only have a need for it, he's actually one of the Debian developers as well; though I digress. In the same vein, if you have a need for it, `make package` on your FreeBSD version, work through the kinks and also make it available. The next bloke who's looking for a package will find yours and be grateful. In the case of Moodle, I'm not going to question your reason for using old software, but will kindly point out that they have a version that's compatible w/ more recent versions of php. Without knowing your evaluation process or conclusion thereof, I'd suggest upgrading Moodle instead. Sorry I can't be of any further help. Take Care. ~Paul On Mon, Jun 7, 2021 at 1:38 AM Victor Sudakov wrote: > 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. > > > > 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/ports/% > > # cd /usr/ports/lang/php72 > > # make install > > > > There were some errors, but they were easily cleaned up by installing t= he > > 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] > > > > > 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. > > -- > Victor Sudakov VAS4-RIPE > http://vas.tomsk.ru/ > 2:5005/49@fidonet > --=20 __________________ :(){ :|:& };: