diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-19 14:55:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-19 14:55:20 +0000 |
commit | 17e5409f1218da4ac76e9c352abd60bd70e470c0 (patch) | |
tree | e46d6e8ce16d83ae63907f72e5263b1cee88503a | |
parent | Adding upstream version 2.0.3. (diff) | |
download | deluge-36935ba7443d4b8482f8a428dbdda19fd26ad6b3.tar.xz deluge-36935ba7443d4b8482f8a428dbdda19fd26ad6b3.zip |
Adding debian version 2.0.3-4.debian/2.0.3-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
28 files changed, 2349 insertions, 0 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml new file mode 100644 index 0000000..845003c --- /dev/null +++ b/debian/.gitlab-ci.yml @@ -0,0 +1,9 @@ +image: registry.gitlab.com/eighthave/ci-image-git-buildpackage:latest + +build: + artifacts: + paths: + - "*.deb" + expire_in: 1 day + script: + - gitlab-ci-git-buildpackage-all diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 0000000..68f0a2a --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,49 @@ +deluge (1.2.0~rc1-1) experimental; urgency=low + + !!! Please read carefully: describing new Debian packages layout. + + This new deluge release comes with a partial rewrite of the core application + (Twisted) and a complete rewrite of the web user-interface (Ext-Js and AJAX). + The format of some config/state files changed with this release (Json), so + please make a _backup_ of your ~/.config/deluge directory before starting the + application! + + Deluge for Debian has been reworked in order to produce some new binary + packages and to fix the way they depend each other. + Now there is a single 'deluge-common' package which all the others depend on. + You can install the 'deluged' application (probably on a headless machine), + then use any of the three user-interfaces 'deluge-{console,web,gtk}' to + connect either to a local or remote running daemon. + + The GTK+ user-interface is actually able to work in Classic Mode by running + the core application in the same program space (in other words, 'deluge-gtk' + doesn't depend on 'deluged'). + + Each package contains its equally named executable command, with the 'deluge' + package being the preferred choice for default desktop installations because + it depends on the GTK+ ui and contains the needed icons and desktop entries. + Please note that the /usr/bin/deluge executable provided by this package is + a configurable entry point which will start the default GTK+ user-interface + and is able to optionally set your default one. + + Upgrade paths from the old 1.x and 0.5.x series have been tested and should + be working well, but please report any bug you may encounter. + + -- Cristian Greco <cristian.debian@gmail.com> Mon, 12 Oct 2009 16:51:43 +0200 + +deluge (1.1.3.dfsg-1) experimental; urgency=low + + Actually the licensing issue involving the source code implementing the + torrent creation feature has been solved by upstream. + This option is finally available through the GTK+ ui. + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 17 Feb 2009 01:48:27 +0100 + +deluge (1.1.2.dfsg-1) experimental; urgency=low + + The torrent creation feature (only available when using the default GTK+ ui) + introduced with this release of deluge is currenty disabled due to a source + code licensing problem. + Please refer to README.source for further informations about repackaging. + + -- Cristian Greco <cristian.debian@gmail.com> Sun, 01 Feb 2009 15:27:34 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..656d126 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,926 @@ +deluge (2.0.3-4) sid; urgency=medium + + * Uploading to sid. + * Adopting package (Closes: #995078). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 19 Feb 2023 15:54:32 +0100 + +deluge (2.0.3-3.3) unstable; urgency=medium + + * Non-maintainer upload. + * Install upstream-supplied systemd unit files. (Closes: #927197, #966287) + + -- Chris Hofstaedtler <zeha@debian.org> Mon, 30 Jan 2023 23:15:03 +0000 + +deluge (2.0.3-3.2) unstable; urgency=medium + + * Non-maintainer upload. + * Patch: Support setuptools >= 60. (Closes: #1022491) + + -- Stefano Rivera <stefanor@debian.org> Sat, 12 Nov 2022 22:37:10 +0200 + +deluge (2.0.3-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for ngettext KeyError during deluge-console + startup. (Closes: #988345) + + -- Adrian Bunk <bunk@debian.org> Thu, 15 Jul 2021 14:57:18 +0300 + +deluge (2.0.3-3) unstable; urgency=low + + [ Federico Ceratto ] + * Trim trailing whitespace. + * Bump debhelper dependency to >= 10, since that's what is used in + debian/compat. + * Bump debhelper from old 10 to 13. + * Set debhelper-compat version in Build-Depends. + + [ Andrew Starr-Bochicchio ] + * debian/control: Add explict depends on python3-libtorrent + to deluge-console (Closes: #964168). + + -- Andrew Starr-Bochicchio <asb@debian.org> Mon, 27 Jul 2020 18:33:26 -0400 + +deluge (2.0.3-2) unstable; urgency=medium + + * debian/control: + - Update version dependency on python3-libtorrent + to >= 1.1.2.0 (Closes: #950573). + - Drop transitional packages deluge-torrent and + deluge-webui (Closes: #878385). + - Bump Standards-Version to 4.5.0. + + -- Andrew Starr-Bochicchio <asb@debian.org> Mon, 09 Mar 2020 21:09:37 -0400 + +deluge (2.0.3-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Source-only upload to allow migration to Testing. + + -- Jeremy Bicha <jbicha@debian.org> Tue, 22 Oct 2019 22:23:47 -0400 + +deluge (2.0.3-1) unstable; urgency=medium + + [ Ondřej Nový ] + * d/control: Remove ancient X-Python-Version field + * d/copyright: Use https protocol in Format field + * d/control: Deprecating priority extra as per policy 4.0.1 + * d/changelog: Remove trailing whitespaces + + [ Andrew Starr-Bochicchio ] + * d/watch: Update for 2.X location. + * New upstream release (Closes: #930549, #934603). + - Ported to Python 3 and GTK+ 3. + * d/control: + - Update dependencies for Python 3 and GTK+ 3 + (Closes: #935213, #885880, #912482). + - Add gir1.2-appindicator3-0.1 recommends. + * d/patches: + - Drop fix_pref_show.patch and refresh. + - Drop vendor-specific patch series file and patch. + * d/rules: + - Update for Python 3 build. + - Disable tests pending pytest-twisted upload. + - Drop Ubuntu-specific dependency injection. + + -- Andrew Starr-Bochicchio <asb@debian.org> Sun, 25 Aug 2019 14:56:38 -0400 + +deluge (1.3.15-2) unstable; urgency=medium + + * Backport upstream patch fixing bug preventing + the Preferences dialog from opening in some + cases (Closes: #870247). + + -- Andrew Starr-Bochicchio <asb@debian.org> Mon, 31 Jul 2017 20:13:14 -0400 + +deluge (1.3.15-1) unstable; urgency=medium + + [ Andrew Starr-Bochicchio ] + * New upstream release (Closes: #857357). + * debian/control: Updated dependency from python-twisted-web + to python-twisted-core (Closes: #808226). Thanks to + Diederik de Haas. + * Drop webui-csrf.patch and protect_dir_traversal.patch, + applied upstream. + + [ Unit 193 <unit193@ubuntu.com> ] + * Bump Standards-Version to 4.0.0. + * d/compat, d/control: Bump debhelper compat to 10. + * d/control, d/rules: Override dh_gencontrol to recommend + python-appindicator if on Ubuntu (Closes: #863288). + + -- Andrew Starr-Bochicchio <asb@debian.org> Thu, 13 Jul 2017 20:35:08 -0400 + +deluge (1.3.13+git20161130.48cedf63-3) unstable; urgency=high + + * Check if template files exist and raise 404 if not + in order to protect webui against directory traversal + (Closes: #862611). + + -- Andrew Starr-Bochicchio <asb@debian.org> Mon, 15 May 2017 20:09:48 -0400 + +deluge (1.3.13+git20161130.48cedf63-2) unstable; urgency=high + + * webui-csrf.patch: Only accept application/json content-type + requests (Closes: #857903). Protects against CSRF. + + -- Andrew Starr-Bochicchio <asb@debian.org> Sun, 19 Mar 2017 13:37:10 -0400 + +deluge (1.3.13+git20161130.48cedf63-1) unstable; urgency=medium + + * New upstream git snapshot (Closes: #835049) (LP: #1633785). + + -- Andrew Starr-Bochicchio <asb@debian.org> Wed, 30 Nov 2016 20:21:00 -0500 + +deluge (1.3.13-1) unstable; urgency=medium + + * New upstream release (Closes: #838640). + * Remove revert-erroneous-commit.patch, applied upstream. + * Bump Standards-Version to 3.8.8, no changes needed. + * Remove unused license stanza in debian/control. + + -- Andrew Starr-Bochicchio <asb@debian.org> Fri, 28 Oct 2016 13:09:57 -0400 + +deluge (1.3.12-1) unstable; urgency=medium + + * New upstream release. + * Drop disable_SSLv3_rpcserver.patch, applied upstream. + * Include full source copies of minified js files in + the "debian/missing-sources" directory (Closes: #787550). + * revert-erroneous-commit.patch: Revert erroneous fix + backported from develop branch. + + -- Andrew Starr-Bochicchio <asb@debian.org> Fri, 18 Sep 2015 21:34:24 -0400 + +deluge (1.3.10-3) unstable; urgency=medium + + * Fix permissions on /var/lib/deluged/config/ in + deluged.postinst and properly remove all + dpkg-statoverrides in deluged.postrm (Closes: #770628). + + -- Andrew Starr-Bochicchio <asb@debian.org> Sun, 15 Feb 2015 11:14:44 -0500 + +deluge (1.3.10-2) unstable; urgency=high + + * debian/patches/disable_SSLv3_rpcserver.patch: + - Disable SSLv3 for the RPCserver as Debian now + builds OpenSSL without SSLv3 support altogether. + Closes: #765765 + * Bump Standards-Version to 3.9.6, no changes needed. + * Add full text of the CC-BY-3.0 to debian/copyright + + -- Andrew Starr-Bochicchio <asb@debian.org> Sun, 26 Oct 2014 12:18:29 -0400 + +deluge (1.3.10-1) unstable; urgency=medium + + * New upstream bugfix release. + + -- Andrew Starr-Bochicchio <asb@debian.org> Wed, 15 Oct 2014 21:23:51 -0400 + +deluge (1.3.9-1) unstable; urgency=medium + + * New upstream release. + * Use "canonical" URLs in the Vcs-* fields. + * Update "Format" URL in debian/copyright. + + -- Andrew Starr-Bochicchio <asb@debian.org> Sun, 05 Oct 2014 11:27:46 -0400 + +deluge (1.3.7-1) unstable; urgency=medium + + * New upstream release (Closes: #759217). + * Add myself as an uploader. + * Bump Standards-Version to 3.9.5, no changes needed. + * Drop fix_plugins_tabs.patch, AutoExtractor_fix.patch, + and Fix-twisted-13.1-compat.patch. All applied upstream. + * deluged.postinst: Fix permissions on /var/lib/deluged + Closes: #732596 Thanks to Diederik de Haas! + + -- Andrew Starr-Bochicchio <asb@debian.org> Sat, 30 Aug 2014 20:20:56 -0700 + +deluge (1.3.6-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Upload to unstable. + * debian/patches/Fix-twisted-13.1-compat.patch: Backport + upstream commits fixing Blocklist plugin incompatibility + with twisted 13.1 (Closes: #729929). + * debian/patches/AutoExtractor_fix.patch: Fixes AutoExtractor + Plugin failing to extract files with periods. Backported + from upstream. + * debian/patches/fix_plugins_tabs.patch: Fix issue with + Plugins that add Tabs to torrentdetails. Backported from + upstream. + + -- Andrew Starr-Bochicchio <asb@debian.org> Mon, 17 Feb 2014 13:37:12 -0500 + +deluge (1.3.6-1) experimental; urgency=low + + * New upstream version. + + -- Cristian Greco <cristian@debian.org> Wed, 19 Jun 2013 21:29:53 +0200 + +deluge (1.3.5-1) experimental; urgency=low + + * New upstream version. (Closes: #663250, #670366) + - bring MainWindow to front when opening another instance. + (Closes: #662733) + * debian/deluged.postinst: check for already existing overrides + before adding new ones. Thanks Andrew Starr-Bochicchio! (Closes: #671905) + + -- Cristian Greco <cristian@debian.org> Tue, 08 May 2012 21:01:55 +0200 + +deluge (1.3.4-1) experimental; urgency=low + + [ Tanguy Ortolo ] + * debian/deluged.init: initial work on init script for deluge daemon. + + [ Cristian Greco ] + * New upstream version. + * debian/deluged.init: some changes to configuration. + * debian/control: + - bump up Standards-Version to 3.9.3. + - move transitional packages to oldlibs/extra. + + -- Cristian Greco <cristian@debian.org> Sun, 11 Mar 2012 16:48:25 +0100 + +deluge (1.3.3-2) unstable; urgency=low + + * debian/patches: + - new_release_check.patch: refreshed patch. + - ubuntu_indicator.patch: new patch, enable indicator support + by default on Ubuntu. (Closes: #641778) (LP: #843805) + + -- Cristian Greco <cristian@debian.org> Sun, 25 Sep 2011 18:03:15 +0200 + +deluge (1.3.3-1) unstable; urgency=low + + * New upstream version. + * debian/deluge-gtk.mime: provide MIME information for deluge-gtk. + * debian/control: + - add build-dep on intltool. + - use my @debian.org address, drop DMUA field. + * debian/rules: remove the .desktop file during clean. + * debian/{control,rules}: dirty hack to avoid installing plugins eggs. + Thanks Jakub Wilk! + + -- Cristian Greco <cristian@debian.org> Thu, 25 Aug 2011 01:08:14 +0200 + +deluge (1.3.2-1) unstable; urgency=low + + * New upstream version. + - fix arguments handling in deluge-console (Closes: #619565). + - new_release_check.patch: refreshed. + * debian/{control,rules}: switch from python-support to dh_python2. + * debian/control: bump up Standards-Version to 3.9.2. + * debian/control: move the python-libtorrent dependency from package + deluge-common to packages deluged and deluge and clarify packages + description, in order to be able to run the GTK+ user-interface as + a thin client (LP: #672069). + + -- Cristian Greco <cristian@regolo.cc> Wed, 08 Jun 2011 00:10:27 +0200 + +deluge (1.3.1-1) unstable; urgency=low + + * New upstream version. + + -- Cristian Greco <cristian@regolo.cc> Wed, 03 Nov 2010 16:44:32 +0100 + +deluge (1.3.0-1) unstable; urgency=low + + * New upstream version. + - remove all the stuff needed to track upstream git repository for + Squeeze (get-orig-source in debian/control, debian/README.source + and debian/patches/no_tag_build_dev.patch). + * debian/patches/drop_deprecation_warnings.patch: deleted, it was a + backport from upstream git repository. + * debian/control: bump up Standards-Version to 3.9.1 (no changes). + + -- Cristian Greco <cristian@regolo.cc> Tue, 12 Oct 2010 19:57:23 +0200 + +deluge (1.2.3+git20100712.0b609bf-1) unstable; urgency=low + + * Imported Upstream version 1.2.3+git20100712.0b609bf + - Upstream commit 0b609bf: "do not attempt to move a torrents storage if + the destination path not exist". (Closes: 588756) + + -- Cristian Greco <cristian@regolo.cc> Tue, 13 Jul 2010 19:09:24 +0200 + +deluge (1.2.3+git20100701.131af5a-1) unstable; urgency=low + + * Imported Upstream version 1.2.3+git20100701.131af5a + - upstream is not going to release 1.2.4, so we are now tracking the + 1.2-stable brach from git repository for Squeeze. + - fixes deluge-gtk hanging on shutdown. (Closes: #587662) + * debian/rules: add get-orig-source target to track latest 1.2.x upstream + snapshot. + * debian/README.source: add basic instructions for the get-orig-source + target. + * debian/control: + - use Breaks: instead of Conflicts:, as specified by policy 3.9.0, §7.4. + - bump Standards-Version to 3.9.0. + * debian/patches: + - new_release_check.patch, refreshed, update description to follow DEP3 + guidelines. + - no_tag_build_dev.patch, new patch: drop '-dev' tag_build in setup.cfg. + - drop_deprecation_warnings.patch, new patch: get rid of deprecation + warnings. (Closes: #575910) + + -- Cristian Greco <cristian@regolo.cc> Thu, 01 Jul 2010 19:07:23 +0200 + +deluge (1.2.3-1) unstable; urgency=low + + * New upstream version. + * debian/patches: + - libtorrent_version_comparison.patch: drop patch, fixed upstream. + + -- Cristian Greco <cristian@regolo.cc> Fri, 09 Apr 2010 14:03:02 +0200 + +deluge (1.2.2-2) unstable; urgency=low + + * debian patches: + - libtorrent_version_comparison.patch: new patch, fix version split + comparison to do a proper compare and not simply against the version + strings (needed to work with libtorrent 0.14.10). + + -- Cristian Greco <cristian@regolo.cc> Wed, 24 Mar 2010 23:46:19 +0100 + +deluge (1.2.2-1) unstable; urgency=low + + * New upstream version. + + -- Cristian Greco <cristian@regolo.cc> Wed, 24 Mar 2010 16:24:46 +0100 + +deluge (1.2.1-1) unstable; urgency=low + + * New upstream version. + * debian/control: + - bump up depends on python-libtorrent (>= 0.14.9) as suggested + by upstream; + - move python-pygame from Depends: to Recommends: for deluge-gtk; + (Closes: #570606) + - update standards-version to 3.8.4 (no changes). + + -- Cristian Greco <cristian@regolo.cc> Sun, 21 Feb 2010 02:19:35 +0100 + +deluge (1.2.0-1) unstable; urgency=low + + * New upstream version. + * debian/control: build-depend on python instead of python-dev (fix + build-depends-on-python-dev-with-no-arch-any) + * move deluge.desktop file from deluge to deluge-gtk package, due to + upstream change. (Closes: #557519) + * provide a README.Debian file for deluge-web package with information + about the default password. (Closes: #560382) + + -- Cristian Greco <cristian@regolo.cc> Wed, 27 Jan 2010 21:39:22 +0100 + +deluge (1.2.0~rc5-1) unstable; urgency=low + + * New upstream version. + - fix startup with fresh configs. (Closes: #560384) + * debian/control: drop useless dependencies on dbus for deluge-gtk. + * fix_manifest_in.patch: dropped, file MANIFEST.in has been deleted by + upstream. + + -- Cristian Greco <cristian@regolo.cc> Thu, 24 Dec 2009 00:57:59 +0100 + +deluge (1.2.0~rc4-1) unstable; urgency=low + + * New upstream version. + * Convert to 3.0 (quilt) source format. + * debian/patches: + - remove the followings (fixed upstream): + + 05_install_deluge_web_manpage.patch + + 20_r5913_queued_torrents_dialog.patch + + 25_r5921_fastresume_files.patch + + 30_r5931_ipc_lockfile.patch + - rename the following: + + 10_new_release_check.patch -> new_release_check.patch + - new patch: + + fix_manifest_in.patch: drop upstream MANIFEST.in as it is actually + incomplete. + + -- Cristian Greco <cristian@regolo.cc> Tue, 01 Dec 2009 00:23:48 +0100 + +deluge (1.2.0~rc3-5) unstable; urgency=low + + * debian/patches/30_r5931_ipc_lockfile.patch: fix bad indentation. + + -- Cristian Greco <cristian@regolo.cc> Fri, 20 Nov 2009 18:57:56 +0100 + +deluge (1.2.0~rc3-4) unstable; urgency=low + + * debian/control: bump build-dep on python-setuptools to (>= 0.6c9). + * debian/patches: + - 25_r5921_fastresume_files.patch + new, should fix problems with fresh configs; + - 30_r5931_ipc_lockfile.patch: + new, should fix an issue where Deluge will fail to start if there is a + stale ipc lockfile. (Closes: #555849) + + -- Cristian Greco <cristian@regolo.cc> Fri, 13 Nov 2009 02:39:45 +0100 + +deluge (1.2.0~rc3-3) unstable; urgency=low + + * debian/control: adding DM-Upload-Allowed, thanks to my sponsor + Michal Čihař. + + -- Cristian Greco <cristian@regolo.cc> Mon, 09 Nov 2009 12:28:35 +0100 + +deluge (1.2.0~rc3-2) unstable; urgency=low + + * debian/patches/20_r5913_queued_torrents_dialog.patch: new patch from + upstream svn r5913 'fix adding torrents from the Queued Torrents dialog'. + (Closes: #554446) + * Start closing some old bugs which should now be fixed in 1.2.0: + - no more daemon process running around at exit (Closes: #525648, 513020); + - doesn't crash/freeze when launching a second instance (Closes: #473915); + - display error dialog on 'Add Torrents->URL' failure (Closes: #525654). + + -- Cristian Greco <cristian@regolo.cc> Fri, 06 Nov 2009 18:50:43 +0100 + +deluge (1.2.0~rc3-1) unstable; urgency=low + + * New upstream version. + - debian/deluge-{console,gtk,web}.install: install new manpages. + - debian/patches: + + 001_r5833_fix_saving_torrents.patch: deleted, merged upsteam. + + 010_new_release_check.patch: refresh and rename to delete the + leading zero. + + 05_install_deluge_web_manpage.patch: new, fix setup.py to + install deluge-web.1 manpage. + * debian/control: new maintainer email address. + * Upload to unstable. + - stop delivering non-free GeoIP.dat (Closes: #544463). + + -- Cristian Greco <cristian@regolo.cc> Mon, 02 Nov 2009 16:30:11 +0100 + +deluge (1.2.0~rc1-1) experimental; urgency=low + + * Upload to experimental. + * New upstream version. + - upstream tarball is dfsg clean now; + - debian/control, debian/deluge*.install: completely rework binary + packages names and dependencies; + - debian/NEWS: updated with informations about the new packages + layout. + * debian/patches: + - 010_new_release_check.patch: updated; + - 020_geoip_db.patch: dropped, merged upstream; + - 001_r5833_fix_saving_torrents.patch: new patch to prevent an RC bug + (pulled from upstream svn). + * debian/README.source: remove now useless informations about the dfsg + conversion. + * debian/README.Debian: dropped, unneded. + * debian/deluge.lintian-overrides: dropped, unneded. + * debian/copyright: updated. + * debian/watch: updated. + * debian/gbp.conf: removed. + * debian/rules: use override_dh_auto_clean. + + -- Cristian Greco <cristian.debian@gmail.com> Mon, 12 Oct 2009 22:22:40 +0200 + +deluge (1.1.9+dfsg-2) unstable; urgency=low + + * debian/control: + - move git maintenance to collab-maint; + - bump Standards-Version to 3.8.3 (no changes); + - build-dep on python-support (>= 0.90.0) and adjust its usage by deleting + X[SB]-Python-Version fields and providing a debian/pyversions file; + - build-dep on debhelper (>= 7.3.13) which automagically (and correctly) + handles the --install-layout=deb option in debian/rules for all + supported python versions; + - add dependency on geoip-database for the deluge-core binary package + and avoid to install GeoIP.dat file (see patch below). + * debian/patches: + - prefix patches with a number. + - 020_geoip_db.patch: new patch, attempt to fix #544463 by using the + GeoIP.dat database provided with the geoip-database debian package. + This will be properly fixed with the upcoming upstream release 1.2. + * debian/rules: simplified a lot thanks to debhelper 7 override rules. + * debian/gbp.conf: provide a git-buildpackage conf file with a minimal + configuration to build the package using dfsg_clean branch. + * debian/README.source: fix reference to quilt doc. + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 01 Sep 2009 14:29:21 +0200 + +deluge (1.1.9+dfsg-1) unstable; urgency=low + + * New upstream version. + * debian/patches: remove the following (merged upstream), + - r5304_fix_use_self_encoding.patch, + - r5305_fix_uncaught_exceptions_systemtray.patch, + - r5328_fix_renaming_parent_folder.patch. + * debian/control: depends on python-libtorrent (>= 0.14.4). + * debian/README.source: switch documentation from dpatch to quilt. + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 16 Jun 2009 10:41:43 +0200 + +deluge (1.1.8+dfsg-3) unstable; urgency=low + + * debian/patches: + - renaming patches as to prepend upstream svn rev; + - r5305_fix_uncaught_exceptions_systemtray.patch: fix indentation; + - r5328_fix_renaming_parent_folder.patch: new patch, fix renaming + a parent folder into multiple folders (upstream svn r5328). + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 02 Jun 2009 00:30:25 +0200 + +deluge (1.1.8+dfsg-2) unstable; urgency=low + + * debian/control: + - depends on python-chardet; + - add Suggests: python-openssl for deluge-webui (Closes: #530688). + * debian/patches: + - 10-new_release_check.patch: move to new_release_check.patch (don't use + names starting with patch order); + - fix_use_self_encoding_r5304.patch: fix not using the encoding used in + the torrent file to decode some strings; + - fix_uncaught_exceptions_systemtray_r5305.patch: prevent some uncaught + exceptions when systemtray is not enabled. + + -- Cristian Greco <cristian.debian@gmail.com> Thu, 28 May 2009 02:36:00 +0200 + +deluge (1.1.8+dfsg-1) unstable; urgency=low + + * New upstream version. + - bugs fixed in 1.1.7: + + version not uploaded in Debian (Closes: #528531, LP: #376032); + + fix crashes during shutdown (LP: #343088); + + fix resume torrent after doing a 'Pause All' (LP: #363569); + + fix crashes caused by 'Peers' tab (LP: #333256, LP: #358942); + - bugs fixed in 1.1.8: + + fix error message when using '-c' option and not specifying a + directory (LP: #333227, LP: #333228); + + fix crashes caused during new release check function (LP: #346692); + + fix GtkWarning assetion (LP: #343759); + + fix crashed caused by timeout in mail notification (LP: #360851); + + set sane defaults for peers/file tabs column widths (Closes: #525643); + * debian/control: + - add Vcs-* stuff (switch to git-buildpackage maintenance); + - rework conflicts&replaces against the old deluge-torrent{,-common} + packages. (LP: #369852, LP: #369916) + * debian/patches: + + switch from dpatch to quilt; + + delete 20-fix-segfault-utf8.dpatch (merged upstream). + * Don't depend on hardcoded python version in debian/control and + debian/deluge*.install; use --install-layout=deb in debian/rules. + This should reduce the Ubuntu diff thus allowing to build with + python2.6 (thanks Andrew) (Closes: #519650). + * debian/deluge-webui.README.Debian: right command is 'deluge -u web' + (Closes: #525649). + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 26 May 2009 15:18:23 +0200 + +deluge (1.1.6+dfsg-2) unstable; urgency=low + + * debian/patches: new patch 20-fix-segfault-utf8.dpatch, should fix segfault + if locale is not using utf8 encoding (Closes: #520965). + + -- Cristian Greco <cristian.debian@gmail.com> Fri, 10 Apr 2009 01:59:22 +0200 + +deluge (1.1.6+dfsg-1) unstable; urgency=low + + * New upstream version. + - Closing some fixed bug in Lauchpad (LP: #279063, LP: #333058); + - debian/copyright: updated to reflect the license change (added OpenSSL + exception to GPLv3). + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 07 Apr 2009 01:18:05 +0200 + +deluge (1.1.5+dfsg-1) unstable; urgency=low + + * New upstream version. + - debian/patches: remove 20-fix-config-files-backup.dpatch (fixed + upstream). + * debian/watch: updated upstream tarball location. + * debian/control: added Depends: on xdg-utils for deluge-core (Closes: + #519763). + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 17 Mar 2009 23:34:51 +0100 + +deluge (1.1.4+dfsg-2) unstable; urgency=low + + * debian/patches: new patch 20-fix-config-files-backup.dpatch pulled from + upstream svn should fix a problem with config files (Closes: #519042). + * debian/control: bump up Standards-Version to 3.8.1 (no changes required). + + -- Cristian Greco <cristian.debian@gmail.com> Thu, 12 Mar 2009 09:51:32 +0100 + +deluge (1.1.4+dfsg-1) unstable; urgency=low + + * New upstrean version. + * debian/copyright: updated. + * debian/control: depends on python-libtorrent (>= 0.14.2). + * Upload to unstable. + + -- Cristian Greco <cristian.debian@gmail.com> Sun, 08 Mar 2009 20:44:36 +0100 + +deluge (1.1.3+dfsg-1) experimental; urgency=low + + * New upstream version. + - the source code licensing issue with the file deluge/metafile.py has + been solved by upstream, so the tarball repackaging is actually only + due to the GeoIP database; the torrent creation feature has been + reenabled while the related patch has been dropped away. + - debian/patches: + + 20-torrent_creation.dpatch: deleted (no more needed); + + 30-manpages.dpatch: deleted (merged upstream). + - debian/NEWS, debian/README.source: updated info about repackaging and + the new torrent creation feature. + * debian/control: + - build only against python >=2.5 (Closes: #515549, LP: #329836); + - depends and build-depends on python-libtorrent >= 0.14.1; + - updated description for the package deluge-console using 'console ui' + instead of 'null ui'. + * debian/README.Debian: install a different README file for deluge-core, + deluge-console and deluge-webui. + * debian/changelog: switch to a new naming scheme to make lintian happy + (dfsg-version-with-period). + * debian/copyright: updated. + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 17 Feb 2009 01:48:27 +0100 + +deluge (1.1.2.dfsg-1) experimental; urgency=low + + * New upstream version. + - upstream tarball has been repackaged due to a problem with the file + deluge/metafile.py, which is released with a non-dfsg free license (in + addition to the old issue with GeoIP database); + - debian/README.source: updated info about repackaging; + - debian/copyright: new and updated copyright notes and files; + - debian/patches: + + 001-fix_import_libtorrent.dpatch: deleted (fixed upstream); + + 002-Do_not_check_for_update_as_default.dpatch: renamed to + 10-new_release_check.dpatch and updated; + + 20-torrent_creation.dpatch: added (see below); + + 30-manpages.dpatch: added; + - debian/NEWS: added file in order to alert about the disabled torrent + creation feature due to licensing problem and source repackaging; + - debian/deluge-console.install, debian/README.Debian: updated to reflect + the new UI specific folder name (renamed from 'null' to 'console'); + - debian/rules: no need to remove extra LICENSE file (fixed upstream); + * debian/watch: fixed to watch for RC releases. + + -- Cristian Greco <cristian.debian@gmail.com> Sun, 01 Feb 2009 15:27:34 +0100 + +deluge (1.0.7.dfsg-3) experimental; urgency=low + + * Add dummy package deluge-torrent for clean upgrades (Closes: #510824). + + -- Cristian Greco <cristian.debian@gmail.com> Wed, 07 Jan 2009 21:55:45 +0100 + +deluge (1.0.7.dfsg-2) experimental; urgency=low + + * Add deluge-core Depends: on python-pkg-resources (Closes: #510452). + * Update 002-Do_not_check_for_update_as_default.dpatch to disable also + alerts about new releases. + + -- Cristian Greco <cristian.debian@gmail.com> Sun, 04 Jan 2009 03:02:31 +0100 + +deluge (1.0.7.dfsg-1) experimental; urgency=low + + * New Maintainer (acknowledged by Adam Cécile). + - Thanks to Adam Cécile for his work. + * New upstream version (Closes: #499850, #501078). + * Upstream tarball has been repackaged due to non dfsg-compliant copyright + statement in file deluge/data/GeoIP.dat (see README.source). + * debian/control: + - source and binary packages renamed from deluge-torrent to deluge, as + requested by upstream authors; + - depends on python-libtorrent and do not build the embedded copy of + libtorrent-rasterbar; + - deluge package is "Architecture: all", not "any"; + - drop package deluge-torrent-common; + - do not recommends python-gtkmozembed because it is not used at all; + - rewrite short and full description to describe the daemon/client model. + - split deluge in five different packages: deluge-core (which contains the + deluged daemon), deluge-common (which contains common data files for all + UIs) and one single package for each UI (with 'deluge' being the default + GTK+ ui) -- see README.Debian for details; + - the new deluge-core package Conflicts/Replaces deluge-torrent-common. + * debian/compat, debian/control, debian/rules: switch to debhelper 7 and + rewrite debian/rules for scratch because we don't need to build the + embedded copy of libtorrent-rasterbar. + * debian/copyright: file rewrote from scratch (Closes: #488155). + * debian/watch: added file. + * debian/links: deleted file. + * debian/menu: minor changes. + * debian/patches: + - delete 000-Fix_tray_icon.dpatch; + - delete 001-Fix_CFLAGS_handling.dpatch; + - refresh 002-Do_not_check_for_update_as_default.dpatch; + - add 001_fix_import_libtorrent.dpatch -- see description for details. + * added README.Debian and README.source files. + * get rid of manpage deluge.1 and the .desktop file because they are now + shipped by upstream. + * get rid of lintian override 'menu-icon-missing' because now upstream ships + an xpm icon. + * add a lintian-overrides file for the new deluge package. + * upload to experimental. + + -- Cristian Greco <cristian.debian@gmail.com> Tue, 16 Dec 2008 17:08:57 +0100 + +deluge-torrent (0.5.9.3-1) unstable; urgency=low + + * New upstream release (Closes: #487312). + * Recommends python-gtkmozembed instead python-gnome2-extras + (Closes: #485297). + * Bump Standards-Version to 3.8.0. + * Improve .desktop file (Closes: #484904). + * Update dependency from python-pyopenssl (transitional) to python-openssl. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Mon, 23 Jun 2008 22:54:02 +0200 + +deluge-torrent (0.5.9.1-1) unstable; urgency=low + + * New upstream release (Closes: #475313, #465059). + * Add missing dbus-x11 runtime dependency (Closes: #481564). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Tue, 27 May 2008 22:24:36 +0200 + +deluge-torrent (0.5.8.7-1) unstable; urgency=low + + * New upstream release (Closes: #472785): + - plugins treeview now scroll when using the keyboard (Closes: #445623). + * Update manpage. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Tue, 01 Apr 2008 22:26:06 +0200 + +deluge-torrent (0.5.8.6-1) unstable; urgency=low + + * New upstream release (Closes: #470702). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Fri, 14 Mar 2008 22:28:58 +0100 + +deluge-torrent (0.5.8.5-1) unstable; urgency=low + + * New upstream release (Closes: #469969). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sun, 09 Mar 2008 13:33:33 +0100 + +deluge-torrent (0.5.8.4-1) unstable; urgency=low + + * New upstream release (Closes: #466212). + * Drop 004-GNU_kFreeBSD patch, fixed upstream. + * Update 002-Do_not_check_for_update_as_default patch (Closes: #466355). + * Fix description mis-spelling. + * Add a deluge-torrent-common package for arch-indep files. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sun, 17 Feb 2008 21:57:37 +0100 + +deluge-torrent (0.5.8.3-1) unstable; urgency=HIGH + + * Security set to HIGH as it fix a critical security issue. + * New upstream release (Closes: #463357). + * Update 002-Do_not_check_for_update_as_default patch. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Fri, 01 Feb 2008 22:59:10 +0100 + +deluge-torrent (0.5.8-1) unstable; urgency=low + + * New upstream release (Closes: #457832, #454134). + * Fix FTBFS on GNU/kFreeBSD, thanks to Aurelien Jarno (Closes: #458974). + * Bump Standards-Version to 3.7.3 (no changes needed). + * Recommends python-gnome2-extras (embedded web browser). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Fri, 04 Jan 2008 12:13:32 +0100 + +deluge-torrent (0.5.7.1~debian-1) unstable; urgency=low + + * New upstream release (Closes: #448475, #452808). + * Add runtime dependencies: librsvg2-common, python-pyopenssl. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sun, 02 Dec 2007 13:51:39 +0100 + +deluge-torrent (0.5.6.2-1) unstable; urgency=low + + * New upstream release (Closes: #447810, #447648). + * Drop 000-Fix_browser.py_path patch, fixed upstream. + * Update 001-Fix_CFLAGS_handling and 003-Fix_tray_icon patches. + * Update debian/copyright. + * Manpage do not have a bad "SH NAME" (break whatis) entry anymore. + * Use new dpkg "Homepage" field. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Wed, 31 Oct 2007 21:41:42 +0100 + +deluge-torrent (0.5.5-2) unstable; urgency=low + + * Add missing runtime dependency on python-dbus. + * Fix 003-Fix_tray_icon patch, sorry for the mistake (Closes: #442031). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Thu, 13 Sep 2007 09:08:11 +0200 + +deluge-torrent (0.5.5-1) unstable; urgency=low + + * New upstream release (Closes: #441425). + * Re-add 001-Fix_CFLAGS_handling patch to fix CFLAGS handling. + * Call setup.py with --no-compile to avoid python compilation (done by pysupport). + * Add 002-Do_check_for_update_as_default patch (Closes: #441423). + * Add 003-Fix_tray_icon patch to use current theme icon as trayicon, thanks to Mathias Brodala (Closes: #438441). + * debian/rules: drop stuff that removes shebangs in modules, fixed upstream. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sun, 09 Sep 2007 21:33:43 +0200 + +deluge-torrent (0.5.4.1-1) unstable; urgency=low + + * New upstream release (Closes: #436839, #437205). + * Drop 000-Fix_CFLAGS_handling patch, fixed upstream. + * Add 000-Fix_browser.py_path patch to fix broswer launch failure (Closes: #435464). + * Menu: move to Applications/Network/File Transfer. + * Drop deprecated 'Encoding' entry in desktop file. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sat, 11 Aug 2007 02:17:52 +0200 + +deluge-torrent (0.5.3-1) unstable; urgency=low + + * New upstream release. + - Torrent urls supported on the command-line (Closes: #416013). + * Update 000-Fix_CFLAGS_handling patch. + * Break loops with '|| exit 1' in debian/rules. + * Rewrite icons handling. Now all sizes are generated with imagemagick. + * Fed up with upstream website changes... Drop debian/watch. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sat, 28 Jul 2007 16:36:38 +0200 + +deluge-torrent (0.5.2-1) unstable; urgency=low + + * New upstream release (Closes: #431929, #416014, #429880). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Fri, 06 Jul 2007 09:15:11 +0200 + +deluge-torrent (0.5.1.1-1) unstable; urgency=low + + * New upstream release (Closes: #428515, #419925, #406789). + * Add libssl-dev to build depends. + * Drop 001-Fix_FTBFS_with_libboost_1.34 and 002-Always_enable_EPOLL patches, fixed upstream. + * Update 000-Fix_CFLAGS_handling patch. + * Update debian/watch. + * Update debian/copyright. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Tue, 12 Jun 2007 19:51:39 +0200 + +deluge-torrent (0.5.0-3) unstable; urgency=low + + * Merge upstream patch to fix FTBFS with libboost 1.34 (Closes: #425076). + * Now build-depend on libboost*-dev (>= 1.34). + * EPOLL is now always turned on, checking at build-time is non-sense and produce FTBFS with linux-libc-dev. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Tue, 22 May 2007 17:54:27 +0200 + +deluge-torrent (0.5.0-2) unstable; urgency=low + + * Call dh_desktop (Closes: #408891, #415708). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Wed, 21 Mar 2007 17:01:09 +0100 + +deluge-torrent (0.5.0-1) unstable; urgency=low + + * New upstream release (Closes: #406790). + * Upstream do not release two separate tarballs anymore, fix rules. + * Add dpatch as patch-system. + * Use python-support to handle python modules. + * Update debian/copyright. + * Remove README.Debian-sources, README. + * Remove many useless things due to the new build system (distutils). + * Update debian/watch. + * Update manpage. + * Rename binary from deluge-torrent to deluge to match with upstream. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Mon, 19 Mar 2007 11:46:46 +0100 + +deluge-torrent (0.4.1-2) unstable; urgency=low + + * Really change menu entries name (Closes: #404992). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Wed, 17 Jan 2007 10:28:19 +0100 + +deluge-torrent (0.4.1-1) unstable; urgency=low + + * New upstream release. + * Change menu entries name from Deluge-torrent to Deluge Torrent. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Fri, 29 Dec 2006 11:22:54 +0100 + +deluge-torrent (0.4.0-2) unstable; urgency=low + + * Build with -DAMD64 for 64bits systems (Closes: #402257). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Tue, 12 Dec 2006 00:32:21 +0100 + +deluge-torrent (0.4.0-1) unstable; urgency=low + + * New upstream release + - Fix issue when no locale set (Closes: #399600). + * Update control with new dependencies. + * Remove .svn directories. + * Add debian/watch. + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Wed, 29 Nov 2006 00:10:34 +0100 + +deluge-torrent (0.3.1.1-1) unstable; urgency=low + + * Initial release (Closes: #398916). + + -- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Wed, 15 Nov 2006 22:03:13 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ddbb6a4 --- /dev/null +++ b/debian/control @@ -0,0 +1,160 @@ +Source: deluge +Section: net +Priority: optional +Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> +Build-Depends-Indep: dh-python, + intltool, + python3-all, + python3-setuptools, + python3-wheel, + unzip +Standards-Version: 4.5.0 +Vcs-Git: https://salsa.debian.org/debian/deluge.git +Vcs-Browser: https://salsa.debian.org/debian/deluge +Homepage: https://www.deluge-torrent.org/ +Build-Depends: debhelper-compat (= 13) + +Package: deluge-common +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + python3-six, + python3-twisted (>= 11.1), + python3-openssl, + python3-pkg-resources, + python3-chardet, + python3-xdg, + python3-rencode +Recommends: python3-setproctitle, + python3-pil, + python3-geoip, + geoip-database, + python3-dbus +Breaks: deluge-torrent-common (<< 1.0.7.dfsg-1), deluge-torrent (<< 1.0.7.dfsg-1), deluge-core (<< 1.2.0~rc1-1) +Replaces: deluge-torrent-common (<< 1.0.7.dfsg-1), deluge-torrent (<< 1.0.7.dfsg-1), deluge-core (<< 1.2.0~rc1-1) +Description: bittorrent client written in Python/PyGTK (common files) + Deluge is a full-featured, multi-platform, multi-interface BitTorrent client + using libtorrent-rasterbar in it's backend and featuring multiple + user-interfaces: GTK+, web and console. + . + It has been designed using the client-server model with a daemon process that + handles all the bittorrent activity. The Deluge daemon is able to run on + headless machines with the user-interfaces being able to connect remotely + from any platform. + . + This package contains data files commons to both the daemon and the + various user-interfaces. + +Package: deluged +Architecture: all +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, + ${python3:Depends}, + deluge-common (= ${source:Version}), + python3-libtorrent (>= 1.1.2), + adduser, + lsb-base (>= 3.2-14) +Description: bittorrent client written in Python/PyGTK (daemon) + Deluge is a full-featured, multi-platform, multi-interface BitTorrent client + using libtorrent-rasterbar in it's backend and featuring multiple + user-interfaces: GTK+, web and console. + . + It has been designed using the client-server model with a daemon process that + handles all the bittorrent activity. The Deluge daemon is able to run on + headless machines with the user-interfaces being able to connect remotely + from any platform. + . + You may want to install this package to run the daemon application on a remote + server and connect to it from any user-interface. + See: <URL:http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient> + +Package: deluge-console +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + python3-libtorrent (>= 1.1.2), + deluge-common (= ${source:Version}) +Description: bittorrent client written in Python/PyGTK (console ui) + Deluge is a full-featured, multi-platform, multi-interface BitTorrent client + using libtorrent-rasterbar in it's backend and featuring multiple + user-interfaces: GTK+, web and console. + . + It has been designed using the client-server model with a daemon process that + handles all the bittorrent activity. The Deluge daemon is able to run on + headless machines with the user-interfaces being able to connect remotely + from any platform. + . + This package contains the console user-interface. + +Package: deluge-web +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + deluge-common (= ${source:Version}), + python3-mako +Breaks: deluge-webui (<< 1.2.0~rc1-1) +Replaces: deluge-webui (<< 1.2.0~rc1-1) +Description: bittorrent client written in Python/PyGTK (web ui) + Deluge is a full-featured, multi-platform, multi-interface BitTorrent client + using libtorrent-rasterbar in it's backend and featuring multiple + user-interfaces: GTK+, web and console. + . + It has been designed using the client-server model with a daemon process that + handles all the bittorrent activity. The Deluge daemon is able to run on + headless machines with the user-interfaces being able to connect remotely + from any platform. + . + You may want to install this package on a remote server running the deluge + daemon (package deluged). + See: <URL:http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient> + +Package: deluge-gtk +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + deluge-common (= ${source:Version}), + python3-gi, + python3-gi-cairo, + gir1.2-gtk-3.0, + libnotify4, + librsvg2-common, + xdg-utils +Breaks: deluge (<< 1.2.0-1) +Replaces: deluge (<< 1.2.0-1) +Recommends: ${dist:Recommends}, + gir1.2-appindicator3-0.1, + python3-pygame +Description: bittorrent client written in Python/PyGTK (GTK+ ui) + Deluge is a full-featured, multi-platform, multi-interface BitTorrent client + using libtorrent-rasterbar in it's backend and featuring multiple + user-interfaces: GTK+, web and console. + . + It has been designed using the client-server model with a daemon process that + handles all the bittorrent activity. The Deluge daemon is able to run on + headless machines with the user-interfaces being able to connect remotely + from any platform. + . + You may want to install this package to use the Deluge GTK+ user-interface + as a thin client and connect to a remote daemon. + See: <URL:http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient> + +Package: deluge +Architecture: all +Depends: ${misc:Depends}, + ${python3:Depends}, + python3-libtorrent (>= 1.1.2), + deluge-gtk (= ${source:Version}) +Breaks: deluge-common (<< 1.2.0~rc1-1) +Replaces: deluge-common (<< 1.2.0~rc1-1) +Description: bittorrent client written in Python/PyGTK + Deluge is a full-featured, multi-platform, multi-interface BitTorrent client + using libtorrent-rasterbar in it's backend and featuring multiple + user-interfaces: GTK+, web and console. + . + It has been designed using the client-server model with a daemon process that + handles all the bittorrent activity. The Deluge daemon is able to run on + headless machines with the user-interfaces being able to connect remotely + from any platform. + . + You may want to install this package to use Deluge in classic mode, + which means the daemon and the GTK+ user-interface are linked together. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c13a48f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,808 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: deluge +Upstream-Contact: Andrew Resch <andrewresch@gmail.com> +Source: http://www.deluge-torrent.org + +Files: * +Copyright: Copyright © 2007,2008 Andrew Resch ('andar') <andrewresch@gmail.com> + Copyright © Marcos Pinto ('markybob') <markybob@gmail.com> + Copyright © 2007,2008 Martijn Voncken <mvoncken@gmail.com> + Copyright © 2008 Mark Stahler ('kramed') <markstahler@gmail.com> + Copyright © 2008 Damien Churchill <damoxc@gmail.com> + Copyright © 2008,2009 Ido Abramovich <ido.deluge@gmail.com> +License: GPL-3+ with OpenSSL exception + +Files: debian/* +Copyright: Copyright © 2008-2009 Cristian Greco + Copyright © 2006-2008 Adam Cécile (Le_Vert) +License: GPL-3+ + +Files: deluge/i18n/*.po +Copyright: Copyright © 2007,2009 Rosetta Contributors and Canonical Ltd +License: GPL-3+ + Detailed copyright holder report (where available): + ar.po: MaXeR <Unknown> + ast.po: Astur <malditoastur@gmail.com> + be.po: Marcos Pinto <markybob@gmail.com> + bg.po: Marcos Pinto <markybob@gmail.com> + bs.po: Marcos Pinto <markybob@gmail.com> + ca.po: Marcos Pinto <markybob@gmail.com> + cs.po: Rinu <rinu@seznam.cz> + cy.po: Me <Glich.Glich@googlemail.com> + da.po: soundpartner <michael@soundpartner.dk> + de.po: flohri <Unknown> + el.po: Giorgos Skafidas <Unknown> + en_AU.po: John Garland <Unknown> + en_CA.po: Aleksandar Micovic <metaleks@gmail.com> + en_GB.po: Marcos Pinto <markybob@gmail.com> + eo.po: Sonja <sonja@kisa.ca> + es.po: Franco Sabbatini <fsabbatini@gmail.com> + et.po: boss01 <jt1@hot.ee> + eu.po: Xabi Ezpeleta <xezpeleta@gmail.com> + fa.po: Marcos Pinto <markybob@gmail.com> + fi.po: Elias Julkunen <elias.julkunen@gmail.com> + fr.po: Timetear <timetear@gmail.com> + fy.po: Wander Nauta <wnauta@gmail.com> + gl.po: maaark <tremolodehendrik@gmail.com> + he.po: Mark Krapivner <mark125@gmail.com> + hi.po: Marcos Pinto <markybob@gmail.com> + hr.po: Tomislav Plavčić <tplavcic@gmail.com> + hu.po: Mihály MÉSZÁROS <Unknown> + id.po: Marcos Pinto <markybob@gmail.com> + is.po: mankoneko <nkenny@simnet.is> + it.po: Simone Oberti <Unknown> + iu.po: adaminikisi <Unknown> + ja.po: Masato HASHIMOTO <cabezon.hashimoto@gmail.com> + ka.po: David Machakhelidze <david.machakhelidze@gmail.com> + kk.po: Kazakh <kk_KZ@googlegroups.com>\ + kn.po: Jayasimha <ayasimha.p@netapp.com> + ko.po: Marcos Pinto <markybob@gmail.com> + ku.po: Erdal Ronahi <erdal.ronahi@gmail.com> + la.po: Matthias Benkard <mulk@mbenkard.de> + lt.po: Marcos Pinto <markybob@gmail.com> + lv.po: uldo <uldo_bum@inbox.lv> + mk.po: Marcos Pinto <markybob@gmail.com> + ms.po: Harvin Dhillon <Unknown> + nb.po: Mats Taraldsvik <mats.taraldsvik@gmail.com> + nds.po: Marcos Pinto <markybob@gmail.com> + nl.po: Henri De Veene <Unknown> + pl.po: Hubert Życiński <Unknown> + pms.po: Marcos Pinto <markybob@gmail.com> + pt_BR.po: Gustavo Azambuja <gazambuja@gmail.com> + pt.po: test666 <Unknown> + ro.po: Lucian Adrian Grijincu <lucian.grijincu@gmail.com> + ru.po: luvme.nn <Unknown> + sk.po: Mário Buči <Unknown> + sl.po: Mario Munda <mario.munda@amis.net> + sr.po: Branislav Jovanović <branej@gmail.com> + sv.po: Daniel Nylander <yeager@ubuntu.com> + ta.po: viki <vr83@coolmail.co.in> + th.po: Marcos Pinto <markybob@gmail.com> + tlh.po: Joe Anderson <computerjoe@gmail.com> + tl.po: b3rx <b3rxkintanar@gmail.com> + tr.po: ergin üresin <Unknown> + uk.po: CrabMan <oleg-min@ukr.net> + vi.po: Marcos Pinto <markybob@gmail.com> + zh_CN.po: Darren <darren.hoo@gmail.com> + zh_HK.po: Marcos Pinto <markybob@gmail.com> + zh_TW.po: Jay <jayscorpio1114@gmail.com> + +Files: deluge/plugins/blocklist/blocklist/peerguardian.py + deluge/plugins/blocklist/blocklist/text.py +Copyright: Copyright © 2007 Steve 'Tarka' Smith (tarka@internode.on.net) +License: GPL-3+ + +Files: deluge/data/pixmaps/deluge.svg + deluge/data/icons/scalable/apps/deluge.svg + deluge/data/icons/hicolor/XXxXX/apps/deluge.png + deluge/ui/web/static/images/*.png +Copyright: Copyright © Andrew Wedderburn +License: GPL-3+ + +Files: deluge/data/pixmaps/*.svg + deluge/data/pixmaps/*.png +Copyright: Copyright © Andrew Resch ('andar') <andrewresch@gmail.com> +License: GPL-3+ + +Files: msgfmt.py +Copyright: Copyright © Martin v. Lwis <loewis@informatik.hu-berlin.de> + Copyright © alexander smishlajev <alex@tycobka.lv> +License: PSF + +Files: ez_setup.py +Copyright: Copyright © Phillip J. Eby (python-setuptools) +License: PSF + +Files: deluge/bencode.py +Copyright: Copyright © Petru Paler + Copyright © Andrew Resch +License: PSF + +Files: /deluge/scripts/deluge_remote.py +Copyright: Copyright © Garett Harnish +License: PD + This software is in the public domain, furnished "as is", without technical + support, and with no warranty, express or implied, as to its usefulness for + any purpose. + +Files: deluge/pixmap/flags/*.png +Copyright: Copyright © Mark James <http://www.famfamfam.com> +License: other + "Available for free use for any purpose with no requirement for attribution." + +Files: deluge/plugins/blocklist/blocklist/data/*.png +Copyright: icons from Gnome-Icon-Theme +License: GPL-2 + +Files: deluge/deluge/ui/web/icons/* +Copyright: Furgue icons from http://pinvoke.com/ +License: CC-BY-3.0 + +Files: deluge/rencode.py +Copyright: Copyright © 2006-2007 Connelly Barnes + Copyright © 2001-2002 Bram Cohen +License: MIT + + +License: GPL-3+ with OpenSSL exception + Deluge is free software. + . + You may redistribute it and/or modify it under the terms of the + GNU General Public License, as published by the Free Software + Foundation; either version 3 of the License, or (at your option) + any later version. + . + deluge is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + See the GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with deluge. If not, write to: + The Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor + Boston, MA 02110-1301, USA. + . + In addition, as a special exception, the copyright holders give + permission to link the code of portions of this program with the OpenSSL + library. + You must obey the GNU General Public License in all respects for all of + the code used other than OpenSSL. If you modify file(s) with this + exception, you may extend this exception to your version of the file(s), + but you are not obligated to do so. If you do not wish to do so, delete + this exception statement from your version. If you delete this exception + statement from all source files in the program, then also delete it here. + +License: GPL-3+ + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-3'. + +License: GPL-2 + On Debian systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2'. + +License: MIT + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation files + (the "Software"), to deal in the Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, sublicense, and/or sell copies of the Software, + and to permit persons to whom the Software is furnished to do so, + subject to the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + The Software is provided "AS IS", without warranty of any kind, + express or implied, including but not limited to the warranties of + merchantability, fitness for a particular purpose and + noninfringement. In no event shall the authors or copyright holders + be liable for any claim, damages or other liability, whether in an + action of contract, tort or otherwise, arising from, out of or in + connection with the Software or the use or other dealings in the + Software. + +License: PSF + A. HISTORY OF THE SOFTWARE + ========================== + . + Python was created in the early 1990s by Guido van Rossum at Stichting + Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands + as a successor of a language called ABC. Guido remains Python's + principal author, although it includes many contributions from others. + . + In 1995, Guido continued his work on Python at the Corporation for + National Research Initiatives (CNRI, see http://www.cnri.reston.va.us) + in Reston, Virginia where he released several versions of the + software. + . + In May 2000, Guido and the Python core development team moved to + BeOpen.com to form the BeOpen PythonLabs team. In October of the same + year, the PythonLabs team moved to Digital Creations (now Zope + Corporation, see http://www.zope.com). In 2001, the Python Software + Foundation (PSF, see http://www.python.org/psf/) was formed, a + non-profit organization created specifically to own Python-related + Intellectual Property. Zope Corporation is a sponsoring member of + the PSF. + . + All Python releases are Open Source (see http://www.opensource.org for + the Open Source Definition). Historically, most, but not all, Python + releases have also been GPL-compatible; the table below summarizes + the various releases. + . + Release Derived Year Owner GPL- + from compatible? (1) + . + 0.9.0 thru 1.2 1991-1995 CWI yes + 1.3 thru 1.5.2 1.2 1995-1999 CNRI yes + 1.6 1.5.2 2000 CNRI no + 2.0 1.6 2000 BeOpen.com no + 1.6.1 1.6 2001 CNRI yes (2) + 2.1 2.0+1.6.1 2001 PSF no + 2.0.1 2.0+1.6.1 2001 PSF yes + 2.1.1 2.1+2.0.1 2001 PSF yes + 2.2 2.1.1 2001 PSF yes + 2.1.2 2.1.1 2002 PSF yes + 2.1.3 2.1.2 2002 PSF yes + 2.2.1 2.2 2002 PSF yes + 2.2.2 2.2.1 2002 PSF yes + 2.2.3 2.2.2 2003 PSF yes + 2.3 2.2.2 2002-2003 PSF yes + 2.3.1 2.3 2002-2003 PSF yes + 2.3.2 2.3.1 2002-2003 PSF yes + 2.3.3 2.3.2 2002-2003 PSF yes + 2.3.4 2.3.3 2004 PSF yes + 2.3.5 2.3.4 2005 PSF yes + 2.4 2.3 2004 PSF yes + 2.4.1 2.4 2005 PSF yes + 2.4.2 2.4.1 2005 PSF yes + 2.4.3 2.4.2 2006 PSF yes + 2.5 2.4 2006 PSF yes + 2.5.1 2.5 2007 PSF yes + . + Footnotes: + . + (1) GPL-compatible doesn't mean that we're distributing Python under + the GPL. All Python licenses, unlike the GPL, let you distribute + a modified version without making your changes open source. The + GPL-compatible licenses make it possible to combine Python with + other software that is released under the GPL; the others don't. + . + (2) According to Richard Stallman, 1.6.1 is not GPL-compatible, + because its license has a choice of law clause. According to + CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1 + is "not incompatible" with the GPL. + . + Thanks to the many outside volunteers who have worked under Guido's + direction to make these releases possible. + . + . + B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON + =============================================================== + . + PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 + -------------------------------------------- + . + 1. This LICENSE AGREEMENT is between the Python Software Foundation + ("PSF"), and the Individual or Organization ("Licensee") accessing and + otherwise using this software ("Python") in source or binary form and + its associated documentation. + . + 2. Subject to the terms and conditions of this License Agreement, PSF + hereby grants Licensee a nonexclusive, royalty-free, world-wide + license to reproduce, analyze, test, perform and/or display publicly, + prepare derivative works, distribute, and otherwise use Python + alone or in any derivative version, provided, however, that PSF's + License Agreement and PSF's notice of copyright, i.e., "Copyright (c) + 2001, 2002, 2003, 2004, 2005, 2006, 2007 Python Software Foundation; + All Rights Reserved" are retained in Python alone or in any derivative + version prepared by Licensee. + . + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python. + . + 4. PSF is making Python available to Licensee on an "AS IS" + basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + . + 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + . + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + . + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between PSF and + Licensee. This License Agreement does not grant permission to use PSF + trademarks or trade name in a trademark sense to endorse or promote + products or services of Licensee, or any third party. + . + 8. By copying, installing or otherwise using Python, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + . + . + BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 + ------------------------------------------- + . + BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 + . + 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an + office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the + Individual or Organization ("Licensee") accessing and otherwise using + this software in source or binary form and its associated + documentation ("the Software"). + . + 2. Subject to the terms and conditions of this BeOpen Python License + Agreement, BeOpen hereby grants Licensee a non-exclusive, + royalty-free, world-wide license to reproduce, analyze, test, perform + and/or display publicly, prepare derivative works, distribute, and + otherwise use the Software alone or in any derivative version, + provided, however, that the BeOpen Python License is retained in the + Software, alone or in any derivative version prepared by Licensee. + . + 3. BeOpen is making the Software available to Licensee on an "AS IS" + basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + . + 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE + SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS + AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY + DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + . + 5. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + . + 6. This License Agreement shall be governed by and interpreted in all + respects by the law of the State of California, excluding conflict of + law provisions. Nothing in this License Agreement shall be deemed to + create any relationship of agency, partnership, or joint venture + between BeOpen and Licensee. This License Agreement does not grant + permission to use BeOpen trademarks or trade names in a trademark + sense to endorse or promote products or services of Licensee, or any + third party. As an exception, the "BeOpen Python" logos available at + http://www.pythonlabs.com/logos.html may be used according to the + permissions granted on that web page. + . + 7. By copying, installing or otherwise using the software, Licensee + agrees to be bound by the terms and conditions of this License + Agreement. + . + CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1 + --------------------------------------- + . + 1. This LICENSE AGREEMENT is between the Corporation for National + Research Initiatives, having an office at 1895 Preston White Drive, + Reston, VA 20191 ("CNRI"), and the Individual or Organization + ("Licensee") accessing and otherwise using Python 1.6.1 software in + source or binary form and its associated documentation. + . + 2. Subject to the terms and conditions of this License Agreement, CNRI + hereby grants Licensee a nonexclusive, royalty-free, world-wide + license to reproduce, analyze, test, perform and/or display publicly, + prepare derivative works, distribute, and otherwise use Python 1.6.1 + alone or in any derivative version, provided, however, that CNRI's + License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) + 1995-2001 Corporation for National Research Initiatives; All Rights + Reserved" are retained in Python 1.6.1 alone or in any derivative + version prepared by Licensee. Alternately, in lieu of CNRI's License + Agreement, Licensee may substitute the following text (omitting the + quotes): "Python 1.6.1 is made available subject to the terms and + conditions in CNRI's License Agreement. This Agreement together with + Python 1.6.1 may be located on the Internet using the following + unique, persistent identifier (known as a handle): 1895.22/1013. This + Agreement may also be obtained from a proxy server on the Internet + using the following URL: http://hdl.handle.net/1895.22/1013". + . + 3. In the event Licensee prepares a derivative work that is based on + or incorporates Python 1.6.1 or any part thereof, and wants to make + the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to Python 1.6.1. + . + 4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" + basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT + INFRINGE ANY THIRD PARTY RIGHTS. + . + 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON + 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS + A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, + OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. + . + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + . + 7. This License Agreement shall be governed by the federal + intellectual property law of the United States, including without + limitation the federal copyright law, and, to the extent such + U.S. federal law does not apply, by the law of the Commonwealth of + Virginia, excluding Virginia's conflict of law provisions. + Notwithstanding the foregoing, with regard to derivative works based + on Python 1.6.1 that incorporate non-separable material that was + previously distributed under the GNU General Public License (GPL), the + law of the Commonwealth of Virginia shall govern this License + Agreement only as to issues arising under or with respect to + Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this + License Agreement shall be deemed to create any relationship of + agency, partnership, or joint venture between CNRI and Licensee. This + License Agreement does not grant permission to use CNRI trademarks or + trade name in a trademark sense to endorse or promote products or + services of Licensee, or any third party. + . + 8. By clicking on the "ACCEPT" button where indicated, or by copying, + installing or otherwise using Python 1.6.1, Licensee agrees to be + bound by the terms and conditions of this License Agreement. + . + ACCEPT + . + CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 + -------------------------------------------------- + . + Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, + The Netherlands. All rights reserved. + . + Permission to use, copy, modify, and distribute this software and its + documentation for any purpose and without fee is hereby granted, + provided that the above copyright notice appear in all copies and that + both that copyright notice and this permission notice appear in + supporting documentation, and that the name of Stichting Mathematisch + Centrum or CWI not be used in advertising or publicity pertaining to + distribution of the software without specific, written prior + permission. + . + STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO + THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND + FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE + FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT + OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +License: CC-BY-3.0 + Creative Commons Attribution 3.0 Unported + . + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION + ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE + INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + ITS USE. + . + License + . + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE + COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY + COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS + AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + . + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE + TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY + BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS + CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND + CONDITIONS. + . + 1. Definitions + . + a. "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, derivative + work, arrangement of music or other alterations of a literary or + artistic work, or phonogram or performance and includes cinematographic + adaptations or any other form in which the Work may be recast, + transformed, or adapted including in any form recognizably derived from + the original, except that a work that constitutes a Collection will not + be considered an Adaptation for the purpose of this License. For the + avoidance of doubt, where the Work is a musical work, performance or + phonogram, the synchronization of the Work in timed-relation with a + moving image ("synching") will be considered an Adaptation for the + purpose of this License. + . + b. "Collection" means a collection of literary or artistic works, such + as encyclopedias and anthologies, or performances, phonograms or + broadcasts, or other works or subject matter other than works listed in + Section 1(f) below, which, by reason of the selection and arrangement of + their contents, constitute intellectual creations, in which the Work is + included in its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A work + that constitutes a Collection will not be considered an Adaptation (as + defined above) for the purposes of this License. + . + c. "Distribute" means to make available to the public the original and + copies of the Work or Adaptation, as appropriate, through sale or other + transfer of ownership. + . + d. "Licensor" means the individual, individuals, entity or entities that + offer(s) the Work under the terms of this License. + . + e. "Original Author" means, in the case of a literary or artistic work, + the individual, individuals, entity or entities who created the Work or + if no individual or entity can be identified, the publisher; and in + addition (i) in the case of a performance the actors, singers, + musicians, dancers, and other persons who act, sing, deliver, declaim, + play in, interpret or otherwise perform literary or artistic works or + expressions of folklore; (ii) in the case of a phonogram the producer + being the person or legal entity who first fixes the sounds of a + performance or other sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast. + . + f. "Work" means the literary and/or artistic work offered under the + terms of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, pamphlet + and other writing; a lecture, address, sermon or other work of the same + nature; a dramatic or dramatico-musical work; a choreographic work or + entertainment in dumb show; a musical composition with or without words; + a cinematographic work to which are assimilated works expressed by a + process analogous to cinematography; a work of drawing, painting, + architecture, sculpture, engraving or lithography; a photographic work + to which are assimilated works expressed by a process analogous to + photography; a work of applied art; an illustration, map, plan, sketch + or three-dimensional work relative to geography, topography, + architecture or science; a performance; a broadcast; a phonogram; a + compilation of data to the extent it is protected as a copyrightable + work; or a work performed by a variety or circus performer to the extent + it is not otherwise considered a literary or artistic work. + . + g. "You" means an individual or entity exercising rights under this + License who has not previously violated the terms of this License with + respect to the Work, or who has received express permission from the + Licensor to exercise rights under this License despite a previous + violation. + . + h. "Publicly Perform" means to perform public recitations of the Work + and to communicate to the public those public recitations, by any means + or process, including by wire or wireless means or public digital + performances; to make available to the public Works in such a way that + members of the public may access these Works from a place and at a place + individually chosen by them; to perform the Work to the public by any + means or process and the communication to the public of the performances + of the Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + . + i. "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. + . + 2. Fair Dealing Rights. Nothing in this License is intended to reduce, + limit, or restrict any uses free from copyright or rights arising from + limitations or exceptions that are provided for in connection with the + copyright protection under copyright law or other applicable laws. + . + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + . + a. to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; + . + b. to create and Reproduce Adaptations provided that any such + Adaptation, including any translation in any medium, takes reasonable + steps to clearly label, demarcate or otherwise identify that changes + were made to the original Work. For example, a translation could be + marked "The original work was translated from English to Spanish," or a + modification could indicate "The original work has been modified."; + . + c. to Distribute and Publicly Perform the Work including as incorporated + in Collections; and, + . + d. to Distribute and Publicly Perform Adaptations. + . + e. For the avoidance of doubt: + . + i. Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or compulsory + licensing scheme cannot be waived, the Licensor reserves the exclusive + right to collect such royalties for any exercise by You of the rights + granted under this License; + . + ii. Waivable Compulsory License Schemes. In those jurisdictions in which + the right to collect royalties through any statutory or compulsory + licensing scheme can be waived, the Licensor waives the exclusive right + to collect such royalties for any exercise by You of the rights granted + under this License; and, + . + iii. Voluntary License Schemes. The Licensor waives the right to collect + royalties, whether individually or, in the event that the Licensor is a + member of a collecting society that administers voluntary licensing + schemes, via that society, from any exercise by You of the rights + granted under this License. + . + The above rights may be exercised in all media and formats whether now + known or hereafter devised. The above rights include the right to make + such modifications as are technically necessary to exercise the rights + in other media and formats. Subject to Section 8(f), all rights not + expressly granted by Licensor are hereby reserved. + . + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + . + a. You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms on + the Work that restrict the terms of this License or the ability of the + recipient of the Work to exercise the rights granted to that recipient + under the terms of the License. You may not sublicense the Work. You + must keep intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You Distribute or + Publicly Perform. When You Distribute or Publicly Perform the Work, You + may not impose any effective technological measures on the Work that + restrict the ability of a recipient of the Work from You to exercise the + rights granted to that recipient under the terms of the License. This + Section 4(a) applies to the Work as incorporated in a Collection, but + this does not require the Collection apart from the Work itself to be + made subject to the terms of this License. If You create a Collection, + upon notice from any Licensor You must, to the extent practicable, + remove from the Collection any credit as required by Section 4(b), as + requested. If You create an Adaptation, upon notice from any Licensor + You must, to the extent practicable, remove from the Adaptation any + credit as required by Section 4(b), as requested. + . + b. If You Distribute, or Publicly Perform the Work or any Adaptations or + Collections, You must, unless a request has been made pursuant to + Section 4(a), keep intact all copyright notices for the Work and + provide, reasonable to the medium or means You are utilizing: (i) the + name of the Original Author (or pseudonym, if applicable) if supplied, + and/or if the Original Author and/or Licensor designate another party or + parties (e.g., a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's copyright notice, + terms of service or by other reasonable means, the name of such party or + parties; (ii) the title of the Work if supplied; (iii) to the extent + reasonably practicable, the URI, if any, that Licensor specifies to be + associated with the Work, unless such URI does not refer to the + copyright notice or licensing information for the Work; and (iv) , + consistent with Section 3(b), in the case of an Adaptation, a credit + identifying the use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or "Screenplay based on + original Work by Original Author"). The credit required by this Section + 4 (b) may be implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a minimum such credit + will appear, if a credit for all contributing authors of the Adaptation + or Collection appears, then as part of these credits and in a manner at + least as prominent as the credits for the other contributing authors. + For the avoidance of doubt, You may only use the credit required by this + Section for the purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not implicitly or + explicitly assert or imply any connection with, sponsorship or + endorsement by the Original Author, Licensor and/or Attribution Parties, + as appropriate, of You or Your use of the Work, without the separate, + express prior written permission of the Original Author, Licensor and/or + Attribution Parties. + . + c. Except as otherwise agreed in writing by the Licensor or as may be + otherwise permitted by applicable law, if You Reproduce, Distribute or + Publicly Perform the Work either by itself or as part of any Adaptations + or Collections, You must not distort, mutilate, modify or take other + derogatory action in relation to the Work which would be prejudicial to + the Original Author's honor or reputation. Licensor agrees that in those + jurisdictions (e.g. Japan), in which any exercise of the right granted + in Section 3(b) of this License (the right to make Adaptations) would be + deemed to be a distortion, mutilation, modification or other derogatory + action prejudicial to the Original Author's honor and reputation, the + Licensor will waive or not assert, as appropriate, this Section, to the + fullest extent permitted by the applicable national law, to enable You + to reasonably exercise Your right under Section 3(b) of this License + (right to make Adaptations) but not otherwise. + . + 5. Representations, Warranties and Disclaimer + . + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR + OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY + KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, + INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF + LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, + WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE + EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + . + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE + LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR + ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES + ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + . + 7. Termination + . + a. This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. + . + b. Subject to the above terms and conditions, the license granted here + is perpetual (for the duration of the applicable copyright in the Work). + Notwithstanding the above, Licensor reserves the right to release the + Work under different license terms or to stop distributing the Work at + any time; provided, however that any such election will not serve to + withdraw this License (or any other license that has been, or is + required to be, granted under the terms of this License), and this + License will continue in full force and effect unless terminated as + stated above. + . + 8. Miscellaneous + . + a. Each time You Distribute or Publicly Perform the Work or a + Collection, the Licensor offers to the recipient a license to the Work + on the same terms and conditions as the license granted to You under + this License. + . + b. Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same terms + and conditions as the license granted to You under this License. + . + c. If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. + . + d. No term or provision of this License shall be deemed waived and no + breach consented to unless such waiver or consent shall be in writing + and signed by the party to be charged with such waiver or consent. This + License constitutes the entire agreement between the parties with + respect to the Work licensed here. There are no understandings, + agreements or representations with respect to the Work not specified + here. Licensor shall not be bound by any additional provisions that may + appear in any communication from You. + . + e. This License may not be modified without the mutual written agreement + of the Licensor and You. + . + f. The rights granted under, and the subject matter referenced, in this + License were drafted utilizing the terminology of the Berne Convention + for the Protection of Literary and Artistic Works (as amended on + September 28, 1979), the Rome Convention of 1961, the WIPO Copyright + Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and + the Universal Copyright Convention (as revised on July 24, 1971). These + rights and subject matter take effect in the relevant jurisdiction in + which the License terms are sought to be enforced according to the + corresponding provisions of the implementation of those treaty + provisions in the applicable national law. If the standard suite of + rights granted under applicable copyright law includes additional rights + not granted under this License, such additional rights are deemed to be + included in the License; this License is not intended to restrict the + license of any rights under applicable law. + . + Creative Commons Notice + . + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + . + Except for the limited purpose of indicating to the public that the Work + is licensed under the CCPL, Creative Commons does not authorize the use + by either party of the trademark "Creative Commons" or any related + trademark or logo of Creative Commons without the prior written consent + of Creative Commons. Any permitted use will be in compliance with + Creative Commons' then-current trademark usage guidelines, as may be + published on its website or otherwise made available upon request from + time to time. For the avoidance of doubt, this trademark restriction + does not form part of this License. + . + Creative Commons may be contacted at http://creativecommons.org/. diff --git a/debian/deluge-common.install b/debian/deluge-common.install new file mode 100644 index 0000000..f25debf --- /dev/null +++ b/debian/deluge-common.install @@ -0,0 +1,7 @@ +usr/lib/python*/*-packages/*.egg-info +usr/lib/python*/*-packages/deluge/*.py +usr/lib/python*/*-packages/deluge/core/*.py +usr/lib/python*/*-packages/deluge/i18n/* +usr/lib/python*/*-packages/deluge/plugins/* +usr/lib/python*/*-packages/deluge/ui/*.py +usr/lib/python*/*-packages/deluge/ui/data/* diff --git a/debian/deluge-console.install b/debian/deluge-console.install new file mode 100644 index 0000000..5e4d63b --- /dev/null +++ b/debian/deluge-console.install @@ -0,0 +1,3 @@ +usr/bin/deluge-console +usr/lib/python*/*-packages/deluge/ui/console/* +usr/share/man/man1/deluge-console.1 diff --git a/debian/deluge-gtk.install b/debian/deluge-gtk.install new file mode 100644 index 0000000..7458250 --- /dev/null +++ b/debian/deluge-gtk.install @@ -0,0 +1,5 @@ +usr/bin/deluge-gtk +usr/lib/python*/*-packages/deluge/ui/gtk3/* +usr/share/applications/* +usr/share/icons/* +usr/share/man/man1/deluge-gtk.1 diff --git a/debian/deluge-gtk.mime b/debian/deluge-gtk.mime new file mode 100644 index 0000000..1e75dc0 --- /dev/null +++ b/debian/deluge-gtk.mime @@ -0,0 +1 @@ +application/x-bittorrent; deluge-gtk %s; description="BitTorrent Client"; test=test -n "$DISPLAY"; nametemplate=%s.torrent diff --git a/debian/deluge-web.README.Debian b/debian/deluge-web.README.Debian new file mode 100644 index 0000000..a78a970 --- /dev/null +++ b/debian/deluge-web.README.Debian @@ -0,0 +1,8 @@ +deluge-web for Debian +--------------------- + + The Web User Interface is accessible as a default on http://localhost:8112, + with "deluge" as default password. Please refer to deluge-web(1) manpage for + more information. + + -- Cristian Greco <cristian@regolo.cc> Wed, 27 Jan 2010 21:31:47 +0100 diff --git a/debian/deluge-web.install b/debian/deluge-web.install new file mode 100644 index 0000000..97cb297 --- /dev/null +++ b/debian/deluge-web.install @@ -0,0 +1,4 @@ +usr/bin/deluge-web +usr/lib/python*/*-packages/deluge/ui/web/* +usr/share/man/man1/deluge-web.1 +packaging/systemd/deluge-web.service lib/systemd/system diff --git a/debian/deluge.install b/debian/deluge.install new file mode 100644 index 0000000..72b32b0 --- /dev/null +++ b/debian/deluge.install @@ -0,0 +1,3 @@ +usr/bin/deluge +usr/share/man/man1/deluge.1 +usr/share/pixmaps/* diff --git a/debian/deluge.menu b/debian/deluge.menu new file mode 100644 index 0000000..d74cc8f --- /dev/null +++ b/debian/deluge.menu @@ -0,0 +1,9 @@ +?package(deluge): \ + needs="X11" \ + section="Applications/Network/File Transfer" \ + title="Deluge" \ + command="/usr/bin/deluge" \ + longtitle="Deluge BitTorrent Client" \ + icon="/usr/share/pixmaps/deluge.xpm" \ + description="Deluge is a full-featured, multi-platform, multi-interface \ + BitTorrent client utilizing libtorrent." diff --git a/debian/deluged.default b/debian/deluged.default new file mode 100644 index 0000000..b494400 --- /dev/null +++ b/debian/deluged.default @@ -0,0 +1,5 @@ +# Defaults for deluged initscript +# sourced by /etc/init.d/deluged + +# change to 1 to enable daemon +ENABLE_DELUGED=0 diff --git a/debian/deluged.dirs b/debian/deluged.dirs new file mode 100644 index 0000000..4e4c4cb --- /dev/null +++ b/debian/deluged.dirs @@ -0,0 +1,2 @@ +/var/log/deluged +/var/lib/deluged/config diff --git a/debian/deluged.init b/debian/deluged.init new file mode 100644 index 0000000..674760b --- /dev/null +++ b/debian/deluged.init @@ -0,0 +1,128 @@ +#!/bin/sh +### BEGIN INIT INFO +# Provides: deluged +# Required-Start: $local_fs $remote_fs +# Required-Stop: $local_fs $remote_fs +# Should-Start: $network +# Should-Stop: $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start or stop the Deluge BitTorrent daemon. +# Description: Start or stop the Deluge BitTorrent daemon. +### END INIT INFO + +# Authors: Tanguy Ortolo <tanguy+debian@ortolo.eu>, +# Cristian Greco <cristian@regolo.cc> + +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="Deluge BitTorrent Daemon" +NAME="deluged" +DAEMON=/usr/bin/$NAME +DAEMON_ARGS="-d -c /var/lib/deluged/config -l /var/log/deluged/daemon.log -L info" +USER=debian-deluged +MASK=0027 +PIDFILE=/var/run/$NAME.pid +SCRIPTNAME=/etc/init.d/$NAME + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +ENABLE_DELUGED=1 + +# Read configuration variable file if it is present +[ -r /etc/default/$NAME ] && . /etc/default/$NAME + +# Load the VERBOSE setting and other rcS variables +[ -f /etc/default/rcS ] && . /etc/default/rcS + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present +# and status_of_proc is working. +. /lib/lsb/init-functions + +# +# Function that starts the daemon/service +# +do_start() +{ + if [ $ENABLE_DELUGED != 1 ]; then + log_progress_msg "Not starting ${DESC} ${NAME}, disabled in /etc/default/${NAME}" + else + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --background --quiet --pidfile $PIDFILE --exec $DAEMON \ + --chuid $USER --umask $MASK --test > /dev/null \ + || return 1 + + start-stop-daemon --start --background --quiet --pidfile $PIDFILE --make-pidfile --exec $DAEMON \ + --chuid $USER --umask $MASK -- $DAEMON_ARGS \ + || return 2 + fi +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE + RETVAL="$?" + [ "$RETVAL" = "2" ] && return 2 + + rm -f $PIDFILE + return "$RETVAL" +} + +case "$1" in + start) + [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + stop) + [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; + 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; + esac + ;; + status) + status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? + ;; + restart|force-reload) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 + exit 3 + ;; +esac + +: diff --git a/debian/deluged.install b/debian/deluged.install new file mode 100644 index 0000000..7452662 --- /dev/null +++ b/debian/deluged.install @@ -0,0 +1,4 @@ +usr/bin/deluged +usr/share/appdata/deluge.appdata.xml +usr/share/man/man1/deluged.1 +packaging/systemd/deluged.service lib/systemd/system diff --git a/debian/deluged.logrotate b/debian/deluged.logrotate new file mode 100644 index 0000000..8a22a7a --- /dev/null +++ b/debian/deluged.logrotate @@ -0,0 +1,7 @@ +/var/log/deluged/daemon.log { + weekly + rotate 8 + compress + missingok + copytruncate +} diff --git a/debian/deluged.postinst b/debian/deluged.postinst new file mode 100644 index 0000000..cb6c9cf --- /dev/null +++ b/debian/deluged.postinst @@ -0,0 +1,27 @@ +#!/bin/sh + +set -e + +add_override() +{ + # add_override <user> <group> <perms> <file> + if ! dpkg-statoverride --list $4 >/dev/null 2>&1; then + dpkg-statoverride --update --add $@ + fi +} + +case "$1" in + configure) + if ! getent passwd debian-deluged >/dev/null; then + adduser --system --group --quiet --no-create-home --home /var/lib/deluged debian-deluged + fi + + add_override debian-deluged adm 2750 /var/log/deluged + add_override debian-deluged debian-deluged 0750 /var/lib/deluged + add_override debian-deluged debian-deluged 0750 /var/lib/deluged/config + ;; +esac + +#DEBHELPER# + +exit 0; diff --git a/debian/deluged.postrm b/debian/deluged.postrm new file mode 100644 index 0000000..7f28e49 --- /dev/null +++ b/debian/deluged.postrm @@ -0,0 +1,28 @@ +#!/bin/sh + +set -e + +remove_overrides() +{ + for filename in "$@"; do + if dpkg-statoverride --list "$filename" >/dev/null 2>&1; then + dpkg-statoverride --remove "$filename" + fi + done +} + +case "$1" in + purge) + rm -f /var/log/deluged/* + rm -rf /var/lib/deluged/config/* + + remove_overrides /var/log/deluged /var/lib/deluged /var/lib/deluged/config + + deluser --system --quiet debian-deluged >/dev/null || true + delgroup --system --quiet debian-deluged >/dev/null || true + ;; +esac + +#DEBHELPER# + +exit 0; diff --git a/debian/patches/0001-Fix-warning-related-to-gettext.patch b/debian/patches/0001-Fix-warning-related-to-gettext.patch new file mode 100644 index 0000000..cc385d6 --- /dev/null +++ b/debian/patches/0001-Fix-warning-related-to-gettext.patch @@ -0,0 +1,25 @@ +From d6c96d629183e8bab2167ef56457f994017e7c85 Mon Sep 17 00:00:00 2001 +From: neeshy <neeshy@tfwno.gf> +Date: Sat, 18 Apr 2020 23:23:51 -0400 +Subject: Fix warning related to gettext + +--- + deluge/i18n/util.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/deluge/i18n/util.py b/deluge/i18n/util.py +index bd002f7a2..90568fc5b 100644 +--- a/deluge/i18n/util.py ++++ b/deluge/i18n/util.py +@@ -114,7 +114,7 @@ def setup_translation(): + # Workaround for Python 2 unicode gettext (keyword removed in Py3). + kwargs = {} if not deluge.common.PY2 else {'unicode': True} + +- gettext.install(I18N_DOMAIN, translations_path, names='ngettext', **kwargs) ++ gettext.install(I18N_DOMAIN, translations_path, names=['ngettext'], **kwargs) + builtins.__dict__['_n'] = builtins.__dict__['ngettext'] + + libintl = None +-- +2.20.1 + diff --git a/debian/patches/new_release_check.patch b/debian/patches/new_release_check.patch new file mode 100644 index 0000000..7b4b539 --- /dev/null +++ b/debian/patches/new_release_check.patch @@ -0,0 +1,19 @@ +Description: Disable checking for new upstream releases enabled by default + Users can still enable it through the preferences menus. +Forwarded: not-needed +Origin: vendor +Author: Adam Cécile (Le_Vert) <gandalf@le-vert.net> + +Index: deluge/deluge/core/preferencesmanager.py +=================================================================== +--- deluge.orig/deluge/core/preferencesmanager.py 2019-08-25 12:15:43.673234687 -0400 ++++ deluge/deluge/core/preferencesmanager.py 2019-08-25 12:16:35.742629247 -0400 +@@ -106,7 +106,7 @@ + 'path_chooser_accelerator_string': 'Tab', + 'path_chooser_max_popup_rows': 20, + 'path_chooser_show_hidden_files': False, +- 'new_release_check': True, ++ 'new_release_check': False, + 'proxy': { + 'type': 0, + 'hostname': '', diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..7af5bdb --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,4 @@ +new_release_check.patch +0001-Fix-warning-related-to-gettext.patch +setuptools-60.patch +systemd-debian.patch diff --git a/debian/patches/setuptools-60.patch b/debian/patches/setuptools-60.patch new file mode 100644 index 0000000..af27c9e --- /dev/null +++ b/debian/patches/setuptools-60.patch @@ -0,0 +1,43 @@ +From: Stefano Rivera <stefanor@debian.org> +Date: Sat, 12 Nov 2022 22:34:04 +0200 +Subject: Import setuptools before distutils + +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. + +Bug-Debian: https://bugs.debian.org/1022491 +Forwarded: https://github.com/deluge-torrent/deluge/pull/400 +--- + setup.py | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/setup.py b/setup.py +index 5cae466..fb49f10 100755 +--- a/setup.py ++++ b/setup.py +@@ -15,15 +15,16 @@ import glob + import os + import platform + import sys ++from shutil import rmtree ++ ++from setuptools import find_packages, setup ++from setuptools.command.test import test as _test ++ + from distutils import cmd + from distutils.command.build import build as _build + from distutils.command.clean import clean as _clean + from distutils.command.install_data import install_data as _install_data + from distutils.spawn import find_executable +-from shutil import rmtree +- +-from setuptools import find_packages, setup +-from setuptools.command.test import test as _test + + import msgfmt + from version import get_version diff --git a/debian/patches/systemd-debian.patch b/debian/patches/systemd-debian.patch new file mode 100644 index 0000000..212ae76 --- /dev/null +++ b/debian/patches/systemd-debian.patch @@ -0,0 +1,32 @@ +Index: deluge-2.0.3/packaging/systemd/deluge-web.service +=================================================================== +--- deluge-2.0.3.orig/packaging/systemd/deluge-web.service ++++ deluge-2.0.3/packaging/systemd/deluge-web.service +@@ -7,8 +7,9 @@ Wants=deluged.service + [Service] + Type=simple + UMask=027 +- +-ExecStart=/usr/bin/deluge-web -d ++User=debian-deluged ++Group=debian-deluged ++ExecStart=/usr/bin/deluge-web -d -c /var/lib/deluged/config + + Restart=on-failure + +Index: deluge-2.0.3/packaging/systemd/deluged.service +=================================================================== +--- deluge-2.0.3.orig/packaging/systemd/deluged.service ++++ deluge-2.0.3/packaging/systemd/deluged.service +@@ -6,8 +6,9 @@ After=network-online.target + [Service] + Type=simple + UMask=007 +- +-ExecStart=/usr/bin/deluged -d ++User=debian-deluged ++Group=debian-deluged ++ExecStart=/usr/bin/deluged -d -c /var/lib/deluged/config -l /var/log/deluged/daemon.log -L info + + Restart=on-failure + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..f769106 --- /dev/null +++ b/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f +export PYBUILD_DISABLE=test + +%: + dh $@ --with python3 --buildsystem=pybuild + +override_dh_auto_build: + python3 setup.py build + +override_dh_auto_install: + python3 setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb + set -ex; \ + cd debian/tmp/usr/lib/python*/*-packages/deluge/plugins/; \ + for egg in *.egg; do \ + mkdir -p $${egg%-py?.*}.egg; \ + unzip $$egg -d $${egg%-py?.*}.egg; \ + rm -f $$egg; \ + done + find . -type d -name '__pycache__' | xargs rm -rf + +override_dh_auto_clean: + dh_auto_clean + find . -type d -name '*.egg-info' | xargs rm -rf + find . -type d -name '.eggs' | xargs rm -rf + find . -type d -wholename './deluge/plugins/*/build' | xargs rm -rf + rm -f deluge/data/share/applications/deluge.desktop + +override_dh_gencontrol: + dh_gencontrol -- $(SUBSTVARS) diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..64c8127 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/_rc/~rc/" \ + http://download.deluge-torrent.org/source/2.0/deluge-([\d\.]*(?:_rc\d)?)\.tar\.xz |