From nobody Sun Jul 18 10:55:05 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 D016412A3BD5 for ; Sun, 18 Jul 2021 10:55:18 +0000 (UTC) (envelope-from admin@puredarwin.org) Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (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 4GSMM96xBpz3Nwd for ; Sun, 18 Jul 2021 10:55:17 +0000 (UTC) (envelope-from admin@puredarwin.org) Received: by mail-wr1-x435.google.com with SMTP id m2so17878435wrq.2 for ; Sun, 18 Jul 2021 03:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puredarwin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y2bAZpqQPmoQ9qGPypDcIo6L5z2XAw+5/BljUV79uaU=; b=FIdHs+zdz1kRZBHH5mxvqUbonkbhNR7iTCMN5scLZ3nXW95WHRIXMgXDhZ30BPXSwz l9xTUlWpViRCOiXiqfpWRufKlDBQ1HcZZts6TvTop6EDVDRV/YNlfCeEdhJ0epRkhUFz e2qA/d5nBGbsYJmrGBWjke4i0gqQclnqiexQQXCxaOLtR80uKjZGg1GhgEIwP7F9RmZS jtiGWV7shVG4/lZU9mKRO8fZ62fZeCPFgGbd/EAbmK7mwurFvAulpDbqpOPQOPsgxCwF 2qwXimdciOXQZJgDq/NrxySQ1T/5szkowT7XxHuafxsB0dyonNquJvK5oTrhwP32kHg8 PySA== 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=Y2bAZpqQPmoQ9qGPypDcIo6L5z2XAw+5/BljUV79uaU=; b=lJqIJey3Q6HObon29Rsd3o4yY2rRMSqzk3S6SXeAqFBhT4rfpBdqfviwkRq6akk7SW WU2zgkfABZi+e0yik3yshQPAZh8VJNvgsmCQOKyKHNfrSbyhkGVwN1bO6bVqvijJc40d avzE/a1DQa8JpwX48aRfZIEPLkDkA8IgVnocEFdZq8rt/DfpysSNnPMS5hncTviubaMb 9qe4ndWJN/og+/q60WK2ih20xr1Z4iS7UAsK/5Veh1s5WKCPTehqdn0OtTv5dP9v0Zga 34OHau3dFZu69cwHjgYkruzEiER0T2PTP/Wj8eZYWGuXfatN/sNI/bp7Y6K4LZSTjrKF HWHQ== X-Gm-Message-State: AOAM530KdqaKamuSnh1Ajt+5+gYqWdvEugY1hVPNNRYmWwDzLUpl5U90 GbDOPb60HIJijLd4SvXUOfN0/E4Phj42lRrKsIIeZCYUvRud+G/u X-Google-Smtp-Source: ABdhPJzebhrPPMA/pQuS7ef0czv/A8v+k+/2rJHEmYm5Vp+eUaM13UebeeecTY2E16uHOJZV6AjbDJxZbTpPTtQP0lE= X-Received: by 2002:a05:6000:1107:: with SMTP id z7mr24414058wrw.228.1626605716422; Sun, 18 Jul 2021 03:55:16 -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 References: <20210708235149.7x3sbgz4764x7ayp@aniel.nours.eu> In-Reply-To: <20210708235149.7x3sbgz4764x7ayp@aniel.nours.eu> From: probono Date: Sun, 18 Jul 2021 12:55:05 +0200 Message-ID: Subject: Re: Proposal: Include the Application Name in Ports and Packages To: Baptiste Daroussin Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4GSMM96xBpz3Nwd X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=puredarwin-org.20150623.gappssmtp.com header.s=20150623 header.b=FIdHs+zd; dmarc=none; spf=none (mx1.freebsd.org: domain of admin@puredarwin.org has no SPF policy when checking 2a00:1450:4864:20::435) smtp.mailfrom=admin@puredarwin.org X-Spamd-Result: default: False [1.00 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[puredarwin-org.20150623.gappssmtp.com:s=20150623]; FREEFALL_USER(0.00)[admin]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; DMARC_NA(0.00)[puredarwin.org]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::435:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puredarwin-org.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::435:from]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[probono@puredarwin.org,admin@puredarwin.org]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::435:from]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[probono@puredarwin.org,admin@puredarwin.org]; MAILMAN_DEST(0.00)[freebsd-ports] X-ThisMailContainsUnwantedMimeParts: N On Fri, Jul 9, 2021 at 1:51 AM Baptiste Daroussin wrote: > Simply add a new annotation to the package with the Application Name(s) when it > is relevant. I add plural because some ports do provide multiple Application > Name(s). > And you will have the information everywhere. > See how CPE is implemented in the ports tree to see how to do that. Hello bapt, thanks for your response. I have a couple of questions though: 1. What key should we use for the Application Name(s)? For CPE, there is e.g., 'CPE_VENDOR' and 'CPE_PRODUCT'. However none of those contains the "human-readable" name "Apache HTTP Server" (as used, e.g., on https://httpd.apache.org/). CPE_VENDOR= apache CPE_PRODUCT= http_server So what I am looking for is SOME_KEY_NAME= Apache HTTP Server 2. If there is more than one main application inside the same package, then just repeat this key/value combination multiple times? 3. How would we go about getting those into the standard/documentation/lint tools? 4. Would new keys (annotations) automatically end up in package/repository metadata, or would something special need to be done to get them inherited there?