summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrianp <adrianp>2009-01-04 00:25:28 +0000
committeradrianp <adrianp>2009-01-04 00:25:28 +0000
commitd81973f0ca8088f7ab9696b7ae0b7cc791d8a251 (patch)
treeb3458513831a436dbd4088a7387e8de4e3317bb3
parent71b1d04a8d650b06ecff34d1c536eaf2428636d3 (diff)
downloadpkgsrc-d81973f0ca8088f7ab9696b7ae0b7cc791d8a251.tar.gz
Nuke BIND 8.x as discussed on pkgsrc-users@
-rw-r--r--net/bind8/DESCR22
-rw-r--r--net/bind8/Makefile50
-rw-r--r--net/bind8/PLIST.DragonFly2
-rw-r--r--net/bind8/PLIST.FreeBSD2
-rw-r--r--net/bind8/PLIST.NetBSD2
-rw-r--r--net/bind8/PLIST.SunOS3
-rw-r--r--net/bind8/PLIST.common76
-rw-r--r--net/bind8/PLIST.common_end7
-rw-r--r--net/bind8/distinfo26
-rw-r--r--net/bind8/files/named.sh80
-rw-r--r--net/bind8/patches/patch-aa65
-rw-r--r--net/bind8/patches/patch-ab174
-rw-r--r--net/bind8/patches/patch-ad24
-rw-r--r--net/bind8/patches/patch-ae11
-rw-r--r--net/bind8/patches/patch-af24
-rw-r--r--net/bind8/patches/patch-ag24
-rw-r--r--net/bind8/patches/patch-ah26
-rw-r--r--net/bind8/patches/patch-ai26
-rw-r--r--net/bind8/patches/patch-aj26
-rw-r--r--net/bind8/patches/patch-ak22
-rw-r--r--net/bind8/patches/patch-al22
-rw-r--r--net/bind8/patches/patch-am13
-rw-r--r--net/bind8/patches/patch-an24
-rw-r--r--net/bind8/patches/patch-ao16
-rw-r--r--net/bind8/patches/patch-ap27
25 files changed, 0 insertions, 794 deletions
diff --git a/net/bind8/DESCR b/net/bind8/DESCR
deleted file mode 100644
index 92ea65a73ac..00000000000
--- a/net/bind8/DESCR
+++ /dev/null
@@ -1,22 +0,0 @@
- BIND (Berkeley Internet Name Domain) is an implementation of the
-Domain Name System (DNS) protocols and provides an openly redistributable
-reference implementation of the major components of the Domain Name
-System, including:
-
- * a Domain Name System server (named)
- * a Domain Name System resolver library
- * tools for verifying the proper operation of the DNS server
-
- The BIND DNS Server is used on the vast majority of name serving machines
-on the Internet, providing a robust and stable architecture on top of which
-an organization's naming architecture can be built. The resolver library
-included in the BIND distribution provides the standard APIs for translation
-between domain names and Internet addresses and is intended to be linked with
-applications requiring name service.
-
-BIND Version 8.2.2 patchlevel 5 (Released November 12th, 1999)
-
- If you are running any version of BIND prior to 8.2.2 patchlevel 5,
- we recommend you upgrade to the current version for security reasons.
- There is one potential remote access exploit fixed in this release,
- and there are several fixes for various denial-of-service bugs.
diff --git a/net/bind8/Makefile b/net/bind8/Makefile
deleted file mode 100644
index 059e5bb5009..00000000000
--- a/net/bind8/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-# $NetBSD: Makefile,v 1.41 2008/05/26 02:13:22 joerg Exp $
-
-DISTNAME= bind-${BIND_VERSION}
-PKGNAME= ${DISTNAME}pl1
-PKGREVISION= 1
-CATEGORIES= net
-MASTER_SITES= ftp://ftp.isc.org/isc/bind8/src/${BIND_VERSION}/
-DISTFILES= bind-src.tar.gz bind-doc.tar.gz
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.isc.org/sw/bind/
-COMMENT= The Berkeley Internet Name Daemon, an implementation of DNS
-
-USE_TOOLS+= lex pax yacc
-
-WRKSRC= ${WRKDIR}
-BIND_VERSION= 8.4.7
-DIST_SUBDIR= bind/${BIND_VERSION}
-
-PATCH_SITES= ${MASTER_SITES:S/8.4.7/8.4.7-P1/}
-PATCHFILES= 8.4.7-p1.patch
-PATCH_DIST_STRIP= -p1
-
-PKG_INSTALLATION_TYPES= overwrite pkgviews
-
-RCD_SCRIPTS= named
-
-BUILD_DIRS= src doc/man
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-MAKEFLAGS+= MANROFF=cat
-MAKEFLAGS+= INSTALL=${INSTALL:Q}
-OWN_DIRS_PERMS= ${PKG_SYSCONFDIR}/ndc.d root other 700
-.endif
-
-MAKEFLAGS+= PREFIX=${PREFIX:Q}
-MAKE_FLAGS+= INSTALL_LIB=-o\ ${LIBOWN}\ -g\ ${LIBGRP}
-
-post-extract:
- cd ${WRKSRC}/doc/man && ${RM} -f *.lst* *~ *.BAK *.CKP *.orig
- ${LN} -s freebsd ${WRKSRC}/src/port/dragonfly
-
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/bind8
- cd ${WRKSRC}/doc/html && pax -rw * ${PREFIX}/share/doc/html/bind8
- ${CHMOD} ${DOCMODE} ${PREFIX}/share/doc/html/bind8/*.html
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/net/bind8/PLIST.DragonFly b/net/bind8/PLIST.DragonFly
deleted file mode 100644
index fd95c131edb..00000000000
--- a/net/bind8/PLIST.DragonFly
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST.DragonFly,v 1.1 2006/03/22 18:33:57 joerg Exp $
-include/bind/sys/bitypes.h
diff --git a/net/bind8/PLIST.FreeBSD b/net/bind8/PLIST.FreeBSD
deleted file mode 100644
index 3462fca4af8..00000000000
--- a/net/bind8/PLIST.FreeBSD
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST.FreeBSD,v 1.1 2006/03/22 18:33:57 joerg Exp $
-include/bind/sys/bitypes.h
diff --git a/net/bind8/PLIST.NetBSD b/net/bind8/PLIST.NetBSD
deleted file mode 100644
index a7b7ca42a25..00000000000
--- a/net/bind8/PLIST.NetBSD
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST.NetBSD,v 1.1 2003/07/31 23:58:48 seb Exp $
-include/bind/sys/bitypes.h
diff --git a/net/bind8/PLIST.SunOS b/net/bind8/PLIST.SunOS
deleted file mode 100644
index 6a83706c4d7..00000000000
--- a/net/bind8/PLIST.SunOS
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST.SunOS,v 1.1 2003/07/31 23:58:48 seb Exp $
-include/bind/sys/bitypes.h
-include/bind/sys/cdefs.h
diff --git a/net/bind8/PLIST.common b/net/bind8/PLIST.common
deleted file mode 100644
index be76b3c78a4..00000000000
--- a/net/bind8/PLIST.common
+++ /dev/null
@@ -1,76 +0,0 @@
-@comment $NetBSD: PLIST.common,v 1.3 2005/05/02 20:34:01 reed Exp $
-bin/addr
-bin/dig
-bin/dnsquery
-bin/host
-bin/mkservdb
-bin/nslookup
-bin/nsupdate
-include/bind/arpa/inet.h
-include/bind/arpa/nameser.h
-include/bind/arpa/nameser_compat.h
-include/bind/hesiod.h
-include/bind/irp.h
-include/bind/irs.h
-include/bind/isc/assertions.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/tree.h
-include/bind/netdb.h
-include/bind/res_update.h
-include/bind/resolv.h
-lib/libbind.a
-lib/libbind_r.a
-libexec/dnskeygen
-libexec/named-xfer
-man/cat1/dig.0
-man/cat1/dnskeygen.0
-man/cat1/dnsquery.0
-man/cat3/getaddrinfo.0
-man/cat3/gethostbyname.0
-man/cat3/getipnodebyname.0
-man/cat3/getnameinfo.0
-man/cat3/getnetent.0
-man/cat3/hesiod.0
-man/cat3/inet_cidr.0
-man/cat3/resolver.0
-man/cat3/tsig.0
-man/cat5/irs.conf.0
-man/cat5/named.conf.0
-man/cat5/resolver.0
-man/cat7/hostname.0
-man/cat7/mailaddr.0
-man/cat8/named-bootconf.0
-man/cat8/named-xfer.0
-man/cat8/named.0
-man/cat8/ndc.0
-man/cat8/nslookup.0
-man/cat8/nsupdate.0
-sbin/irpd
-sbin/named
-sbin/named-bootconf
-sbin/ndc
-share/doc/bind8/nslookup.help
-share/doc/html/bind8/acl.html
-share/doc/html/bind8/address_list.html
-share/doc/html/bind8/comments.html
-share/doc/html/bind8/config.html
-share/doc/html/bind8/controls.html
-share/doc/html/bind8/docdef.html
-share/doc/html/bind8/example.html
-share/doc/html/bind8/include.html
-share/doc/html/bind8/index.html
-share/doc/html/bind8/key.html
-share/doc/html/bind8/logging.html
-share/doc/html/bind8/master.html
-share/doc/html/bind8/options.html
-share/doc/html/bind8/server.html
-share/doc/html/bind8/trusted-keys.html
-share/doc/html/bind8/zone.html
-share/examples/rc.d/named
diff --git a/net/bind8/PLIST.common_end b/net/bind8/PLIST.common_end
deleted file mode 100644
index a89cf829821..00000000000
--- a/net/bind8/PLIST.common_end
+++ /dev/null
@@ -1,7 +0,0 @@
-@comment $NetBSD: PLIST.common_end,v 1.1 2003/07/31 23:58:48 seb Exp $
-@dirrm share/doc/html/bind8
-@dirrm share/doc/bind8
-@dirrm include/bind/sys
-@dirrm include/bind/isc
-@dirrm include/bind/arpa
-@dirrm include/bind
diff --git a/net/bind8/distinfo b/net/bind8/distinfo
deleted file mode 100644
index 9b6742e9e24..00000000000
--- a/net/bind8/distinfo
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: distinfo,v 1.23 2008/06/21 20:01:59 joerg Exp $
-
-SHA1 (bind/8.4.7/8.4.7-p1.patch) = 21ace372a55ff10166c3aaefb9ca25889b8e9c99
-RMD160 (bind/8.4.7/8.4.7-p1.patch) = 09787da6ebf107f680963ead6b9998f734244951
-Size (bind/8.4.7/8.4.7-p1.patch) = 47224 bytes
-SHA1 (bind/8.4.7/bind-doc.tar.gz) = 69baf042cbceaa81485db12f9d877f14a4e4d0f6
-RMD160 (bind/8.4.7/bind-doc.tar.gz) = 83a19daac958f41e5cac1dea3201d959658744a8
-Size (bind/8.4.7/bind-doc.tar.gz) = 1492480 bytes
-SHA1 (bind/8.4.7/bind-src.tar.gz) = a5f352ca020403bc0f70c6201809c9ba9e56932a
-RMD160 (bind/8.4.7/bind-src.tar.gz) = 87ea8fb441d100da49b2f46e1c32d12c9e2322a7
-Size (bind/8.4.7/bind-src.tar.gz) = 1484718 bytes
-SHA1 (patch-aa) = c94c78cb904e713be25da748d3ecfed51b2ed010
-SHA1 (patch-ab) = 41c03679a97d24302f4eb4bec67fda0b8d4cd9bf
-SHA1 (patch-ad) = 8b7071e89179af3de5c7645b88d175bb9143a9da
-SHA1 (patch-ae) = e0bf370c94d412fbb3347dfa2fd74a164d7cd944
-SHA1 (patch-af) = f697c119f38a5e0f1aeeafe4a77e8c1436ec684a
-SHA1 (patch-ag) = 399938ee154d671232b87371d8cc7d3b2c419cd7
-SHA1 (patch-ah) = 154d3ab6a388a51dbfc1351a7d21e9436f5efa92
-SHA1 (patch-ai) = 44090a2cdada15245f5557af13d23061feba54d0
-SHA1 (patch-aj) = 6a812ee56aad252c44b7fd0eb839d9d382f1ef6a
-SHA1 (patch-ak) = db59ad1cda56adfffb75336781c4bd1ad1c79733
-SHA1 (patch-al) = f03b3b5480d9294673cdb86cf0f45f48ce9ea895
-SHA1 (patch-am) = 7acd974e10388dba0dcb44c28f2f03e18b7a1c28
-SHA1 (patch-an) = 41b63a50756d9f73152fc8a48dbf93657064e90f
-SHA1 (patch-ao) = 85ee16824e849ad227e04dbf71808446769438af
-SHA1 (patch-ap) = 90de55b3d44570af0af9573012dae9f16a75aafd
diff --git a/net/bind8/files/named.sh b/net/bind8/files/named.sh
deleted file mode 100644
index a8fc9a5e8f1..00000000000
--- a/net/bind8/files/named.sh
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/bin/sh
-#
-# $NetBSD: named.sh,v 1.1 2001/12/24 14:10:54 abs Exp $
-#
-# PROVIDE: named
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# To start named at startup, copy this script to /etc/rc.d and set
-# named=YES in /etc/rc.conf.
-
-name="named"
-rcvar=$name
-command="@PREFIX@/sbin/ndc"
-
-named_start=start
-
-# set defaults
-if [ -r /etc/rc.conf ]
-then
- . /etc/rc.conf
-else
- eval ${rcvar}=YES
-fi
-
-# $flags from environment overrides ${rcvar}_flags
-if [ -n "${flags}" ]
-then
- eval ${rcvar}_flags="${flags}"
-fi
-
-named_doit()
-{
- action=$1
-
- case ${action} in
- start) echo -n "Starting ${name}: "; action=${named_start} ;;
- stop) echo "Stopping ${name}" ;;
- restart) echo -n "Restarting ${name}: " ;;
- esac
-
- ${command} ${named_flags} ${command_args} ${action}
-}
-
-checkyesno()
-{
- eval _value=\$${1}
- case $_value in
- [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1) return 0 ;;
- [Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0) return 1 ;;
- *)
- echo "\$${1} is not set properly."
- return 1
- ;;
- esac
-}
-
-cmd=${1:-start}
-case ${cmd} in
-force*)
- cmd=${cmd#force}
- eval ${rcvar}=YES
- ;;
-esac
-
-if checkyesno ${rcvar}
-then
- if [ -x ${command} ]
- then
- case ${cmd} in
- restart|start|stop|reload)
- ${rcvar}_doit ${cmd}
- ;;
- *)
- echo 1>&2 "Usage: $0 [restart|start|stop|reload]"
- exit 1
- ;;
- esac
- fi
-fi
diff --git a/net/bind8/patches/patch-aa b/net/bind8/patches/patch-aa
deleted file mode 100644
index 29182569da8..00000000000
--- a/net/bind8/patches/patch-aa
+++ /dev/null
@@ -1,65 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2005/11/04 19:36:01 rillig Exp $
-
---- doc/man/Makefile.orig Mon Nov 29 19:22:07 1999
-+++ doc/man/Makefile
-@@ -52,12 +52,12 @@
- # Target directory for the manual directory tree. Eg., may be used to
- # specify the path of an NFS-mounted directory for common files.
- #
--DESTDIR=
-+DESTDIR= ${PREFIX}
-
- #
- # Default location for manual section directories.
- #
--DESTMAN= /usr/share/man
-+DESTMAN= /man
-
- #
- # Install manuals in ${MANDIR}N. For systems that generate catable manual
-@@ -228,14 +228,12 @@ SYS_OPS_OUT_EXT = ${OUT_EXT}${SYS_OPS_EX
- #
- # User command manual entries
- #
--CMD_BASE = dig host dnsquery dnskeygen
-+CMD_BASE = dig dnsquery dnskeygen
- CMD_SRC_EXT = 1
- CMD_SRC = dig.${CMD_SRC_EXT} \
-- host.${CMD_SRC_EXT} \
- dnsquery.${CMD_SRC_EXT} \
- dnskeygen.${CMD_SRC_EXT}
- CMD_OUT = dig.${CMD_OUT_EXT} \
-- host.${CMD_OUT_EXT} \
- dnsquery.${CMD_OUT_EXT} \
- dnskeygen.${CMD_OUT_EXT}
-
-@@ -303,7 +301,8 @@ LIB_NETWORK_OUT = gethostbyname.${LIB_NE
- #
- # File format manual entries
- #
--FORMAT_BASE = resolver irs.conf named.conf
-+FORMAT_MAIN_BASE = named.conf
-+FORMAT_BASE = resolver irs.conf
- FORMAT_SRC_EXT = 5
- FORMAT_SRC = resolver.${FORMAT_SRC_EXT} \
- irs.conf.${FORMAT_SRC_EXT} \
-@@ -393,6 +392,10 @@ install: ${OUTFILES} \
- $${f}.${LIB_NETWORK_OUT_EXT} \
- ${DESTDIR}${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR}/$${f}.${CATEXT}; \
- done
-+ @set -x; N=${FORMAT_EXT}; for f in ${FORMAT_MAIN_BASE}; do \
-+ ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} $${f}.${FORMAT_OUT_EXT} \
-+ ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR}/$${f}.${CATEXT}; \
-+ done
- @set -x; N=${FORMAT_EXT}; for f in ${FORMAT_BASE}; do \
- ${INSTALL} -c -m 444 ${MAN_OWNER} ${MAN_GROUP} \
- $${f}.${FORMAT_OUT_EXT} \
-@@ -409,7 +412,7 @@ ${DESTDIR}${DESTMAN}/${MANDIR}${SYS_OPS_
- ${DESTDIR}${DESTMAN}/${MANDIR}${LIB_NETWORK_EXT_DIR} \
- ${DESTDIR}${DESTMAN}/${MANDIR}${FORMAT_EXT_DIR} \
- ${DESTDIR}${DESTMAN}/${MANDIR}${DESC_EXT_DIR}:
-- mkdir $@
-+ mkdir -p $@
-
- links: FRC
- @set -ex; ln -s SRC/*.[0-9] .
diff --git a/net/bind8/patches/patch-ab b/net/bind8/patches/patch-ab
deleted file mode 100644
index 810a580297f..00000000000
--- a/net/bind8/patches/patch-ab
+++ /dev/null
@@ -1,174 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2005/11/04 19:36:01 rillig Exp $
-
---- src/lib/cylink/sha.c.orig Tue May 29 05:47:21 2001
-+++ src/lib/cylink/sha.c
-@@ -150,6 +150,129 @@ int SHA( uchar *message,
- * PRIVATE FUNCTIONS DEFINITIONS
- ****************************************************************************/
-
-+#ifdef __sparc_v9__
-+#define nR1(v,w,x,y,z,i) subRound(*v, *w, *x, *y, *z, f1, k1SHA, i)
-+#define nR2(v,w,x,y,z,i) subRound(*v, *w, *x, *y, *z, f2, k2SHA, i)
-+#define nR3(v,w,x,y,z,i) subRound(*v, *w, *x, *y, *z, f3, k3SHA, i)
-+#define nR4(v,w,x,y,z,i) subRound(*v, *w, *x, *y, *z, f4, k4SHA, i)
-+
-+void doexpand1(u_int32_t *W)
-+{
-+ expand(16); expand(17); expand(18); expand(19); expand(20); expand(21);
-+ expand(22); expand(23); expand(24); expand(25); expand(26); expand(27);
-+ expand(28); expand(29); expand(30); expand(31); expand(32); expand(33);
-+ expand(34); expand(35); expand(36); expand(37); expand(38); expand(39);
-+ expand(40); expand(41); expand(42); expand(43); expand(44); expand(45);
-+ expand(46); expand(47); expand(48);
-+}
-+
-+void doexpand2(u_int32_t *W)
-+{
-+ expand(49); expand(50); expand(51); expand(52); expand(53); expand(54);
-+ expand(55); expand(56); expand(57); expand(58); expand(59); expand(60);
-+ expand(61); expand(62); expand(63); expand(64); expand(65); expand(66);
-+ expand(67); expand(68); expand(69); expand(70); expand(71); expand(72);
-+ expand(73); expand(74); expand(75); expand(76); expand(77); expand(78);
-+ expand(79);
-+}
-+
-+void do_R1(u_int32_t *A, u_int32_t *B, u_int32_t *C, u_int32_t *D, u_int32_t *E, u_int32_t *W)
-+{
-+ nR1( A, B, C, D, E, W[ 0] );
-+ nR1( E, A, B, C, D, W[ 1] );
-+ nR1( D, E, A, B, C, W[ 2] );
-+ nR1( C, D, E, A, B, W[ 3] );
-+ nR1( B, C, D, E, A, W[ 4] );
-+ nR1( A, B, C, D, E, W[ 5] );
-+ nR1( E, A, B, C, D, W[ 6] );
-+ nR1( D, E, A, B, C, W[ 7] );
-+ nR1( C, D, E, A, B, W[ 8] );
-+ nR1( B, C, D, E, A, W[ 9] );
-+ nR1( A, B, C, D, E, W[10] );
-+ nR1( E, A, B, C, D, W[11] );
-+ nR1( D, E, A, B, C, W[12] );
-+ nR1( C, D, E, A, B, W[13] );
-+ nR1( B, C, D, E, A, W[14] );
-+ nR1( A, B, C, D, E, W[15] );
-+ nR1( E, A, B, C, D, W[16] );
-+ nR1( D, E, A, B, C, W[17] );
-+ nR1( C, D, E, A, B, W[18] );
-+ nR1( B, C, D, E, A, W[19] );
-+}
-+
-+void do_R2(u_int32_t *A, u_int32_t *B, u_int32_t *C, u_int32_t *D, u_int32_t *E, u_int32_t *W)
-+{
-+ nR2( A, B, C, D, E, W[20]);
-+ nR2( E, A, B, C, D, W[21]);
-+ nR2( D, E, A, B, C, W[22]);
-+ nR2( C, D, E, A, B, W[23]);
-+ nR2( B, C, D, E, A, W[24]);
-+ nR2( A, B, C, D, E, W[25]);
-+ nR2( E, A, B, C, D, W[26]);
-+ nR2( D, E, A, B, C, W[27]);
-+ nR2( C, D, E, A, B, W[28]);
-+ nR2( B, C, D, E, A, W[29]);
-+ nR2( A, B, C, D, E, W[30]);
-+ nR2( E, A, B, C, D, W[31]);
-+ nR2( D, E, A, B, C, W[32]);
-+ nR2( C, D, E, A, B, W[33]);
-+ nR2( B, C, D, E, A, W[34]);
-+ nR2( A, B, C, D, E, W[35]);
-+ nR2( E, A, B, C, D, W[36]);
-+ nR2( D, E, A, B, C, W[37]);
-+ nR2( C, D, E, A, B, W[38]);
-+ nR2( B, C, D, E, A, W[39]);
-+}
-+
-+void do_R3(u_int32_t *A, u_int32_t *B, u_int32_t *C, u_int32_t *D, u_int32_t *E, u_int32_t *W)
-+{
-+ nR3( A, B, C, D, E, W[40]);
-+ nR3( E, A, B, C, D, W[41]);
-+ nR3( D, E, A, B, C, W[42]);
-+ nR3( C, D, E, A, B, W[43]);
-+ nR3( B, C, D, E, A, W[44]);
-+ nR3( A, B, C, D, E, W[45]);
-+ nR3( E, A, B, C, D, W[46]);
-+ nR3( D, E, A, B, C, W[47]);
-+ nR3( C, D, E, A, B, W[48]);
-+ nR3( B, C, D, E, A, W[49]);
-+ nR3( A, B, C, D, E, W[50]);
-+ nR3( E, A, B, C, D, W[51]);
-+ nR3( D, E, A, B, C, W[52]);
-+ nR3( C, D, E, A, B, W[53]);
-+ nR3( B, C, D, E, A, W[54]);
-+ nR3( A, B, C, D, E, W[55]);
-+ nR3( E, A, B, C, D, W[56]);
-+ nR3( D, E, A, B, C, W[57]);
-+ nR3( C, D, E, A, B, W[58]);
-+ nR3( B, C, D, E, A, W[59]);
-+}
-+
-+void do_R4(u_int32_t *A, u_int32_t *B, u_int32_t *C, u_int32_t *D, u_int32_t *E, u_int32_t *W)
-+{
-+ nR4( A, B, C, D, E, W[60]);
-+ nR4( E, A, B, C, D, W[61]);
-+ nR4( D, E, A, B, C, W[62]);
-+ nR4( C, D, E, A, B, W[63]);
-+ nR4( B, C, D, E, A, W[64]);
-+ nR4( A, B, C, D, E, W[65]);
-+ nR4( E, A, B, C, D, W[66]);
-+ nR4( D, E, A, B, C, W[67]);
-+ nR4( C, D, E, A, B, W[68]);
-+ nR4( B, C, D, E, A, W[69]);
-+ nR4( A, B, C, D, E, W[70]);
-+ nR4( E, A, B, C, D, W[71]);
-+ nR4( D, E, A, B, C, W[72]);
-+ nR4( C, D, E, A, B, W[73]);
-+ nR4( B, C, D, E, A, W[74]);
-+ nR4( A, B, C, D, E, W[75]);
-+ nR4( E, A, B, C, D, W[76]);
-+ nR4( D, E, A, B, C, W[77]);
-+ nR4( C, D, E, A, B, W[78]);
-+ nR4( B, C, D, E, A, W[79]);
-+}
-+#endif
-+
-
- /****************************************************************************
- * NAME: void shaTransform( u_int32_t *state,
-@@ -182,6 +305,10 @@ int SHA( uchar *message,
- ByteSwap32( (uchar *)W, 64); /*TKL00201*/
- #endif /*TKL00201*/
- /* Expand the 16 words into 80 words */
-+#ifdef __sparc_v9__
-+ doexpand1(W);
-+ doexpand2(W);
-+#else
- expand(16);expand(17);expand(18);expand(19);expand(20);expand(21);
- expand(22);expand(23);expand(24);expand(25);expand(26);expand(27);
- expand(28);expand(29);expand(30);expand(31);expand(32);expand(33);
-@@ -193,6 +320,7 @@ int SHA( uchar *message,
- expand(64);expand(65);expand(66);expand(67);expand(68);expand(69);
- expand(70);expand(71);expand(72);expand(73);expand(74);expand(75);
- expand(76);expand(77);expand(78);expand(79);
-+#endif
- /*Set up first buffer*/
- A = state[0];
- B = state[1];
-@@ -201,6 +329,12 @@ int SHA( uchar *message,
- E = state[4];
-
- /* Heavy mangling, in 4 sub-rounds of 20 iterations each. */
-+#ifdef __sparc_v9__
-+ do_R1(&A, &B, &C, &D, &E, W);
-+ do_R2(&A, &B, &C, &D, &E, W);
-+ do_R3(&A, &B, &C, &D, &E, W);
-+ do_R4(&A, &B, &C, &D, &E, W);
-+#else
- subRound( A, B, C, D, E, f1, k1SHA, W[ 0] );
- subRound( E, A, B, C, D, f1, k1SHA, W[ 1] );
- subRound( D, E, A, B, C, f1, k1SHA, W[ 2] );
-@@ -284,6 +418,7 @@ int SHA( uchar *message,
- subRound( D, E, A, B, C, f4, k4SHA, W[77]);
- subRound( C, D, E, A, B, f4, k4SHA, W[78]);
- subRound( B, C, D, E, A, f4, k4SHA, W[79]);
-+#endif
-
- state[0] += A;
- state[1] += B;
diff --git a/net/bind8/patches/patch-ad b/net/bind8/patches/patch-ad
deleted file mode 100644
index fc6d7a9f7e8..00000000000
--- a/net/bind8/patches/patch-ad
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ad,v 1.4 2005/11/04 19:36:01 rillig Exp $
-
---- src/port/darwin/Makefile.set.orig Mon Jun 24 00:32:44 2002
-+++ src/port/darwin/Makefile.set
-@@ -1,11 +1,13 @@
- 'CC=cc'
- 'CDEBUG=-O2 -g'
--'DESTBIN=/usr/local/bin'
--'DESTSBIN=/usr/local/sbin'
--'DESTEXEC=/usr/local/libexec'
--'DESTMAN=/usr/local/share/man'
--'DESTHELP=/usr/local/share/misc'
--'DESTETC=/etc'
-+'DESTBIN=${PREFIX}/bin'
-+'DESTLIB=${PREFIX}/lib'
-+'DESTINC=${PREFIX}/include/bind'
-+'DESTSBIN=${PREFIX}/sbin'
-+'DESTEXEC=${PREFIX}/libexec'
-+'DESTMAN=${PREFIX}/man'
-+'DESTHELP=${PREFIX}/share/doc/bind8'
-+'DESTETC=${PKG_SYSCONFDIR}'
- 'DESTRUN=/var/run'
- 'LEX=lex -I'
- 'YACC=yacc -d'
diff --git a/net/bind8/patches/patch-ae b/net/bind8/patches/patch-ae
deleted file mode 100644
index 6f572e66a5b..00000000000
--- a/net/bind8/patches/patch-ae
+++ /dev/null
@@ -1,11 +0,0 @@
-$NetBSD: patch-ae,v 1.3 2005/11/04 19:36:01 rillig Exp $
-
---- src/port/darwin/include/port_before.h.orig Thu Nov 1 07:29:20 2001
-+++ src/port/darwin/include/port_before.h
-@@ -13,3 +13,6 @@
- #else
- #define ISC_FORMAT_PRINTF(fmt, args)
- #endif
-+
-+#define HAS_INET6_STRUCTS
-+#define NEED_IN6ADDR_ANY
diff --git a/net/bind8/patches/patch-af b/net/bind8/patches/patch-af
deleted file mode 100644
index fcf8afec406..00000000000
--- a/net/bind8/patches/patch-af
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-af,v 1.4 2005/11/04 19:36:01 rillig Exp $
-
---- src/port/linux/Makefile.set.orig Mon Jun 24 00:32:57 2002
-+++ src/port/linux/Makefile.set
-@@ -1,11 +1,13 @@
- 'CC=gcc -D_GNU_SOURCE'
- 'CDEBUG=-O -g'
--'DESTBIN=/usr/bin'
--'DESTSBIN=/usr/sbin'
--'DESTEXEC=/usr/sbin'
--'DESTMAN=/usr/man'
--'DESTHELP=/usr/lib'
--'DESTETC=/etc'
-+'DESTBIN=${PREFIX}/bin'
-+'DESTLIB=${PREFIX}/lib'
-+'DESTINC=${PREFIX}/include/bind'
-+'DESTSBIN=${PREFIX}/sbin'
-+'DESTEXEC=${PREFIX}/libexec'
-+'DESTMAN=${PREFIX}/share/man'
-+'DESTHELP=${PREFIX}/share/doc/bind8'
-+'DESTETC=${PKG_SYSCONFDIR}'
- 'DESTRUN=/var/run'
- 'LEX=flex -8 -I'
- 'YACC=yacc -d'
diff --git a/net/bind8/patches/patch-ag b/net/bind8/patches/patch-ag
deleted file mode 100644
index 4e4cd8e5a22..00000000000
--- a/net/bind8/patches/patch-ag
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ag,v 1.4 2005/11/04 19:36:01 rillig Exp $
-
---- src/port/netbsd/Makefile.set.orig Mon Jun 24 00:33:02 2002
-+++ src/port/netbsd/Makefile.set
-@@ -1,11 +1,13 @@
- 'CC=cc'
- 'CDEBUG=-O2 -g'
--'DESTBIN=/usr/bin'
--'DESTSBIN=/usr/sbin'
--'DESTEXEC=/usr/libexec'
--'DESTMAN=/usr/share/man'
--'DESTHELP=/usr/share/misc'
--'DESTETC=/etc'
-+'DESTBIN=${PREFIX}/bin'
-+'DESTLIB=${PREFIX}/lib'
-+'DESTINC=${PREFIX}/include/bind'
-+'DESTSBIN=${PREFIX}/sbin'
-+'DESTEXEC=${PREFIX}/libexec'
-+'DESTMAN=${PREFIX}/man'
-+'DESTHELP=${PREFIX}/share/doc/bind8'
-+'DESTETC=${PKG_SYSCONFDIR}'
- 'DESTRUN=/var/run'
- 'LEX=lex -I'
- 'YACC=yacc -d'
diff --git a/net/bind8/patches/patch-ah b/net/bind8/patches/patch-ah
deleted file mode 100644
index 3d46ac58f51..00000000000
--- a/net/bind8/patches/patch-ah
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-ah,v 1.3 2005/11/04 19:36:01 rillig Exp $
-
---- src/port/solaris/Makefile.set.gcc.orig Tue Oct 19 00:45:13 1999
-+++ src/port/solaris/Makefile.set.gcc
-@@ -1,12 +1,14 @@
- 'CC=gcc'
- 'CDEBUG=-g -O2'
--'DESTBIN=/usr/local/bin'
--'DESTSBIN=/usr/local/sbin'
--'DESTEXEC=/usr/local/sbin'
--'DESTMAN=/usr/local/share/man'
--'DESTHELP=/usr/local/lib'
--'DESTETC=/usr/local/etc'
--'DESTRUN=/usr/local/etc'
-+'DESTBIN=${PREFIX}/bin'
-+'DESTSBIN=${PREFIX}/sbin'
-+'DESTEXEC=${PREFIX}/libexec'
-+'DESTMAN=${PREFIX}/man'
-+'DESTHELP=${PREFIX}/share/doc/bind8'
-+'DESTETC=${PKG_SYSCONFDIR}'
-+'DESTLIB=${PREFIX}/lib'
-+'DESTINC=${PREFIX}/include/bind'
-+'DESTRUN=${PKG_SYSCONFDIR}'
- 'LDS=:'
- 'AR=/usr/ccs/bin/ar cru'
- 'LEX=/usr/ccs/bin/lex'
diff --git a/net/bind8/patches/patch-ai b/net/bind8/patches/patch-ai
deleted file mode 100644
index 2d4c8b0bf8f..00000000000
--- a/net/bind8/patches/patch-ai
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-ai,v 1.4 2007/09/10 19:05:01 adrianp Exp $
-
---- src/port/solaris/Makefile.set.orig 2007-09-10 19:46:51.000000000 +0100
-+++ src/port/solaris/Makefile.set
-@@ -1,12 +1,14 @@
- 'CC=gcc'
- 'CDEBUG=-g -O2 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat'
--'DESTBIN=/usr/local/bin'
--'DESTSBIN=/usr/local/sbin'
--'DESTEXEC=/usr/local/sbin'
--'DESTMAN=/usr/local/share/man'
--'DESTHELP=/usr/local/lib'
--'DESTETC=/usr/local/etc'
--'DESTRUN=/usr/local/etc'
-+'DESTBIN=${PREFIX}/bin'
-+'DESTSBIN=${PREFIX}/sbin'
-+'DESTEXEC=${PREFIX}/libexec'
-+'DESTMAN=${PREFIX}/man'
-+'DESTHELP=${PREFIX}/share/doc/bind8'
-+'DESTETC=${PKG_SYSCONFDIR}'
-+'DESTLIB=${PREFIX}/lib'
-+'DESTINC=${PREFIX}/include/bind'
-+'DESTRUN=${PKG_SYSCONFDIR}'
- 'LDS=:'
- 'AR=/usr/ccs/bin/ar cru'
- 'LEX=/usr/ccs/bin/lex'
diff --git a/net/bind8/patches/patch-aj b/net/bind8/patches/patch-aj
deleted file mode 100644
index 94b100ff773..00000000000
--- a/net/bind8/patches/patch-aj
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-aj,v 1.3 2005/11/04 19:36:01 rillig Exp $
-
---- src/port/solaris/Makefile.set.sun.orig Tue Oct 19 00:45:13 1999
-+++ src/port/solaris/Makefile.set.sun
-@@ -1,12 +1,14 @@
- 'CC=cc'
- 'CDEBUG=-g -O'
--'DESTBIN=/usr/local/bin'
--'DESTSBIN=/usr/local/sbin'
--'DESTEXEC=/usr/local/sbin'
--'DESTMAN=/usr/local/share/man'
--'DESTHELP=/usr/local/lib'
--'DESTETC=/usr/local/etc'
--'DESTRUN=/usr/local/etc'
-+'DESTBIN=${PREFIX}/bin'
-+'DESTSBIN=${PREFIX}/sbin'
-+'DESTEXEC=${PREFIX}/libexec'
-+'DESTMAN=${PREFIX}/man'
-+'DESTHELP=${PREFIX}/share/doc/bind8'
-+'DESTETC=${PKG_SYSCONFDIR}'
-+'DESTLIB=${PREFIX}/lib'
-+'DESTINC=${PREFIX}/include/bind'
-+'DESTRUN=${PKG_SYSCONFDIR}'
- 'LDS=:'
- 'AR=/usr/ccs/bin/ar cru'
- 'LEX=/usr/ccs/bin/lex'
diff --git a/net/bind8/patches/patch-ak b/net/bind8/patches/patch-ak
deleted file mode 100644
index bae46990e16..00000000000
--- a/net/bind8/patches/patch-ak
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-ak,v 1.1 2006/03/22 18:33:57 joerg Exp $
-
---- src/port/freebsd/include/port_after.h.orig 2006-03-22 17:10:51.000000000 +0000
-+++ src/port/freebsd/include/port_after.h
-@@ -11,7 +11,7 @@
- #define USE_LOG_CONS
- #define HAVE_CHROOT
- #define CAN_CHANGE_ID
--#if __FreeBSD_version >= 330000
-+#if defined(__DragonFly__) || __FreeBSD_version >= 330000
- #define HAVE_STRLCPY
- #define HAVE_STRLCAT
- #endif
-@@ -35,7 +35,7 @@
- #else
- #define NEED_PSELECT
- #endif
--#if defined(__FreeBSD_version) && __FreeBSD_version >= 400021
-+#if defined(__DragonFly__) || defined(__FreeBSD_version) && __FreeBSD_version >= 400021
- #define HAVE_GETIFADDRS
- #include <ifaddrs.h>
- #endif
diff --git a/net/bind8/patches/patch-al b/net/bind8/patches/patch-al
deleted file mode 100644
index 5b93fbd8a63..00000000000
--- a/net/bind8/patches/patch-al
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD: patch-al,v 1.1 2006/03/22 18:33:57 joerg Exp $
-
---- src/port/freebsd/include/port_before.h.orig 2006-03-22 17:11:36.000000000 +0000
-+++ src/port/freebsd/include/port_before.h
-@@ -11,7 +11,7 @@
- #define DO_PTHREADS
- #endif
-
--#if defined (__FreeBSD__) && __FreeBSD__>=3
-+#if defined(__DragonFly__) || defined (__FreeBSD__) && __FreeBSD__>=3
- #define SETPWENT_VOID
- #endif
-
-@@ -27,7 +27,7 @@
- #define GROUP_R_ENT_ARGS void
- #define GROUP_R_OK (*result = gptr, 0)
- #define GROUP_R_BAD ((ge == NULL) ? (*result = NULL, 0) : errno)
--#if defined(__FreeBSD_version) && __FreeBSD_version >= 500030
-+#if defined(__DragonFly__) || defined(__FreeBSD_version) && __FreeBSD_version >= 500030
- #define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, \
- int *ngroups
- #else
diff --git a/net/bind8/patches/patch-am b/net/bind8/patches/patch-am
deleted file mode 100644
index 42ed0ff0c37..00000000000
--- a/net/bind8/patches/patch-am
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-am,v 1.1 2006/03/22 18:33:57 joerg Exp $
-
---- src/port/freebsd/probe.orig 2006-03-22 17:12:05.000000000 +0000
-+++ src/port/freebsd/probe
-@@ -4,7 +4,7 @@ uname=/usr/bin/uname
-
- if [ -f $uname ]; then
- case `$uname -s` in
-- FreeBSD) exit 0 ;;
-+ FreeBSD|DragonFly) exit 0 ;;
- esac
- fi
-
diff --git a/net/bind8/patches/patch-an b/net/bind8/patches/patch-an
deleted file mode 100644
index 35a60a76f8f..00000000000
--- a/net/bind8/patches/patch-an
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-an,v 1.1 2006/03/22 18:33:57 joerg Exp $
-
---- src/port/freebsd/Makefile.set.orig 2006-03-22 17:41:15.000000000 +0000
-+++ src/port/freebsd/Makefile.set
-@@ -1,11 +1,13 @@
- 'CC=cc'
- 'CDEBUG=-O2 -g -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat'
--'DESTBIN=/usr/bin'
--'DESTSBIN=/usr/sbin'
--'DESTEXEC=/usr/libexec'
--'DESTMAN=/usr/share/man'
--'DESTHELP=/usr/share/misc'
--'DESTETC=/etc'
-+'DESTBIN=${PREFIX}/bin'
-+'DESTLIB=${PREFIX}/lib'
-+'DESTINC=${PREFIX}/include/bind'
-+'DESTSBIN=${PREFIX}/sbin'
-+'DESTEXEC=${PREFIX}/libexec'
-+'DESTMAN=${PREFIX}/${PKGMANDIR}'
-+'DESTHELP=${PREFIX}/share/doc/bind8'
-+'DESTETC=${PKG_SYSCONFDIR}'
- 'DESTRUN=/var/run'
- 'LEX=lex -I'
- 'YACC=yacc -d'
diff --git a/net/bind8/patches/patch-ao b/net/bind8/patches/patch-ao
deleted file mode 100644
index 215ee201064..00000000000
--- a/net/bind8/patches/patch-ao
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ao,v 1.1 2008/05/11 00:00:57 tonnerre Exp $
-
---- src/lib/inet/inet_network.c.orig 2004-03-17 01:20:24.000000000 +0100
-+++ src/lib/inet/inet_network.c
-@@ -84,9 +84,9 @@ again:
- }
- if (!digit)
- return (INADDR_NONE);
-+ if (pp >= parts + 4 || val > 0xffU)
-+ return (INADDR_NONE);
- if (*cp == '.') {
-- if (pp >= parts + 4 || val > 0xffU)
-- return (INADDR_NONE);
- *pp++ = val, cp++;
- goto again;
- }
diff --git a/net/bind8/patches/patch-ap b/net/bind8/patches/patch-ap
deleted file mode 100644
index 0d9f347730e..00000000000
--- a/net/bind8/patches/patch-ap
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2008/06/21 20:01:59 joerg Exp $
-
---- src/port/netbsd/include/port_after.h.orig 2003-04-24 03:55:37.000000000 +0000
-+++ src/port/netbsd/include/port_after.h
-@@ -6,7 +6,6 @@
- #define USE_WAITPID
- #define HAVE_GETRUSAGE
- #define HAVE_FCHMOD
--#define NEED_PSELECT
- #define SETGRENT_VOID
- #define SETPWENT_VOID
- #define HAVE_SA_LEN
-@@ -45,6 +44,14 @@
- #include <ifaddrs.h>
- #endif
-
-+#if !defined(__NetBSD_Version__) || __NetBSD_Version__ < 300000000
-+#define NEED_PSELECT
-+#endif
-+
-+#if !defined(__NetBSD_Version__) || __NetBSD_Version__ >= 400000000
-+#define HAVE_STRNDUP
-+#endif
-+
- /*
- * We need to know the IPv6 address family number even on IPv4-only systems.
- * Note that this is NOT a protocol constant, and that if the system has its