Debian Patches

Status for deluge/2.2.1~dev0+20260307-2

Patch Description Author Forwarded Bugs Origin Last update
debian/0001-release-check.patch Disable checking for new upstream releases enabled by default. Users can still enable it through the preferences menus.

diff -Naurp deluge.orig/deluge/core/preferencesmanager.py deluge/deluge/core/preferencesmanager.py
Adam Cécile <gandalf@le-vert.net> no
debian/0002-setuptools-60.patch Import setuptools before distutils (Closes: #1022491). setuptools 60 uses its own bundled version of distutils, by default. It
injects this into sys.modules, at import time. So we need to make sure
that it is imported, before anything else imports distutils, to ensure
everything is using the same distutils version.
.
This change in setuptools is to prepare for Python 3.12, which will drop
distutils.
.
https://github.com/deluge-torrent/deluge/pull/400

diff -Naurp deluge.orig/setup.py deluge/setup.py
Stefano Rivera <stefanor@debian.org> no
debian/0003-systemd.patch n/a
diff -Naurp deluge.orig/packaging/systemd/deluged.service deluge/packaging/systemd/deluged.service
n/a no
debian/0004-pyopenssl-26.patch fix ssl key generation with pyopenssl 26.4 pyOpenSSL 26.4.0 removed OpenSSL.crypto.X509Req and deprecated the remaining
X509/PKey generation API, so generate_ssl_keys() fails on first daemon start
with AttributeError. Generate the daemon key and self-signed certificate with
cryptography instead. The intermediate CSR is dropped: it was only used to
carry the subject into a self-signed certificate.

diff -Naurp deluge.orig/deluge/crypto_utils.py deluge/deluge/crypto_utils.py
Andy Postnikov <apostnikov@gmail.com> no
upstream/0001-feat-ui-use-importlib-in-entrypoint-instead-of-pkg_r.patch [PATCH 1/3] feat(ui): use importlib in entrypoint instead of pkg_resources

- also remove unneeded fallback pkg_resources in common
Calum Lind <calumlind+deluge@gmail.com> no 2026-03-01
upstream/0002-feat-pluginmanager-new-plugin-finder-using-stdlib-wi.patch [PATCH 2/3] feat(pluginmanager): new plugin finder using stdlib without pkg_resources

Replicate the functionality of pkg_resources with stdlib

- ensure plugin manager picks latest version
- prefer source dir over eggs
- extract zip eggs to real paths to ensure usable resources files
- activate plugins using sys.meta_path instead sys.path to avoid global
namespace probems and compatibility with pyinstaller.
Calum Lind <calumlind+deluge@gmail.com> no 2026-03-06
upstream/0003-feat-plugins-replace-common.py-pkg_resources-with-im.patch [PATCH 3/3] feat(plugins): replace common.py pkg_resources with importlib

Return a str instead of Path since most resource usage requires a str
filepath e.g. GTK builder calls.
Calum Lind <calumlind+deluge@gmail.com> no 2026-03-03

All known versions for source package 'deluge'

Links