ports/51815: [NEW PORT] devel/libdjbdns: Public domain DNS client library

Sergei Kolobov sergei at kolobov.com
Mon May 5 21:30:20 UTC 2003


>Number:         51815
>Category:       ports
>Synopsis:       [NEW PORT] devel/libdjbdns: Public domain DNS client library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 05 14:30:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Apr 13 01:13:44 MSD 2003
>Description:
This port contains a subset of djbdns (net/djbdns) - 
a DNS client library released to the public domain by its author.

The library was packaged by Gerrit Pape. The port contains both static 
and shared versions of the DNS client library.

Author:	D.J. Bernstein
WWW:	http://cr.yp.to/djbdns/dns.html


Tested on:	-STABLE, -CURRENT (i386)

This port is a pre-requisite for upcoming net/ipsvd port 
>How-To-Repeat:
>Fix:

--- libdjbdns.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libdjbdns
#	libdjbdns/Makefile
#	libdjbdns/distinfo
#	libdjbdns/pkg-descr
#	libdjbdns/pkg-plist
#	libdjbdns/files
#	libdjbdns/files/patch-Makefile
#
echo c - libdjbdns
mkdir -p libdjbdns > /dev/null 2>&1
echo x - libdjbdns/Makefile
sed 's/^X//' >libdjbdns/Makefile << 'END-of-libdjbdns/Makefile'
X# New ports collection makefile for:	libdjbdns
X# Date created:		01 Apr 2002
X# Whom:			Sergei Kolobov <sergei at kolobov.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libdjbdns
XPORTVERSION=	1.05
XCATEGORIES=	devel
XMASTER_SITES=	http://smarden.org/pape/djb/manpages/
XDISTNAME=	djbdns-pd-${PORTVERSION}
X
XMAINTAINER=	sergei at kolobov.com
XCOMMENT=	Public domain DNS client library
X
XINSTALLS_SHLIB=	yes
XUSE_GMAKE=	yes
XALL_TARGET=	it
X
XLIBDJBDNS_ROOT?=	${PREFIX}
X
XLIBS=		libdjbdns.a libdjbdns.so.1
XINCLUDES=	alloc.h byte.h case.h dns.h env.h error.h fmt.h \
X		gen_alloc.h gen_allocdefs.h iopause.h ip4.h ndelay.h \
X		open.h openreadclose.h readclose.h scan.h select.h \
X		socket.h str.h stralloc.h tai.h taia.h uint16.h \
X		uint32.h uint64.h
X
Xdo-install:
X	cd ${WRKSRC} && \
X		${INSTALL_DATA} ${LIBS} ${LIBDJBDNS_ROOT}/lib && \
X		${INSTALL_DATA} ${INCLUDES} ${LIBDJBDNS_ROOT}/include
X
X.include <bsd.port.mk>
END-of-libdjbdns/Makefile
echo x - libdjbdns/distinfo
sed 's/^X//' >libdjbdns/distinfo << 'END-of-libdjbdns/distinfo'
XMD5 (djbdns-pd-1.05.tar.gz) = 9ef72439245b125a5111cba4df6ccb8f
END-of-libdjbdns/distinfo
echo x - libdjbdns/pkg-descr
sed 's/^X//' >libdjbdns/pkg-descr << 'END-of-libdjbdns/pkg-descr'
XThis port contains a subset of djbdns (net/djbdns) - 
Xa DNS client library released to the public domain by its author.
X
XThe library was packaged by Gerrit Pape. The port contains both static 
Xand shared versions of the DNS client library.
X
XAuthor:	D.J. Bernstein
XWWW:	http://cr.yp.to/djbdns/dns.html
END-of-libdjbdns/pkg-descr
echo x - libdjbdns/pkg-plist
sed 's/^X//' >libdjbdns/pkg-plist << 'END-of-libdjbdns/pkg-plist'
Xinclude/alloc.h
Xinclude/byte.h
Xinclude/case.h
Xinclude/dns.h
Xinclude/env.h
Xinclude/error.h
Xinclude/fmt.h
Xinclude/gen_alloc.h
Xinclude/gen_allocdefs.h
Xinclude/iopause.h
Xinclude/ip4.h
Xinclude/ndelay.h
Xinclude/open.h
Xinclude/openreadclose.h
Xinclude/readclose.h
Xinclude/scan.h
Xinclude/select.h
Xinclude/socket.h
Xinclude/str.h
Xinclude/stralloc.h
Xinclude/tai.h
Xinclude/taia.h
Xinclude/uint16.h
Xinclude/uint32.h
Xinclude/uint64.h
Xlib/libdjbdns.a
Xlib/libdjbdns.so.1
END-of-libdjbdns/pkg-plist
echo c - libdjbdns/files
mkdir -p libdjbdns/files > /dev/null 2>&1
echo x - libdjbdns/files/patch-Makefile
sed 's/^X//' >libdjbdns/files/patch-Makefile << 'END-of-libdjbdns/files/patch-Makefile'
X--- Makefile.orig	Sat May  3 02:54:00 2003
X+++ Makefile	Sat May  3 02:56:15 2003
X@@ -1,7 +1,3 @@
X-CC=gcc
X-CFLAGS=-O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \
X--Wshadow -Wcast-qual -Wcast-align -Wwrite-strings
X-
X IT=libdjbdns.a libdjbdns.so.1
X SYSDEPS=iopause.h select.h uint32.h uint64.h
X 
END-of-libdjbdns/files/patch-Makefile
exit
--- libdjbdns.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list