From nobody Tue Feb 27 23:52:33 2024 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 4TkvRn0HLxz5Bx0D for ; Tue, 27 Feb 2024 23:52:37 +0000 (UTC) (envelope-from hubert.tournier@gmail.com) Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 4TkvRm1L0dz4Rbs for ; Tue, 27 Feb 2024 23:52:36 +0000 (UTC) (envelope-from hubert.tournier@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=mdNEoQ3P; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hubert.tournier@gmail.com designates 2a00:1450:4864:20::229 as permitted sender) smtp.mailfrom=hubert.tournier@gmail.com Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2d094bc2244so58987501fa.1 for ; Tue, 27 Feb 2024 15:52:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709077954; x=1709682754; darn=freebsd.org; h=content-transfer-encoding:in-reply-to:from:to:references :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=KzR1/8L3e8kYAjlzpX3nLls8sUYVF1FuzxYMiIeLpAY=; b=mdNEoQ3PUfr0+pcfaMW9wfC+TS3Q9JJyj5bKW4Iw2gboThs0IqJ6C47H8nYQc2qEgd xhJ8MTnB9jPgYX5SJSeDPqw0rxPRcDcLw05ZQYUXUpc4AzUyV46pvGaVknb/WxUaIwmN tp6v33gKMP+nMzQ8gzXYeza7b39InkHvAuc8sslg0da2SiNoOfdQrXbMBlauLWZEP9TN 86vN/+WoEvp3Zk6aU/x6JfuXofUFtb8j83ZgJTVX8iGTjb2CniToLnt1AYRnkeKxzUpn cVixoWP7gPtaJv3URljVrq8YnjViPDPColBjEcA3tdwvM/7cCTCG4iuoEqq72T7tlmsh Ad7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709077954; x=1709682754; h=content-transfer-encoding:in-reply-to:from:to:references :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KzR1/8L3e8kYAjlzpX3nLls8sUYVF1FuzxYMiIeLpAY=; b=rBOkJ5PjRmA0kFblxHMRe/bJq1cy1orAwZOF8+UKMltEwepu5hYVq+zSwKBhNZ7+UU U7jW72D5wZCeIc785ViqDBDb9W/kYR6i6jXf4TfTCuHdcFi/PZGxzsowhltGG1n8Wo9s JqYBhsaXk5L7ot7wAxRN9NkPJmBINXHBQK0SwUbgRg0CCvmu6n21bMHOI7hjo2RNXslK Giojnz5z8WBGarXJZFr6UhqexCCB2IDl1RzWKqMHAzaRgRUJ8+t9S+Kcnb4H4sRqNEM9 73TJl/YYWn8jkMmD+9d8fiNupF5DGkNscu073TdPGaaeDDezGU2NqOzKBZwtq1ksZPHd F/qA== X-Gm-Message-State: AOJu0Yy2TPhrJQlPM5IMzaa33q4FWqni8DWImxsYpmV5dBPw2otuLqqG 1lU59ZwK/ffSMZfvbuSL9yZ7dMLyK2fkzO3cYMMyfnPRcx/XVC8xwiOZI+kRfUo= X-Google-Smtp-Source: AGHT+IFN4Z+mLJ8TRPyfdY+Gcy+MGWE16CX7ANQPdVnWqMmOBDtOtvFtAvy3kyCGA5BjtdWdt8LU/Q== X-Received: by 2002:a05:651c:2c4:b0:2d2:7580:e220 with SMTP id f4-20020a05651c02c400b002d27580e220mr6197690ljo.15.1709077954276; Tue, 27 Feb 2024 15:52:34 -0800 (PST) Received: from ?IPV6:2a01:e0a:80d:9d80:1db2:5037:305f:e60f? ([2a01:e0a:80d:9d80:1db2:5037:305f:e60f]) by smtp.gmail.com with ESMTPSA id z21-20020a7bc7d5000000b0041061f094a2sm262373wmk.11.2024.02.27.15.52.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Feb 2024 15:52:33 -0800 (PST) Message-ID: <1d9568c9-b2b6-468e-8bc5-509d9aa4ed99@gmail.com> Date: Wed, 28 Feb 2024 00:52:33 +0100 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 User-Agent: Mozilla Thunderbird Subject: re: Port tree linter Content-Language: fr References: To: freebsd-ports@FreeBSD.org From: Hubert Tournier In-Reply-To: X-Forwarded-Message-Id: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.903]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::229:from] X-Rspamd-Queue-Id: 4TkvRm1L0dz4Rbs Hello, Le 27/02/2024 à 23:54, Chris a écrit : > On 2024-02-27 09:50, Hubert Tournier wrote: >> It's called portlint2 (https://github.com/HubTou/portlint2), and it >> checks the >> ports Index file and the port's makefiles, for the whole port tree, >> or for >> selected categories / maintainers / ports. > While I haven't (yet) tried it out. I'm grateful for your work. It'll > potentially save a > bunch of work, Thanks! There's an example of output on a whole up-to-date port tree and index there:     https://www.frbsd.org/xch/stdout.txt     https://www.frbsd.org/xch/stderr.txt And an example run on your own 171 ports here:     https://www.frbsd.org/xch/chris.txt On a not up-to-date index, you would notice lots of non existing port-path and description-file, which is what caught my eye in the first place. That's because the portsnap method that I use to sync my port tree doesn't update the Index at all. The tool design is modular, so if additional checks are useful to someone, they could probably be added quite easily (use the GitHub page for these interactions). > Shouldn't this make it to ports-mgmt/ as portlinter? If it's deemed useful, I could make the port next week-end. Best regards, Hubert