Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

17
net/libbind/DESCR Normal file
View File

@@ -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.

33
net/libbind/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.6 2013/05/10 00:52:04 riastradh Exp $
#
DISTNAME= libbind-6.0
PKGREVISION= 1
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
CONFLICTS= man-pages-[0-9]*
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
.include "../../mk/bsd.prefs.mk"
.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) && ${OPSYS} == "NetBSD"
# Yes, we'll have /dev/random on NetBSD, even autoconf you can't detect
# it by compiling and running a program when cross-compiling.
CONFIGURE_ENV+= ac_cv_file__dev_random=yes
.endif
CONFIGURE_ARGS+= --with-libtool=yes
MAKE_JOBS_SAFE= no
.include "options.mk"
.include "../../mk/bsd.pkg.mk"

37
net/libbind/PLIST Normal file
View File

@@ -0,0 +1,37 @@
@comment $NetBSD: PLIST,v 1.3 2012/03/12 04:39:16 joerg 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
lib/libbind.la
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

3
net/libbind/PLIST.AIX Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.AIX,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h
include/bind/sys/cdefs.h

2
net/libbind/PLIST.BSDOS Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.BSDOS,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h

2
net/libbind/PLIST.Darwin Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.Darwin,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.DragonFly,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.FreeBSD,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h

4
net/libbind/PLIST.HPUX Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST.HPUX,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/paths.h
include/bind/sys/bitypes.h
include/bind/sys/cdefs.h

4
net/libbind/PLIST.IRIX Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST.IRIX,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/paths.h
include/bind/sys/bitypes.h
include/bind/sys/cdefs.h

3
net/libbind/PLIST.Linux Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.Linux,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/mbuf.h
include/bind/net/route.h

2
net/libbind/PLIST.NetBSD Normal file
View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.NetBSD,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h

3
net/libbind/PLIST.OSF1 Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.OSF1,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h
include/bind/sys/cdefs.h

View File

@@ -0,0 +1,2 @@
@comment $NetBSD: PLIST.OpenBSD,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h

4
net/libbind/PLIST.QNX Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST.QNX,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/resource.h
include/bind/sys/bitypes.h
include/bind/sys/ioctl.h

4
net/libbind/PLIST.SunOS Normal file
View File

@@ -0,0 +1,4 @@
@comment $NetBSD: PLIST.SunOS,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/paths.h
include/bind/sys/bitypes.h
include/bind/sys/cdefs.h

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST.UnixWare,v 1.1 2010/06/02 04:34:09 obache Exp $
include/bind/sys/bitypes.h
include/bind/sys/cdefs.h

12
net/libbind/buildlink3.mk Normal file
View File

@@ -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

8
net/libbind/distinfo Normal file
View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.3 2012/03/12 04:39:16 joerg 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) = 7bd66d73d20420d67f6d6850d77d3762cd594499
SHA1 (patch-ab) = 6f7ced345bb6edbf37c2aa5bef4971447f02dc0f
SHA1 (patch-doc_Makefile.in) = ec7c158664cd5c8edc501a9b74ac956c06ac4df7

34
net/libbind/options.mk Normal file
View File

@@ -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

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-aa,v 1.2 2010/12/31 14:36:07 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
@@ -25928,7 +25928,7 @@ case "$host" in
PORT_NONBLOCK="#define PORT_NONBLOCK O_NDELAY"
PORT_DIR="port/cygwin";;
*-darwin*) PORT_DIR="port/darwin";;
- *-dragonfly*) PORT_DIR="port/dragonfly";;
+ *-dragonfly*) PORT_DIR="port/freebsd";;
*-osf*) PORT_DIR="port/decunix";;
*-freebsd*) PORT_DIR="port/freebsd";;
*-hpux9*) PORT_DIR="port/hpux9";;

View File

@@ -0,0 +1,40 @@
$NetBSD: patch-ab,v 1.1 2010/12/31 14:36:07 obache Exp $
--- include/netdb.h.orig 2008-02-28 05:34:17.000000000 +0000
+++ include/netdb.h
@@ -492,7 +492,7 @@ int innetgr_r __P((const char *, const
#endif
#else
/* defined(sun) || defined(bsdi) */
-#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103)
+#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) || defined(__DragonFly__)
int gethostbyaddr_r __P((const char *, int, int, struct hostent *,
char *, size_t, struct hostent **, int *));
int gethostbyname_r __P((const char *, struct hostent *,
@@ -509,7 +509,7 @@ struct hostent *gethostent_r __P((struct
void sethostent_r __P((int));
void endhostent_r __P((void));
-#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103)
+#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) || defined(__DragonFly__)
int getnetbyname_r __P((const char *, struct netent *,
char *, size_t, struct netent **, int*));
int getnetbyaddr_r __P((unsigned long int, int, struct netent *,
@@ -525,7 +525,7 @@ struct netent *getnetent_r __P((struct n
void setnetent_r __P((int));
void endnetent_r __P((void));
-#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103)
+#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) || defined(__DragonFly__)
int getprotobyname_r __P((const char *, struct protoent *, char *,
size_t, struct protoent **));
int getprotobynumber_r __P((int, struct protoent *, char *, size_t,
@@ -541,7 +541,7 @@ struct protoent *getprotoent_r __P((stru
void setprotoent_r __P((int));
void endprotoent_r __P((void));
-#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103)
+#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) || defined(__DragonFly__)
int getservbyname_r __P((const char *name, const char *,
struct servent *, char *, size_t, struct servent **));
int getservbyport_r __P((int port, const char *,

View File

@@ -0,0 +1,42 @@
$NetBSD: patch-doc_Makefile.in,v 1.1 2012/03/12 04:39:16 joerg Exp $
--- doc/Makefile.in.orig 2012-03-11 21:02:41.000000000 +0000
+++ doc/Makefile.in
@@ -164,35 +164,20 @@ docclean manclean maintainer-clean::
installdirs:
$(SHELL) ${top_srcdir}/mkinstalldirs \
${MANDIR}/man${LIB_NETWORK_EXT} \
- ${MANDIR}/cat${LIB_NETWORK_EXT} \
${MANDIR}/man${FORMAT_EXT} \
- ${MANDIR}/cat${FORMAT_EXT} \
- ${MANDIR}/man${DESC_EXT} \
- ${MANDIR}/cat${DESC_EXT}
+ ${MANDIR}/man${DESC_EXT}
-install:: doc installdirs
+install:: installdirs
@set -x; N=${LIB_NETWORK_EXT}; for f in ${LIB_NETWORK_BASE}; do \
${INSTALL_DATA} $${f}.${LIB_NETWORK_MAN_EXT} \
${MANDIR}/man${LIB_NETWORK_EXT}/$${f}.${LIB_NETWORK_EXT}; \
done
- @set -x; N=${LIB_NETWORK_EXT}; for f in ${LIB_NETWORK_BASE}; do \
- ${INSTALL_DATA} $${f}.${LIB_NETWORK_CAT_EXT} \
- ${MANDIR}/cat${LIB_NETWORK_EXT}/$${f}.${LIB_NETWORK_EXT}; \
- done
@set -x; N=${FORMAT_EXT}; for f in ${FORMAT_BASE}; do \
${INSTALL_DATA} $${f}.${FORMAT_MAN_EXT} \
${MANDIR}/man${FORMAT_EXT}/$${f}.${FORMAT_EXT}; \
done
- @set -x; N=${FORMAT_EXT}; for f in ${FORMAT_BASE}; do \
- ${INSTALL_DATA} $${f}.${FORMAT_CAT_EXT} \
- ${MANDIR}/cat${FORMAT_EXT}/$${f}.${FORMAT_EXT}; \
- done
@set -x; N=${DESC_EXT}; for f in ${DESC_BASE}; do \
${INSTALL_DATA} $${f}.${DESC_MAN_EXT} \
${MANDIR}/man${DESC_EXT}/$${f}.${DESC_EXT}; \
done
- @set -x; N=${DESC_EXT}; for f in ${DESC_BASE}; do \
- ${INSTALL_DATA} $${f}.${DESC_CAT_EXT} \
- ${MANDIR}/cat${DESC_EXT}/$${f}.${DESC_EXT}; \
- done