From 887b429e637286f4e39f3c009aceeeead87cc910 Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 1 Apr 2013 14:05:37 +0000 Subject: [PATCH] reinstate libbind (the bind resolver), for use by ports which poke in the resolver's internals, such as net/mtr. ok brad@ naddy@ --- net/libbind/Makefile | 31 ++++++++++++++++++++++++++++++ net/libbind/distinfo | 2 ++ net/libbind/pkg/DESCR | 8 ++++++++ net/libbind/pkg/PLIST | 44 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 net/libbind/Makefile create mode 100644 net/libbind/distinfo create mode 100644 net/libbind/pkg/DESCR create mode 100644 net/libbind/pkg/PLIST diff --git a/net/libbind/Makefile b/net/libbind/Makefile new file mode 100644 index 00000000000..d3dff1d05a4 --- /dev/null +++ b/net/libbind/Makefile @@ -0,0 +1,31 @@ +# $OpenBSD: Makefile,v 1.13 2013/04/01 14:05:37 sthen Exp $ + +COMMENT= BIND stub resolver library + +V= 6.0 +DISTNAME= libbind-6.0 +EPOCH= 0 + +SHARED_LIBS += bind 3.0 # 6.1 + +CATEGORIES= net + +HOMEPAGE= http://www.isc.org/software/libbind + +MAINTAINER= Stuart Henderson + +# ISC +PERMIT_PACKAGE_CDROM= Yes + +MASTER_SITES= ${MASTER_SITE_ISC:=libbind/$V/} + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ + --with-libtool + +NO_TEST= Yes + +post-install: + rm -f ${PREFIX}/man/cat?/* + +.include diff --git a/net/libbind/distinfo b/net/libbind/distinfo new file mode 100644 index 00000000000..41824a0b272 --- /dev/null +++ b/net/libbind/distinfo @@ -0,0 +1,2 @@ +SHA256 (libbind-6.0.tar.gz) = uYtqpufEA/WmUi/7aDJXhah+qLEzd62ouoeVOj6Msp0= +SIZE (libbind-6.0.tar.gz) = 757162 diff --git a/net/libbind/pkg/DESCR b/net/libbind/pkg/DESCR new file mode 100644 index 00000000000..16cdd717adb --- /dev/null +++ b/net/libbind/pkg/DESCR @@ -0,0 +1,8 @@ +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, performing Hesiod information lookups, +retrieving network entries from /etc/networks, implementing TSIG +transaction/request security of DNS messages, performing name-to-address +and address-to-name translations, and utilizing /etc/resolv.conf for +resolver configuration. diff --git a/net/libbind/pkg/PLIST b/net/libbind/pkg/PLIST new file mode 100644 index 00000000000..a1d75799114 --- /dev/null +++ b/net/libbind/pkg/PLIST @@ -0,0 +1,44 @@ +@comment $OpenBSD: PLIST,v 1.5 2013/04/01 14:05:37 sthen Exp $ +include/bind/ +include/bind/arpa/ +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/ +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/ +include/bind/sys/bitypes.h +lib/libbind.a +lib/libbind.la +@lib lib/libbind.so.${LIBbind_VERSION} +@man man/man3/getaddrinfo.3 +@man man/man3/gethostbyname.3 +@man man/man3/getipnodebyname.3 +@man man/man3/getnameinfo.3 +@man man/man3/getnetent.3 +@man man/man3/hesiod.3 +@man man/man3/inet_cidr.3 +@man man/man3/resolver.3 +@man man/man3/tsig.3 +@man man/man5/irs.conf.5 +@man man/man5/resolver.5 +@man man/man7/hostname.7