Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 04:27:17 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 40a6461c672d - main - dns/djbdns: Remove expired port
Message-ID:  <202306300427.35U4RH1Q079537@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=40a6461c672d727c62129aded50173fc777f3ab0

commit 40a6461c672d727c62129aded50173fc777f3ab0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-30 03:57:06 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-30 03:57:11 +0000

    dns/djbdns: Remove expired port
    
    2023-06-30 dns/djbdns: No longer compliant with current DNS standards and source code hasn't been centrally managed for over 20 years
    
    Approved by:    portmgr (blanket)
---
 MOVED                                     |   1 +
 dns/Makefile                              |   1 -
 dns/djbdns/Makefile                       | 157 ------------------------------
 dns/djbdns/distinfo                       |  18 ----
 dns/djbdns/files/djbdns-ipv6-ooyama.patch | 128 ------------------------
 dns/djbdns/files/patch-dnscache-conf.c    |  20 ----
 dns/djbdns/files/patch-dnsroots.global    |  21 ----
 dns/djbdns/files/patch-hier.c             |  16 ---
 dns/djbdns/files/patch-query.c            |  20 ----
 dns/djbdns/files/patch-response.c         |  11 ---
 dns/djbdns/files/uint32.patch             |  80 ---------------
 dns/djbdns/pkg-descr                      |  22 -----
 dns/djbdns/pkg-plist                      |  57 -----------
 13 files changed, 1 insertion(+), 551 deletions(-)

diff --git a/MOVED b/MOVED
index 66e55ef50112..0dcee2ca2b27 100644
--- a/MOVED
+++ b/MOVED
@@ -7679,3 +7679,4 @@ www/tomcat10||2023-06-30|Has expired: EOLd, potential security issues (https://t
 databases/mongodb40-tools||2023-06-30|Has expired: Upstream EOL reached on 2022-04-30
 databases/mongodb40||2023-06-30|Has expired: Upstream EOL reached on 2022-04-30
 dns/djbdns-tools||2023-06-30|Has expired: No longer compliant with current DNS standards and source code hasn't been centrally managed for over 20 years
+dns/djbdns||2023-06-30|Has expired: No longer compliant with current DNS standards and source code hasn't been centrally managed for over 20 years
diff --git a/dns/Makefile b/dns/Makefile
index 576e60bb3f32..4cee2aaf3b4a 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -21,7 +21,6 @@
     SUBDIR += ddns
     SUBDIR += denominator
     SUBDIR += dhisd
-    SUBDIR += djbdns
     SUBDIR += dlint
     SUBDIR += dnrd
     SUBDIR += dns-ui
diff --git a/dns/djbdns/Makefile b/dns/djbdns/Makefile
deleted file mode 100644
index 4aebdb05728c..000000000000
--- a/dns/djbdns/Makefile
+++ /dev/null
@@ -1,157 +0,0 @@
-PORTNAME?=	djbdns
-PORTVERSION?=	${DJBDNS_VER}
-PORTREVISION?=	22
-PORTEPOCH?=	1
-CATEGORIES?=	dns
-MASTER_SITES=	https://cr.yp.to/djbdns/ \
-		http://cr.yp.to/djbdns/ \
-		ftp://cr.yp.to/djbdns/
-DISTNAME=	djbdns-${DJBDNS_VER}
-DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
-
-MAINTAINER?=	ports@FreeBSD.org
-COMMENT?=	Collection of secure and reliable DNS tools
-WWW=		https://cr.yp.to/djbdns.html
-
-# Converted from LEGAL_TEXT
-LICENSE=	djb
-LICENSE_NAME=	djb
-LICENSE_TEXT=	No license -- see http://cr.yp.to/softwarelaw.html
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
-DEPRECATED=	No longer compliant with current DNS standards and source code hasn't been centrally managed for over 20 years
-EXPIRATION_DATE=2023-06-30
-
-RUN_DEPENDS=	setuidgid:sysutils/daemontools \
-		tcpserver:sysutils/ucspi-tcp
-
-CONFLICTS=	djbdns-tools
-
-OPTIONS_DEFINE=	DUMPCACHE IP6 IGNOREIP JUMBO MAN PERSISTENT_MMAP SRV DNSCURVE ADD_USERS
-OPTIONS_DEFAULT=	MAN
-OPTIONS_SUB=	yes
-
-DUMPCACHE_DESC=	persistent cache for dnscache
-IP6_DESC=	IPv6 support by Felix von Leitner
-IGNOREIP_DESC=	ignoreip2 patch by Russell Nelson
-JUMBO_DESC=	jumbo patch by Claudiu Costin
-MAN_DESC=	manual pages by Gerritt Pape
-PERSISTENT_MMAP_DESC=	persistent mmap patch by Lennert Buytenhek
-SRV_DESC=	SRV record patch by Michael Handler
-DNSCURVE_DESC=	DNSCurve support by Matthew Dempsky
-ADD_USERS_DESC=	Add dnscache, tinydns and dnslog users/groups
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MADD_USERS}
-USERS?=	dnscache tinydns dnslog
-GROUPS?=dnscache tinydns dnslog
-.endif
-
-.if ${PORT_OPTIONS:MJUMBO}
-.if ${PORT_OPTIONS:MIP6} || ${PORT_OPTIONS:MIGNOREIP} || ${PORT_OPTIONS:MSRV} || \
-	${PORT_OPTIONS:MDNSCURVE}
-BROKEN=		The jumbo patch currently conflicts with the IPv6, ignoreip2, SRV and DNSCURVE patches
-.endif
-
-PATCH_SITES+=	http://people.FreeBSD.org/~roam/ports/dns/djbdns/:jumbo \
-		LOCAL/roam/dns/djbdns:jumbo
-PATCHFILES+=	jumbo-p13.patch.gz:jumbo
-PATCH_DIST_STRIP=	-p1
-.if ${PORT_OPTIONS:MDUMPCACHE}
-CFLAGS+=	-DDUMPCACHE
-.endif
-.endif
-
-.if ${PORT_OPTIONS:MMAN}
-MANDATE=	-20031023
-MASTER_SITES+=	http://smarden.org/pape/djb/manpages/:manpages
-DISTFILES+=	${DISTNAME}-man${MANDATE}.tar.gz:manpages
-.endif
-
-.if ${PORT_OPTIONS:MIP6}
-PKGNAMESUFFIX=	-ipv6
-PORTVERSION=	${DJBDNS_VER}.${DJBDNS_V6_VER:S/test/b/:S/diff//}
-PATCH_SITES+=	http://www.fefe.de/dns/:ipv6
-PATCHFILES+=	${PORTNAME}-${DJBDNS_VER}-${DJBDNS_V6_VER}.diff.bz2:ipv6
-PATCH_DIST_STRIP=	-p1
-EXTRA_PATCHES+=	${FILESDIR}/uint32.patch ${FILESDIR}/djbdns-ipv6-ooyama.patch
-.endif
-
-.if ${PORT_OPTIONS:MDUMPCACHE} && ! ${PORT_OPTIONS:MJUMBO}
-.if ${PORT_OPTIONS:MIP6}
-BROKEN=		The IPv6 and dnscache-dumpcache patches are currently in conflict
-.endif
-PATCH_SITES+=	http://efge.free.fr/djbdns/:dumpcache
-PATCHFILES+=	patch-dnscache-dumpcache-v4.txt:dumpcache
-PATCH_DIST_STRIP=	-p1
-CFLAGS+=	-DDUMPCACHE
-.endif
-
-.if ${PORT_OPTIONS:MIGNOREIP}
-.if ${PORT_OPTIONS:MIP6}
-BROKEN=		The IPv6 patch already includes the ignoreip2 functionality
-.endif
-PATCH_SITES+=	http://tinydns.org/:ignoreip
-PATCHFILES+=	djbdns-1.05-ignoreip2.patch:ignoreip
-PATCH_DIST_STRIP=	-p1
-.endif
-
-.if ${PORT_OPTIONS:MPERSISTENT_MMAP}
-PATCH_SITES+=	http://people.FreeBSD.org/~roam/ports/patches/dns/:persistent
-PATCHFILES+=	tinydns-persistmmap-20040418.patch:persistent
-PATCH_DIST_STRIP=	-p1
-.endif
-
-.if ${PORT_OPTIONS:MSRV}
-PATCH_SITES+=	http://tinydns.org/:srv
-PATCHFILES+=	srv-patch:srv
-PATCH_DIST_STRIP=	-p1
-.endif
-
-.if ${PORT_OPTIONS:MDNSCURVE}
-.if ${PORT_OPTIONS:MIP6}
-BROKEN=	The IPv6 and DNSCurve patches are currently in conflict
-.endif
-PATCH_SITES+=	http://shinobi.dempsky.org/~matthew/patches/:dnscurve
-PATCHFILES+=	djbdns-dnscurve-20090602.patch:dnscurve
-PATCH_DIST_STRIP=	-p1
-CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
-LDFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib
-BUILD_DEPENDS+=	nacl-sha256:security/nacl
-.endif
-
-DJBDNS_VER=	1.05
-DJBDNS_V6_VER=	test23
-
-ALL_TARGET=	prog
-INSTALL_TARGET=	setup check
-
-.if ${PORT_OPTIONS:MIP6}
-PLIST_SUB+=	WITH_IP6=""
-.else
-PLIST_SUB+=	WITH_IP6="@comment "
-.endif
-
-post-patch:
-	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
-	@${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
-	@${ECHO_CMD} "${STAGEDIR}${PREFIX}" > ${WRKSRC}/conf-home.stage
-	@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
-
-post-build:
-	@${ECHO_MSG} "===> Rebuilding DJB installer to respect STAGEDIR"
-	@${MV} -f ${WRKSRC}/conf-home ${WRKSRC}/conf-home.sav
-	@${MV} -f ${WRKSRC}/conf-home.stage ${WRKSRC}/conf-home
-	@cd ${WRKSRC} ; ${RM} install instcheck install.o instcheck.o hier.o auto_home.o auto_home.c
-	@cd ${WRKSRC} ; ${DO_MAKE_BUILD} install instcheck
-	@${TOUCH} ${WRKSRC}/*-conf
-	@${MV} -f ${WRKSRC}/conf-home.sav ${WRKSRC}/conf-home
-
-.if ${PORT_OPTIONS:MMAN}
-post-install:
-	@${INSTALL_MAN} ${WRKDIR}/djbdns-man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
-	@${INSTALL_MAN} ${WRKDIR}/djbdns-man/*.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
-.endif
-
-.include <bsd.port.mk>
diff --git a/dns/djbdns/distinfo b/dns/djbdns/distinfo
deleted file mode 100644
index 0beb2721ae6a..000000000000
--- a/dns/djbdns/distinfo
+++ /dev/null
@@ -1,18 +0,0 @@
-SHA256 (djbdns-1.05.tar.gz) = 3ccd826a02f3cde39be088e1fc6aed9fd57756b8f970de5dc99fcd2d92536b48
-SIZE (djbdns-1.05.tar.gz) = 85648
-SHA256 (djbdns-1.05-man-20031023.tar.gz) = ba1c58f14bc928908d8618230f400d73cfe2200ed800a272b63048e3e50be569
-SIZE (djbdns-1.05-man-20031023.tar.gz) = 17170
-SHA256 (jumbo-p13.patch.gz) = 04397e9a5b35546ae4b5dc134142ad6cc47014791cad2284e5465f6a35a69304
-SIZE (jumbo-p13.patch.gz) = 11779
-SHA256 (patch-dnscache-dumpcache-v4.txt) = c2fbc21035fccbb3564226fc40edaa44643119b7b103483825f82786c89009f0
-SIZE (patch-dnscache-dumpcache-v4.txt) = 16065
-SHA256 (djbdns-1.05-test23.diff.bz2) = e702f47b4a4c77fe5cec474a8219a072cfaaee07282650b7e0dd322ed82e8f33
-SIZE (djbdns-1.05-test23.diff.bz2) = 18480
-SHA256 (djbdns-1.05-ignoreip2.patch) = ca5d759380c316132be6680e77c37d24a5d715cd6e1c325a75c8450e01133be0
-SIZE (djbdns-1.05-ignoreip2.patch) = 3890
-SHA256 (tinydns-persistmmap-20040418.patch) = 9c8e685ed628ef80b92611023c098066633f7bf63be434f373edfba0a465ebb6
-SIZE (tinydns-persistmmap-20040418.patch) = 920
-SHA256 (srv-patch) = 779546218b09544493c6ba5e23bc29c33c5d284cfc78ac6fa74fa8e050bb3779
-SIZE (srv-patch) = 4508
-SHA256 (djbdns-dnscurve-20090602.patch) = 7efc54bd1981d0eb920de02b97f9b152c57e6add8023c9b82566358dc9525bba
-SIZE (djbdns-dnscurve-20090602.patch) = 26674
diff --git a/dns/djbdns/files/djbdns-ipv6-ooyama.patch b/dns/djbdns/files/djbdns-ipv6-ooyama.patch
deleted file mode 100644
index 2faa7e6aa4ad..000000000000
--- a/dns/djbdns/files/djbdns-ipv6-ooyama.patch
+++ /dev/null
@@ -1,128 +0,0 @@
-# http://hasiru.net/djbdns-ipv6-ooyama.patch
-
-diff -puNr dns_transmit.c dns_transmit.c
---- dns_transmit.c	2008-07-12 14:10:52.000000000 +0900
-+++ dns_transmit.c	2008-07-11 15:35:23.000000000 +0900
-@@ -104,6 +104,14 @@ static int thisudp(struct dns_transmit *
-   while (d->udploop < 4) {
-     for (;d->curserver < 16;++d->curserver) {
-       ip = d->servers + 16 * d->curserver;
-+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
-+      if (!fromserver) {
-+        if (ip6_isv4mapped(ip))
-+          noipv6 = 1;
-+        else
-+          noipv6 = 0;
-+      }
-+#endif
-       if (byte_diff(ip,16,V6any)) {
- 	d->query[2] = dns_random(256);
- 	d->query[3] = dns_random(256);
-@@ -155,6 +163,14 @@ static int thistcp(struct dns_transmit *
- 
-   for (;d->curserver < 16;++d->curserver) {
-     ip = d->servers + 16 * d->curserver;
-+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
-+    if (!fromserver) {
-+      if (ip6_isv4mapped(ip))
-+        noipv6 = 1;
-+      else
-+        noipv6 = 0;
-+    }
-+#endif
-     if (byte_diff(ip,16,V6any)) {
-       d->query[2] = dns_random(256);
-       d->query[3] = dns_random(256);
-diff -puNr dnscache.c dnscache.c
---- dnscache.c	2008-07-12 14:10:52.000000000 +0900
-+++ dnscache.c	2008-07-11 15:32:00.000000000 +0900
-@@ -59,6 +59,7 @@ uint64 numqueries = 0;
- 
- static int udp53;
- 
-+
- #define MAXUDP 200
- static struct udpclient {
-   struct query q;
-@@ -408,11 +409,12 @@ int main()
-   if (!ip6_scan(x,myipincoming))
-     strerr_die3x(111,FATAL,"unable to parse IP address ",x);
- 
--#if 0
-+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
-   /* if if IP is a mapped-IPv4 address, disable IPv6 functionality */
-   /* this is actually a bad idea */
-   if (ip6_isv4mapped(myipincoming))
-     noipv6 = 1;
-+  fromserver = 1;
- #endif
- 
-   udp53 = socket_udp6();
-diff -puNr server.c server.c
---- server.c	2008-07-12 14:10:52.000000000 +0900
-+++ server.c	2008-07-11 15:33:18.000000000 +0900
-@@ -92,6 +92,9 @@ int main()
- {
-   char *x;
-   int *udp53;
-+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
-+  int *noipv6s;
-+#endif
-   unsigned int off;
-   unsigned int cnt;
-   iopause_fd *iop;
-@@ -116,6 +119,11 @@ int main()
-   }
-   udp53=(int *) alloc(sizeof(int) *cnt);
-   if (!udp53) nomem();
-+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
-+  noipv6s=(int *) alloc(sizeof(int) *cnt);
-+  if (!noipv6s) nomem();
-+  fromserver = 1;
-+#endif
-   iop=(iopause_fd *) alloc(sizeof(*iop) * cnt);
-   if (!iop) nomem();
- 
-@@ -124,6 +132,12 @@ int main()
-     unsigned int l;
-     uint32 ifid=0;
-     l=ip6_scan(x+off,ip);
-+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
-+    if (ip6_isv4mapped(ip))
-+      noipv6 = noipv6s[cnt] = 1;
-+    else
-+      noipv6 = noipv6s[cnt] = 0;
-+#endif
-     udp53[cnt] = socket_udp6();
-     if (udp53[cnt] == -1)
-       strerr_die2sys(111,fatal,"unable to create UDP socket: ");
-@@ -165,6 +179,9 @@ int main()
-     iopause(iop,cnt,&deadline,&stamp);
-     for (i=0;i<cnt;i++)
-       if (iop[i].revents) {
-+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
-+        noipv6 = noipv6s[i];
-+#endif
- 	len = socket_recv6(udp53[i],buf,sizeof buf,ip,&port,&ifid);
- 	if (len < 0) continue;
- 	if (!doit()) continue;
-diff -puNr socket.h socket.h
---- socket.h	2008-07-12 14:10:52.000000000 +0900
-+++ socket.h	2008-07-11 15:44:14.000000000 +0900
-@@ -34,5 +34,6 @@ extern const char* socket_getifname(uint
- extern uint32 socket_getifidx(const char *ifname);
- 
- extern int noipv6;
-+extern int fromserver;
- 
- #endif
-diff -puNr socket_noipv6.c socket_noipv6.c
---- socket_noipv6.c	2008-07-12 14:10:52.000000000 +0900
-+++ socket_noipv6.c	2008-07-11 15:30:12.000000000 +0900
-@@ -1,5 +1,6 @@
- #include "haveip6.h"
- 
-+int fromserver=0;
- #ifdef LIBC_HAS_IP6
- int noipv6=0;
- #else
diff --git a/dns/djbdns/files/patch-dnscache-conf.c b/dns/djbdns/files/patch-dnscache-conf.c
deleted file mode 100644
index 4fb1e2a7abb4..000000000000
--- a/dns/djbdns/files/patch-dnscache-conf.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- dnscache-conf.orig	Sat Sep 23 17:39:21 2000
-+++ dnscache-conf.c	Sat Sep 23 17:42:43 2000
-@@ -89,13 +89,13 @@
-   if (chdir(auto_home) == -1)
-     strerr_die4sys(111,FATAL,"unable to switch to ",auto_home,": ");
- 
--  fdrootservers = open_read("/etc/dnsroots.local");
-+  fdrootservers = open_read("etc/dnsroots.local");
-   if (fdrootservers == -1) {
-     if (errno != error_noent)
--      strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.local: ");
--    fdrootservers = open_read("/etc/dnsroots.global");
-+      strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.local: ");
-+    fdrootservers = open_read("etc/dnsroots.global");
-     if (fdrootservers == -1)
--      strerr_die2sys(111,FATAL,"unable to open /etc/dnsroots.global: ");
-+      strerr_die4sys(111,FATAL,"unable to open ",auto_home,"/etc/dnsroots.global: ");
-   }
- 
-   init(dir,FATAL);
diff --git a/dns/djbdns/files/patch-dnsroots.global b/dns/djbdns/files/patch-dnsroots.global
deleted file mode 100644
index a5c7bb0e50b1..000000000000
--- a/dns/djbdns/files/patch-dnsroots.global
+++ /dev/null
@@ -1,21 +0,0 @@
---- dnsroots.global.orig	2001-02-12 06:11:45.000000000 +0900
-+++ dnsroots.global	2015-12-02 09:24:27.688776000 +0900
-@@ -1,13 +1,13 @@
- 198.41.0.4
--128.9.0.107
-+192.228.79.201
- 192.33.4.12
--128.8.10.90
-+199.7.91.13
- 192.203.230.10
- 192.5.5.241
- 192.112.36.4
--128.63.2.53
-+198.97.190.53
- 192.36.148.17
--198.41.0.10
-+192.58.128.30
- 193.0.14.129
--198.32.64.12
-+199.7.83.42
- 202.12.27.33
diff --git a/dns/djbdns/files/patch-hier.c b/dns/djbdns/files/patch-hier.c
deleted file mode 100644
index 3d73c91ab0ff..000000000000
--- a/dns/djbdns/files/patch-hier.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- hier.c.orig	Wed Apr 14 09:38:45 2004
-+++ hier.c	Wed Apr 14 09:39:16 2004
-@@ -2,10 +2,10 @@
- 
- void hier()
- {
--  c("/","etc","dnsroots.global",-1,-1,0644);
-+  c(auto_home,"etc","dnsroots.global",-1,-1,0644);
- 
--  h(auto_home,-1,-1,02755);
--  d(auto_home,"bin",-1,-1,02755);
-+  h(auto_home,-1,-1,0755);
-+  d(auto_home,"bin",-1,-1,0755);
- 
-   c(auto_home,"bin","dnscache-conf",-1,-1,0755);
-   c(auto_home,"bin","tinydns-conf",-1,-1,0755);
diff --git a/dns/djbdns/files/patch-query.c b/dns/djbdns/files/patch-query.c
deleted file mode 100644
index 34663213dff6..000000000000
--- a/dns/djbdns/files/patch-query.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- query.c.orig	2018-01-16 11:49:56.341179000 -0800
-+++ query.c	2018-01-16 11:50:06.432700000 -0800
-@@ -203,7 +203,7 @@
- 
- 
-   NEWNAME:
--  if (++z->loop == 100) goto DIE;
-+  if (++z->loop == 500) goto DIE;
-   d = z->name[z->level];
-   dtype = z->level ? DNS_T_A : z->type;
-   dlen = dns_domain_length(d);
-@@ -449,7 +449,7 @@
- 
- 
-   HAVEPACKET:
--  if (++z->loop == 100) goto DIE;
-+  if (++z->loop == 500) goto DIE;
-   buf = z->dt.packet;
-   len = z->dt.packetlen;
- 
diff --git a/dns/djbdns/files/patch-response.c b/dns/djbdns/files/patch-response.c
deleted file mode 100644
index 8a82a1e4d240..000000000000
--- a/dns/djbdns/files/patch-response.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- response.c.orig	2009-03-06 13:02:27.000000000 -0300
-+++ response.c	2009-03-06 13:03:03.000000000 -0300
-@@ -34,7 +34,7 @@
-         uint16_pack_big(buf,49152 + name_ptr[i]);
-         return response_addbytes(buf,2);
-       }
--    if (dlen <= 128)
-+    if ((dlen <= 128) && (response_len < 16384))
-       if (name_num < NAMES) {
- 	byte_copy(name[name_num],dlen,d);
- 	name_ptr[name_num] = response_len;
diff --git a/dns/djbdns/files/uint32.patch b/dns/djbdns/files/uint32.patch
deleted file mode 100644
index b677eb10628c..000000000000
--- a/dns/djbdns/files/uint32.patch
+++ /dev/null
@@ -1,80 +0,0 @@
---- Makefile.orig	Wed Dec 29 09:37:36 2004
-+++ Makefile	Wed Dec 29 09:52:11 2004
-@@ -333,7 +333,7 @@
- dns_transmit.o: \
- compile dns_transmit.c socket.h uint16.h alloc.h error.h byte.h \
- uint16.h dns.h stralloc.h gen_alloc.h iopause.h taia.h tai.h uint64.h \
--taia.h
-+taia.h uint32.h
- 	./compile dns_transmit.c
- 
- dns_txt.o: \
-@@ -855,15 +855,15 @@
- 	rm -f trylsock.o trylsock
- 
- socket_accept.o: \
--compile socket_accept.c byte.h socket.h uint16.h
-+compile socket_accept.c byte.h socket.h uint16.h uint32.h
- 	./compile socket_accept.c
- 
- socket_accept6.o: \
--compile socket_accept6.c byte.h socket.h uint16.h
-+compile socket_accept6.c byte.h socket.h uint16.h uint32.h
- 	./compile socket_accept6.c
- 
- socket_bind.o: \
--compile socket_bind.c byte.h socket.h uint16.h
-+compile socket_bind.c byte.h socket.h uint16.h uint32.h
- 	./compile socket_bind.c
- 
- socket_bind6.o: \
-@@ -871,7 +871,7 @@
- 	./compile socket_bind6.c
- 
- socket_conn.o: \
--compile socket_conn.c byte.h socket.h uint16.h
-+compile socket_conn.c byte.h socket.h uint16.h uint32.h
- 	./compile socket_conn.c
- 
- socket_connect6.o: \
-@@ -879,11 +879,11 @@
- 	./compile socket_connect6.c
- 
- socket_listen.o: \
--compile socket_listen.c socket.h uint16.h
-+compile socket_listen.c socket.h uint16.h uint32.h
- 	./compile socket_listen.c
- 
- socket_recv.o: \
--compile socket_recv.c byte.h socket.h uint16.h
-+compile socket_recv.c byte.h socket.h uint16.h uint32.h
- 	./compile socket_recv.c
- 
- socket_recv6.o: \
-@@ -891,7 +891,7 @@
- 	./compile socket_recv6.c
- 
- socket_send.o: \
--compile socket_send.c byte.h socket.h uint16.h
-+compile socket_send.c byte.h socket.h uint16.h uint32.h
- 	./compile socket_send.c
- 
- socket_send6.o: \
-@@ -899,7 +899,7 @@
- 	./compile socket_send6.c
- 
- socket_tcp.o: \
--compile socket_tcp.c ndelay.h socket.h uint16.h
-+compile socket_tcp.c ndelay.h socket.h uint16.h uint32.h
- 	./compile socket_tcp.c
- 
- socket_tcp6.o: \
-@@ -907,7 +907,7 @@
- 	./compile socket_tcp6.c
- 
- socket_udp.o: \
--compile socket_udp.c ndelay.h socket.h uint16.h
-+compile socket_udp.c ndelay.h socket.h uint16.h uint32.h
- 	./compile socket_udp.c
- 
- socket_udp6.o: \
diff --git a/dns/djbdns/pkg-descr b/dns/djbdns/pkg-descr
deleted file mode 100644
index 1acaa1fdfdd3..000000000000
--- a/dns/djbdns/pkg-descr
+++ /dev/null
@@ -1,22 +0,0 @@
-DJBDNS is a collection of Domain Name System tools. It includes
-several components:
-
-  * The dnscache program is a local DNS cache. It accepts recursive DNS
-    queries from local clients such as web browsers. It collects
-    responses from remote DNS servers.
-  * The tinydns program is a fast, UDP-only DNS server. It makes local
-    DNS information available to the Internet.
-  * The pickdns program is a load-balancing DNS server. It points
-    clients to a dynamic selection of IP addresses.
-  * The walldns program is a reverse DNS wall. It provides matching
-    reverse and forward records while hiding local host information.
-  * The dns library handles outgoing and incoming DNS packets. It can be
-    used by clients such as web browsers to look up host addresses, host
-    names, MX records, etc. It supports asynchronous resolution.
-  * The dnsfilter program is a parallel IP-address-to-host-name
-    converter.
-  * The dnsip, dnsipq, dnsname, dnstxt, and dnsmx programs are simple
-    command-line interfaces to DNS.
-  * The dnsq and dnstrace programs are DNS debugging tools.
-
-Documentation is at the website below,
diff --git a/dns/djbdns/pkg-plist b/dns/djbdns/pkg-plist
deleted file mode 100644
index f4a7ab24de04..000000000000
--- a/dns/djbdns/pkg-plist
+++ /dev/null
@@ -1,57 +0,0 @@
-bin/axfr-get
-bin/axfrdns
-bin/axfrdns-conf
-bin/dnscache
-bin/dnscache-conf
-bin/dnsfilter
-bin/dnsip
-%%WITH_IP6%%bin/dnsip6
-%%WITH_IP6%%bin/dnsip6q
-bin/dnsipq
-bin/dnsmx
-bin/dnsname
-bin/dnsq
-bin/dnsqr
-bin/dnstrace
-bin/dnstracesort
-bin/dnstxt
-bin/pickdns
-bin/pickdns-conf
-bin/pickdns-data
-bin/random-ip
-bin/rbldns
-bin/rbldns-conf
-bin/rbldns-data
-bin/tinydns
-bin/tinydns-conf
-bin/tinydns-data
-bin/tinydns-edit
-bin/tinydns-get
-bin/walldns
-bin/walldns-conf
-etc/dnsroots.global
-%%MAN%%man/man1/dnsfilter.1.gz
-%%MAN%%man/man1/dnsip.1.gz
-%%MAN%%man/man1/dnsipq.1.gz
-%%MAN%%man/man1/dnsmx.1.gz
-%%MAN%%man/man1/dnsname.1.gz
-%%MAN%%man/man1/dnsq.1.gz
-%%MAN%%man/man1/dnsqr.1.gz
-%%MAN%%man/man1/dnstrace.1.gz
-%%MAN%%man/man1/dnstracesort.1.gz
-%%MAN%%man/man1/dnstxt.1.gz
-%%MAN%%man/man1/tinydns-get.1.gz
-%%MAN%%man/man8/axfr-get.8.gz
-%%MAN%%man/man8/axfrdns-conf.8.gz
-%%MAN%%man/man8/axfrdns.8.gz
-%%MAN%%man/man8/dnscache-conf.8.gz
-%%MAN%%man/man8/dnscache.8.gz
-%%MAN%%man/man8/rbldns-conf.8.gz
-%%MAN%%man/man8/rbldns-data.8.gz
-%%MAN%%man/man8/rbldns.8.gz
-%%MAN%%man/man8/tinydns-conf.8.gz
-%%MAN%%man/man8/tinydns-data.8.gz
-%%MAN%%man/man8/tinydns-edit.8.gz
-%%MAN%%man/man8/tinydns.8.gz
-%%MAN%%man/man8/walldns.8.gz
-%%MAN%%man/man8/walldns-conf.8.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300427.35U4RH1Q079537>