svn commit: r380899 - in head/dns: . p5-AnyEvent-DNS-EtcHosts
Vanilla I. Shu
vanilla at FreeBSD.org
Tue Mar 10 06:39:36 UTC 2015
Author: vanilla
Date: Tue Mar 10 06:39:34 2015
New Revision: 380899
URL: https://svnweb.freebsd.org/changeset/ports/380899
QAT: https://qat.redports.org/buildarchive/r380899/
Log:
Add p5-AnyEvent-DNS-EtcHosts 0.0103, anyEvent::DNS::EtcHosts - Use
/etc/hosts before DNS.
PR: 198308
Submitted by: Geoffroy Desvernay <dgeo at centrale-marseille.fr>
Added:
head/dns/p5-AnyEvent-DNS-EtcHosts/
head/dns/p5-AnyEvent-DNS-EtcHosts/Makefile (contents, props changed)
head/dns/p5-AnyEvent-DNS-EtcHosts/distinfo (contents, props changed)
head/dns/p5-AnyEvent-DNS-EtcHosts/pkg-descr (contents, props changed)
head/dns/p5-AnyEvent-DNS-EtcHosts/pkg-plist (contents, props changed)
Modified:
head/dns/Makefile
Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile Tue Mar 10 06:24:40 2015 (r380898)
+++ head/dns/Makefile Tue Mar 10 06:39:34 2015 (r380899)
@@ -96,6 +96,7 @@
SUBDIR += opendnssec
SUBDIR += opendnssec13
SUBDIR += openresolv
+ SUBDIR += p5-AnyEvent-DNS-EtcHosts
SUBDIR += p5-BIND-Conf_Parser
SUBDIR += p5-BIND-Config-Parser
SUBDIR += p5-DNS-Config
Added: head/dns/p5-AnyEvent-DNS-EtcHosts/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/p5-AnyEvent-DNS-EtcHosts/Makefile Tue Mar 10 06:39:34 2015 (r380899)
@@ -0,0 +1,20 @@
+# Created by: Geoffroy Desvernay <dgeo at centrale-marseille.fr>
+# $FreeBSD$
+
+PORTNAME= AnyEvent-DNS-EtcHosts
+PORTVERSION= 0.0103
+CATEGORIES= dns perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:DEXTER
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= dgeo at centrale-marseille.fr
+COMMENT= AnyEvent::DNS::EtcHosts - Use /etc/hosts before DNS
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
Added: head/dns/p5-AnyEvent-DNS-EtcHosts/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/p5-AnyEvent-DNS-EtcHosts/distinfo Tue Mar 10 06:39:34 2015 (r380899)
@@ -0,0 +1,2 @@
+SHA256 (AnyEvent-DNS-EtcHosts-0.0103.tar.gz) = 430a8572d811de03c2733249866cebc2045e9843f1b705ff47bb0c6d1080af5d
+SIZE (AnyEvent-DNS-EtcHosts-0.0103.tar.gz) = 21290
Added: head/dns/p5-AnyEvent-DNS-EtcHosts/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/p5-AnyEvent-DNS-EtcHosts/pkg-descr Tue Mar 10 06:39:34 2015 (r380899)
@@ -0,0 +1,15 @@
+AnyEvent::DNS::EtcHosts AnyEvent::DNS behavior to use /etc/hosts
+
+The DNS lookups are emulated. This resolver returns the standard DNS reply based
+ on /etc/hosts file rather than real DNS.
+You can choose different file by changing PERL_ANYEVENT_HOSTS
+environment variable.
+This module also disables original AnyEvent::Socket's helper function
+which reads /etc/hosts file after DNS entry was not found.
+It prevents to read this file twice.
+The AnyEvent::Socket resolver searches IPv4 and IPv6 addresses separately.
+If you don't want to check the addresses in DNS, both IPv4 and IPv6 addresses
+should be placed in /etc/hosts or the protocol family should be set explicitly
+for resolve_sockaddr function.
+
+WWW: https://metacpan.org/pod/URL::Encode
Added: head/dns/p5-AnyEvent-DNS-EtcHosts/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/p5-AnyEvent-DNS-EtcHosts/pkg-plist Tue Mar 10 06:39:34 2015 (r380899)
@@ -0,0 +1,2 @@
+%%PERL5_MAN3%%/AnyEvent::DNS::EtcHosts.3.gz
+%%SITE_PERL%%/AnyEvent/DNS/EtcHosts.pm
More information about the svn-ports-head
mailing list