mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Add p5-AnyEvent-DNS-EtcHosts 0.0103, anyEvent::DNS::EtcHosts - Use
/etc/hosts before DNS. PR: 198308 Submitted by: Geoffroy Desvernay <dgeo@centrale-marseille.fr>
This commit is contained in:
parent
1b67c2cdec
commit
cfea6c4475
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380899
@ -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
|
||||
|
20
dns/p5-AnyEvent-DNS-EtcHosts/Makefile
Normal file
20
dns/p5-AnyEvent-DNS-EtcHosts/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# Created by: Geoffroy Desvernay <dgeo@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@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>
|
2
dns/p5-AnyEvent-DNS-EtcHosts/distinfo
Normal file
2
dns/p5-AnyEvent-DNS-EtcHosts/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (AnyEvent-DNS-EtcHosts-0.0103.tar.gz) = 430a8572d811de03c2733249866cebc2045e9843f1b705ff47bb0c6d1080af5d
|
||||
SIZE (AnyEvent-DNS-EtcHosts-0.0103.tar.gz) = 21290
|
15
dns/p5-AnyEvent-DNS-EtcHosts/pkg-descr
Normal file
15
dns/p5-AnyEvent-DNS-EtcHosts/pkg-descr
Normal file
@ -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
|
2
dns/p5-AnyEvent-DNS-EtcHosts/pkg-plist
Normal file
2
dns/p5-AnyEvent-DNS-EtcHosts/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
%%PERL5_MAN3%%/AnyEvent::DNS::EtcHosts.3.gz
|
||||
%%SITE_PERL%%/AnyEvent/DNS/EtcHosts.pm
|
Loading…
Reference in New Issue
Block a user