From owner-freebsd-questions@freebsd.org Mon Jun 7 04:32:40 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 48B75646EB4 for ; Mon, 7 Jun 2021 04:32:40 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) (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 4Fz0pb1gpfz3M6t for ; Mon, 7 Jun 2021 04:32:38 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: by mail-pg1-x530.google.com with SMTP id i34so6442985pgl.9 for ; Sun, 06 Jun 2021 21:32:38 -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=nCR8CWeFw3yno/Aurixq8P19cWdMOXL4xkHDvpDSlvc=; b=KyObPayQ3YIeRyIw5hgmL0U0rDWUFWkWZpJJga6E8WS7GzNSYB/704WOU/qKXBm62Q N5C9246NhU6XPBCUJJImeRCrerIewWWnY91rPgRdGNbN90BY8P/BSbTEGgTzlNkDl+Ba 0Bmen8ghY4Z+2FsZBktT2OXgIb5UOU4TmcC3lEnl/Crojdw2xKUi3GzHm+HRhONhHhoY GwIO5PN+4gnG6GheIhrHLUxdYuGFqHtBWFBNDZkKF4NkCXF7BtedzjpP0YBHUv/aGinz yZL8eimgZM1IfjLLdEH4x9mrOAcVvxpjCXsoxiiN9qEGcfdIekin8RaKvLKK1RXB4yAg CY6A== 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=nCR8CWeFw3yno/Aurixq8P19cWdMOXL4xkHDvpDSlvc=; b=OrNFEPO0QhiEaCGG2WpQgqU6dM3qfSymr+JjoZrntc58BbyLUgGFAtcRC6lT4KxLwG UMPCEtVW0INGTjGxxgoGI6g+vd8DGTuSYl36NXCGImdaQ/rkV9nX+VyOnTm8SwQaKVTJ 1pavkfyN1S65or9op4mTr6JrBxCCVthMuFNMMsOms2YcR9OpkC/BNY0gZ3YJhZtp6u+k EB0LWx+R/yEanMdnSaHpT30bUPoaYJYgxEAUyU+fVtJeCkzN3D8VPcOULDb0HddQBJr4 POjA3joHYvQEqBa3eVi0Z7OUE4bzvuFXvcCL1yhJ8qmgEfs7kM4rtZxQ4N5U954dAroU dCzw== X-Gm-Message-State: AOAM531H1oIsnKURALfdfYPEzko2wn7pZboat00B67w2dFY2GPmGcykG fU91fXotZ6UpzKQ74Otkz/yZMR39HD3JyObNvJJFjdMp338l X-Google-Smtp-Source: ABdhPJy9sVj5btq8/v9O1KAGjO9ZEJhyXlsFstweMgOWM4XufwoKhreXrBtKYPTAU/SiNL/64+jb8ddWVdxuBMwDSSk= X-Received: by 2002:a63:2cd4:: with SMTP id s203mr15787286pgs.417.1623040357231; Sun, 06 Jun 2021 21:32:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Paul Procacci Date: Mon, 7 Jun 2021 00:32:26 -0400 Message-ID: Subject: Re: lang/php72 needed To: Victor Sudakov Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4Fz0pb1gpfz3M6t X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KyObPayQ; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of pprocacci@gmail.com designates 2607:f8b0:4864:20::530 as permitted sender) smtp.mailfrom=pprocacci@gmail.com X-Spamd-Result: default: False [-2.01 / 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]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::530: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_SPAM_SHORT(0.99)[0.990]; 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::530:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::530: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" 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 04:32:40 -0000 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 After the errors were cleaned up, I `make clean install` and viola: # php -v PHP 7.2.34 (cli) (built: Jun 7 2021 00:30:54) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies # uname -a FreeBSD nas.myhome 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 r369444 GENERIC amd64 Extensions would be similar, but I didn't try any. ~Paul On Mon, Jun 7, 2021 at 12:00 AM Victor Sudakov wrote: > Hello Paul, > > There are so many php72-* subdirs scattered over the ports tree (in > www, graphics, databases etc) plus there may be references in ports/Mk/* > so if someone has already done the tedious job I'd happily avoid it. > > Paul Procacci wrote: > > Just curious. > > > > Have you tried moving the php72 port from the latest revision it was > > available (r559730) over to a modern port and tried compiling it? > > I'd imagine if you grabbed all the necessary php72-* ports, moved them > over > > and tried compiling, you might get pretty far. > > I personally haven't tried it, but I imagine that would probably be what > > you need to do. > > > > ~Paul > > > > On Sun, Jun 6, 2021 at 10:58 PM Victor Sudakov wrote: > > > > > Dear Colleagues, > > > > > > Can you recommend an (unofficial) repository with the PHP 7.2 port? I > > > need it to support a legacy installation of Moodle, but would not want > > > to use an outdated ports tree snapshot. > > > > > > -- > > > Victor Sudakov VAS4-RIPE > > > http://vas.tomsk.ru/ > > > 2:5005/49@fidonet > > > > > > > > > -- > > __________________ > > > > :(){ :|:& };: > > -- > Victor Sudakov VAS4-RIPE > http://vas.tomsk.ru/ > 2:5005/49@fidonet > -- __________________ :(){ :|:& };: