Browse Source

Remove the warnings around WWW checks.

Submitted by:	se
Joe Clarke 1 year ago
parent
commit
6c7e484bbd
1 changed files with 0 additions and 8 deletions
  1. 0 8
      portlint.pl

+ 0 - 8
portlint.pl

@@ -519,14 +519,6 @@ sub checkdescr {
 				"moved into the Makefile.  ".
 				"Remove the WWW: line from this file and add \"WWW=$wwwurl\"".
 				"to the Makefile immediately below the COMMENT line.");
-			if ($wwwurl !~ m|^https?://|) {
-				&perror("WARN", $file, -1, "WWW URL, $wwwurl should begin ".
-					"with \"http://\" or \"https://\".");
-			}
-			if ($wwwurl =~ m|^http://search.cpan.org/~|) {
-				&perror("WARN", $file, -1, "consider changing WWW URL to ".
-					"http://search.cpan.org/dist/$makevar{PORTNAME}/");
-			}
 		}
 		$linecnt++;
 		$longlines++ if ($maxchars{$file} < length);