packages: perl-Net-DNS/perl-Net-DNS-ignore-resolv_conf-open-errors.patch, p...
zbyniu
zbyniu at pld-linux.org
Sun Jan 22 22:20:33 CET 2012
Author: zbyniu Date: Sun Jan 22 21:20:33 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.67
---- Files affected:
packages/perl-Net-DNS:
perl-Net-DNS-ignore-resolv_conf-open-errors.patch (1.1 -> 1.2) , perl-Net-DNS.spec (1.95 -> 1.96)
---- Diffs:
================================================================
Index: packages/perl-Net-DNS/perl-Net-DNS-ignore-resolv_conf-open-errors.patch
diff -u packages/perl-Net-DNS/perl-Net-DNS-ignore-resolv_conf-open-errors.patch:1.1 packages/perl-Net-DNS/perl-Net-DNS-ignore-resolv_conf-open-errors.patch:1.2
--- packages/perl-Net-DNS/perl-Net-DNS-ignore-resolv_conf-open-errors.patch:1.1 Sun Jan 3 22:59:00 2010
+++ packages/perl-Net-DNS/perl-Net-DNS-ignore-resolv_conf-open-errors.patch Sun Jan 22 22:20:27 2012
@@ -3,9 +3,9 @@
@@ -21,7 +21,17 @@
sub init {
my ($class) = @_;
-
+
+ eval {
- $class->read_config_file($resolv_conf) if -f $resolv_conf && -r _;
+ $class->read_config_file($resolv_conf) if -f $resolv_conf && -r _;
+ };
+ if ( $@ ) {
+ if ( $@ =~ /^Could not open / ) {
@@ -15,6 +15,6 @@
+ die $@;
+ }
+ }
-
+
foreach my $dir (@config_path) {
my $file = "$dir/$dotfile";
================================================================
Index: packages/perl-Net-DNS/perl-Net-DNS.spec
diff -u packages/perl-Net-DNS/perl-Net-DNS.spec:1.95 packages/perl-Net-DNS/perl-Net-DNS.spec:1.96
--- packages/perl-Net-DNS/perl-Net-DNS.spec:1.95 Tue Oct 4 15:25:44 2011
+++ packages/perl-Net-DNS/perl-Net-DNS.spec Sun Jan 22 22:20:27 2012
@@ -10,13 +10,13 @@
Summary: Net::DNS - Perl interface to the DNS resolver
Summary(pl.UTF-8): Net::DNS - interfejs perlowy do resolvera DNS
Name: perl-Net-DNS
-Version: 0.66
-Release: 3
+Version: 0.67
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://search.cpan.org/CPAN/authors/id/O/OL/OLAF/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 1635d876324e3c2f6e277d5778bfe94c
+# Source0-md5: 8caf473b6f74cae38ee18c162041a5db
Patch0: %{name}-ignore-resolv_conf-open-errors.patch
URL: http://search.cpan.org/dist/Net-DNS/
BuildRequires: perl-devel >= 1:5.8.0
@@ -107,6 +107,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.96 2012/01/22 21:20:27 zbyniu
+- up to 0.67
+
Revision 1.95 2011/10/04 13:25:44 lisu
- rel 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Net-DNS/perl-Net-DNS-ignore-resolv_conf-open-errors.patch?r1=1.1&r2=1.2&f=u
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Net-DNS/perl-Net-DNS.spec?r1=1.95&r2=1.96&f=u
More information about the pld-cvs-commit
mailing list