mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-27 04:16:00 +00:00
* https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-${PV}.tar.gz is just redirect to unsafe github archives which are regenerated from time to time. * We do have src-uri-bad QA check which prevents to use github archives in SRC_URI since 2019:21f84fcdd6but this cannot catch such redirects, see: $ wget https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.30.4.tar.gz --2023-01-31 10:06:02-- https://opensource.apple.com/tarballs/mDNSResponder/mDNSResponder-878.30.4.tar.gz Resolving opensource.apple.com (opensource.apple.com)... 17.253.73.203, 17.253.73.206, 2a01:b740:a26:f000::5, ... Connecting to opensource.apple.com (opensource.apple.com)|17.253.73.203|:443... connected. HTTP request sent, awaiting response... 302 Redirect Location: https://github.com/apple-oss-distributions/mDNSResponder/archive/refs/tags/mDNSResponder-878.30.4.tar.gz [following] --2023-01-31 10:06:02-- https://github.com/apple-oss-distributions/mDNSResponder/archive/refs/tags/mDNSResponder-878.30.4.tar.gz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/apple-oss-distributions/mDNSResponder/tar.gz/refs/tags/mDNSResponder-878.30.4 [following] --2023-01-31 10:06:02-- https://codeload.github.com/apple-oss-distributions/mDNSResponder/tar.gz/refs/tags/mDNSResponder-878.30.4 Resolving codeload.github.com (codeload.github.com)... 140.82.121.10 Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: ?mDNSResponder-878.30.4.tar.gz? * The tarball was regenerated recently as discussed in: https://github.com/orgs/community/discussions/45830 * Use top-level directory in S to fix DEBUG_PREFIX_MAP usage like the version in master does, the only exception here is that there still was top-level Makefile (which fails to set VER with: Makefile:26: *** missing separator. Stop. so use the simple one like newer version in master) * it's already included in master as part of version upgrade in:ec96eb577bSigned-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
42 lines
1.1 KiB
Diff
42 lines
1.1 KiB
Diff
From ea442b57f7a9bcd41d5b5bd1cafde4dbe5685d41 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Thu, 4 Nov 2021 07:31:32 -0700
|
|
Subject: [PATCH] dns-sd: Include missing headers
|
|
|
|
Fixes build on Musl
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
Clients/dns-sd.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/Clients/dns-sd.c
|
|
+++ b/Clients/dns-sd.c
|
|
@@ -58,11 +58,13 @@
|
|
//#define TEST_NEW_CLIENTSTUB 1
|
|
|
|
#include <ctype.h>
|
|
+#include <stdarg.h> // For va_args
|
|
#include <stdio.h> // For stdout, stderr
|
|
#include <stdlib.h> // For exit()
|
|
#include <string.h> // For strlen(), strcpy()
|
|
#include <errno.h> // For errno, EINTR
|
|
#include <time.h>
|
|
+#include <sys/param.h> // For MIN
|
|
#include <sys/types.h> // For u_char
|
|
#ifdef APPLE_OSX_mDNSResponder
|
|
#include <inttypes.h> // For PRId64
|
|
--- a/mDNSPosix/nss_mdns.c
|
|
+++ b/mDNSPosix/nss_mdns.c
|
|
@@ -89,6 +89,9 @@
|
|
|
|
#include <dns_sd.h>
|
|
|
|
+#if !defined(NETDB_INTERNAL)
|
|
+# define NETDB_INTERNAL (-1)
|
|
+#endif
|
|
|
|
//----------
|
|
// Public functions
|