SHA256
1
0
forked from pool/rtorrent

27 Commits

Author SHA256 Message Date
7a42d54da9 Accepting request 1302926 from filesharing
- Update to release 0.16.0

OBS-URL: https://build.opensuse.org/request/show/1302926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=20
2025-09-05 19:44:24 +00:00
OBS User unknown
5456f1f75f [info=c5162844c442ec24af96c9912ce8e4a7de0313e66b1a74af6a97dcb99e7c8aa2]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=28
2025-09-05 11:45:34 +00:00
54683e31e3 Accepting request 1301060 from filesharing
- Update to release 0.15.6

OBS-URL: https://build.opensuse.org/request/show/1301060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=19
2025-08-25 18:37:38 +00:00
OBS User unknown
321ebba648 [info=df244f80e86edcb8ec926ef5e854f76701baf266de70d979a0fa96cb55dd78e5]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=27
2025-08-23 09:22:58 +00:00
OBS User unknown
77f5ea469d [info=407430bf4b1478d174c641e861513cb67acbf25f99805b0a2874eb7cccba1e1a]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=26
2025-08-23 09:19:17 +00:00
4019d90383 Accepting request 1287756 from filesharing
- Update to release 0.15.5

OBS-URL: https://build.opensuse.org/request/show/1287756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=18
2025-06-23 13:04:48 +00:00
OBS User unknown
d5b7bf7829 [info=6f7f5705345badbf4f44fdab8316ddbf5488a0a40687f9d1c2b3f9fcadcc36ed]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=25
2025-06-22 20:30:06 +00:00
fa888f7660 Accepting request 1281831 from filesharing
- Update to release 0.15.4

OBS-URL: https://build.opensuse.org/request/show/1281831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=17
2025-06-02 20:00:40 +00:00
OBS User unknown
f4d24a4043 [info=cc7eb3f9b4de255eb48e122df6b1db1e9fdf9f002f888e0fc96c8ec6f3daf413]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=24
2025-06-02 08:58:29 +00:00
OBS User unknown
bd7f2272b6 [info=17a34a4670935e2dba6fd69b018cb6138a89142e2d52ddc4f15f1ffaa7240b9b]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=23
2025-06-02 08:50:01 +00:00
04a0860a86 Accepting request 1274001 from filesharing
- Update to release 0.15.3

OBS-URL: https://build.opensuse.org/request/show/1274001
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=16
2025-05-02 13:01:38 +00:00
OBS User unknown
35f3d46697 [info=c9041c8a54ed11507ae54e33e365059cf0f6ad29d56bce30d8b8ad77506cf630]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=22
2025-05-02 11:43:00 +00:00
OBS User unknown
b62efb76a5 [info=2e71cfca26c54b3222f2c98c04719452e39719c4fa2673a685b2c49b754de563]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=21
2025-05-02 10:49:28 +00:00
220317c782 Accepting request 1265386 from filesharing
- Update to release 0.15.2

OBS-URL: https://build.opensuse.org/request/show/1265386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=15
2025-03-31 09:42:37 +00:00
OBS User unknown
cba2530355 [info=e3fc352f2ff3e61fde885842d912da4d13042fe86a839bb08d21fbf44d5d9fa7]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=20
2025-03-29 11:32:57 +00:00
OBS User unknown
b08ac17d90 [info=50edb8b6bb75368bfc3a4974e9af32b1a88de1ccff489f2c3799318ee95d5122]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=19
2025-03-29 00:38:14 +00:00
OBS User unknown
6ac2de8604 [info=925292041dd20e62f178cf048046ef4da2c8cf85c5a3afabd4c7d11261c62760]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=18
2025-03-29 00:14:49 +00:00
OBS User unknown
db425bfc95 [info=0ef4c6785a942a9be53e4707b86700a0008e120b6646ccc9a5bc2d5d80e750bb]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=17
2025-03-29 00:04:16 +00:00
b3c482e67a Accepting request 1234607 from filesharing
OBS-URL: https://build.opensuse.org/request/show/1234607
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=14
2025-01-05 14:28:50 +00:00
OBS User unknown
7b08efcee6 [info=5857fe05c1c1900aac7a237be3b537f77c0c3ab3488b24ee8d4f1fd4f897613c]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=16
2025-01-02 15:06:57 +00:00
4c5461bcfb Accepting request 1233463 from filesharing
- Update to release 0.15

OBS-URL: https://build.opensuse.org/request/show/1233463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=13
2024-12-29 10:56:23 +00:00
OBS User unknown
ad628794f2 [info=d0e1d6d00ae8a84882411242fac2d147c9d496c63edffe663779694cabbf6582]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=15
2024-12-26 20:09:10 +00:00
716dca21f0 Accepting request 1204535 from filesharing
- Update to release 0.10.0

OBS-URL: https://build.opensuse.org/request/show/1204535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtorrent?expand=0&rev=12
2024-09-30 13:39:18 +00:00
OBS User unknown
35021f35fc [info=fd8cb232fe431f50a83c60c65e0e6a1f963588f7c05ef76de933b3fafeefdf90]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=14
2024-09-29 15:31:15 +00:00
OBS User unknown
b7841621c0 [info=1fabab83e2b4d0b00919eef5b33a3b1beb8421c4045f325150c4a5cefe8ada20]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=13
2024-09-29 15:25:47 +00:00
OBS User unknown
8eae62555b [info=3c27bde2b8d43376bb9a8d6b87a62e8bd56d68e0e4c72be255a5cb2a975870e8]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=12
2024-09-29 15:25:36 +00:00
c377ab1f45 [info=996bd0eaa3bc7151c98213b917856f677a69a9ecf16576e232fbf3c230bb6b01]
OBS-URL: https://build.opensuse.org/package/show/filesharing/rtorrent?expand=0&rev=11
2024-09-29 12:08:57 +00:00
7 changed files with 120 additions and 46 deletions

View File

@@ -1,28 +0,0 @@
From 954bfb70f24578ef33b1f77cf1a3d64fc2f2f595 Mon Sep 17 00:00:00 2001
From: Aleksa Sarai <cyphar@cyphar.com>
Date: Mon, 20 Jun 2022 19:09:57 +1000
Subject: [PATCH] utils: lockfile: avoid stack overflow for lockfile buffer
References: https://github.com/rakshasa/rtorrent/pull/1169
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
---
src/utils/lockfile.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/utils/lockfile.cc b/src/utils/lockfile.cc
index 7d11d8c9970f..fac5cb23e26f 100644
--- a/src/utils/lockfile.cc
+++ b/src/utils/lockfile.cc
@@ -98,7 +98,8 @@ Lockfile::try_lock() {
int pos = ::gethostname(buf, 255);
if (pos == 0) {
- ::snprintf(buf + std::strlen(buf), 255, ":+%i\n", ::getpid());
+ ssize_t len = std::strlen(buf);
+ ::snprintf(buf + len, 255 - len, ":+%i\n", ::getpid());
int __UNUSED result = ::write(fd, buf, std::strlen(buf));
}
--
2.36.1

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1757072715
commit: c5162844c442ec24af96c9912ce8e4a7de0313e66b1a74af6a97dcb99e7c8aa2
url: https://src.opensuse.org/jengelh/rtorrent
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87ef33477ff520ff4a1947eb308c892122053617f63b8d4e59b129fdb3f966df
size 256

BIN
rtorrent-0.16.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9edf0304bf142215d3bc85a0771446b6a72d0ad8218efbe184b41e4c9c7542af
size 647523

View File

@@ -1,3 +1,89 @@
-------------------------------------------------------------------
Fri Sep 5 11:36:00 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.16.0
* Added ``network.block.ipv4in6.set`` command.
* Inverted color of focus ui element.
* Block ipv4/6 now sets the resolve type.
* Fix file descriptor leak in session file saving with
``system.files.session.fdatasync`` set to no.
* Fixed DHT bind address and converted to using sockaddr.
* Fixed uninitialized rpc slots when SCGI is not used.
* Fixed closing of external fd's and potential race-conditions in
CurlStack::close_get().
-------------------------------------------------------------------
Sat Aug 23 09:22:37 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.15.6
* Use getaddrinfo for numeric hostname lookups in UdnsResolver.
-------------------------------------------------------------------
Sun Jun 22 20:26:01 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.15.5
* Fixed corrupted stack in curl stack due to wrong argument type.
* Fix file descriptor leak in session file saving.
-------------------------------------------------------------------
Mon Jun 2 08:38:29 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.15.4
* Refactoring of threads, polling and scheduler code.
* Added `system.files.advise_random.hashing.set` for speeding
up initial hashing of files in a torrent. This can be used in
conjunction with `system.files.advise_random.set` to reduce
disk I/O on SSDs.
* Enabling `system.files.advise_random.set` will reduce
unnecessary disk I/O on SSDs, while disabling
`system.files.advise_random.hashing.set` ensures that the
initial hashing retains the benefits of sequential disk
read-ahead.
-------------------------------------------------------------------
Fri May 2 10:02:18 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.15.3
* Fixed slow SCGI replies
* Cleaned up thread/scheduler code
- Delete 0001-Added-default-switch-cases-to-RpcManager.patch
(merged)
-------------------------------------------------------------------
Fri Mar 28 21:24:20 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.15.2
* Colors, LUA and json-rpc are now supported in the client
- Add 0001-Added-default-switch-cases-to-RpcManager.patch
-------------------------------------------------------------------
Thu Jan 2 10:36:44 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.15.1
* Resolved scgi software crash with SIGPIPE exception.
-------------------------------------------------------------------
Thu Dec 26 19:14:37 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.15
* Resolved scgi software crash with SIGPIPE exception.
* Resolved a crash with the curl stack during shutdown.
-------------------------------------------------------------------
Sun Sep 29 12:10:54 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.10.0
* A fix for a torrent client stack overflow crash with the lockfile
buffer.
* New trackers.delay_scrape command for .rtorrent.rc to avoid
crashes with thousands of torrents and allow instant startups.
* A fix for a critical memory leak with RPC commands which may
waste an alarming amount of memory.
* A fix for critical torrent client breakage if a power
outage/failure occurs during a session saving interval
- Delete 0001-utils-lockfile-avoid-stack-overflow-for-lockfile-buf.patch
(merged)
-------------------------------------------------------------------
Tue Jun 21 00:28:35 UTC 2022 - Aleksa Sarai <asarai@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package rtorrent
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,29 +17,32 @@
Name: rtorrent
Version: 0.9.8
Version: 0.16.0
Release: 0
Summary: Console-based BitTorrent Client
Summary: Console-based BitTorrent client
License: SUSE-GPL-2.0+-with-openssl-exception
Group: Productivity/Networking/File-Sharing
URL: https://github.com/rakshasa/rtorrent
Source: https://github.com/rakshasa/rtorrent/releases/download/v%version/%name-%version.tar.gz
Source2: rtorrent.desktop
# This manpage copied from the 0.9.2 tarball as it was missing in later versions
Source3: rtorrent.1
Source4: rtorrent.service
Patch1: 0001-utils-lockfile-avoid-stack-overflow-for-lockfile-buf.patch
BuildRequires: autoconf-archive
BuildRequires: automake
%if 0%{?suse_version} && 0%{?suse_version} < 1600
BuildRequires: gcc13-c++
%else
BuildRequires: gcc-c++
%endif
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(cppunit) >= 1.9.6
BuildRequires: pkgconfig(libcurl) >= 7.15.4
BuildRequires: pkgconfig(libtorrent) >= 0.13.8
BuildRequires: pkgconfig(xmlrpc)
Requires(pre): shadow
BuildRequires: pkgconfig(libtorrent) >= %version
BuildRequires: sysuser-tools
Provides: bundled(tinyxml2) = 10.0.0
%sysusers_requires
%description
rTorrent is a console-based BitTorrent client. It aims to be a
@@ -51,14 +54,14 @@ management.
%autosetup -p1
%build
%if 0%{?suse_version} && 0%{?suse_version} < 1600
export CXX=g++-13
%endif
# It's full of type pun violations
export CFLAGS="%optflags -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS"
export CXXFLAGS="$CXXFLAGS -std=gnu++11"
autoreconf -fiv
%configure \
--with-xmlrpc-c="%_bindir/xmlrpc-c-config" \
--enable-ipv6
%configure --with-xmlrpc-tinyxml2 --enable-ipv6
%make_build
%install
@@ -70,8 +73,12 @@ install -pm0644 "%{S:3}" "$b/%_mandir/man1/"
%suse_update_desktop_file -r "%name" Network P2P
install -Dm0644 "%{S:4}" "$b/%_unitdir/rtorrent.service"
%pre
getent passwd rtorrent >/dev/null || useradd -r rtorrent
echo 'u rtorrent - "rtorrent daemon"' >system-user-rtorrent.conf
mkdir -p "$b/%_sysusersdir"
cp -a system-user-rtorrent.conf "$b/%_sysusersdir/"
%sysusers_generate_pre system-user-rtorrent.conf random system-user-rtorrent.conf
%pre -f random.pre
%service_add_pre rtorrent.service
%post
@@ -88,7 +95,9 @@ getent passwd rtorrent >/dev/null || useradd -r rtorrent
%license COPYING
%_bindir/rtorrent
%_datadir/applications/%name.desktop
%_datadir/%name/
%_mandir/man1/rtorrent.1*
%_unitdir/rtorrent.service
%_sysusersdir/*
%changelog