Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ABD75CCF9F0 for ; Thu, 30 Oct 2025 08:24:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8307E822DA; Thu, 30 Oct 2025 08:24:10 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id jnsCg6Qbzyug; Thu, 30 Oct 2025 08:24:07 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 861E481BFA Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 861E481BFA; Thu, 30 Oct 2025 08:24:07 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with ESMTP id D2D5C160 for ; Thu, 30 Oct 2025 08:23:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C54AA810B6 for ; Thu, 30 Oct 2025 08:23:57 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id IeBTXmQ41jNn for ; Thu, 30 Oct 2025 08:23:56 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::32e; helo=mail-wm1-x32e.google.com; envelope-from=thomas.perale@essensium.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 946F48117F DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 946F48117F Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by smtp1.osuosl.org (Postfix) with ESMTPS id 946F48117F for ; Thu, 30 Oct 2025 08:23:56 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-475d9de970eso5294965e9.1 for ; Thu, 30 Oct 2025 01:23:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761812634; x=1762417434; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BPmJXEEmT2tmzMATqVzpiZe6VMo9D4gVS2i2Qiqq9sc=; b=bkXFqm/fCjmP1xVqzPTgjr8V7Sab9E9RXMiMGQO2zQcZq1wW5Ym1cI8RrjGkDMKPOU d/k0/jCf/GGem+sxDZvZunN4rtTnck26hiQM6Oa1J5UwccJA4/sVRh+XsBiX9qWw19DM N3OahQJLGZx02Pys9rUpZVANeVranfGGiO7vf5yunLGm5okSnbDvh9ZISc/nzcPeSifO Jqtn7NQJoABpPp6uzKgYgxcPM+RNPI5u4REqozBBQPZImpu17DRQIBolTFI36b6HtVuA OHMyWntB1C4yE2MkU30P45vA5wAwY3kwOjZA/LV8nCINLgmNRo0rQ6+KXLTZmDOsI5Ih gJnw== X-Forwarded-Encrypted: i=1; AJvYcCX++05hun1MBjIPRY5R3FKq/oLHqjouj6ivWmcnkMAnVHryom/pOe+VQOPPZ4SZMe3P6Xvx/R4l/vY=@buildroot.org X-Gm-Message-State: AOJu0Yx0N1YSyV7gk7lgQZ1HAqPhvxkqlNZQcbDAWtMfHIneu/Rt5hIY XKZu5x2WGqNFUUAcGqDaL2RbOKmwpesQE5KCjoQTr51DGAKRL8I3QiEWtCJrvPdWu8lQ4JmwKi8 snqjd X-Gm-Gg: ASbGncv7IOuwYo2sfrpFYM3eZscaNLBv/Am8xEpmci7GLp1v+qTVVWTlykvwZyf53KY 52Rkgr4ICZu0iz385W5xNnWeu1aB75uVMV6pyPTIijAa01gPQCirqM/E8yhqVDxUViTR0iLN7+f LsHt7Y51oxUUp0eUJ4RbJgmJbWq8le/XbDy5UgpkZulnc4RLETCzwmZfoTXgAFCMYGFVuu+1XoF W0sFsNMccWKPMrjq1JxELgH7Y3EHoHwjHgvAFNAPu/NeDNOZQLiwVwp356PJIFsdJA8i2+CQupk H80IWjSKh2Tp+0mlpOkbjMvN5Ri8uM+IElU1a35kOKEcB7nXKqvSimKnOCNEIXy8X9hY/XXJDIB 8BIwa8HiYts/bHyBeOyb1txdpvsrFJRU8tW4Qr3oobNCuxcPXTw5y1YmZ8xLp3R08Gm/LfJZweF AI7zeTpjxRyzDtJh1whf7GJj5d6MhO6irUqKY1 X-Google-Smtp-Source: AGHT+IHpfsI077mqWbf1YdBos4YVlLb4LBv5ueXtJjVF1C1Ai3rlAH+OAXq0cMdpBMPZeKoXxMs6EA== X-Received: by 2002:a05:600c:530f:b0:471:6f4:602a with SMTP id 5b1f17b1804b1-477267cd23fmr19206255e9.23.1761812634406; Thu, 30 Oct 2025 01:23:54 -0700 (PDT) Received: from arch (77.109.92.202.static.edpnet.net. [77.109.92.202]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-429952b7a94sm36400266f8f.5.2025.10.30.01.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Oct 2025 01:23:54 -0700 (PDT) To: Trammell Hudson Cc: Thomas Perale , buildroot@buildroot.org Date: Thu, 30 Oct 2025 09:23:53 +0100 Message-ID: <20251030082353.35390-1-thomas.perale@mind.be> X-Mailer: git-send-email 2.51.0 In-Reply-To: References: MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mind.be; s=google; t=1761812634; x=1762417434; darn=buildroot.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=BPmJXEEmT2tmzMATqVzpiZe6VMo9D4gVS2i2Qiqq9sc=; b=IsUMr95OjEjMKGfzTFCLsuTYkXo28S/q41FJyePWlGYXYL/3nJtH7vSWcR9NYNDk/d rJXV2gzVbmo0Q8eBaMmgSYJ1yhvRGnuUkGGl1h0pu3c/zqxP1GhcL87upopGSs4jjptz +1JAmZ4WBsJgwCQWQSQbzRZp+J/GqaAA+4vftx9Qo8HUSHTFuauXKwuxmFSS2tnkkHUc CWk6kz+NVQPBhyt9MxFJv5EzA9HBFR7XPwRkKwNQ6hFKsNYfNM5oMpO3qPTotIPHf97c w8iBk0SBudXJRmeTdtGctuRh//sIDyYX8P7RKVwooHIYHDMagO/HNQr2LATqIkqMhAME sHww== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=mind.be X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=mind.be header.i=@mind.be header.a=rsa-sha256 header.s=google header.b=IsUMr95O Subject: Re: [Buildroot] [PATCH 1/1] package/shairport-sync: bump version to 4.3.7 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Thomas Perale via buildroot Reply-To: Thomas Perale Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" In reply of: > Drop all the patches (already in version). Works on Pi 4b and 0W. > > https://github.com/mikebrady/shairport-sync/releases/tag/4.3.7 > > Signed-off-by: Trammell Hudson Applied to 2025.02.x & 2025.08.x. Thanks > --- > ...e.ac-find-sndfile-through-pkg-config.patch | 45 -------- > ...0002-mbedtls-add-support-to-mbedtls3.patch | 105 ------------------ > package/shairport-sync/shairport-sync.hash | 2 +- > package/shairport-sync/shairport-sync.mk | 2 +- > 4 files changed, 2 insertions(+), 152 deletions(-) > delete mode 100644 package/shairport-sync/0001-configure.ac-find-sndfile-through-pkg-config.patch > delete mode 100644 package/shairport-sync/0002-mbedtls-add-support-to-mbedtls3.patch > > diff --git a/package/shairport-sync/0001-configure.ac-find-sndfile-through-pkg-config.patch b/package/shairport-sync/0001-configure.ac-find-sndfile-through-pkg-config.patch > deleted file mode 100644 > index b593703a2a..0000000000 > --- a/package/shairport-sync/0001-configure.ac-find-sndfile-through-pkg-config.patch > +++ /dev/null > @@ -1,45 +0,0 @@ > -From 900b1827c55cc6020b3242640075174c2e6b12a5 Mon Sep 17 00:00:00 2001 > -From: Fabrice Fontaine > -Date: Wed, 4 Aug 2021 22:16:40 +0200 > -Subject: [PATCH] configure.ac: find sndfile through pkg-config > - > -Find sndfile through pkg-config to retrieve sndfile dependencies such as > -flac and avoid the following static build failure: > - > -/tmp/instance-3/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /tmp/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libsndfile.a(libsndfile_la-flac.o): in function `flac_byterate': > -flac.c:(.text+0xfc): undefined reference to `FLAC__StreamDecoderErrorStatusString' > - > -Fixes: > - - http://autobuild.buildroot.org/results/92ed30a6855ca11800b779718822bcba4a69c9a3 > - > -Signed-off-by: Fabrice Fontaine > -Upstream: https://github.com/mikebrady/shairport-sync/pull/1263 > -[Dario: make the patch to be applied with fuzz factor 0] > -Signed-off-by: Dario Binacchi > ---- > - configure.ac | 9 ++++++++- > - 1 file changed, 8 insertions(+), 1 deletion(-) > - > -diff --git a/configure.ac b/configure.ac > -index f77087c5..9b982c51 100644 > ---- a/configure.ac > -+++ b/configure.ac > -@@ -303,7 +303,14 @@ > - AC_ARG_WITH(convolution, [AS_HELP_STRING([--with-convolution],[choose audio DSP convolution support])]) > - if test "x$with_convolution" = "xyes" ; then > - AC_DEFINE([CONFIG_CONVOLUTION], 1, [Include audio DSP convolution support.]) > -- AC_CHECK_LIB([sndfile], [sf_open], , AC_MSG_ERROR(Convolution support requires the sndfile library -- libsndfile1-dev suggested!)) > -+ if test "x${with_pkg_config}" = xyes ; then > -+ PKG_CHECK_MODULES( > -+ [sndfile], [sndfile], > -+ [CFLAGS="${sndfile_CFLAGS} ${CFLAGS}" > -+ LIBS="${sndfile_LIBS} ${LIBS}"], AC_MSG_ERROR(Convolution support requires the sndfile library -- libsndfile1-dev suggested!)) > -+ else > -+ AC_CHECK_LIB([sndfile], [sf_open], , AC_MSG_ERROR(Convolution support requires the sndfile library -- libsndfile1-dev suggested!)) > -+ fi > - fi > - AM_CONDITIONAL([USE_CONVOLUTION], [test "x$with_convolution" = "xyes"]) > - > --- > -2.30.2 > - > diff --git a/package/shairport-sync/0002-mbedtls-add-support-to-mbedtls3.patch b/package/shairport-sync/0002-mbedtls-add-support-to-mbedtls3.patch > deleted file mode 100644 > index e0e8ea53de..0000000000 > --- a/package/shairport-sync/0002-mbedtls-add-support-to-mbedtls3.patch > +++ /dev/null > @@ -1,105 +0,0 @@ > -From d73b585c6f6d9136ae7a04243a54d734fa57d779 Mon Sep 17 00:00:00 2001 > -From: Seo Suchan > -Date: Thu, 9 May 2024 19:10:59 +0900 > -Subject: [PATCH] mbedtls: add support to mbedtls3 > - > -Signed-off-by: Seo Suchan > -Upstream: https://github.com/mikebrady/shairport-sync/commit/d73b585c6f6d9136ae7a04243a54d734fa57d779 > -[thomas: backport the line numbers] > -Signed-off-by: Thomas Perale > ---- > - common.c | 30 ++++++++++++++++++++++++++---- > - player.c | 1 - > - player.h | 1 - > - 3 files changed, 26 insertions(+), 6 deletions(-) > - > -diff --git a/common.c b/common.c > -index 4dc75bc7f..0e2a07243 100644 > ---- a/common.c > -+++ b/common.c > -@@ -77,6 +77,12 @@ > - #include > - #include > - #include > -+ > -+#if MBEDTLS_VERSION_MAJOR == 3 > -+#define MBEDTLS_PRIVATE_V3_ONLY(_q) MBEDTLS_PRIVATE(_q) > -+#else > -+#define MBEDTLS_PRIVATE_V3_ONLY(_q) _q > -+#endif > - #endif > - > - #ifdef CONFIG_LIBDAEMON > -@@ -691,8 +697,14 @@ uint8_t *rsa_apply(uint8_t *input, int inlen, int *outlen, int mode) { > - > - mbedtls_pk_init(&pkctx); > - > -+#if MBEDTLS_VERSION_MAJOR == 3 > - rc = mbedtls_pk_parse_key(&pkctx, (unsigned char *)super_secret_key, sizeof(super_secret_key), > -+ NULL, 0, mbedtls_ctr_drbg_random, &ctr_drbg); > -+#else > -+ rc = mbedtls_pk_parse_key(&pkctx, (unsigned char *)super_secret_key, sizeof(super_secret_key), > - NULL, 0); > -+ > -+#endif > - if (rc != 0) > - debug(1, "Error %d reading the private key.", rc); > - > -@@ -701,19 +713,29 @@ uint8_t *rsa_apply(uint8_t *input, int inlen, int *outlen, int mode) { > - > - switch (mode) { > - case RSA_MODE_AUTH: > -- mbedtls_rsa_set_padding(trsa, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE); > -- outbuf = malloc(trsa->len); > -+ mbedtls_rsa_set_padding(trsa, MBEDTLS_RSA_PKCS_V15, MBEDTLS_MD_NONE); > -+ outbuf = malloc(trsa->MBEDTLS_PRIVATE_V3_ONLY(len)); > -+#if MBEDTLS_VERSION_MAJOR == 3 > -+ rc = mbedtls_rsa_pkcs1_encrypt(trsa, mbedtls_ctr_drbg_random, &ctr_drbg, > -+ inlen, input, outbuf); > -+#else > - rc = mbedtls_rsa_pkcs1_encrypt(trsa, mbedtls_ctr_drbg_random, &ctr_drbg, MBEDTLS_RSA_PRIVATE, > - inlen, input, outbuf); > -+#endif > - if (rc != 0) > - debug(1, "mbedtls_pk_encrypt error %d.", rc); > -- *outlen = trsa->len; > -+ *outlen = trsa->MBEDTLS_PRIVATE_V3_ONLY(len); > - break; > - case RSA_MODE_KEY: > - mbedtls_rsa_set_padding(trsa, MBEDTLS_RSA_PKCS_V21, MBEDTLS_MD_SHA1); > -- outbuf = malloc(trsa->len); > -+ outbuf = malloc(trsa->MBEDTLS_PRIVATE_V3_ONLY(len)); > -+#if MBEDTLS_VERSION_MAJOR == 3 > -+ rc = mbedtls_rsa_pkcs1_decrypt(trsa, mbedtls_ctr_drbg_random, &ctr_drbg, > -+ &olen, input, outbuf, trsa->MBEDTLS_PRIVATE_V3_ONLY(len)); > -+#else > - rc = mbedtls_rsa_pkcs1_decrypt(trsa, mbedtls_ctr_drbg_random, &ctr_drbg, MBEDTLS_RSA_PRIVATE, > - &olen, input, outbuf, trsa->len); > -+#endif > - if (rc != 0) > - debug(1, "mbedtls_pk_decrypt error %d.", rc); > - *outlen = olen; > -diff --git a/player.c b/player.c > -index 8c1752722..d023d269c 100644 > ---- a/player.c > -+++ b/player.c > -@@ -47,7 +47,6 @@ > - > - #ifdef CONFIG_MBEDTLS > - #include > --#include > - #endif > - > - #ifdef CONFIG_POLARSSL > -diff --git a/player.h b/player.h > -index 11435bf91..b35eb7652 100644 > ---- a/player.h > -+++ b/player.h > -@@ -9,7 +9,6 @@ > - > - #ifdef CONFIG_MBEDTLS > - #include > --#include > - #endif > - > - #ifdef CONFIG_POLARSSL > diff --git a/package/shairport-sync/shairport-sync.hash b/package/shairport-sync/shairport-sync.hash > index 331866a379..dc7c7eee5b 100644 > --- a/package/shairport-sync/shairport-sync.hash > +++ b/package/shairport-sync/shairport-sync.hash > @@ -1,3 +1,3 @@ > # Locally calculated > -sha256 17990cb2620551caa07a1c3b371889e55803071eaada04e958c356547a7e1795 shairport-sync-3.3.9.tar.gz > +sha256 a1242d100b61fe1fffbbf706e919ed51d6a341c9fb8293fb42046e32ae2b3338 shairport-sync-4.3.7.tar.gz > sha256 1daaa904985807b7f9f2fa91f6b19f3faadf8df4e813f7451a691f89a6965e3f LICENSES > diff --git a/package/shairport-sync/shairport-sync.mk b/package/shairport-sync/shairport-sync.mk > index 5d01ab042e..493eefbd6f 100644 > --- a/package/shairport-sync/shairport-sync.mk > +++ b/package/shairport-sync/shairport-sync.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -SHAIRPORT_SYNC_VERSION = 3.3.9 > +SHAIRPORT_SYNC_VERSION = 4.3.7 > SHAIRPORT_SYNC_SITE = $(call github,mikebrady,shairport-sync,$(SHAIRPORT_SYNC_VERSION)) > > SHAIRPORT_SYNC_LICENSE = MIT, BSD-3-Clause > -- > 2.25.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot