From owner-freebsd-questions@freebsd.org Mon Jun 7 07:08:31 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 C5B35648CFE for ; Mon, 7 Jun 2021 07:08:31 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qv1-xf35.google.com (mail-qv1-xf35.google.com [IPv6:2607:f8b0:4864:20::f35]) (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 4Fz4GQ3JpSz3rtW for ; Mon, 7 Jun 2021 07:08:30 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by mail-qv1-xf35.google.com with SMTP id x6so3422070qvx.4 for ; Mon, 07 Jun 2021 00:08:30 -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=CBIxw6snT9DvM97psHLmrhNoy4xNwtRI7L4fu6KaQvI=; b=LTzGypjnpb2XQq5FwNIErWABoWlNEVG8skfYmS78WoqVEBayUFYp9KLkxa42Ikiney pwVWJpOa1Sez0HynBur1UKSsUh8PmnsffsKr35NL5HXCsI+a3KfR6txUvL21dfy4nkyn ES2SYMXqg6mTesY1ld1MEWJEoqVc4zf9j517xuRmm7+n9/bCLA7lTFqSbeYZSRR576RJ 6dYXeKZdHt73ul8VRLTWXo5FctROWZ+A34axW/Hkq3YQoQkT7ZnUYpr34rSEQuFqCgrO FqtmuCDwY9MRgzVVhJZwT5sQHsVww1pgvi6aIc7cwlDFbnFiA+YCT0sIDnof1OzmxItc W9vg== 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=CBIxw6snT9DvM97psHLmrhNoy4xNwtRI7L4fu6KaQvI=; b=Vwh3k5xaODPDeJlK9xMefsm6f8O3/AfGXkVPdutOx6ostC8CTvzkVlFJ+XZykxEr6U ZKiAlgSNd6WGH69LwwL2P/RGKkpoiFqAM3HGGAkgWXuPPZhVo14HrJwXzzhICHRf1gtp p9SEjImX0A7wGU5PZC3jk3rWLtJulaxsHhNcTPv+cUErFoEaj5NM39ouvtF0B0jKnHB3 G4RbqmEByORCaAmI0+xqLCI7RE3wZ8WomKzQUfKTtZxxKtTGIqrfko5ZPAEEd2PcmM4/ b9y0NNnSpCDds5NuhtT+0q1dp9HiLqqC/5TfYFcnOk/2Bbw48MvaozUg7QA/LjtkcNQH avFw== X-Gm-Message-State: AOAM532nzwzntgsKUUMJO/ScrbRpwLA8XPe+9sguLGsxAhAJRa+PG76L 1I0BQGoVp3/tq8TSDPthpnf+hiWW4RGDYwMP8wo= X-Google-Smtp-Source: ABdhPJyQlHkW5vElox6QF8vl0b/ZCdEJ8CyaQY8f33Ov2lu0EHAKp0cHg3WAFRZxzY6CcA4YwloMpM+ttP1O0RyvDF4= X-Received: by 2002:ad4:56e2:: with SMTP id cr2mr16734970qvb.19.1623049709081; Mon, 07 Jun 2021 00:08:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Mon, 7 Jun 2021 10:07:51 +0300 Message-ID: Subject: Re: lang/php72 needed To: Victor Sudakov Cc: FreeBSD Questions , Paul Procacci X-Rspamd-Queue-Id: 4Fz4GQ3JpSz3rtW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LTzGypjn; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2607:f8b0:4864:20::f35 as permitted sender) smtp.mailfrom=odhiambo@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.998]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::f35: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)[]; RCPT_COUNT_THREE(0.00)[3]; 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::f35:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f35:from]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" 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 07:08:31 -0000 On Mon, Jun 7, 2021 at 8: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 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. > And suddenly you introduce another condition to your original request! [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. > Then what stops you from migrating the legacy moodle to Linux?? If anything, just virtualize the Linux on the same server and you're home and dry. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v "^$|^.*#" :-)