Page MenuHomeFreeBSD

D8462.diff
No OneTemporary

D8462.diff

Index: ports-mgmt/portlint/src/portlint.pl
===================================================================
--- ports-mgmt/portlint/src/portlint.pl
+++ ports-mgmt/portlint/src/portlint.pl
@@ -491,14 +491,14 @@
"other local characters. files should be in ".
"plain 7-bit ASCII");
}
- if ($file =~ /\bpkg-descr/ && $tmp =~ m,http://,) {
+ 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($_ =~ "http://", split(/\n+/, $tmp))) {
+ foreach my $line (grep($_ =~ "https?://", split(/\n+/, $tmp))) {
$has_url = 1;
- if ($line =~ m,WWW:[ \t]+http://,) {
+ if ($line =~ m,WWW:[ \t]+https?://,) {
$has_www = 1;
if ($line =~ m,search.cpan.org,) {
$cpan_url = 1;

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 24, 7:29 PM (6 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35451272
Default Alt Text
D8462.diff (807 B)

Event Timeline