BSD Ports

dns/linux-c7-libasyncns 0.8_1 FreeBSD

Library for executing DNS queries (Linux CentOS 7.9.2009)

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL21+
Categories
dns, devel, linux
Package size
21.9 KiB, 99.4 KiB installed

Description

libasyncns is a C library for Linux/Unix for executing name service queries asynchronously. It is an asynchronous wrapper around getaddrinfo(3), getnameinfo(3), res_query(3) and res_search(3) from libc and libresolv.

In contrast to GNU's asynchronous name resolving API getaddrinfo_a(), libasyncns does not make use of UNIX signals for reporting completion of name queries. Instead, the API exports a standard UNIX file descriptor which may be integerated cleanly into custom main loops.

In contrast to asynchronous DNS resolving libraries like libdenise, skadns, adns, libasyncns is just an asynchronous wrapper around the libc's synchronous getaddrinfo() API, which has the advantage of allowing name resolution using techniques like Multicast DNS, LDAP or NIS using standard libc NSS (Name Service Switch) modules. libasyncns is compatible with IPv6 if the underlying libc is.

libasyncns is very tiny, consisting of just one header and one source file. It has no dependencies besides libc.

In the other systems

SystemPortVersion
FreeBSDdns/linux-c7-libasyncns0.8_1
MidnightBSDdns/linux-c7-libasyncns0.8_1
GhostBSDdns/linux-c7-libasyncns0.8_1

Install

Binary package:

pkg install linux-c7-libasyncns

From the ports tree:

cd /usr/ports/dns/linux-c7-libasyncns/ && make install clean

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

RUN_DEPENDS=	linux-c7-libasyncns>0:dns/linux-c7-libasyncns

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.8_10.8_1--0.8_1
FreeBSD:14:quarterly0.8_10.8_1n/a-0.8_1
FreeBSD:15:latest0.8_10.8_1n/a-0.8_1
FreeBSD:15:quarterly0.8_10.8_1n/an/an/a
FreeBSD:16:latest0.8_10.8_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

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

Run dependencies 1

Configuration

Options name: dns_libasyncns

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
linux:c7
Service scripts
none
Conflicts with
linux-c6-libasyncns

Message after installing

===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

CentOS Linux 7 reached end of life (EOL) on June 30, 2024.

Files

distinfo 4
FileSizeSHA256
centos/libasyncns-0.8-7.el7.aarch64.rpm258563b5adf6a127b173e173d4315debf67f318bd998b25ae32724e3ebde2fe740243
centos/libasyncns-0.8-7.el7.i686.rpm2659286006ec7b6b5bc63c4225d98fe3d309d75d5b5f43f75bb81274e379e3f4573f1
centos/libasyncns-0.8-7.el7.x86_64.rpm268161acf01399f6d5ea5f9bbbac18e67e77dc277551a24ad53de06f404205cb51206
centos/libasyncns-0.8-7.el7.src.rpm347143ada6388ee1a4198ca82fe18a0333937d4c9d72715106c46aa2413d5dc27982ab

Commit history 0

No commits in the history this site was built from.