mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
www/jdresolve: fix use of p5-Net-DNS in jdresolve
PR: 192500 Submitted by: Dave Stoddard <dgs@accelix.net> Approved by: christophe@labouisse.org (maintainer timeout)
This commit is contained in:
parent
c0b3131828
commit
21640b16a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368584
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= jdresolve
|
||||
PORTVERSION= 0.6.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://www.jdrowell.com/projects/jdresolve/
|
||||
PATCH_SITES= ${MASTER_SITES}
|
||||
@ -15,8 +15,9 @@ COMMENT= IP addresse to hostname program for httpd log files
|
||||
BUILD_DEPENDS= p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
NO_BUILD= yes
|
||||
SHEBANG_FILES= jdresolve
|
||||
|
||||
DOC1= AUTHORS BUGS CHANGELOG COPYING CREDITS INSTALL README TODO
|
||||
|
||||
|
11
www/jdresolve/files/patch-jdresolve
Normal file
11
www/jdresolve/files/patch-jdresolve
Normal file
@ -0,0 +1,11 @@
|
||||
--- jdresolve.orig 2014-09-04 21:09:39 UTC
|
||||
+++ jdresolve
|
||||
@@ -857,7 +857,7 @@
|
||||
# For each DNS answer, check the data received
|
||||
if ($type eq 'H') {
|
||||
if (defined $_->{ptrdname}) {
|
||||
- $hosts{$query}{NAME} = $_->{ptrdname};
|
||||
+ $hosts{$query}{NAME} = join(".",@{$_->{ptrdname}->{label}});
|
||||
$hosts{$query}{RESOLVED} = 'N';
|
||||
|
||||
$resolved = 1;
|
@ -13,4 +13,4 @@ Included is a tiny shell script called rhost to interface with
|
||||
jdresolve when resolving a single IP address. Think of it as a smart
|
||||
replacement for the 'host' utility that comes with bind-utils.
|
||||
|
||||
WWW: http://www.jdrowell.com/archives/projects/jdresolve/index.html
|
||||
WWW: https://github.com/jdrowell/jdresolve
|
||||
|
Loading…
Reference in New Issue
Block a user