-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
5,459 additions
and
7,960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.10.10-release | ||
1.10.11-release |
Large diffs are not rendered by default.
Oops, something went wrong.
1,204 changes: 657 additions & 547 deletions
1,204
conf/insideout/autoload_configs/timezones.conf.xml
Large diffs are not rendered by default.
Oops, something went wrong.
2,493 changes: 652 additions & 1,841 deletions
2,493
conf/minimal/autoload_configs/timezones.conf.xml
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
2,493 changes: 652 additions & 1,841 deletions
2,493
conf/testing/autoload_configs/timezones.conf.xml
Large diffs are not rendered by default.
Oops, something went wrong.
2,459 changes: 652 additions & 1,807 deletions
2,459
conf/vanilla/autoload_configs/timezones.conf.xml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,10 @@ | |
|
||
# Must change all of the below together | ||
# For a release, set revision for that tagged release as well and uncomment | ||
AC_INIT([freeswitch], [1.10.10-release], [email protected]) | ||
AC_INIT([freeswitch], [1.10.11-release], [email protected]) | ||
AC_SUBST(SWITCH_VERSION_MAJOR, [1]) | ||
AC_SUBST(SWITCH_VERSION_MINOR, [10]) | ||
AC_SUBST(SWITCH_VERSION_MICRO, [10-release]) | ||
AC_SUBST(SWITCH_VERSION_MICRO, [11-release]) | ||
AC_SUBST(SWITCH_VERSION_REVISION, []) | ||
AC_SUBST(SWITCH_VERSION_REVISION_HUMAN, []) | ||
|
||
|
@@ -716,7 +716,7 @@ PKG_CHECK_MODULES([SPANDSP], [spandsp >= 3.0],[ | |
AC_MSG_ERROR([no usable spandsp; please install spandsp3 devel package or equivalent]) | ||
]) | ||
|
||
PKG_CHECK_MODULES([SOFIA_SIP], [sofia-sip-ua >= 1.13.15],[ | ||
PKG_CHECK_MODULES([SOFIA_SIP], [sofia-sip-ua >= 1.13.17],[ | ||
AM_CONDITIONAL([HAVE_SOFIA_SIP],[true])],[ | ||
AC_MSG_ERROR([no usable sofia-sip; please install sofia-sip-ua devel package or equivalent]) | ||
]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/perl | ||
|
||
use strict; | ||
use warnings; | ||
|
||
my $remote_version = `wget --quiet https://data.iana.org/time-zones/tzdb/version --output-document -` =~ s/\n//r; | ||
my $local_version; | ||
|
||
if ( open my $in, "<data/version" ) { | ||
$local_version = do { local $/; <$in> }; | ||
close $in; | ||
} | ||
|
||
my $up_to_date = defined($local_version) && $local_version eq $remote_version; | ||
|
||
if ( ! $up_to_date ) { | ||
open my $out, ">data/version"; | ||
print $out $remote_version; | ||
close $out; | ||
} | ||
|
||
$local_version = $remote_version; | ||
|
||
`wget --quiet --timestamping --directory-prefix=data https://data.iana.org/time-zones/tzdb-latest.tar.lz`; | ||
`tar --extract --file=data/tzdb-latest.tar.lz --directory=data`; | ||
`make DESTDIR=../ TZDIR=zones-$local_version --directory=data/tzdb-$local_version posix_only`; | ||
|
||
print("Yay. Now you can run\n ./timezone-gen.pl --base=data/zones-$local_version --output=timezones-$local_version.conf.xml") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
tzdb-* | ||
zones-* | ||
version | ||
tzdb-latest.tar.lz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#!/usr/bin/perl | ||
|
||
sub fixTzstr { | ||
# switch_time.c expects POSIX-style TZ rule, but it won't process quoted TZ | ||
# rules that look like this: <-04>4 or <-04>4<-03> | ||
# See https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03 | ||
|
||
# Instead it defaults to UTC for these values. Here we process the quoted | ||
# values and convert them into letters. If the zone name has "GMT", we use | ||
# that as the replacement prefix, otherwise a default "STD" is used. Zones | ||
# that have a quoted suffix have their suffix replaced with "DST". | ||
|
||
my ($tzstr, $name) = @_; | ||
|
||
if ( $tzstr =~ /(<(?<std>[^>]+)>)([^<]+)(?<dst><.+>)?(?<rest>.+)?/ ) { | ||
my ($tzprefix, $tzsuffix, $tzrest, $offset, $offsetprefix) = ("") x 5; | ||
|
||
if ( defined($+{std}) ) { | ||
my $std = $+{std}; | ||
|
||
if ( lc($name) =~ m/gmt/) { | ||
$tzprefix = "GMT"; | ||
} else { | ||
$tzprefix = "STD"; | ||
} | ||
|
||
if ( $std =~ m/\+/ ) { | ||
$offset = sprintf "%d", $std =~ s/\+//r; | ||
$offsetprefix = "-"; | ||
} else { | ||
$offset = sprintf "%d", $std =~ s/\-//r; | ||
} | ||
|
||
my @chars = split(//, $offset); | ||
if ( @chars > 2 ) { | ||
my $hours = $chars[-3]; | ||
if ( defined( $chars[-4] ) ) { | ||
$hours = $chars[-4].$hours; | ||
} | ||
|
||
$offset = $hours.":".$chars[-2].$chars[-1]; | ||
} | ||
|
||
$offset = $offsetprefix.$offset; | ||
} | ||
|
||
if ( defined($+{dst}) ) { | ||
$tzsuffix = "DST"; | ||
} | ||
|
||
if ( defined($+{rest}) ) { | ||
$tzrest = $+{rest}; | ||
} | ||
|
||
return $tzprefix.$offset.$tzsuffix.$tzrest; | ||
} | ||
|
||
return $tzstr; | ||
} | ||
|
||
1; |
Oops, something went wrong.