diff --git a/debian/NEWS b/debian/NEWS new file mode 100644 index 000000000..d2daa938d --- /dev/null +++ b/debian/NEWS @@ -0,0 +1,29 @@ +qbittorrent (2.4.3-1) unstable; urgency=low + + qBittorrent version 2.3.0 (not packaged for Debian) introduced an + incompatible change with the torrent save path system. + Users upgrading from version 2.2.x (2.2.11-1 is the latest available point + release in Debian) should make a backup of the following directory in case + they want to switch back to a version older than 2.3.0: + + ~/.local/share/data/qBittorrent/BT_backup/ + + -- Cristian Greco Thu, 30 Sep 2010 16:13:40 +0200 + +qbittorrent (2.1.0-1) unstable; urgency=low + + Starting from this new release qBittorrent will comply with the XDG Base + Directory Specification by storing its .torrent files in ~/.local instead of + the ~/.qbittorrent directory used so far. + In case you wish to switch back to an earlier version you will need to move + your torrents back to the old folder with the following commands: + $ mkdir ~/.qbittorrent/ + $ cp -a ~/.local/share/data/qBittorrent/BT_backup/ ~/.qbittorrent/ + + This new release comes with a new binary package. qBittorrent-nox version of + qBittorrent that does not require X and can be controlled via a WebUI, thus is + more suitable for headless servers. The default account username and password + are mentioned in qbittorrent-nox(1) manpage. + + -- Cristian Greco Wed, 20 Jan 2010 00:39:06 +0100 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 000000000..8beaab01d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +qbittorrent (3.4.0-0ppa1~zesty) zesty; urgency=low + + * v3.4.0 git import + + -- sledgehammer999 Thu, 10 Aug 2017 02:00:19 +0300 diff --git a/debian/compat b/debian/compat new file mode 100644 index 000000000..f599e28b8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 000000000..7bf1d4d1d --- /dev/null +++ b/debian/control @@ -0,0 +1,78 @@ +Source: qbittorrent +Section: net +Priority: optional +Maintainer: sledgehammer999 +Build-Depends: debhelper (>= 10), + dpkg-dev (>= 1.16.1), + libtorrent-rasterbar-dev (>= 1.1.2), + libboost-dev, + libboost-system-dev, + qtbase5-dev (>= 5.5.1), + libqt5svg5-dev (>= 5.5.1), + qttools5-dev-tools, + zlib1g-dev +Standards-Version: 3.9.8 +Vcs-Git: git://anonscm.debian.org/collab-maint/qbittorrent.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/qbittorrent.git +Homepage: http://www.qbittorrent.org/ + +Package: qbittorrent +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, + python (>= 2.7), geoip-database +Suggests: qbittorrent-dbg +Description: bittorrent client based on libtorrent-rasterbar with a Qt5 GUI + BitTorrent client written in C++ and based on libtorrent-rasterbar with a Qt5 + user interface. qBittorrent is a feature rich but lightweight client that is + very similar to uTorrent. Its main features are: + . + * Polished uTorrent-like user interface + * Well integrated and extensible search engine + * Remote control through a Web user interface + * Vuze-compatible protocol encryption + * uTorrent-compatible Peer eXchange (PeX) + * DHT (trackerless) support + * UPnP / NAT-PMP port forwarding + * IPv6 compliant + * RSS support with advanced download filters + * Advanced control over torrent content and trackers + * IP Filtering (eMule / Peer Guardian filters) + * Torrents queueing and prioritizing + * Good localization (~25 languages supported) + * Unicode support + +Package: qbittorrent-nox +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: qbittorrent-dbg +Description: bittorrent client based on libtorrent-rasterbar (without X support) + BitTorrent client written in C++ and based on libtorrent-rasterbar. + qBittorrent-nox is a version of qBittorrent (Qt5 application) that does not + require X and can be controlled via a WebUI, thus is more suitable for headless + servers. It is a feature rich but lightweight client that is very similar to + rTorrent. Its main features are: + . + * Remote control through a Web user interface + * Vuze-compatible protocol encryption + * uTorrent-compatible Peer eXchange (PeX) + * DHT (trackerless) support + * UPnP / NAT-PMP port forwarding + * IPv6 compliant + * Advanced control over torrent content and trackers + * IP Filtering (eMule / Peer Guardian filters) + * Torrents queueing and prioritizing + * Good localization (~25 languages supported) + * Unicode support + +Package: qbittorrent-dbg +Architecture: any +Section: debug +Priority: extra +Depends: qbittorrent (= ${binary:Version}) | qbittorrent-nox (= ${binary:Version}), ${misc:Depends} +Description: debug symbols for qbittorrent and qbittorrent-nox + BitTorrent client written in C++ and based on libtorrent-rasterbar with a Qt5 + user interface. qBittorrent is a feature rich but lightweight client that is + very similar to uTorrent. + . + This package contains the debugging symbols for qbittorrent and + qbittorrent-nox. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 000000000..8d32f60e7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,339 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat +Upstream-Author: Christophe Dumez +Packaged-By: Cristian Greco +Packaged-Date: Fri, 04 Jul 2008 23:12:54 +0200 +Original-Source-Location: http://www.qbittorrent.org/ + + +Files: src/*.cpp, src/*.h, src/*.ui +Copyright: Copyright © 2006,2007,2008 Christophe Dumez + Contributor: Arnaud Demaizière + Contributor: Ishan Arora + Contributor: Grigis Gaëtan +License: GPL-2+ | other + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package 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 this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + In addition, as a special exception, the copyright holders give permission + to link this program with the OpenSSL project's "OpenSSL" library (or with + modified versions of it that use the same license as the "OpenSSL" + library), and distribute the linked executables. 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), 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. + + +Files: src/qtsingleapp/* +Copyright: Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) +License: other + + Commercial Usage + Licensees holding valid Qt Commercial licenses may use this file in + accordance with the Qt Solutions Commercial License Agreement provided + with the Software or, alternatively, in accordance with the terms + contained in a written agreement between you and Nokia. + + GNU Lesser General Public License Usage + Alternatively, this file may be used under the terms of the GNU Lesser + General Public License version 2.1 as published by the Free Software + Foundation and appearing in the file LICENSE.LGPL included in the + packaging of this file. Please review the following information to + ensure the GNU Lesser General Public License version 2.1 requirements + will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. + + In addition, as a special exception, Nokia gives you certain + additional rights. These rights are described in the Nokia Qt LGPL + Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this + package. + + GNU General Public License Usage + Alternatively, this file may be used under the terms of the GNU + General Public License version 3.0 as published by the Free Software + Foundation and appearing in the file LICENSE.GPL included in the + packaging of this file. Please review the following information to + ensure the GNU General Public License version 3.0 requirements will be + met: http://www.gnu.org/copyleft/gpl.html. + + Please note Third Party Software included with Qt Solutions may impose + additional restrictions and it is the user's responsibility to ensure + that they have met the licensing requirements of the GPL, LGPL, or Qt + Solutions Commercial license and the relevant license of the Third + Party Software they are using. + + If you are unsure which license is appropriate for your use, please + contact Nokia at qt-info@nokia.com. + + +Files: src/lineedit/* +Copyright: Copyright (c) 2007 Trolltech ASA +License: other + + Use, modification and distribution is allowed without limitation, + warranty, liability or support of any kind. + + +Files: debian/* +Copyright: Copyright © 2008 Cristian Greco +License: GPL-2+ + +Files: src/Icons/*.png +Copyright: Gnome Icon Theme +License: GPL-2 + +Files: src/Icons/skin/*.png + src/menuicons/YYxYY/*.png +Copyright: Mateusz Tobola +License: GPL-2 + +Files: src/lang/*.ts +Copyright: + - Arabic: SDERAWI (abz8868@msn.com) and sn51234 (nesseyan@gmail.com) + - Armenian: Hrant Ohanyan (hrantohanyan@mail.am) + - Basque: Xabier Aramendi (azpidatziak@gmail.com) + - Belarusian: Mihas Varantsou (meequz@gmail.com) + - Brazilian: Nick Marinho (nickmarinho@gmail.com) + - Bulgarian: Tsvetan & Boiko Bankov (emerge_life@users.sourceforge.net) + - Catalan: Francisco Luque Contreras (frannoe@ya.com) + - Chinese (Simplified): Guo Yue (guoyue0418@hotmail.com) + - Chinese (Traditional): Yi-Shun Wang (dnextstep@gmail.com) + - Croatian: Olivier Delakroa (oliver.untwist@gmail.com) + - Czech: Jirka Vilim (web@tets.cz) + - Danish: Mathias Nielsen (comoneo@gmail.com) + - Dutch: Pieter Heyvaert (pieter_heyvaert@hotmail.com) + - English: Christophe Dumez (chris@qbittorrent.org) + - Finnish: Niklas Laxström (nikerabbit@users.sourceforge.net) + and Pekka Niemi (pekka.niemi@iki.fi) + - French: Christophe Dumez (chris@qbittorrent.org) + - Galician: Marcos Lans (marcoslansgarza@gmail.com) + - Georgian: Beqa Arabuli (arabulibeqa@yahoo.com) + - German: Niels Hoffmann (zentralmaschine@users.sourceforge.net) + - Greek: Tsvetan Bankov (emerge_life@users.sourceforge.net) + and Stephanos Antaris (santaris@csd.auth.gr) + - Hebrew: David Deutsch (d.deffo@gmail.com) + - Hungarian: Majoros Péter (majoros.j.p@t-online.hu) + - Italian: bovirus (bovirus@live.it) and Matteo Sechi (bu17714@gmail.com) + - Japanese: Masato Hashimoto (cabezon.hashimoto@gmail.com) + - Korean: Jin Woo Sin (jin828sin@users.sourceforge.net) + - Lithuanian: Naglis Jonaitis (njonaitis@gmail.com) + - Norwegian: Tomaso + - Polish: Jarek Smieja (ajep9691@wp.pl) + - Portuguese: Nick Marinho (nickmarinho@gmail.com) + - Romanian: Obada Denis (obadadenis@users.sourceforge.net) + - Russian: Nick Khazov (m2k3d0n at users.sourceforge.net) + - Slovak: helix84 + - Spanish: Francisco Luque Contreras (frannoe@ya.com) + - Swedish: Daniel Nylander (po@danielnylander.se) + - Turkish: Hasan Yilmaz (iletisim@hedefturkce.com) + - Ukrainian: Oleh Prypin (blaxpirit@gmail.com) +License: GPL-2 + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package 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 this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + + +Files: src/Icons/skin/qbittorrent_mono* +Copyright: Daniel Eguren +License: LGPL-2.1+ + +Files: src/ico.cpp, src/ico.h +Copyright: Copyright © 2000 Malte Starostik +License: LGPL-2.1+ + +Files: src/oxygen/*.png +Copyright: Oxygen Icon Theme (KDE) - www.oxygen-icons.org +License: LGPL-2.1+ + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + + +Files: src/stacktrace.h +Copyright: Copyright © 2008 Timo Bingmann +License: other + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + 14 rue de Plaisance, 75014 Paris, France + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. + + +Files: src/Icons/flags/*.png +Copyright: Mark James +License: other + + Available for free use for any purpose with no requirement for attribution. + + +File: src/searchengine/nova/engines/btdigg.py +Copyright: BTDigg team (research@btdigg.org) +License: GPL-3+ + + This program is free software: you can 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. + + This program 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 this program. If not, see . + +On Debian systems, the complete text of the GNU General Public License +version 3 can be found in `/usr/share/common-licenses/GPL-3'. + + +File: src/update_qrc_files.py, + src/searchengine/nova/engines/isohunt.py + src/searchengine/nova/engines/btjunkie.py + src/searchengine/nova/engines/vertor.py + src/searchengine/nova/engines/torrentdownloads.py + src/searchengine/nova/helpers.py + src/searchengine/nova/nova2dl.py + src/searchengine/nova/novaprinter.py +Copyright: Christophe Dumez +License: BSD-3 + +Files: src/searchengine/nova/nova2.py + src/searchengine/nova/engines/mininova.py + src/searchengine/nova/engines/piratebay.py +Copyright: Fabien Devaux +License: BSD-3 + +Files: src/searchengine/nova/engines/torrentreactor.py +Copyright: Gekko Dam Beer (gekko04@users.sourceforge.net) +License: BSD-3 + +Files: src/searchengine/socks.py +Copyright: Copyright 2006 Dan-Haim +License: BSD-3 + + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + 3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + +Files: src/Icons/skin/tabs.gif +Copyright: Greg Houston +License: MIT + +Files: src/webui/css/mootabs1.2.css +Copyright: Copyright © 2008 Christophe Dumez + Original code from http://www.silverscripting.com/mootabs/ +License: MIT + +Files: src/webui/scripts/download.js +Copyright: Copyright © 2008 Ishan Arora +License: MIT + +Files: src/webui/scripts/client.js + src/webui/scripts/dynamicTable.js +Copyright: Copyright © 2008 Ishan Arora + Copyright © 2008 Christophe Dumez +License: MIT + +Files: src/webui/scripts/mocha.js + src/webui/scripts/mocha-init.js + src/webui/css/mocha.css +Copyright: Copyright © 2007-2008 Greg Houston, +License: MIT-style + +Files: src/webui/scripts/mootabs1.2.js +Copyright: Copyright © 2008 Christophe Dumez + Original code from http://www.silverscripting.com/mootabs/ +License: MIT + +File: src/webui/scripts/mootools-1.2-core-yc.js + src/webui/scripts/mootools-1.2-more.js +Copyright: Copyright © 2006-2008 Valerio Proietti, +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. diff --git a/debian/docs b/debian/docs new file mode 100644 index 000000000..b43bf86b5 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/qbittorrent-nox.README.Debian b/debian/qbittorrent-nox.README.Debian new file mode 100644 index 000000000..f041be1a4 --- /dev/null +++ b/debian/qbittorrent-nox.README.Debian @@ -0,0 +1,12 @@ +qbittorrent-nox for Debian +-------------------------- + + qBittorrent-nox is a version of qBittorrent that does not require X and can + be controlled via a WebUI, thus is more suitable for headless servers. + + The Web User Interface is accessible as a default on http://localhost:8080. + Access is secured and the default account user name is "admin" with + "adminadmin" as a password. Please refer to qbittorrent-nox(1) manpage for + more information. + + -- Cristian Greco Wed, 20 Jan 2010 00:50:45 +0100 diff --git a/debian/qbittorrent.mime b/debian/qbittorrent.mime new file mode 100644 index 000000000..d26d764ad --- /dev/null +++ b/debian/qbittorrent.mime @@ -0,0 +1 @@ +application/x-bittorrent; qbittorrent %s; description="BitTorrent client"; test=test -n "$DISPLAY"; nametemplate=%s.torrent diff --git a/debian/rules b/debian/rules new file mode 100644 index 000000000..11d9251e1 --- /dev/null +++ b/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f + +DPKG_EXPORT_BUILDFLAGS = 1 +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +include /usr/share/dpkg/buildflags.mk + +%: + dh $@ --without autoreconf --parallel + +override_dh_auto_configure: + mkdir -p build-nox && cd build-nox && ../configure --prefix=/usr --disable-gui \ + --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) + mkdir -p build-gui && cd build-gui && ../configure --prefix=/usr \ + --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) + +override_dh_auto_build: + dh_auto_build --builddirectory build-nox + dh_auto_build --builddirectory build-gui + +override_dh_auto_install: + sed -i '/STRIP/d' build-nox/src/Makefile + sed -i '/STRIP/d' build-gui/src/Makefile + dh_auto_install --builddirectory build-nox --destdir debian/qbittorrent-nox \ + -- INSTALL_ROOT=$(CURDIR)/debian/qbittorrent-nox + dh_auto_install --builddirectory build-gui --destdir debian/qbittorrent \ + -- INSTALL_ROOT=$(CURDIR)/debian/qbittorrent + +override_dh_auto_clean: + dh_auto_clean --builddirectory build-nox + dh_auto_clean --builddirectory build-gui + +override_dh_strip: + dh_strip -a --dbg-package=qbittorrent-dbg diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 000000000..2e63ace84 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,7 @@ +# False positive. File is not minified. +source-is-missing src/webui/www/public/scripts/excanvas-compressed.js +source-is-missing src/webui/www/public/scripts/mocha-init.js line length is 445 characters (>256) + +# Full source provided in debian/missing-sources +source-is-missing src/webui/www/public/scripts/mootools-1.2-core-yc.js +source-is-missing debian/missing-sources/mootools-1.2-core-yc.js diff --git a/debian/watch b/debian/watch new file mode 100644 index 000000000..041b20032 --- /dev/null +++ b/debian/watch @@ -0,0 +1,9 @@ +version=3 + +#unstable: follow stable and rc releases +opts="uversionmangle=s/rc/~rc/" \ + http://sf.net/qbittorrent/qbittorrent-([\d\.]*(?:rc\d)?)\.tar\.xz + +#experimental: follow stable, rc and beta releases +#opts="uversionmangle=s/(rc|beta)/~$1/" \ +# http://sf.net/qbittorrent/qbittorrent-([\d\.]*(?:(?:rc|beta)\d)?)\.tar\.xz