diff options
author | obache <obache@pkgsrc.org> | 2010-04-15 12:57:49 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-04-15 12:57:49 +0000 |
commit | 1da8621acfc2c5d781e09507fa0de2e552129401 (patch) | |
tree | d4000fc657e0aea21f22214afd0f151ef168c526 | |
parent | 13819d2729ffbf1d4538cfc7bc06cb774bb701c6 (diff) | |
download | pkgsrc-1da8621acfc2c5d781e09507fa0de2e552129401.tar.gz |
Import libbind-6.0 as net/libbind.
ISC's libbind provides the standard resolver library,
along with header files and documentation, for communicating
with domain name servers, retrieving network host entries
from /etc/hosts or via DNS, converting CIDR network addresses,
perform Hesiod information lookups, retrieve network entries
from /etc/networks, implement TSIG transaction/request
security of DNS messages, perform name-to-address and
address-to-name translations, utilize /etc/resolv.conf
for resolver configuration.
It contains many of the same historical functions and headers
included with many Unix operating systems.
Originally written for BIND 8, it was included in BIND 9 as
optionally-compiled code through release 9.5. It has been
removed from subsequent releases of BIND 9 and is now
provided as a separate package.
-rw-r--r-- | net/libbind/DESCR | 17 | ||||
-rw-r--r-- | net/libbind/Makefile | 27 | ||||
-rw-r--r-- | net/libbind/PLIST | 50 | ||||
-rw-r--r-- | net/libbind/buildlink3.mk | 12 | ||||
-rw-r--r-- | net/libbind/distinfo | 6 | ||||
-rw-r--r-- | net/libbind/options.mk | 34 | ||||
-rw-r--r-- | net/libbind/patches/patch-aa | 16 |
7 files changed, 162 insertions, 0 deletions
diff --git a/net/libbind/DESCR b/net/libbind/DESCR new file mode 100644 index 00000000000..a05fc9d902e --- /dev/null +++ b/net/libbind/DESCR @@ -0,0 +1,17 @@ +ISC's libbind provides the standard resolver library, +along with header files and documentation, for communicating +with domain name servers, retrieving network host entries +from /etc/hosts or via DNS, converting CIDR network addresses, +perform Hesiod information lookups, retrieve network entries +from /etc/networks, implement TSIG transaction/request +security of DNS messages, perform name-to-address and +address-to-name translations, utilize /etc/resolv.conf +for resolver configuration. + +It contains many of the same historical functions and headers +included with many Unix operating systems. + +Originally written for BIND 8, it was included in BIND 9 as +optionally-compiled code through release 9.5. It has been +removed from subsequent releases of BIND 9 and is now +provided as a separate package. diff --git a/net/libbind/Makefile b/net/libbind/Makefile new file mode 100644 index 00000000000..9e66eed3212 --- /dev/null +++ b/net/libbind/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ +# + +DISTNAME= libbind-6.0 +CATEGORIES= net +MASTER_SITES= ftp://ftp.isc.org/isc/libbind/6.0/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= https://www.isc.org/software/libbind +COMMENT= ISC Standard Resolver Library +#LICENSE= isc + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= nroff tbl + +CONFIGURE_ARGS+= --with-libtool=yes + +MAKE_JOBS_SAFE= no + +BUILD_TARGET= all man + +.include "options.mk" + +.include "../../mk/bsd.pkg.mk" diff --git a/net/libbind/PLIST b/net/libbind/PLIST new file mode 100644 index 00000000000..2417818e5ca --- /dev/null +++ b/net/libbind/PLIST @@ -0,0 +1,50 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ +include/bind/arpa/inet.h +include/bind/arpa/nameser.h +include/bind/arpa/nameser_compat.h +include/bind/fd_setsize.h +include/bind/hesiod.h +include/bind/irp.h +include/bind/irs.h +include/bind/isc/assertions.h +include/bind/isc/ctl.h +include/bind/isc/dst.h +include/bind/isc/eventlib.h +include/bind/isc/heap.h +include/bind/isc/irpmarshall.h +include/bind/isc/list.h +include/bind/isc/logging.h +include/bind/isc/memcluster.h +include/bind/isc/misc.h +include/bind/isc/platform.h +include/bind/isc/tree.h +include/bind/netdb.h +include/bind/netgroup.h +include/bind/res_update.h +include/bind/resolv.h +include/bind/sys/bitypes.h +lib/libbind.la +man/cat3/getaddrinfo.3 +man/cat3/gethostbyname.3 +man/cat3/getipnodebyname.3 +man/cat3/getnameinfo.3 +man/cat3/getnetent.3 +man/cat3/hesiod.3 +man/cat3/inet_cidr.3 +man/cat3/resolver.3 +man/cat3/tsig.3 +man/cat5/irs.conf.5 +man/cat5/resolver.5 +man/cat7/hostname.7 +man/man3/getaddrinfo.3 +man/man3/gethostbyname.3 +man/man3/getipnodebyname.3 +man/man3/getnameinfo.3 +man/man3/getnetent.3 +man/man3/hesiod.3 +man/man3/inet_cidr.3 +man/man3/resolver.3 +man/man3/tsig.3 +man/man5/irs.conf.5 +man/man5/resolver.5 +man/man7/hostname.7 diff --git a/net/libbind/buildlink3.mk b/net/libbind/buildlink3.mk new file mode 100644 index 00000000000..0f419f713be --- /dev/null +++ b/net/libbind/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ + +BUILDLINK_TREE+= libbind + +.if !defined(LIBBIND_BUILDLINK3_MK) +LIBBIND_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libbind+= libbind>=6.0 +BUILDLINK_PKGSRCDIR.libbind?= ../../net/libbind +.endif # LIBBIND_BUILDLINK3_MK + +BUILDLINK_TREE+= -libbind diff --git a/net/libbind/distinfo b/net/libbind/distinfo new file mode 100644 index 00000000000..efc29ebf801 --- /dev/null +++ b/net/libbind/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ + +SHA1 (libbind-6.0.tar.gz) = 4664646238cd3602df168da1e9bc9591d3f566b2 +RMD160 (libbind-6.0.tar.gz) = bfafac89a455a05202763f6e10f292978085d811 +Size (libbind-6.0.tar.gz) = 757162 bytes +SHA1 (patch-aa) = 86bd68775e9df5b8fcf4f999ecede2e91ab2736c diff --git a/net/libbind/options.mk b/net/libbind/options.mk new file mode 100644 index 00000000000..53c96d9f89f --- /dev/null +++ b/net/libbind/options.mk @@ -0,0 +1,34 @@ +# $NetBSD: options.mk,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.libbind +PKG_SUPPORTED_OPTIONS= threads inet6 + +.include "../../mk/bsd.prefs.mk" + +CHECK_BUILTIN.pthread:= yes +.include "../../mk/pthread.builtin.mk" +CHECK_BUILTIN.pthread:= no + +.if !empty(IS_BUILTIN.pthread:M[yY][eE][sS]) +PKG_SUGGESTED_OPTIONS+= threads +.endif + +.if empty(MISSING_FEATURES:Minet6) +PKG_SUGGESTED_OPTIONS+= inet6 +.endif + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mthreads) +CONFIGURE_ARGS+= --enable-threads +.include "../../mk/pthread.buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-threads +.endif + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif diff --git a/net/libbind/patches/patch-aa b/net/libbind/patches/patch-aa new file mode 100644 index 00000000000..ed9cee575ea --- /dev/null +++ b/net/libbind/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ + +--- configure.orig 2009-03-05 01:37:31.000000000 +0000 ++++ configure +@@ -25135,9 +25135,9 @@ case $use_libtool in + O=lo + A=la + LIBTOOL_MKDEP_SED='s;\.o;\.lo;' +- LIBTOOL_MODE_COMPILE='--mode=compile' ++ LIBTOOL_MODE_COMPILE='--mode=compile --tag=CC' + LIBTOOL_MODE_INSTALL='--mode=install' +- LIBTOOL_MODE_LINK='--mode=link' ++ LIBTOOL_MODE_LINK='--mode=link --tag=CC' + ;; + *) + O=o |