pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libbind Import libbind-6.0 as net/libbind.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21763b4a7558
branches:  trunk
changeset: 574368:21763b4a7558
user:      obache <obache%pkgsrc.org@localhost>
date:      Thu Apr 15 12:57:49 2010 +0000

description:
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.

diffstat:

 net/libbind/DESCR            |  17 ++++++++++++++
 net/libbind/Makefile         |  27 +++++++++++++++++++++++
 net/libbind/PLIST            |  50 ++++++++++++++++++++++++++++++++++++++++++++
 net/libbind/buildlink3.mk    |  12 ++++++++++
 net/libbind/distinfo         |   6 +++++
 net/libbind/options.mk       |  34 +++++++++++++++++++++++++++++
 net/libbind/patches/patch-aa |  16 ++++++++++++++
 7 files changed, 162 insertions(+), 0 deletions(-)

diffs (190 lines):

diff -r 34ab7a955e46 -r 21763b4a7558 net/libbind/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libbind/DESCR Thu Apr 15 12:57:49 2010 +0000
@@ -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 -r 34ab7a955e46 -r 21763b4a7558 net/libbind/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libbind/Makefile      Thu Apr 15 12:57:49 2010 +0000
@@ -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@localhost
+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 -r 34ab7a955e46 -r 21763b4a7558 net/libbind/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libbind/PLIST Thu Apr 15 12:57:49 2010 +0000
@@ -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 -r 34ab7a955e46 -r 21763b4a7558 net/libbind/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libbind/buildlink3.mk Thu Apr 15 12:57:49 2010 +0000
@@ -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 -r 34ab7a955e46 -r 21763b4a7558 net/libbind/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libbind/distinfo      Thu Apr 15 12:57:49 2010 +0000
@@ -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 -r 34ab7a955e46 -r 21763b4a7558 net/libbind/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libbind/options.mk    Thu Apr 15 12:57:49 2010 +0000
@@ -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 -r 34ab7a955e46 -r 21763b4a7558 net/libbind/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libbind/patches/patch-aa      Thu Apr 15 12:57:49 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index