From nobody Thu Apr 11 11:45:49 2024 X-Original-To: dev-commits-ports-main@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 4VFdDt12Dfz5HHWF; Thu, 11 Apr 2024 11:45:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VFdDt0XmRz4yBj; Thu, 11 Apr 2024 11:45:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712835950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=esKlLfdUllc8G+805R2ni+rZ28pm7ll7wjr+eY517a0=; b=ECO1nGHr0DpempSqf3bQttdQibJXbWl/aUZfufELEUIpcd24cNlkdzJiSq+F2fqU4Rp8EI yq2Ba4lhqzwXUe1DKuJb8ahjATUSlG4wVkuaF7lC/flkNU0e5EysczSAzYr/mAbzmKQ48W OJA7l1DJmklCrPoQR59xYLXtx7KboEx24QNvHzwkqOO8iKhbw8Lc8MoFG3Sb6IwzygGSor tgntWeESIkvefyRoXjxiIGAKaEEWTt9uuPX6YLdUsNcBJeEgJ3VYSu0o2TiSvJceKcKPm8 ahfUQ7pFzK5UInJIlU4Tql4RBuuCU55TTBgtz3hUrpXNQCxH8+vVkUD9dG/zfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712835950; a=rsa-sha256; cv=none; b=r+ZZCTgjeF8tq7SSUdTKHBBtXhPd+A6gWEcACAVsfiBcWq9FE872P6DXN3qffAMHLLaKCj a+8iicTHNw2Ihv+IY/vJp+b/yMWxJHjJhH1B7cJYBnz83imSQ8DxymnjAiPbKzNcmMnfYu H1m8y3JE9aHq9vwo8ZoLi126OvpZLBe1M6kD3k5AWgI4cJI9kMMKWKS/7hH+7XKnjTb2JH jxS0g3DttOV9CAU/P88ihbi5KgcZwtjvIuSV9OEjSaSP2pMWqksHe7/SkEodHaiXAwtUd7 BCds4XAeJ2myOdVU/v8TyYpZGENFCDHobAHlez9uh3Ybmk8zvLRzenTWv3fWYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712835950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=esKlLfdUllc8G+805R2ni+rZ28pm7ll7wjr+eY517a0=; b=mkfHFxsZd8W0Fqb+YPsFXc+NPUq0MFbhT57nP5BIYJ6iK0M4QSMNYoaJyZcGvT2/ZvHse0 bEetTUiklFqqifFYysFQlOWFZEjb8z4xhRflADueMMc8PIIep76ePXS++no7t6cfuzhWG9 dk+XHfN8ZnHfF/LLxlIfINLMe5XkfLEeY7poPW692WkfXsdkn/qCwzegrk3J//d0f2B6EP pGXxhf3lOIX3JMX9bBRz3yRUFoA3HjX4YTKk9E+ptBmEQKXn8f2pCkEfPl7ZJ5taFKBRsc OTdd0nNfhttrCL0JkAZeaiDJoELK/rnDFecs20ElulednM+HbhzWRWt2Y7xeMQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VFdDt082Hz1JtL; Thu, 11 Apr 2024 11:45:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43BBjnXN076498; Thu, 11 Apr 2024 11:45:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43BBjniJ076495; Thu, 11 Apr 2024 11:45:49 GMT (envelope-from git) Date: Thu, 11 Apr 2024 11:45:49 GMT Message-Id: <202404111145.43BBjniJ076495@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joe Marcus Clarke Subject: git: 2157107ea586 - main - ports-mgmt/portlint: Update to 2.22.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: dev-commits-ports-main+owner@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: marcus X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2157107ea58683e95bf377fa4439ecd116c7f868 Auto-Submitted: auto-generated The branch main has been updated by marcus: URL: https://cgit.FreeBSD.org/ports/commit/?id=2157107ea58683e95bf377fa4439ecd116c7f868 commit 2157107ea58683e95bf377fa4439ecd116c7f868 Author: Joe Marcus Clarke AuthorDate: 2024-04-11 11:45:00 +0000 Commit: Joe Marcus Clarke CommitDate: 2024-04-11 11:45:00 +0000 ports-mgmt/portlint: Update to 2.22.1 Remove the WWW check for pkg-descr. PR: 278069 --- ports-mgmt/portlint/Makefile | 3 +-- ports-mgmt/portlint/src/portlint.pl | 32 +------------------------------- 2 files changed, 2 insertions(+), 33 deletions(-) diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index efe7ea72f6c0..7e3df9f319fd 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -1,6 +1,5 @@ PORTNAME= portlint -PORTVERSION= 2.22.0 -PORTREVISION= 1 +PORTVERSION= 2.22.1 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index 5fa4267e6065..53d80a8847c0 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -52,7 +52,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 22; -my $micro = 0; +my $micro = 1; # default setting - for FreeBSD my $portsdir = '/usr/ports'; @@ -544,36 +544,6 @@ sub checkdescr { "other local characters. files should be in ". "plain 7-bit ASCII"); } - if ($file =~ /\bpkg-descr/ && $tmp =~ m,https?://,) { - my $has_url = 0; - my $has_www = 0; - my $cpan_url = 0; - my $has_endslash = 0; - foreach my $line (grep($_ =~ "https?://", split(/\n+/, $tmp))) { - $has_url = 1; - if ($line =~ m,WWW:[ \t]+https?://,) { - $has_www = 1; - if ($line =~ m,search.cpan.org,) { - $cpan_url = 1; - if ($line =~ m,/$,) { - $has_endslash = 1; - } - } - } - } - - if (!$has_url) { - &perror("WARN", $file, -1, "add \"WWW: URL:\" for this port if possible"); - } - - if ($cpan_url && !$has_endslash) { - &perror("WARN", $file, -1, "end WWW CPAN URL with a \"/\""); - } - - if ($has_url && ! $has_www) { - &perror("FATAL", $file, -1, "contains a URL but no \"WWW:\""); - } - } close(IN); }