aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-05-18 14:29:14 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2015-05-18 14:29:14 +0300
commitd3b66f2187296695b948ef7764b76ff8f064ce4f (patch)
tree533a1cc7ca51f181937c9397299a672ec7690f91
parentecceacf34405f289a3ef832d1f6cbfea79b84f8d (diff)
downloaddnstools-d3b66f2187296695b948ef7764b76ff8f064ce4f.tar.gz
dnstools-d3b66f2187296695b948ef7764b76ff8f064ce4f.tar.bz2
Minor changes.
* Make.rules: New rules for Makefile and install. * dnsdbck/dnsdbck: Minor change
-rw-r--r--Make.rules7
-rwxr-xr-xdnsdbck/dnsdbck2
2 files changed, 8 insertions, 1 deletions
diff --git a/Make.rules b/Make.rules
index 55cc271..407f51b 100644
--- a/Make.rules
+++ b/Make.rules
@@ -21,3 +21,10 @@ publish:
echo $(GNUPLOAD) $$s; \
$(GNUPLOAD) $$s; \
fi
+
+Makefile: Makefile.PL
+ perl Makefile.PL
+
+install: Makefile
+ make -f Makefile install
+ \ No newline at end of file
diff --git a/dnsdbck/dnsdbck b/dnsdbck/dnsdbck
index 9e7ae70..16fb4c4 100755
--- a/dnsdbck/dnsdbck
+++ b/dnsdbck/dnsdbck
@@ -550,7 +550,7 @@ while (my ($key, $value) = each(%reverse_zone)) {
.$row{'data'}
.": no SOA for $dir in the database";
- my ($name,$aliases,$addrtype,$length,@addrs)
+ my (undef,undef,undef,undef,@addrs)
= gethostbyname($row{'data'});
foreach my $addr (@addrs) {
my @oct = split(/\./, inet_ntoa($addr));

Return to:

Send suggestions and report system problems to the System administrator.