diff options
author | petef <petef@FreeBSD.org> | 2003-05-12 09:19:08 +0800 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2003-05-12 09:19:08 +0800 |
commit | 60af0339533d5533633cd208a112218dcbadd3c1 (patch) | |
tree | 298a8494468ce72ccc592279b01fc90c3aa7c45a /dns/libdjbdns | |
parent | 97ac85e594932b0ed18e72f9e51b8dc46b90c967 (diff) | |
download | freebsd-ports-gnome-60af0339533d5533633cd208a112218dcbadd3c1.tar.gz freebsd-ports-gnome-60af0339533d5533633cd208a112218dcbadd3c1.tar.zst freebsd-ports-gnome-60af0339533d5533633cd208a112218dcbadd3c1.zip |
Add libdjbdns 1.05, public domain DNS client library.
PR: 51815
Submitted by: Sergei Kolobov <sergei@kolobov.com>
Diffstat (limited to 'dns/libdjbdns')
-rw-r--r-- | dns/libdjbdns/Makefile | 34 | ||||
-rw-r--r-- | dns/libdjbdns/distinfo | 1 | ||||
-rw-r--r-- | dns/libdjbdns/files/patch-Makefile | 10 | ||||
-rw-r--r-- | dns/libdjbdns/pkg-descr | 8 | ||||
-rw-r--r-- | dns/libdjbdns/pkg-plist | 28 |
5 files changed, 81 insertions, 0 deletions
diff --git a/dns/libdjbdns/Makefile b/dns/libdjbdns/Makefile new file mode 100644 index 000000000000..232272f193a6 --- /dev/null +++ b/dns/libdjbdns/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: libdjbdns +# Date created: 01 Apr 2002 +# Whom: Sergei Kolobov <sergei@kolobov.com> +# +# $FreeBSD$ +# + +PORTNAME= libdjbdns +PORTVERSION= 1.05 +CATEGORIES= devel +MASTER_SITES= http://smarden.org/pape/djb/manpages/ +DISTNAME= djbdns-pd-${PORTVERSION} + +MAINTAINER= sergei@kolobov.com +COMMENT= Public domain DNS client library + +INSTALLS_SHLIB= yes +USE_GMAKE= yes +ALL_TARGET= it + +LIBS= libdjbdns.a libdjbdns.so.1 +INCLUDES= alloc.h byte.h case.h dns.h env.h error.h fmt.h \ + gen_alloc.h gen_allocdefs.h iopause.h ip4.h ndelay.h \ + open.h openreadclose.h readclose.h scan.h select.h \ + socket.h str.h stralloc.h tai.h taia.h uint16.h \ + uint32.h uint64.h + +do-install: + @${MKDIR} ${PREFIX}/include/libdjbdns + cd ${WRKSRC} && \ + ${INSTALL_DATA} ${LIBS} ${PREFIX}/lib && \ + ${INSTALL_DATA} ${INCLUDES} ${PREFIX}/include/libdjbdns + +.include <bsd.port.mk> diff --git a/dns/libdjbdns/distinfo b/dns/libdjbdns/distinfo new file mode 100644 index 000000000000..ff69b5e26fa6 --- /dev/null +++ b/dns/libdjbdns/distinfo @@ -0,0 +1 @@ +MD5 (djbdns-pd-1.05.tar.gz) = 9ef72439245b125a5111cba4df6ccb8f diff --git a/dns/libdjbdns/files/patch-Makefile b/dns/libdjbdns/files/patch-Makefile new file mode 100644 index 000000000000..14cb11becd98 --- /dev/null +++ b/dns/libdjbdns/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig Sat May 3 02:54:00 2003 ++++ Makefile Sat May 3 02:56:15 2003 +@@ -1,7 +1,3 @@ +-CC=gcc +-CFLAGS=-O2 -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized \ +--Wshadow -Wcast-qual -Wcast-align -Wwrite-strings +- + IT=libdjbdns.a libdjbdns.so.1 + SYSDEPS=iopause.h select.h uint32.h uint64.h + diff --git a/dns/libdjbdns/pkg-descr b/dns/libdjbdns/pkg-descr new file mode 100644 index 000000000000..203c68cee636 --- /dev/null +++ b/dns/libdjbdns/pkg-descr @@ -0,0 +1,8 @@ +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 diff --git a/dns/libdjbdns/pkg-plist b/dns/libdjbdns/pkg-plist new file mode 100644 index 000000000000..9b157872f6cc --- /dev/null +++ b/dns/libdjbdns/pkg-plist @@ -0,0 +1,28 @@ +include/libdjbdns/alloc.h +include/libdjbdns/byte.h +include/libdjbdns/case.h +include/libdjbdns/dns.h +include/libdjbdns/env.h +include/libdjbdns/error.h +include/libdjbdns/fmt.h +include/libdjbdns/gen_alloc.h +include/libdjbdns/gen_allocdefs.h +include/libdjbdns/iopause.h +include/libdjbdns/ip4.h +include/libdjbdns/ndelay.h +include/libdjbdns/open.h +include/libdjbdns/openreadclose.h +include/libdjbdns/readclose.h +include/libdjbdns/scan.h +include/libdjbdns/select.h +include/libdjbdns/socket.h +include/libdjbdns/str.h +include/libdjbdns/stralloc.h +include/libdjbdns/tai.h +include/libdjbdns/taia.h +include/libdjbdns/uint16.h +include/libdjbdns/uint32.h +include/libdjbdns/uint64.h +lib/libdjbdns.a +lib/libdjbdns.so.1 +@dirrm include/libdjbdns |