From patchwork Sat May 9 16:50:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Titouan Christophe X-Patchwork-Id: 1286742 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=fail (p=none dis=none) header.from=railnova.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=railnova-eu.20150623.gappssmtp.com header.i=@railnova-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=kFY7Enb1; 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 49KCrg1Ny6z9sNH for ; Sun, 10 May 2020 02:51:14 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 40D3687766; Sat, 9 May 2020 16:51:12 +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 gpf8a57OAh58; Sat, 9 May 2020 16:51:11 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 0099A877EA; Sat, 9 May 2020 16:51:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C8D261BF94B for ; Sat, 9 May 2020 16:50:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AE6BB203F1 for ; Sat, 9 May 2020 16:50:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1GcisYEtmo2d for ; Sat, 9 May 2020 16:50:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by silver.osuosl.org (Postfix) with ESMTPS id 7D23D203BA for ; Sat, 9 May 2020 16:50:53 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id x17so5598456wrt.5 for ; Sat, 09 May 2020 09:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=railnova-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yjRidAeCKhy0942TLThgMIVlbd6m9JNLqayjj+sS2aQ=; b=kFY7Enb1UHs/WQnPeyumQ75VUHu1YQ/n/f9r6msKlRJc8nvy136JyPwshu7AVJwXnJ 5Qc2M7aUjCxf2QXkMVLRxL751w1u32802aMjnrj1KIpkk1ECBI36HWLrEfwTvFVkAZtZ 9QJ/Dmx2n8R2fDhSaa/x3rT+8HSbE/es7FIMOv8uWGwzFv4X8DKr/onQV6FIqCA6DfRp OibLjaqjvpKMO7nS89fGZ/Unt2w0yQjp+zMxO/95fXxa5Mkeya9pq8wlMiLguYRrEMId puVMU2C8L43PXQV86z+30tDjqgOaHqAqWAuKZQ6WrW9020GPYn4uAN4VxFQh1X6T5jCh kWAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yjRidAeCKhy0942TLThgMIVlbd6m9JNLqayjj+sS2aQ=; b=b+8Tp8lpgPpjkggpu8aQM0hsJS+d/s9bWoA3OKMp9VtoNytqkLJr7GfoN0+3bSNAKv XwGdroLDB+RsmxprlFAliaZXKnyLimG7NowvSSbwYOEVtpi21xOJrRfJzfPukyjZkWRj dlUNMm0tHSWQuxL8atwt5/neM4swiPmxaxbYmVpNwuBwg7ZksVSUD1RQ+m6NKt6GZ6cy d83PdQvb03lVZgJ62icePz5Y3r8iqwXWg9rajcXLUFTahb86t6xwYdgZQz/tG9gOF77s 8Da0iCQHIMpxMaqoleItbriYcs2tKNP2LQOzOY7Qdx5ovCY9d0poeQq7Nd7Bl/tnMtls R97w== X-Gm-Message-State: AGi0Pub8uHHavNWr13oA7v4c8wvMYDf71J25AyBTk2wdFHbYUND3cvXw y628UNMk1Nn5YnZysokVNOtWdZjFS8Pr5Q== X-Google-Smtp-Source: APiQypLAgVE6hVTU4etUmSLUGnM0RBfsE1ekfwkYV3cN2DwirmiFluOqdVK6Z5jlWWDarYEgr2p2HQ== X-Received: by 2002:a5d:5682:: with SMTP id f2mr8904021wrv.382.1589043051485; Sat, 09 May 2020 09:50:51 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:63d3:7700:cd2f:ad0c:9163:73be]) by smtp.gmail.com with ESMTPSA id u127sm18577787wme.8.2020.05.09.09.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 May 2020 09:50:50 -0700 (PDT) From: Titouan Christophe To: buildroot@buildroot.org Date: Sat, 9 May 2020 18:50:36 +0200 Message-Id: <20200509165039.10363-2-titouan.christophe@railnova.eu> X-Mailer: git-send-email 2.25.3 In-Reply-To: <20200509165039.10363-1-titouan.christophe@railnova.eu> References: <20200509165039.10363-1-titouan.christophe@railnova.eu> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/4] package/redis: bump to version 6.0.1 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: , Cc: Daniel Price , Titouan Christophe Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" - Update dependencies in Config.in because of new requirements - Add patch for uclibc (accepted upstream, not released yet) - Update the help text in Config.in to a more recent wording - Update the hash file to the new 2 spaces convention Signed-off-by: Titouan Christophe --- ...ake-struct-user-anonymous-for-uclibc.patch | 30 +++++++++++++++++++ package/redis/Config.in | 15 ++++++---- package/redis/redis.hash | 4 +-- package/redis/redis.mk | 2 +- 4 files changed, 42 insertions(+), 9 deletions(-) create mode 100644 package/redis/0004-make-struct-user-anonymous-for-uclibc.patch diff --git a/package/redis/0004-make-struct-user-anonymous-for-uclibc.patch b/package/redis/0004-make-struct-user-anonymous-for-uclibc.patch new file mode 100644 index 0000000000..944773bde7 --- /dev/null +++ b/package/redis/0004-make-struct-user-anonymous-for-uclibc.patch @@ -0,0 +1,30 @@ +From 1f246bfcc8fc2e55f05dd863f286a2057ad29ef7 Mon Sep 17 00:00:00 2001 +From: Titouan Christophe +Date: Mon, 4 May 2020 14:11:43 +0200 +Subject: [PATCH] make struct user anonymous (only typedefed) + +This works because this struct is never referenced by its name, +but always by its type. + +This prevents a conflict with struct user from +when compiling against uclibc. + +Signed-off-by: Titouan Christophe +[upstream status: https://github.com/antirez/redis/pull/7200] +--- + src/server.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/server.h b/src/server.h +index 9c2b761c417..59cf1370e52 100644 +--- a/src/server.h ++++ b/src/server.h +@@ -732,7 +732,7 @@ typedef struct readyList { + no AUTH is needed, and every + connection is immediately + authenticated. */ +-typedef struct user { ++typedef struct { + sds name; /* The username as an SDS string. */ + uint64_t flags; /* See USER_FLAG_* */ + diff --git a/package/redis/Config.in b/package/redis/Config.in index 2450ccdf7f..5c418da73c 100644 --- a/package/redis/Config.in +++ b/package/redis/Config.in @@ -2,16 +2,19 @@ config BR2_PACKAGE_REDIS bool "redis" depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # _Atomic keyword depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() help - Redis is an open source, advanced key-value store. It is - often referred to as a data structure server since keys can - contain strings, hashes, lists, sets and sorted sets. + Redis is an open source (BSD licensed), in-memory data structure + store, used as a database, cache and message broker. It supports + data structures such as strings, hashes, lists, sets, sorted sets + with range queries, bitmaps, hyperloglogs, geospatial indexes with + radius queries and streams. http://www.redis.io -comment "redis needs a toolchain w/ dynamic library, threads" +comment "redis needs a toolchain w/ gcc>=4.9, dynamic library, nptl" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/package/redis/redis.hash b/package/redis/redis.hash index ee15b75e08..517c7c7330 100644 --- a/package/redis/redis.hash +++ b/package/redis/redis.hash @@ -1,5 +1,5 @@ # From https://github.com/antirez/redis-hashes/blob/master/README -sha256 f3c7eac42f433326a8d981b50dba0169fdfaf46abb23fcda2f933a7552ee4ed7 redis-5.0.8.tar.gz +sha256 b8756e430479edc162ba9c44dc89ac394316cd482f2dc6b91bcd5fe12593f273 redis-6.0.1.tar.gz # Locally calculated -sha256 cbf420a3672475a6e2765e3c0984c1f81efe0212afb94a3c998ee63bfd661063 COPYING +sha256 cbf420a3672475a6e2765e3c0984c1f81efe0212afb94a3c998ee63bfd661063 COPYING diff --git a/package/redis/redis.mk b/package/redis/redis.mk index d3954d87ca..bb7829522d 100644 --- a/package/redis/redis.mk +++ b/package/redis/redis.mk @@ -4,7 +4,7 @@ # ################################################################################ -REDIS_VERSION = 5.0.8 +REDIS_VERSION = 6.0.1 REDIS_SITE = http://download.redis.io/releases REDIS_LICENSE = BSD-3-Clause (core); MIT and BSD family licenses (Bundled components) REDIS_LICENSE_FILES = COPYING