From patchwork Thu Sep 17 06:36:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 1365897 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=embedded.rocks Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" header.d=embedded.rocks header.i=@embedded.rocks header.a=rsa-sha256 header.s=default header.b=Blo84CMF; dkim-atps=neutral Received: from whitealder.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 ozlabs.org (Postfix) with ESMTPS id 4BsS1d1Q4Pz9sSW for ; Thu, 17 Sep 2020 16:37:08 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7BD2C87825; Thu, 17 Sep 2020 06:37:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kOQE4cHV7z7p; Thu, 17 Sep 2020 06:37:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 78293877FB; Thu, 17 Sep 2020 06:37:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 4BE551BF847 for ; Thu, 17 Sep 2020 06:37:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 48C60875A1 for ; Thu, 17 Sep 2020 06:37:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IcJQ+3sUQ+Ld for ; Thu, 17 Sep 2020 06:37:02 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.141]) by hemlock.osuosl.org (Postfix) with ESMTPS id D405B8759D for ; Thu, 17 Sep 2020 06:37:01 +0000 (UTC) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 80E5D16005C for ; Thu, 17 Sep 2020 08:36:59 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BsS1R10wkz9rxM for ; Thu, 17 Sep 2020 08:36:59 +0200 (CEST) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:x-mailer:message-id:date:date:subject:subject:from :from:received:received; s=default; t=1600324617; x=1600929418; bh=Zc2Gibd4rimD/x9Yvd6AFWPmHWISX/D64PonYMzsJXU=; b=Blo84CMFvGK+ U9SORS5VT+KydVZtOWAA6Mtel9BySLbVpBmEY5Sk5NLeuhq1Z6IycujzfIjy62tg riZvm4PKe3RLRsO7itj/RzYesaZkWjVtDfa15dAqGrSqAcuzbl/bDHt+zvHzfOGw z5An+9MEGiKeKFjIQ0ZGSzfTv5UICNWe+MwgHUWPgdokvKZPqSIsPT0ESidleFRc /r6hF5azqcJfiAbVYFAEe7CVbkdJyfYutiGny43fq4LLaqHkiVrHlsSSFdBDU7kI 49WvZuS/XUUHSSr3zNYpEsDr4GoHTD01QMZIGQLCGXjcROZtrHeDO9yiVzLondxv OFwklH0KXw== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id MRak0yH3gGCV; Thu, 17 Sep 2020 08:36:57 +0200 (CEST) Received: from nzxt.fritz.box (port-92-195-26-107.dynamic.as20676.net [92.195.26.107]) (Authenticated sender: joerg.krause@embedded.rocks) by mail.embedded.rocks (Postfix) with ESMTPSA; Thu, 17 Sep 2020 08:36:57 +0200 (CEST) From: =?utf-8?q?J=C3=B6rg_Krause?= To: buildroot@buildroot.org Date: Thu, 17 Sep 2020 08:36:55 +0200 Message-Id: <20200917063655.927560-1-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/upmpdcli: bump to version 1.4.14 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Drop upstream patch which is included in the new version. Signed-off-by: Jörg Krause --- ...dapt-streamproxy-to-newer-microhttpd.patch | 106 ------------------ package/upmpdcli/upmpdcli.hash | 4 +- package/upmpdcli/upmpdcli.mk | 2 +- 3 files changed, 3 insertions(+), 109 deletions(-) delete mode 100644 package/upmpdcli/0001-Adapt-streamproxy-to-newer-microhttpd.patch diff --git a/package/upmpdcli/0001-Adapt-streamproxy-to-newer-microhttpd.patch b/package/upmpdcli/0001-Adapt-streamproxy-to-newer-microhttpd.patch deleted file mode 100644 index 55c691b86a..0000000000 --- a/package/upmpdcli/0001-Adapt-streamproxy-to-newer-microhttpd.patch +++ /dev/null @@ -1,106 +0,0 @@ -From 4fd8a07b560dcd4ad5706684d512d33707de3da0 Mon Sep 17 00:00:00 2001 -From: Jean-Francois Dockes -Date: Fri, 3 Jul 2020 19:26:37 +0200 -Subject: [PATCH] Adapt streamproxy to newer microhttpd where results are now - an enum - -Signed-off-by: Bernd Kuhls -[downloaded from upstream commit - https://framagit.org/medoc92/upmpdcli/-/commit/4fd8a07b560dcd4ad5706684d512d33707de3da0] ---- - src/mediaserver/cdplugins/streamproxy.cpp | 23 ++++++++++++++--------- - 1 file changed, 14 insertions(+), 9 deletions(-) - -diff --git a/src/mediaserver/cdplugins/streamproxy.cpp b/src/mediaserver/cdplugins/streamproxy.cpp -index abc57915..8d283834 100644 ---- a/src/mediaserver/cdplugins/streamproxy.cpp -+++ b/src/mediaserver/cdplugins/streamproxy.cpp -@@ -28,6 +28,11 @@ - #include - #include - -+ -+#if MHD_VERSION < 0x00097002 -+typedef int MHD_Result; -+#endif -+ - #include - #include - #include -@@ -155,7 +160,7 @@ public: - ~Internal(); - bool startMHD(); - -- int answerConn( -+ MHD_Result answerConn( - struct MHD_Connection *connection, const char *url, - const char *method, const char *version, - const char *upload_data, size_t *upload_data_size, -@@ -202,7 +207,7 @@ StreamProxy::Internal::Internal(int _listenport, UrlTransFunc _urltrans) - } - - --static int answer_to_connection( -+static MHD_Result answer_to_connection( - void *cls, struct MHD_Connection *conn, - const char *url, const char *method, const char *version, - const char *upload_data, size_t *upload_data_size, -@@ -214,7 +219,7 @@ static int answer_to_connection( - return internal->answerConn( - conn, url, method, version, upload_data, upload_data_size, con_cls); - } else { -- return -1; -+ return MHD_NO; - } - } - -@@ -238,8 +243,8 @@ static int print_out_key (void *cls, enum MHD_ValueKind kind, - } - #endif /* PRINT_KEYS */ - --static int mapvalues_cb(void *cls, enum MHD_ValueKind kind, -- const char *key, const char *value) -+static MHD_Result mapvalues_cb(void *cls, enum MHD_ValueKind kind, -+ const char *key, const char *value) - { - unordered_map *mp = (unordered_map *)cls; - if (mp) { -@@ -307,7 +312,7 @@ static bool processRange(struct MHD_Connection *mhdconn, uint64_t& offset) - return true; - } - --int StreamProxy::Internal::answerConn( -+MHD_Result StreamProxy::Internal::answerConn( - struct MHD_Connection *mhdconn, const char *_url, - const char *method, const char *version, - const char *upload_data, size_t *upload_data_size, -@@ -352,7 +357,7 @@ int StreamProxy::Internal::answerConn( - return MHD_NO; - } - MHD_add_response_header (response, "Location", url.c_str()); -- int ret = MHD_queue_response(mhdconn, 302, response); -+ MHD_Result ret = MHD_queue_response(mhdconn, 302, response); - MHD_destroy_response(response); - return ret; - } -@@ -393,7 +398,7 @@ int StreamProxy::Internal::answerConn( - int code = httpcode ? httpcode : MHD_HTTP_INTERNAL_SERVER_ERROR; - struct MHD_Response *response = - MHD_create_response_from_buffer(0, 0, MHD_RESPMEM_PERSISTENT); -- int ret = MHD_queue_response(mhdconn, code, response); -+ MHD_Result ret = MHD_queue_response(mhdconn, code, response); - MHD_destroy_response(response); - LOGINF("StreamProxy::answerConn (1): return with http code: " << - code << endl); -@@ -434,7 +439,7 @@ int StreamProxy::Internal::answerConn( - if (reader->fetcher->fetchDone(&fetchcode, &httpcode)) { - code = httpcode ? httpcode : MHD_HTTP_INTERNAL_SERVER_ERROR; - } -- int ret = MHD_queue_response(mhdconn, code, response); -+ MHD_Result ret = MHD_queue_response(mhdconn, code, response); - MHD_destroy_response(response); - return ret; - } --- -GitLab - diff --git a/package/upmpdcli/upmpdcli.hash b/package/upmpdcli/upmpdcli.hash index 83fb5cf967..68ea707e53 100644 --- a/package/upmpdcli/upmpdcli.hash +++ b/package/upmpdcli/upmpdcli.hash @@ -1,5 +1,5 @@ -# From http://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-1.4.12.tar.gz.sha256: -sha256 bffc78c140ad688987894ea5a1e162e6dcbc7dcae7d2cc322a894f5ea2a2f53b upmpdcli-1.4.12.tar.gz +# From http://www.lesbonscomptes.com/upmpdcli/downloads/upmpdcli-1.4.14.tar.gz.sha256: +sha256 e3d90dedee6a942acc049324ca81b7f008d217d386a3e2590a2ca5670cc9df05 upmpdcli-1.4.14.tar.gz # Hash for license file: sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/package/upmpdcli/upmpdcli.mk b/package/upmpdcli/upmpdcli.mk index 1315022ee8..6531b90ee9 100644 --- a/package/upmpdcli/upmpdcli.mk +++ b/package/upmpdcli/upmpdcli.mk @@ -4,7 +4,7 @@ # ################################################################################ -UPMPDCLI_VERSION = 1.4.12 +UPMPDCLI_VERSION = 1.4.14 UPMPDCLI_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads UPMPDCLI_LICENSE = LGPL-2.1+ UPMPDCLI_LICENSE_FILES = COPYING