From patchwork Fri May 22 20:36:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1296450 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49TJDX4Qtcz9sPF for ; Sat, 23 May 2020 06:36:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CE866228DC; Fri, 22 May 2020 20:36:26 +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 7SlMJnlQr9d0; Fri, 22 May 2020 20:36:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 8BBEA203B9; Fri, 22 May 2020 20:36:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 1BE831BF2A0 for ; Fri, 22 May 2020 20:36:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 184938780C for ; Fri, 22 May 2020 20:36:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0wf6CtOkVpPN for ; Fri, 22 May 2020 20:36:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout04.t-online.de (mailout04.t-online.de [194.25.134.18]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E165287803 for ; Fri, 22 May 2020 20:36:18 +0000 (UTC) Received: from fwd05.aul.t-online.de (fwd05.aul.t-online.de [172.20.27.149]) by mailout04.t-online.de (Postfix) with SMTP id 3F63941BE6B1 for ; Fri, 22 May 2020 22:36:16 +0200 (CEST) Received: from fli4l.lan.fli4l (ZZzhYgZv8h03DeWFf9+ckxPLv2X+c5A+GzWV9-fJ5joUSDeka6mirOcWZoto23cZuA@[84.161.178.168]) by fwd05.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1jcEOr-2Ms2ZE0; Fri, 22 May 2020 22:36:13 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:33064) by fli4l.lan.fli4l with esmtp (Exim 4.92.3) (envelope-from ) id 1jcEOr-0008Uo-0J for buildroot@buildroot.org; Fri, 22 May 2020 22:36:13 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Fri, 22 May 2020 22:36:12 +0200 Message-Id: <20200522203612.419241-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-ID: ZZzhYgZv8h03DeWFf9+ckxPLv2X+c5A+GzWV9-fJ5joUSDeka6mirOcWZoto23cZuA X-TOI-EXPURGATEID: 150726::1590179773-000174C8-44285480/0/0 CLEAN NORMAL X-TOI-MSGID: fab3c62a-a389-4081-863b-5d6a024abd0b Subject: [Buildroot] [PATCH/next 1/1] package/transmission: bump version to 3.00 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" Removed patched applied upstream, reformatted hashes. Updated license hash due to copyright update to 2020: https://github.com/transmission/transmission/commit/2d940e5cafe01a6ea9285b7d39ccada6e90afab1 Signed-off-by: Bernd Kuhls --- ...1.0.18-has-sys-quota.h-synced-with-G.patch | 29 ---- package/transmission/0005-libsystemd.patch | 133 ------------------ package/transmission/transmission.hash | 4 +- package/transmission/transmission.mk | 2 +- 4 files changed, 3 insertions(+), 165 deletions(-) delete mode 100644 package/transmission/0004-uClibc-ng-since-1.0.18-has-sys-quota.h-synced-with-G.patch delete mode 100644 package/transmission/0005-libsystemd.patch diff --git a/package/transmission/0004-uClibc-ng-since-1.0.18-has-sys-quota.h-synced-with-G.patch b/package/transmission/0004-uClibc-ng-since-1.0.18-has-sys-quota.h-synced-with-G.patch deleted file mode 100644 index 91a962a6d8..0000000000 --- a/package/transmission/0004-uClibc-ng-since-1.0.18-has-sys-quota.h-synced-with-G.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 8682fe1bad44acc06154003ca9c9163b917bf4e3 Mon Sep 17 00:00:00 2001 -From: Waldemar Brodkorb -Date: Thu, 29 Sep 2016 19:52:49 +0200 -Subject: [PATCH] uClibc-ng since 1.0.18 has sys/quota.h synced with GNU libc - -Signed-off-by: Waldemar Brodkorb - -Pull Request: -https://github.com/transmission/transmission/pull/42 ---- - libtransmission/platform-quota.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libtransmission/platform-quota.c b/libtransmission/platform-quota.c -index 58c518a..57377ef 100644 ---- a/libtransmission/platform-quota.c -+++ b/libtransmission/platform-quota.c -@@ -284,7 +284,7 @@ getquota (const char * device) - spaceused = (int64_t) dq.dqb_curblocks >> 1; - #elif defined(__APPLE__) - spaceused = (int64_t) dq.dqb_curbytes; --#elif defined(__UCLIBC__) -+#elif defined(__UCLIBC__) && (__UCLIBC_MAJOR__ == 0 || (__UCLIBC_MAJOR__ == 1 && __UCLIBC_SUBLEVEL__ <= 17)) - spaceused = (int64_t) btodb(dq.dqb_curblocks); - #elif defined(__sun) || (defined(_LINUX_QUOTA_VERSION) && _LINUX_QUOTA_VERSION < 2) - spaceused = (int64_t) dq.dqb_curblocks >> 1; --- -2.1.4 - diff --git a/package/transmission/0005-libsystemd.patch b/package/transmission/0005-libsystemd.patch deleted file mode 100644 index b32aff211d..0000000000 --- a/package/transmission/0005-libsystemd.patch +++ /dev/null @@ -1,133 +0,0 @@ -From 0862099d0bf5a3ec8b2e9d538458d612897741a2 Mon Sep 17 00:00:00 2001 -From: Mike Gelfand -Date: Sat, 23 Apr 2016 16:13:25 +0000 -Subject: [PATCH] #5921: Use libsystemd instead of libsystemd-daemon (original - patches by Sandro Tosi and Mike Gilbert) - -In systemd v209, released over two years ago, the various libsystemd-* -libraries (libsystemd-journal.so, libsystemd-login.so, libsystem-daemon.so, -libsystemd-id128.so) were merged into a single libsystemd.so library to -reduce code duplication and avoid cyclic dependencies. - -Downloaded from upstream commit: -https://github.com/transmission/transmission/commit/0862099d0bf5a3ec8b2e9d538458d612897741a2 - -Signed-off-by: Bernd Kuhls ---- - CMakeLists.txt | 4 ++-- - configure.ac | 16 ++++++++-------- - daemon/CMakeLists.txt | 8 ++++---- - daemon/Makefile.am | 4 ++-- - daemon/daemon.c | 2 +- - 5 files changed, 17 insertions(+), 17 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8b324dc..356fc2f 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -398,9 +398,9 @@ endif() - if(WITH_SYSTEMD) - tr_get_required_flag(WITH_SYSTEMD SYSTEMD_IS_REQUIRED) - -- pkg_check_modules(SYSTEMD_DAEMON ${SYSTEMD_IS_REQUIRED} libsystemd-daemon) -+ pkg_check_modules(SYSTEMD ${SYSTEMD_IS_REQUIRED} libsystemd) - -- tr_fixup_auto_option(WITH_SYSTEMD SYSTEMD_DAEMON_FOUND SYSTEMD_IS_REQUIRED) -+ tr_fixup_auto_option(WITH_SYSTEMD SYSTEMD_FOUND SYSTEMD_IS_REQUIRED) - endif() - - include_directories(${CMAKE_BINARY_DIR}) -diff --git a/configure.ac b/configure.ac -index 92e4372..b64f2a3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -240,15 +240,15 @@ dnl - dnl file monitoring for the daemon - - # Check whether to enable systemd startup notification. --# This requires libsystemd-daemon. --AC_ARG_WITH([systemd-daemon], AS_HELP_STRING([--with-systemd-daemon], -+# This requires libsystemd. -+AC_ARG_WITH([systemd], AS_HELP_STRING([--with-systemd], - [Add support for systemd startup notification (default is autodetected)]), -- [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto]) --AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [ -- PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon], -- [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])], -- [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"], -- [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])] -+ [USE_SYSTEMD=$withval], [USE_SYSTEMD=auto]) -+AS_IF([test "x$USE_SYSTEMD" != "xno"], [ -+ PKG_CHECK_MODULES([SYSTEMD], [libsystemd], -+ [AC_DEFINE(USE_SYSTEMD,1,[Use systemd startup notification])], -+ [AS_IF([test "x$USE_SYSTEMD" = "xyes"], -+ [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd not found.])] - )] - ) - ]) -diff --git a/daemon/CMakeLists.txt b/daemon/CMakeLists.txt -index e8f8b34..8ec3b95 100644 ---- a/daemon/CMakeLists.txt -+++ b/daemon/CMakeLists.txt -@@ -1,7 +1,7 @@ - project(trdaemon) - - if(WITH_SYSTEMD) -- add_definitions(-DUSE_SYSTEMD_DAEMON) -+ add_definitions(-DUSE_SYSTEMD) - endif() - - include_directories( -@@ -37,14 +37,14 @@ add_executable(${TR_NAME}-daemon - ${${PROJECT_NAME}_WIN32_RC_FILE}) - - set_target_properties(${TR_NAME}-daemon PROPERTIES -- COMPILE_FLAGS "${SYSTEMD_DAEMON_CFLAGS}" -- LINK_FLAGS "${SYSTEMD_DAEMON_LDFLAGS}" -+ COMPILE_FLAGS "${SYSTEMD_CFLAGS}" -+ LINK_FLAGS "${SYSTEMD_LDFLAGS}" - ) - - target_link_libraries(${TR_NAME}-daemon - ${TR_NAME} - ${EVENT2_LIBRARIES} -- ${SYSTEMD_DAEMON_LIBRARIES} -+ ${SYSTEMD_LIBRARIES} - ) - - tr_win32_app_info(${PROJECT_NAME}_remote_WIN32_RC_FILE -diff --git a/daemon/Makefile.am b/daemon/Makefile.am -index 677f765..34d7076 100644 ---- a/daemon/Makefile.am -+++ b/daemon/Makefile.am -@@ -3,7 +3,7 @@ AM_CPPFLAGS = -I@top_srcdir@ -DEMBEDDED - AM_CFLAGS = \ - @LIBEVENT_CFLAGS@ \ - @LIBCURL_CFLAGS@ \ -- @SYSTEMD_DAEMON_CFLAGS@ \ -+ @SYSTEMD_CFLAGS@ \ - @ZLIB_CFLAGS@ \ - @PTHREAD_CFLAGS@ - -@@ -29,7 +29,7 @@ LDADD = \ - @LIBCURL_LIBS@ \ - @CRYPTO_LIBS@ \ - @INTLLIBS@ \ -- @SYSTEMD_DAEMON_LIBS@ \ -+ @SYSTEMD_LIBS@ \ - @ZLIB_LIBS@ \ - @PTHREAD_LIBS@ \ - ${LIBM} -diff --git a/daemon/daemon.c b/daemon/daemon.c -index 40ac5a6..62ac715 100644 ---- a/daemon/daemon.c -+++ b/daemon/daemon.c -@@ -33,7 +33,7 @@ - #include - #include - --#ifdef USE_SYSTEMD_DAEMON -+#ifdef USE_SYSTEMD - #include - #else - static void sd_notify (int status UNUSED, const char * str UNUSED) { } diff --git a/package/transmission/transmission.hash b/package/transmission/transmission.hash index 0d2af32f4f..13cbc969d3 100644 --- a/package/transmission/transmission.hash +++ b/package/transmission/transmission.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 35442cc849f91f8df982c3d0d479d650c6ca19310a994eccdaa79a4af3916b7d transmission-2.94.tar.xz -sha256 20801783bf59e27d03ed6aab625b32a34e221ae95bf801db87827c8023398495 COPYING +sha256 9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2 transmission-3.00.tar.xz +sha256 2b16da5bd02790d1e4d332cfd42b9dfd7d1b0ed3a16a75dc7e76b6ed239fdba9 COPYING diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk index 8fbda5eea3..ff3b41c328 100644 --- a/package/transmission/transmission.mk +++ b/package/transmission/transmission.mk @@ -4,7 +4,7 @@ # ################################################################################ -TRANSMISSION_VERSION = 2.94 +TRANSMISSION_VERSION = 3.00 TRANSMISSION_SITE = https://github.com/transmission/transmission-releases/raw/master TRANSMISSION_SOURCE = transmission-$(TRANSMISSION_VERSION).tar.xz TRANSMISSION_DEPENDENCIES = \