From 5121e03f0b624716a4e002ef3975c1f2b0da9ae6 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Mon, 18 Nov 2024 16:54:05 +0800 Subject: [PATCH] qBittorrent-Enhanced-Edition: Update to 5.0.0.10 Signed-off-by: Tianling Shen --- net/qBittorrent-Enhanced-Edition/Makefile | 4 ++-- .../patches/100-use-original-user-agent.patch | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net/qBittorrent-Enhanced-Edition/Makefile b/net/qBittorrent-Enhanced-Edition/Makefile index 1772e5ff20..c01b4bd696 100644 --- a/net/qBittorrent-Enhanced-Edition/Makefile +++ b/net/qBittorrent-Enhanced-Edition/Makefile @@ -1,12 +1,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=qBittorrent-Enhanced-Edition -PKG_VERSION:=4.6.7.10 +PKG_VERSION:=5.0.0.10 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/c0re100/qBittorrent-Enhanced-Edition/tar.gz/release-$(PKG_VERSION)? -PKG_HASH:=5e4daa8afc25b7951bbe01b4c763f37fa0cf402a4aed0bc1ac6d8beb6c680281 +PKG_HASH:=86529633c8036a7d3c791b50dcb8683ac103711c1a8c0c414ee8f1beb61d9d71 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-release-$(PKG_VERSION) PKG_LICENSE:=GPL-2.0-or-later diff --git a/net/qBittorrent-Enhanced-Edition/patches/100-use-original-user-agent.patch b/net/qBittorrent-Enhanced-Edition/patches/100-use-original-user-agent.patch index 4be1cfe5bd..83cc7eaa22 100644 --- a/net/qBittorrent-Enhanced-Edition/patches/100-use-original-user-agent.patch +++ b/net/qBittorrent-Enhanced-Edition/patches/100-use-original-user-agent.patch @@ -1,9 +1,9 @@ --- a/src/base/version.h.in +++ b/src/base/version.h.in @@ -31,7 +31,7 @@ - #define QBT_VERSION_MAJOR 4 - #define QBT_VERSION_MINOR 6 - #define QBT_VERSION_BUGFIX 7 + #define QBT_VERSION_MAJOR 5 + #define QBT_VERSION_MINOR 0 + #define QBT_VERSION_BUGFIX 0 -#define QBT_VERSION_BUILD 10 +#define QBT_VERSION_BUILD 0 #define QBT_VERSION_STATUS "" // Should be empty for stable releases! @@ -11,12 +11,12 @@ #define QBT__STRINGIFY(x) #x --- a/src/base/bittorrent/sessionimpl.cpp +++ b/src/base/bittorrent/sessionimpl.cpp -@@ -142,7 +142,7 @@ namespace libtorrent +@@ -121,7 +121,7 @@ const int STATISTICS_SAVE_INTERVAL = std namespace { const char PEER_ID[] = "qB"; - const auto USER_AGENT = QStringLiteral("qBittorrent Enhanced/" QBT_VERSION_2); + const auto USER_AGENT = QStringLiteral("qBittorrent/" QBT_VERSION_2); + const QString DEFAULT_DHT_BOOTSTRAP_NODES = u"dht.libtorrent.org:25401, dht.transmissionbt.com:6881, router.bittorrent.com:6881, router.utorrent.com:6881, dht.aelitis.com:6881"_s; void torrentQueuePositionUp(const lt::torrent_handle &handle) - {