Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 18:33:03 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368584 - in head/www/jdresolve: . files
Message-ID:  <201409191833.s8JIX3KD069680@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri Sep 19 18:33:02 2014
New Revision: 368584
URL: http://svnweb.freebsd.org/changeset/ports/368584
QAT: https://qat.redports.org/buildarchive/r368584/

Log:
  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)

Added:
  head/www/jdresolve/files/
  head/www/jdresolve/files/patch-jdresolve   (contents, props changed)
Modified:
  head/www/jdresolve/Makefile
  head/www/jdresolve/pkg-descr

Modified: head/www/jdresolve/Makefile
==============================================================================
--- head/www/jdresolve/Makefile	Fri Sep 19 18:09:47 2014	(r368583)
+++ head/www/jdresolve/Makefile	Fri Sep 19 18:33:02 2014	(r368584)
@@ -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
 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
 

Added: head/www/jdresolve/files/patch-jdresolve
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/jdresolve/files/patch-jdresolve	Fri Sep 19 18:33:02 2014	(r368584)
@@ -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;

Modified: head/www/jdresolve/pkg-descr
==============================================================================
--- head/www/jdresolve/pkg-descr	Fri Sep 19 18:09:47 2014	(r368583)
+++ head/www/jdresolve/pkg-descr	Fri Sep 19 18:33:02 2014	(r368584)
@@ -13,4 +13,4 @@ Included is a tiny shell script called r
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409191833.s8JIX3KD069680>