Skip to content

Commit b638e5c

Browse files
Update mDNSReponder package to 2600.120.12
1 parent 89e503f commit b638e5c

9 files changed

+27
-471
lines changed

third_party/mdnsresponder/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
include $(TOPDIR)/rules.mk
1717

1818
PKG_NAME:=mDNSResponder
19-
PKG_VERSION:=2559.80.8
19+
PKG_VERSION:=2600.120.12
2020
PKG_RELEASE:=1
2121

2222
PKG_SOURCE:=mDNSResponder-$(PKG_VERSION).tar.gz
2323
PKG_SOURCE_URL:=https://github.com/apple-oss-distributions/mDNSResponder/archive/refs/tags
24-
PKG_HASH:=96c3437867ede8d32ac83871b677329562fd16f7af60562a5d32afc12ef4beac
24+
PKG_HASH:=eab211f35da3db2de2271b94009eb303e4319abe5d12a67a9d3f3c244e6ab0c6
2525

2626
# Use local source dir for development
2727
# USE_SOURCE_DIR:=$(HOME)/workspace/mDNSResponder

third_party/mdnsresponder/files/mdnsd.init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ PROG=/usr/sbin/mdnsd
2222

2323
start_service() {
2424
procd_open_instance
25-
procd_set_param command "$PROG"
25+
procd_set_param command "$PROG" -foreground
2626
procd_set_param respawn
2727
procd_close_instance
2828
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
From 79786a338918ffd57bf8de1707492262be786fbf Mon Sep 17 00:00:00 2001
2+
From: Karsten Sperling <[email protected]>
3+
Date: Wed, 2 Jul 2025 10:02:10 +1200
4+
Subject: [PATCH] Initialize fd_set in mDNSPlatformTCPWritable
5+
6+
---
7+
mDNSPosix/mDNSPosix.c | 1 +
8+
1 file changed, 1 insertion(+)
9+
10+
diff --git a/mDNSPosix/mDNSPosix.c b/mDNSPosix/mDNSPosix.c
11+
index cf902be9c..c7c5a1cb7 100644
12+
--- a/mDNSPosix/mDNSPosix.c
13+
+++ b/mDNSPosix/mDNSPosix.c
14+
@@ -833,6 +833,7 @@ mDNSexport mDNSBool mDNSPlatformTCPWritable(TCPSocket *sock)
15+
LogMsg("ERROR: mDNSPlatformTCPWritable called on an fd that won't fit in an fd_set.");
16+
return mDNStrue; // hope for the best?
17+
}
18+
+ FD_ZERO(&w);
19+
FD_SET(sock->events.fd, &w);
20+
tv.tv_sec = tv.tv_usec = 0;
21+
count = select(nfds, NULL, &w, NULL, &tv);
22+
--
23+
2.39.2
24+

third_party/mdnsresponder/patches/0001-mDNSResponderVersion-and-MDNS_VERSIONSTR_NODTS-handl.patch

Lines changed: 0 additions & 58 deletions
This file was deleted.

third_party/mdnsresponder/patches/0002-Avoid-strcmp-with-null.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

third_party/mdnsresponder/patches/0003-Ignore-irrelevant-config-files-with-UNICAST_DISABLED.patch

Lines changed: 0 additions & 76 deletions
This file was deleted.

third_party/mdnsresponder/patches/0004-Run-in-foreground-under-procd.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

third_party/mdnsresponder/patches/0005-Fix-Makefile-dependency-to-enable-parallel-builds.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)