]> git.sur5r.net Git - bacula/docs/blobdiff - docs/tools/sf2bacula_downloads.pl
Fix missing control char in TLS doc
[bacula/docs] / docs / tools / sf2bacula_downloads.pl
index 0539f41da0d67ea5d4b7aa4da03da4e00f920cdf..72d7bdd9d334c7c2c0f493178c516fffe0cd7066 100755 (executable)
@@ -24,11 +24,11 @@ You can also use a previous output
 =cut
 
 #             bacula|depkgs | depkgs-qt
-my $version = '5.0.0';
+my $version = '5.0.1';
 if ($ARGV[0] and $ARGV[0] =~ /^[\d\.]+$/) {
     $version = shift(@ARGV);
 }
-my $depkgs_version  = '18Dec09|28Jul09';
+my $depkgs_version  = '18Dec09|28Jul09|15May10';
 
 my $base = "http://bacula.git.sourceforge.net/git/gitweb.cgi?p=bacula/bacula;a=blob_plain;hb=Release-$version;f=bacula";
 my $notes = "$base/ReleaseNotes";
@@ -50,7 +50,7 @@ open(FP, $file);
 while (my $l = <FP>)
 {
     #                                         cat   vers  file
-    if ($l =~ m!href="(/projects/bacula/files/([^/]+)/([^/]+)/([^/]+)/download)"!) {
+    if ($l =~ m!href="(?:http://sourceforge.net)(/projects/bacula/files/([^/]+)/([^/]+)/([^/]+)/download)"!) {
         print STDERR "$4\n";
         $cur = {
             dl  => $1,