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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| FreeBSD | dns/p5-AnyEvent-DNS-EtcHosts | 0.0105 newest | none known | - | [email protected] | - |
| DragonFly | dns/p5-AnyEvent-DNS-EtcHosts | 0.0105 newest | none known | - | [email protected] | - |
| HardenedBSD | dns/p5-AnyEvent-DNS-EtcHosts | 0.0105 newest | no data | - | [email protected] | - |
| GhostBSD | dns/p5-AnyEvent-DNS-EtcHosts | 0.0105 newest | no 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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.0105 | 0.0105 | 0.0103_1 | 0.0105 | 0.0105 |
| FreeBSD:14:quarterly | 0.0105 | 0.0105 | n/a | 0.0105 | 0.0105 |
| FreeBSD:15:latest | 0.0105 | 0.0105 | n/a | 0.0105 | 0.0105 |
| FreeBSD:15:quarterly | 0.0105 | 0.0105 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.0105 | 0.0105 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
p5-AnyEvent>=7: devel/p5-AnyEvent
Runtime 1
p5-AnyEvent>=7: devel/p5-AnyEvent
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
| File | Size | SHA256 |
|---|---|---|
| AnyEvent-DNS-EtcHosts-0.0105.tar.gz | 20680 | b0f1ae860a0c9b1f8c0c795f33c00099253e6b697f8f37ffd7f356276c03ba48 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.