From nobody Sat Nov 6 11:47:27 2021 X-Original-To: freebsd-ports@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 15CD4184673A for ; Sat, 6 Nov 2021 11:48:02 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (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 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HmbGn0kmYz3rLg for ; Sat, 6 Nov 2021 11:48:01 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: by mail-ed1-f44.google.com with SMTP id b15so22999768edd.7 for ; Sat, 06 Nov 2021 04:48:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YRg14SxhI1+6fiv+xm/d02ClypEYYnNLM5NvYZyHdnM=; b=GaipRJC7qQiGPtpvPWCljM1e+QGyPvBWQQPso1zAazkTVHxcgntIt/0prFnOKkhh0S qkNTNJ7PvHgeRVO/MdRay5DsvJkjI+nqKRd4QwvYq3iK2OPLGgXHTahjK147ImgKFERw 6ZITAHBKElkT2GFToeensFgafSFG5wm/0Xe0EnXTBZikU9sfuBjYz9GjHY60HMOtzf5c L7T48TVlULxa+rdIN2wGmfrGr0RUxORNPIBx+l/lB/Nu3bpaGuCR52b9AP7WRxDHzhtw vj5DVLvM3nFbb3lcpGDeC7SW8CCt+jAmHM7TIOZz1wtj4Ke0nlMi2IEXe9/3QVYHLcUW H2fQ== X-Gm-Message-State: AOAM530tnw5SbyENsiwuiCktuJU9p3ES6hHrql46OdC/+WN8SG7bf9dD EmU8UlXn/DFRr8uHwFuoTa4BPGtHarmeMQ== X-Google-Smtp-Source: ABdhPJznqwQwTiVi4+VscwBtMWoeYi+yMQToL2MIERbYVckmMrRHex1UoDYrX/d0TP19jSfAQEH1DQ== X-Received: by 2002:a50:becf:: with SMTP id e15mr88929494edk.114.1636199274040; Sat, 06 Nov 2021 04:47:54 -0700 (PDT) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com. [209.85.208.53]) by smtp.gmail.com with ESMTPSA id q2sm6044743edh.44.2021.11.06.04.47.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 06 Nov 2021 04:47:53 -0700 (PDT) Received: by mail-ed1-f53.google.com with SMTP id j21so42163832edt.11 for ; Sat, 06 Nov 2021 04:47:53 -0700 (PDT) X-Received: by 2002:a17:907:d22:: with SMTP id gn34mr46974179ejc.195.1636199273180; Sat, 06 Nov 2021 04:47:53 -0700 (PDT) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 From: Luca Pizzamiglio Date: Sat, 6 Nov 2021 12:47:27 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: php applications, php flavors and freshports To: FreeBSD Ports mailing list Content-Type: multipart/alternative; boundary="00000000000075b4bc05d01d5456" X-Rspamd-Queue-Id: 4HmbGn0kmYz3rLg X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of lucapizzamiglio@gmail.com designates 209.85.208.44 as permitted sender) smtp.mailfrom=lucapizzamiglio@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.44:from,209.85.208.53:received]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FORGED_SENDER(0.30)[pizzamig@freebsd.org,lucapizzamiglio@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.44:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[pizzamig@freebsd.org,lucapizzamiglio@gmail.com]; TO_DOM_EQ_FROM_DOM(0.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000075b4bc05d01d5456 Content-Type: text/plain; charset="UTF-8" Hi all, Recently I received a bug ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259672) and I'm unsure about how to proceed. The problem: installing a php application The first suggestion in freshports is to use the format: pkg install origin Because of multiple flavours, 3 packages are identified by pkg (-php73, -php74, -php80). For instance: pkg install benchmarks/phoronix-test-suite pkg install devel/arcanist This doesn't happen with python, where only py38 packages are provided, even if 5 different python3 flavors are available. For instance: pkg install archivers/py-brotli It seems to me that: * pkg install origin, when multiple packages are available, could have a different behavior. Installing all flavors doesn't seem the user's intention (my personal opinion, I could be wrong), but pkg won't know which flavour to install. * because of this 1:n relationship between origin and packages, freshport could avoid to suggest "pkg install origin" as installation method * php flavor and python flavor have this small difference: by default, all php flavours are built, while only one python3 flavor is built. I'm sure this is intended and it has very good reasons, but it seems the origin of this confusion. What do you think we should do to improve the situation? Best regards, pizzamig --00000000000075b4bc05d01d5456--