BSD Ports

dns/p5-AnyEvent-DNS-EtcHosts 0.0105 FreeBSD

Use /etc/hosts before DNS in Perl

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
dns, perl5
Package size
9.5 KiB, 18.1 KiB installed

Description

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.

In the other systems

The newest version among them is 0.0105, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdns/p5-AnyEvent-DNS-EtcHosts0.0105 newestnone known-[email protected]-
DragonFlydns/p5-AnyEvent-DNS-EtcHosts0.0105 newestnone known-[email protected]-
HardenedBSDdns/p5-AnyEvent-DNS-EtcHosts0.0105 newestno data-[email protected]-
GhostBSDdns/p5-AnyEvent-DNS-EtcHosts0.0105 newestno data-[email protected]-

Install

Binary package:

pkg install p5-AnyEvent-DNS-EtcHosts

From the ports tree:

cd /usr/ports/dns/p5-AnyEvent-DNS-EtcHosts/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-AnyEvent-DNS-EtcHosts>0:dns/p5-AnyEvent-DNS-EtcHosts

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.01050.01050.0103_10.01050.0105
FreeBSD:14:quarterly0.01050.0105n/a0.01050.0105
FreeBSD:15:latest0.01050.0105n/a0.01050.0105
FreeBSD:15:quarterly0.01050.0105n/an/an/a
FreeBSD:16:latest0.01050.0105n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/AnyEvent::DNS::EtcHosts.3.gz
  • %%SITE_PERL%%/AnyEvent/DNS/EtcHosts.pm
distinfo 1
FileSizeSHA256
AnyEvent-DNS-EtcHosts-0.0105.tar.gz20680b0f1ae860a0c9b1f8c0c795f33c00099253e6b697f8f37ffd7f356276c03ba48
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.