From cba67e104639a0fdc50f2be8d0c6a6ce87b29404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ask=20Bj=C3=B8rn=20Hansen?= Date: Thu, 4 Oct 2007 03:45:59 -0700 Subject: [PATCH] bump version to 1.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add MANIFEST Don't have uninitialized values when the checkout isn't from svn Signed-off-by: Ask Bjørn Hansen --- Changes | 6 ++++++ MANIFEST | 43 +++++++++++++++++++++++++++++++++++++++++++ lib/GeoDNS.pm | 6 +++++- 3 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 MANIFEST diff --git a/Changes b/Changes index 190c54e..7585580 100644 --- a/Changes +++ b/Changes @@ -1,11 +1,17 @@ +1.10 - October 4, 2007 + - Make the HeadURL and Revision be updated via SVN - read .json data files (to bulk save/load configuration) + - make ttl values configurable per label - support __END__ to stop reading a configuration file - max_hosts configuration (should probably be renamed?) - Fix bug that disallowed setting default serial/ttl/primary_ns variables - remove local copy of Net::DNS::Nameserver - make not existing domain properly return SERVFAIL + - fix bug causing a crash when reloading the configuration + - much much more + r347 - - see SVN history for history prior to this. :-) diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..2cdf1cd --- /dev/null +++ b/MANIFEST @@ -0,0 +1,43 @@ +Changes +config/base.sample +config/cpan.sample +CREDITS +Documentation/rfcs/README +Documentation/rfcs/rfc1034.txt +Documentation/rfcs/rfc1035.txt +Documentation/rfcs/rfc2052.txt +Documentation/rfcs/rfc2181.txt +Documentation/rfcs/rfc3492.txt +Documentation/rfcs/rfc3596.txt +lib/Countries.pm +lib/GeoDNS.pm +LICENSE +Makefile.PL +MANIFEST +pgeodns.conf +pgeodns.pl +sync_config.sh +t/countries.t +t/default_serial.t +t/example.com.json +t/find_base.conf +t/find_base.t +t/get_ns_records.conf +t/get_ns_records.t +t/get_soa_record.t +t/json_config.conf +t/json_config.t +t/pick_groups.conf +t/pick_groups.t +t/pick_hosts.t +t/pod.t +t/pod_coverage.t +t/read_config.conf +t/read_config.t +t/recursive_include.conf +t/recursive_include.t +t/replies.conf +t/replies_weight.t +t/reply_01.t +t/reply_cname.t +t/version.t diff --git a/lib/GeoDNS.pm b/lib/GeoDNS.pm index 334cdfc..28a6f20 100644 --- a/lib/GeoDNS.pm +++ b/lib/GeoDNS.pm @@ -9,11 +9,15 @@ use Carp qw(cluck confess); use JSON qw(); use Data::Dumper; -our $VERSION = '1.1'; +our $VERSION = '1.10'; our $REVISION = ('$Rev$' =~ m/(\d+)/x)[0]; my $HeadURL = ('$HeadURL$' =~ m!(?:https?:/?)?(/[^/]+.*)(?:/lib.*)!x)[0]; +# For the benefit of non-SVN checkouts +$REVISION ||= ''; +$HeadURL ||= ''; + my $gi = Geo::IP->new(GEOIP_STANDARD); sub new {