Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
whohas
whohas-0.29.1-update-openbsd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File whohas-0.29.1-update-openbsd.patch of Package whohas
From f939efc127710bb727df84eda67244b56507ed83 Mon Sep 17 00:00:00 2001 From: Paul Wise <pabs3@bonedaddy.net> Date: Fri, 21 Oct 2016 10:25:59 +0800 Subject: [PATCH] Update OpenBSD version number to the latest release (6.0) --- whohas | 2 +- whohas.cf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/whohas b/whohas index fb1fb36..5641966 100755 --- a/whohas +++ b/whohas @@ -58,7 +58,7 @@ our $fedora_min_release = 26 ; our $fedora_max_release = 27 ; our $debian_current_release = "all" ; our $ubuntu_current_release = "all" ; -our $openbsd_release = "5.7" ; +our $openbsd_release = "6.0" ; my @distrosAvailable = qw(arch cygwin debian fedora fink freebsd gentoo macports mandriva netbsd openbsd opensuse slack sourcemage ubuntu); my %distrosSelected; diff --git a/whohas.cf b/whohas.cf index d5b701e..b88dead 100644 --- a/whohas.cf +++ b/whohas.cf @@ -13,7 +13,7 @@ #$fedora_max_release = 27; #$debian_current_release = 'all'; #$ubuntu_current_release = 'all'; -#$openbsd_release = '5.7'; +#$openbsd_release = '6.0'; # # Inclusion of distributions. From fa612f44e968ef4ccdbbb4f8da7633cb6df6853d Mon Sep 17 00:00:00 2001 From: Paul Wise <pabs3@bonedaddy.net> Date: Fri, 21 Oct 2016 10:29:06 +0800 Subject: [PATCH] Update OpenBSD regexes for the new directory listing format --- whohas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/whohas b/whohas index 5641966..0057745 100755 --- a/whohas +++ b/whohas @@ -550,8 +550,8 @@ sub openbsd_newer { my @lines = split /\n/, &fetchdoc($baseurl); my $now = 0; for (my $i = 0; $i < @lines; $i++) { - if ($lines[$i] =~ /^<IMG SRC="\/icons\/compressed\.gif/) { - my @firstParts = split /<A HREF="|\.tgz">|.tgz<\/A> +| +/, $lines[$i]; + if ($lines[$i] =~ /^<IMG SRC="\/icons\/compressed\.gif|\.tgz/i) { + my @firstParts = split /<A HREF="|\.tgz">|.tgz<\/A> +| +/i, $lines[$i]; my $a = @names; ($names[$a],$versions[$a]) = &openbsd_combos($firstParts[2]); push @dates, $firstParts[4];
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor