17Jun10=======================================================================
-1. Add ip address to dxspots and default to PC61 output to dxspider nodes
+1. Add ip address to dxspots and default to PC61 output to dxspider nodes.
+2. Allow 4 letter callsign portions again.
16Jun10=======================================================================
1. Increase default ephemeral dupe time for PC41 and such like lines.
2. Include CTY-2004 updates.
my @out;
my ($year) = (gmtime($main::systime))[5];
$year += 1900;
-push @out, "DX Spider Cluster version $main::version (build $main::subversion.$main::build) on \u$^O";
+push @out, "DX Spider Cluster version $main::version (build $main::subversion.$main::build git: $main::gitversion) on \u$^O";
push @out, "Copyright (c) 1998-$year Dirk Koopman G1TLH";
return (1, @out);
sub pc18
{
my $flags = shift;
- return "PC18^DXSpider Version: $main::version Build: $main::subversion.$main::build$flags^$DXProt::myprot_version^";
+ return "PC18^DXSpider Version: $main::version Build: $main::subversion.$main::build Git: $main::gitversion$flags^$DXProt::myprot_version^";
}
#
{
return $_[0] =~ m!^(?:[A-Z]{1,2}\d+ | \d[A-Z]{1,2}\d+) # basic prefix
(?:/(?:[A-Z]{1,2}\d+ | \d[A-Z]{1,2}\d+))? # / another one (possibly)
- [A-Z]{1,3} # callsign letters
+ [A-Z]{1,4} # callsign letters
(?:/(?:[A-Z]{1,2}\d+ | \d[A-Z]{1,2}\d+))? # / another prefix possibly
(?:/[0-9A-Z]{1,2})? # /0-9A-Z+ possibly
(?:-\d{1,2})? # - nn possibly
package main;
-use vars qw($version $subversion $build);
+use vars qw($version $subversion $build $gitversion);
$version = '1.55';
$subversion = '0';
-$build = '70';
+$build = '71';
+$gitversion = 'cd5b993';
1;
$l->close_server;
}
- LogDbg('cluster', "DXSpider V$version, build $subversion.$build ended");
+ LogDbg('cluster', "DXSpider V$version, build $subversion.$build (git: $gitversion) ended");
dbgclose();
Logclose();
# banner
my ($year) = (gmtime)[5];
$year += 1900;
-LogDbg('cluster', "DXSpider V$version, build $subversion.$build started");
+LogDbg('cluster', "DXSpider V$version, build $subversion.$build (git: $gitversion) started");
dbg("Copyright (c) 1998-$year Dirk Koopman G1TLH");
# load Prefixes
use vars qw($root);
my $fn = "$root/perl/Version.pm";
my $desc = `git describe --long`;
-my ($v, $s, $b) = $desc =~ /^([\d.]+)(?:\.(\d+))?-(\d+)-/;
+my ($v, $s, $b, $g) = $desc =~ /^([\d.]+)(?:\.(\d+))?-(\d+)-g([0-9a-f]+)/;
$s ||= '0'; # account for missing subversion
$b++; # to account for the commit that is about to happen
package main;
-use vars qw(\$version \$subversion \$build);
+use vars qw(\$version \$subversion \$build \$gitversion);
\$version = '$v';
\$subversion = '$s';
\$build = '$b';
+\$gitversion = '$g';
1;
);