aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorAlexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>2021-06-14 02:38:12 +0000
committerAlexandre C. GuimarĂ£es <rigoletto@FreeBSD.org>2021-06-14 02:38:12 +0000
commit1ad0aafe7532b28e5f4d77cc426a9e9a6681a6aa (patch)
tree41a6a289b2931e99004c0fcd3d224c855e51e5f3 /net-p2p
parent3f4290a1f61a8d534c4f3845bb5fb77ebc31b8b9 (diff)
downloadports-1ad0aafe7532b28e5f4d77cc426a9e9a6681a6aa.tar.gz
ports-1ad0aafe7532b28e5f4d77cc426a9e9a6681a6aa.zip
net-p2p/transmission-*: Fix 'IPv4 DHT announce failed' flooding syslog.
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/transmission-cli/Makefile2
-rw-r--r--net-p2p/transmission-cli/files/patch-libtransmission_tr-dht.c11
-rw-r--r--net-p2p/transmission-daemon/Makefile2
-rw-r--r--net-p2p/transmission-gtk/Makefile2
-rw-r--r--net-p2p/transmission-qt/Makefile2
-rw-r--r--net-p2p/transmission-utils/Makefile2
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