mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Add skadns 0.23:
Skadns is a kind of an Asynchronous DNS client software: - Kind of: it's small. Really small. But it just works. - Asynchronous: all DNS operations are non-blocking. - DNS client software: it's a DNS client, what you may know as a "stub resolver". To perform full DNS resolution, you will still need a full resolver like dnscache. The skadns library offers a simple API to make asynchronous DNS queries. The skadnsip, skadnsmx and skadnsfilter commands are examples of how to use that API. They are mainly there for their source code. The skadnsd daemon, usable as a child process or as a separate service, handles the grunt work of DNS querying and makes the network completely invisible to the client. Author: Laurent G. Bercot <ska-skaware@skarnet.org> WWW: http://www.skarnet.org/software/skadns/
This commit is contained in:
parent
fa70f9fe6e
commit
0702007805
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97051
@ -57,6 +57,7 @@
|
||||
SUBDIR += py-adns
|
||||
SUBDIR += py-dns
|
||||
SUBDIR += rbldnsd
|
||||
SUBDIR += skadns
|
||||
SUBDIR += sleuth
|
||||
SUBDIR += staticcharge
|
||||
SUBDIR += totd
|
||||
|
53
dns/skadns/Makefile
Normal file
53
dns/skadns/Makefile
Normal file
@ -0,0 +1,53 @@
|
||||
# New ports collection makefile for: skadns
|
||||
# Date created: 2004-01-01
|
||||
# Whom: Sergei Kolobov <sergei@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= skadns
|
||||
PORTVERSION= 0.23
|
||||
CATEGORIES= dns devel
|
||||
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
|
||||
|
||||
MAINTAINER= sergei@FreeBSD.org
|
||||
COMMENT= Asynchronous DNS client software and library
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/lib/skalibs/libstddjb.a:${PORTSDIR}/devel/skalibs
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
LDFLAGS?= -s
|
||||
|
||||
WRKSRC= ${WRKDIR}/web/${DISTNAME}
|
||||
|
||||
DOCS= package/CHANGES package/README package/THANKS package/TODO \
|
||||
doc/*.html
|
||||
|
||||
do-configure:
|
||||
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/sys/conf-cc
|
||||
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/src/sys/conf-ld
|
||||
${ECHO_CMD} "FreeBSD" > ${WRKSRC}/src/sys/systype
|
||||
${ECHO_CMD} "${LOCALBASE}/include/skalibs" > ${WRKSRC}/package/import
|
||||
${ECHO_CMD} "${LOCALBASE}/lib/skalibs" >> ${WRKSRC}/package/import
|
||||
${REINPLACE_CMD} -e 's,/service/skadnsd/.,/var/run/,' \
|
||||
-e 's,/package/web/skadns/command,${PREFIX}/bin,' \
|
||||
${WRKSRC}/src/skadns/skadns.h
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && package/compile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/command/* ${PREFIX}/bin
|
||||
@${MKDIR} ${PREFIX}/include/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/library/* ${PREFIX}/lib
|
||||
@${MKDIR} ${EXAMPLESDIR}/service
|
||||
cd ${WRKSRC}/service/skadnsd && ${TAR} cf - * | \
|
||||
(cd ${EXAMPLESDIR}/service && ${TAR} xf -)
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
dns/skadns/distinfo
Normal file
1
dns/skadns/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (skadns-0.23.tar.gz) = 68c018d2e9b7a5b16695643ea1a899f0
|
16
dns/skadns/pkg-descr
Normal file
16
dns/skadns/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
Skadns is a kind of an Asynchronous DNS client software:
|
||||
- Kind of: it's small. Really small. But it just works.
|
||||
- Asynchronous: all DNS operations are non-blocking.
|
||||
- DNS client software: it's a DNS client, what you may know
|
||||
as a "stub resolver". To perform full DNS resolution,
|
||||
you will still need a full resolver like dnscache.
|
||||
|
||||
The skadns library offers a simple API to make asynchronous DNS queries.
|
||||
The skadnsip, skadnsmx and skadnsfilter commands are examples
|
||||
of how to use that API. They are mainly there for their source code.
|
||||
The skadnsd daemon, usable as a child process or as a separate service,
|
||||
handles the grunt work of DNS querying and makes the network
|
||||
completely invisible to the client.
|
||||
|
||||
Author: Laurent G. Bercot <ska-skaware@skarnet.org>
|
||||
WWW: http://www.skarnet.org/software/skadns/
|
27
dns/skadns/pkg-plist
Normal file
27
dns/skadns/pkg-plist
Normal file
@ -0,0 +1,27 @@
|
||||
@comment $FreeBSD$
|
||||
bin/skadnsd
|
||||
bin/skadnsfilter
|
||||
bin/skadnsip
|
||||
bin/skadnsmx
|
||||
include/skadns/skadns.h
|
||||
lib/libskadns.a
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/THANKS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/install.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/libskadns.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/skadnsd.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/skadnsfilter.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/skadnsip.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/skadnsmx.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/upgrade.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%EXAMPLESDIR%%/service/log/run.exl
|
||||
%%EXAMPLESDIR%%/service/log/run.sh
|
||||
%%EXAMPLESDIR%%/service/run.exl
|
||||
%%EXAMPLESDIR%%/service/run.sh
|
||||
@dirrm %%EXAMPLESDIR%%/service/log
|
||||
@dirrm %%EXAMPLESDIR%%/service
|
||||
@dirrm %%EXAMPLESDIR%%
|
Loading…
Reference in New Issue
Block a user