git: 1ad0aafe7532 - main - net-p2p/transmission-*: Fix 'IPv4 DHT announce failed' flooding syslog.
Alexandre C. Guimarães=
rigoletto at FreeBSD.org
Mon Jun 14 02:38:38 UTC 2021
The branch main has been updated by rigoletto:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1ad0aafe7532b28e5f4d77cc426a9e9a6681a6aa
commit 1ad0aafe7532b28e5f4d77cc426a9e9a6681a6aa
Author: Alexandre C. Guimarães <rigoletto at FreeBSD.org>
AuthorDate: 2021-06-14 02:38:12 +0000
Commit: Alexandre C. Guimarães <rigoletto at FreeBSD.org>
CommitDate: 2021-06-14 02:38:12 +0000
net-p2p/transmission-*: Fix 'IPv4 DHT announce failed' flooding syslog.
---
net-p2p/transmission-cli/Makefile | 2 +-
net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c | 11 +++++++++++
net-p2p/transmission-daemon/Makefile | 2 +-
net-p2p/transmission-gtk/Makefile | 2 +-
net-p2p/transmission-qt/Makefile | 2 +-
net-p2p/transmission-utils/Makefile | 2 +-
6 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/net-p2p/transmission-cli/Makefile b/net-p2p/transmission-cli/Makefile
index 930fe3d44b46..e8495952575f 100644
--- a/net-p2p/transmission-cli/Makefile
+++ b/net-p2p/transmission-cli/Makefile
@@ -1,6 +1,6 @@
PORTNAME= transmission
DISTVERSION= 3.00
-PORTREVISION?= 4
+PORTREVISION?= 5
CATEGORIES+= net-p2p
SLAVEPORT?= cli
PKGNAMESUFFIX?= -cli
diff --git a/net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c b/net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c
new file mode 100644
index 000000000000..9f991199f06b
--- /dev/null
+++ b/net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c
@@ -0,0 +1,11 @@
+--- libtransmission/tr-dht.c.orig 2021-06-14 01:02:25 UTC
++++ libtransmission/tr-dht.c
+@@ -716,7 +716,7 @@ static int tr_dhtAnnounce(tr_torrent* tor, int af, boo
+ {
+ rc = dht_search(tor->info.hash, announce ? tr_sessionGetPeerPort(session) : 0, af, callback, NULL);
+
+- if (rc >= 1)
++ if (rc >= 0)
+ {
+ tr_logAddTorInfo(tor, "Starting %s DHT announce (%s, %d nodes)", af == AF_INET6 ? "IPv6" : "IPv4",
+ tr_dhtPrintableStatus(status), numnodes);
diff --git a/net-p2p/transmission-daemon/Makefile b/net-p2p/transmission-daemon/Makefile
index 7e4742c03b99..1ff1584a772c 100644
--- a/net-p2p/transmission-daemon/Makefile
+++ b/net-p2p/transmission-daemon/Makefile
@@ -1,5 +1,5 @@
PKGNAMESUFFIX= -daemon
-PORTREVISION= 3
+PORTREVISION= 4
USES= ssl
NLS_USES= gettext-runtime:run
diff --git a/net-p2p/transmission-gtk/Makefile b/net-p2p/transmission-gtk/Makefile
index d5b31949bed2..c28e31d33729 100644
--- a/net-p2p/transmission-gtk/Makefile
+++ b/net-p2p/transmission-gtk/Makefile
@@ -1,5 +1,5 @@
PKGNAMESUFFIX= -gtk
-PORTREVISION= 3
+PORTREVISION= 4
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
libnotify.so:devel/libnotify
diff --git a/net-p2p/transmission-qt/Makefile b/net-p2p/transmission-qt/Makefile
index 798957a835b1..2d87b5ad3725 100644
--- a/net-p2p/transmission-qt/Makefile
+++ b/net-p2p/transmission-qt/Makefile
@@ -1,5 +1,5 @@
PKGNAMESUFFIX= -qt
-PORTREVISION= 3
+PORTREVISION= 4
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
diff --git a/net-p2p/transmission-utils/Makefile b/net-p2p/transmission-utils/Makefile
index 4aa5f21460c1..ff6ad1e29054 100644
--- a/net-p2p/transmission-utils/Makefile
+++ b/net-p2p/transmission-utils/Makefile
@@ -1,5 +1,5 @@
PKGNAMESUFFIX= -utils
-PORTREVISION= 2
+PORTREVISION= 3
NLS_USES= gettext-tools:build
More information about the dev-commits-ports-all
mailing list