UDNS is a stub DNS resolver library with ability to perform both synchronous
and asynchronous DNS queries. WWW: http://www.corpit.ru/mjt/udns.html
This commit is contained in:
parent
f54916ba26
commit
cdf7199842
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213566
@ -121,6 +121,7 @@
|
||||
SUBDIR += staticcharge
|
||||
SUBDIR += tinystats
|
||||
SUBDIR += totd
|
||||
SUBDIR += udns
|
||||
SUBDIR += unbound
|
||||
SUBDIR += updatedd
|
||||
SUBDIR += vizone
|
||||
|
70
dns/udns/Makefile
Normal file
70
dns/udns/Makefile
Normal file
@ -0,0 +1,70 @@
|
||||
# New ports collection makefile for: udns
|
||||
# Date created: Sat May 24, 2008
|
||||
# Whom: Martin Matuska <mm@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= udns
|
||||
PORTVERSION= 0.0.9
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://www.corpit.ru/mjt/udns/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
||||
MAINTAINER= mm@FreeBSD.org
|
||||
COMMENT= DNS resolver library with sync and async queries
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
OPTIONS= IPV6 "Enable IPv6 support" on
|
||||
|
||||
ALL_TARGET= staticlib shared
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
CONFIGURE_ENV= CC="${CC}" CFLAGS="${CFLAGS}"
|
||||
|
||||
SHLIB_MAJOR= 0
|
||||
|
||||
MAN1= dnsget.1 rblcheck.1
|
||||
MAN3= udns.3
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !defined(WITHOUT_IPV6)
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-ipv6
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
@cd ${WRKSRC} && ${STRIP_CMD} dnsget_s ex-rdns_s rblcheck_s
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libudns.so.${SHLIB_MAJOR} \
|
||||
${PREFIX}/lib/libudns.so.${SHLIB_MAJOR}
|
||||
${LN} -sf ${PREFIX}/lib/libudns.so.${SHLIB_MAJOR} \
|
||||
${PREFIX}/lib/libudns.so
|
||||
${INSTALL_DATA} ${WRKSRC}/udns.h ${PREFIX}/include/udns.h
|
||||
${INSTALL_DATA} ${WRKSRC}/libudns.a ${PREFIX}/lib/libudns.a
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dnsget_s ${PREFIX}/bin/dnsget
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/rblcheck_s ${PREFIX}/bin/rblcheck
|
||||
.for FILE in ${MAN1}
|
||||
${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man1/${FILE}
|
||||
.endfor
|
||||
.for FILE in ${MAN3}
|
||||
${INSTALL_MAN} ${WRKSRC}/${FILE} ${MANPREFIX}/man/man3/${FILE}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for FILE in COPYING.LGPL NEWS NOTES TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
dns/udns/distinfo
Normal file
3
dns/udns/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (udns_0.0.9.tar.gz) = 78843added6f6b690bc6019ab8ef03c9
|
||||
SHA256 (udns_0.0.9.tar.gz) = cfc5f9b5387f96e48fc9c7aa5ef6511809e6c72c0df0d533cf150016816eaad2
|
||||
SIZE (udns_0.0.9.tar.gz) = 84307
|
4
dns/udns/pkg-descr
Normal file
4
dns/udns/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
UDNS is a stub DNS resolver library with ability to perform both synchronous
|
||||
and asynchronous DNS queries.
|
||||
|
||||
WWW: http://www.corpit.ru/mjt/udns.html
|
6
dns/udns/pkg-plist
Normal file
6
dns/udns/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
include/udns.h
|
||||
lib/libudns.a
|
||||
lib/libudns.so
|
||||
lib/libudns.so.0
|
||||
bin/dnsget
|
||||
bin/rblcheck
|
Loading…
Reference in New Issue
Block a user