Changeset View
Changeset View
Standalone View
Standalone View
head/ports-mgmt/portlint/src/portlint.pl
Show First 20 Lines • Show All 2,616 Lines • ▼ Show 20 Lines | foreach my $i (@sites) { | ||||
} | } | ||||
} else { | } else { | ||||
print "OK: non-URL \"$i\" ok.\n" | print "OK: non-URL \"$i\" ok.\n" | ||||
if ($verbose); | if ($verbose); | ||||
# Assume variables contain an ftp/http site. | # Assume variables contain an ftp/http site. | ||||
$ftphttp = 1; | $ftphttp = 1; | ||||
} | } | ||||
} | } | ||||
&perror("WARN", $file, -1, "no ftp/http mirror in MASTER_SITES ". | |||||
"for users behind a proxy.") if ($urlseen && ! $ftphttp); | |||||
} else { | } else { | ||||
&perror("WARN", $file, -1, "no MASTER_SITES found. is it ok?"); | &perror("WARN", $file, -1, "no MASTER_SITES found. is it ok?"); | ||||
} | } | ||||
# check DISTFILES and related items. | # check DISTFILES and related items. | ||||
$distfiles = $1 if ($tmp =~ /\nDISTFILES[+?]?=[ \t]*([^\n]+)\n/); | $distfiles = $1 if ($tmp =~ /\nDISTFILES[+?]?=[ \t]*([^\n]+)\n/); | ||||
$portname = $makevar{PORTNAME}; | $portname = $makevar{PORTNAME}; | ||||
$portversion = $makevar{PORTVERSION}; | $portversion = $makevar{PORTVERSION}; | ||||
▲ Show 20 Lines • Show All 877 Lines • Show Last 20 Lines |