Import libtorrent-rasterbar_1.1.11-2.debian.tar.xz
authorCalum Lind <calumlind@gmail.com>
Sun, 9 Dec 2018 02:49:08 +0000 (02:49 +0000)
committerCalum Lind <calumlind@gmail.com>
Sun, 9 Dec 2018 02:49:08 +0000 (02:49 +0000)
[dgit import tarball libtorrent-rasterbar 1.1.11-2 libtorrent-rasterbar_1.1.11-2.debian.tar.xz]

22 files changed:
.gitlab-ci.yml [new file with mode: 0644]
README.Debian [new file with mode: 0644]
changelog [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
docs [new file with mode: 0644]
examples.makefile [new file with mode: 0644]
libtorrent-rasterbar-dev.install [new file with mode: 0644]
libtorrent-rasterbar-doc.doc-base [new file with mode: 0644]
libtorrent-rasterbar-doc.examples [new file with mode: 0644]
libtorrent-rasterbar-doc.install [new file with mode: 0644]
libtorrent-rasterbar9.install [new file with mode: 0644]
patches/fix-html-docs.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
python-libtorrent-dbg.install [new file with mode: 0644]
python-libtorrent.install [new file with mode: 0644]
python3-libtorrent-dbg.install [new file with mode: 0644]
python3-libtorrent.install [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644 (file)
index 0000000..845003c
--- /dev/null
@@ -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/README.Debian b/README.Debian
new file mode 100644 (file)
index 0000000..a654481
--- /dev/null
@@ -0,0 +1,74 @@
+libtorrent-rasterbar for Debian
+-------------------------------
+
+* libtorrent-rasterbar 0.14.2-2
+
+Revert build dependencies to boost1.37 only.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Wed, 11 Mar 2009 16:27:20 +0100
+
+* libtorrent-rasterbar 0.14.2-1
+
+Enabled building against boost1.37 due to the boost library transition: build
+dependencies will be updated each time a new version of boost get uploaded in
+Debian (this will happen likely two times a year in the future).
+Building against boost1.34.1 is still supported for backport purposes.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Fri, 27 Feb 2009 07:46:38 +0100
+
+
+* libtorrent-rasterbar 0.14.1-1
+
+While version 0.14 was built against boost1.36, it seems like this release of
+the boost libraries has been deleted from Debian and maintainers encourage use
+of the next stable release boost1.37.
+Anyhow, the best choice actually is to build 0.14.1 against boost1.34.1 because
+it is a widely used and well tested release, and on the other hand maybe
+libtorrent-rasterbar is not yet ready to support boost1.37.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Mon, 15 Dec 2008 15:34:17 +0100
+
+
+* libtorrent-rasterbar 0.14-1
+
+- Python bindings for libtorrent-rasterbar
+Added a patch (merged upstream, will be available in 0.14.1) to build python
+bindings using configure and make. The name of the python module (and package)
+is 'python-libtorrent' (as requested by upstream).
+
+- Lintian Info tag 'no-symbols-control-file'
+Maintaining a symbols control file for that library is more a cost than a
+benefit. In fact, libtorrent-rasterbar exports a lot of symbols (quite big
+symbols files, ~600Kb) and the C++ ABI mangling requires one to maintain a
+different control file for each architecture.  Moreover this library has a few
+reverse dependencies (less than 10 clients, much of them not yet packaged for
+Debian), so it wouldn't be difficult to maintain them.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Sun, 23 Nov 2008 18:55:24 +0100
+
+
+* libtorrent-rasterbar 0.13.1-2
+
+Building a debug version (--enable-debug) of libtorrent-rasterbar seems to
+cause some clients to crash (such as qbittorrent, btg - qbittorrent needs a
+special option in order to build against a debug version), and actually most
+clients upstream developers seems to prefer a release build of the library.
+
+Then, now libtorrent-rasterbar builds a release version (--disable-debug).
+
+NOTE for maintainers of all clients which depend on libtorrent-rasterbar:
+please build-depends on this exact revision of the package in your
+debian/control file:
+  Build-Depends: libtorrent-rasterbar-dev (>= 0.13.1-2)
+
+ -- Cristian Greco <cgreco@cs.unibo.it>  Wed, 23 Jul 2008 11:18:31 +0200
+
+
+* libtorrent-rasterbar 0.13.1-1
+
+Actually, libtorrent-rasterbar has to be built against boost-1.34 and libasio
+instead of boost-1.35 (which includes libasio and conflicts with version 1.34);
+this is for compatibility with most bittorrent clients which depend also on
+boost-1.34.
+
+ -- Cristian Greco <cgreco@cs.unibo.it>  Wed, 02 Jul 2008 10:46:21 +0200
diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..190da24
--- /dev/null
+++ b/changelog
@@ -0,0 +1,577 @@
+libtorrent-rasterbar (1.1.11-2) unstable; urgency=medium
+
+  * d/rules: Use boost-python >=1.67 soname suffix to fix
+    Python 3 linking (LP: #1800264).
+
+ -- Calum Lind <calumlind@gmail.com>  Sat, 08 Dec 2018 21:49:08 -0500
+
+libtorrent-rasterbar (1.1.11-1) unstable; urgency=medium
+
+  [ Ondřej Nový ]
+  * d/control: Remove ancient X-Python-Version field
+  * d/control: Remove ancient X-Python3-Version field
+
+  [ Ondřej Surý ]
+  * New upstream version 1.1.11
+  * Team upload.
+
+ -- Ondřej Surý <ondrej@debian.org>  Sun, 02 Dec 2018 09:38:41 +0000
+
+libtorrent-rasterbar (1.1.9-1) unstable; urgency=medium
+
+  [ Unit 193 ]
+  * New upstream release (Closes: #900975).
+    - d/p/python-dbg-build-fix.patch: Drop, wasn't in series, fixed upstream.
+    - d/p/fix-html-docs.patch: Refresh and extend patch.
+  * d/compat, d/control: Bump dh compat to 11.
+  * d/control:
+    - Add build-depend on dh-python.
+    - Drop versioned build-depend on dpkg-dev.
+    - Drop Pre-Depends on dpkg (Was for xz support.)
+    - Update homepage to https://libtorrent.org/ (Closes: #900946).
+    - Update Vcs-* for Salsa.
+    - Fix python3-libtorrent-dbg depend:
+      python-libtorrent →  python3-libtorrent (Closes: #906078).
+  * d/control, d/copyright, d/rules:
+    Upstream dropped geoip support, drop references.
+  * d/copyright:
+    - Update ConvertUTF.(cpp,h) license.
+    - Update 'format' field to use https.
+  * d/rules:
+    - Drop --parallel, autoreconf, and xz compression.  These are now default.
+  * Bump Standards-Version to 4.1.4.
+  * Remove trailing whitespaces under debian/*
+
+  [ Andrew Starr-Bochicchio ]
+  * New upstream release.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Sat, 22 Sep 2018 20:54:52 -0400
+
+libtorrent-rasterbar (1.1.5-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Bump Standards-Version 4.1.2, no changes.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Mon, 25 Dec 2017 14:29:03 -0500
+
+libtorrent-rasterbar (1.1.4-1) unstable; urgency=medium
+
+  * New upstream release (Closes: #857239).
+   - Fix file rename issue with name prefix matching
+     torrent name (Closes: #874136).
+   - Fix ABI compatibility issue introduced with
+     preformatted entry type (Closes: #842538).
+  * debian/libtorrent-rasterbar-doc.install:
+   - Adjust for new release.
+  * debian/control:
+   - All priority 'extra' packages are now 'optional.'
+   - Bump Standards-Version to 4.1.0.
+   - Drop un-needed build dep on dh-autoreconf.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Sun, 03 Sep 2017 13:28:04 -0400
+
+libtorrent-rasterbar (1.1.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Drop remove-msse4.2.patch, fix-get-ip-filter.patch,
+    1.1.0-python-fixes.patch, and fix-invalid-input-crash.patch.
+    All applied upstream.
+  * Bump debian/compat to 10.
+  * Adjust install files for multi-arch.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Sat, 29 Oct 2016 16:39:13 -0400
+
+libtorrent-rasterbar (1.1.0-3) unstable; urgency=medium
+
+  * fix-get-ip-filter.patch: Backport upstream fix for
+    crash in session::get_ip_filter (Closes: #834630).
+  * 1.1.0-python-fixes.patch: Backport a number of upstream
+    commits with fixes for the Python bindings.
+  * fix-invalid-input-crash.patch: Backport upstream commit
+    fixing crash on invalid input in http_parser.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Tue, 23 Aug 2016 20:50:44 -0400
+
+libtorrent-rasterbar (1.1.0-2) unstable; urgency=medium
+
+  * Fix builds on arches where the multiarch tuple (i386-*) and
+    the GNU tuple (i686-*) differ (Closes: #833944).
+  * remove-msse4.2.patch: Backport upstream commit removing
+    -msse4.2 commandline option from configure script (Closes: #833944)
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Wed, 10 Aug 2016 20:23:29 -0400
+
+libtorrent-rasterbar (1.1.0-1) unstable; urgency=medium
+
+  * New upstream release.
+   - Fixes CVE-2016-5301, crash while parsing invalid
+     chunked HTTP or UPnP response (Closes: #826380).
+  * New package libtorrent-rasterbar9, bump library soname.
+  * Drop python-clean-without-bjam.patch, applied upstream.
+  * Drop missing_rst_file.patch, applied upstream.
+  * Build depend on libboost-chrono-dev and libboost-random-dev.
+  * python-dbg-build-fix.patch: Fix building bindings with python-dbg.
+    Thanks to Calum Lind.
+  * Bump Standards-Version to 3.9.8, no changes.
+  * Build with dh_autoreconf.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Mon, 08 Aug 2016 23:38:37 -0400
+
+libtorrent-rasterbar (1.0.7-1) unstable; urgency=medium
+
+  * New upstream release (Closes: #806396).
+  * Update Source link in debian/copyright.
+  * debian/patches/missing_rst_file.patch: Add file missing
+    from upstream distribution.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Fri, 27 Nov 2015 12:41:42 -0500
+
+libtorrent-rasterbar (1.0.6-2) unstable; urgency=medium
+
+  * Upload to unstable (Closes: #791176).
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Sat, 29 Aug 2015 12:55:09 -0400
+
+libtorrent-rasterbar (1.0.6-1) experimental; urgency=medium
+
+  * New upstream release (Closes: #785676).
+   - Bump library soname.
+  * Drop fix-python-build-missing-byteshpp.patch, applied upstream.
+  * python-clean-without-bjam.patch: Only use bjam when '--bjam'
+    is passed explicitly.
+  * Bump Standards-Version to 3.9.6, no changes.
+  * Point debian/watch at GitHub.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Sat, 01 Aug 2015 18:03:37 -0400
+
+libtorrent-rasterbar (0.16.18-1) unstable; urgency=medium
+
+  * New upstream version.
+    - fix string handling in python3 bindings (Closes: #756503).
+  * debian/patches:
+    - fix-python-dbg-build.patch: drop, fixed upstream.
+    - fix-html-docs.patch: refresh.
+    - fix-python-build-missing-byteshpp.patch: new, fix missing file
+      from upstream tarball.
+
+ -- Cristian Greco <cristian@debian.org>  Sat, 18 Oct 2014 19:47:37 +0200
+
+libtorrent-rasterbar (0.16.17-2) unstable; urgency=medium
+
+  * debian/control: switch back to unversioned {build-,}depends
+    for boost libraries. (Closes: #759387)
+
+ -- Cristian Greco <cristian@debian.org>  Tue, 02 Sep 2014 22:48:17 +0200
+
+libtorrent-rasterbar (0.16.17-1) unstable; urgency=medium
+
+  * New upstream release.
+   - Don't fall back on wildcard port in UPnP (LP: #1330703).
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Sun, 22 Jun 2014 11:36:34 -0400
+
+libtorrent-rasterbar (0.16.16-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Update watch file to find new releases of sourceforge.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Sat, 07 Jun 2014 15:39:40 -0400
+
+libtorrent-rasterbar (0.16.13-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Add myself as an uploader.
+  * Bump Standards-Version to 3.9.5, no changes needed.
+  * Update fix-html-docs.patch so that all docs are built from
+    source and fix lintian privacy-breach-google-adsense errors.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Mon, 24 Feb 2014 14:11:14 -0500
+
+libtorrent-rasterbar (0.16.11-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Explicitly pass --with-boost-system=boost_system to configure
+    as ax_boost_system.m4 doesn't want to find it now that it
+    is multiarch. Fixes FTBFS (Closes: #738381).
+  * Fix build with python3.4 as a supported version, using python-config.
+
+ -- Andrew Starr-Bochicchio <asb@debian.org>  Mon, 17 Feb 2014 12:19:53 -0500
+
+libtorrent-rasterbar (0.16.11-2) unstable; urgency=low
+
+  * debian/control: libtorrent-rasterbar-dev should depend on
+    boost-system1.54 (Closes: #726823).
+
+ -- Cristian Greco <cristian@debian.org>  Sat, 19 Oct 2013 20:26:01 +0200
+
+libtorrent-rasterbar (0.16.11-1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream version 0.16.11.
+    - fixes build with Boost 1.54 (Closes: #724708).
+  * fix-ftbfs-kfreebsd-iconv.patch: deleted (merged upstream).
+  * debian/rules: fix linking with boost_python libraries (Closes: #721546).
+  * debian/control:
+    - switch to boost1.54-dev | boost-dev deps.
+    - bump Standards-Version to 3.9.4 (no changes required).
+  * debian/copyright:
+    - update in according to Copyright format 1.0
+    - remove copyright holders whose code was deleted from source tree
+    - add missed copyright holders
+    - update years
+
+ -- Boris Pek <tehnick@debian.org>  Sat, 28 Sep 2013 20:27:56 +0300
+
+libtorrent-rasterbar (0.16.10-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Adjust python3-libtorrent.install to fix FTBFS when not built with
+    python3.2 support (Closes: #718666)
+
+ -- Scott Kitterman <scott@kitterman.com>  Sat, 03 Aug 2013 22:24:08 -0400
+
+libtorrent-rasterbar (0.16.10-3) unstable; urgency=low
+
+  * debian/patches:
+    - fix-ftbfs-kfreebsd-iconv.patch: new patch, fix
+      ftbfs on kfreebsd, thanks Pino Toscano! (Closes: #712797)
+    - refresh other patches.
+
+ -- Cristian Greco <cristian@debian.org>  Thu, 20 Jun 2013 21:18:23 +0200
+
+libtorrent-rasterbar (0.16.10-2) unstable; urgency=low
+
+  * Upload to unstable.
+    - fixes all ftbfs (Closes: #701311, #710624).
+  * debian/control: switch to conditional build-dep on
+    boost1.53-dev | boost-dev.
+
+ -- Cristian Greco <cristian@debian.org>  Mon, 17 Jun 2013 22:56:07 +0200
+
+libtorrent-rasterbar (0.16.10-1) experimental; urgency=low
+
+  * New upstream version 0.16.10.
+  * Build python3 packages (patch by Andrew Starr-Bochicchio
+    <asb@debian.org>) (Closes: #708072).
+  * debian/rules: add explicit configure arg --with-libiconv.
+
+ -- Cristian Greco <cristian@debian.org>  Sun, 26 May 2013 13:57:13 +0200
+
+libtorrent-rasterbar (0.16.9-1) experimental; urgency=low
+
+  * New upstream version 0.16.9.
+    - new package libtorrent-rasterbar7 (bump up library soname).
+    - debian/control: drop now useless (build-)deps.
+    - debian/control: switch to explicit boost1.53 (build-)deps.
+    - upload to experimental: the library is pretty stable, but will be
+      uploaded to unstable only after the transition of boost1.53.
+
+ -- Cristian Greco <cristian@debian.org>  Sun, 12 May 2013 10:48:57 +0200
+
+libtorrent-rasterbar (0.15.10-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Cristian Greco <cristian@debian.org>  Tue, 06 Mar 2012 21:27:49 +0100
+
+libtorrent-rasterbar (0.15.9-1) unstable; urgency=low
+
+  * New upstream version.
+  * debian/{control,rules}: compress binary packages with xz and add
+    Pre-Depends on dpkg (>= 1.15.6~).
+  * debian/rules: enable default hardening options from dpkg-buildflags.
+
+ -- Cristian Greco <cristian@debian.org>  Wed, 21 Dec 2011 13:08:22 +0100
+
+libtorrent-rasterbar (0.15.8-1) unstable; urgency=low
+
+  * New upstream version.
+    - fix-webseeds-r5915.patch: drop patch, fixed upstream.
+    - refreshed other patches.
+
+ -- Cristian Greco <cristian@debian.org>  Fri, 30 Sep 2011 13:21:21 +0200
+
+libtorrent-rasterbar (0.15.7-1) unstable; urgency=low
+
+  * New upstream version.
+    - fix-webseeds-r5915.patch: new patch, fix a web seeds bug caused
+      by a wrong merge commit.
+  * debian/control:
+    - use my @debian.org address.
+    - drop DMUA field.
+
+ -- Cristian Greco <cristian@debian.org>  Fri, 19 Aug 2011 18:47:49 +0200
+
+libtorrent-rasterbar (0.15.6-2) unstable; urgency=low
+
+  * debian/control: switch to dh_python2 for the python bindings.
+  * debian/rules: no need to pass -a to dh_strip and dh_makeshlibs.
+  * debian/patches:
+    - fix-html-docs.patch: renamed, added dep3 tags.
+    - fix-python-dbg-build.patch: new patch, fix wrong configure check
+      when building with pythonX-dbg.
+  * debian/{control,rules}: introducing a new python-libtorrent-dbg
+    package (Closes: #628041).
+
+ -- Cristian Greco <cristian@regolo.cc>  Mon, 20 Jun 2011 01:30:51 +0200
+
+libtorrent-rasterbar (0.15.6-1) unstable; urgency=low
+
+  * New upstream version.
+    - upload to unstable.
+  * Getting rid of the unneeded *.la file in -dev package
+    (Closes: #622461).
+  * debian/control: bump Standards-Version to 3.9.2.
+  * debian/README.Debian: fix a spelling error in an old entry
+    to make lintian happy.
+  * debian/rules: simplified a bit.
+  * debian/{control,rules}: drop "XS-Python-Version: all" and use
+    different pyversions options instead.
+
+ -- Cristian Greco <cristian@regolo.cc>  Tue, 10 May 2011 20:54:50 +0200
+
+libtorrent-rasterbar (0.15.5-1) experimental; urgency=low
+
+  * New upstream version.
+
+ -- Cristian Greco <cristian@regolo.cc>  Fri, 07 Jan 2011 17:36:29 +0100
+
+libtorrent-rasterbar (0.15.4-1) experimental; urgency=low
+
+  * New upstream version.
+    - upload to experimental: the library is pretty stable, but will be
+      uploaded to unstable only after the release of Squeeze and the
+      update of boost-defaults to boost1.44 (or higher).
+  * debian/control:
+    - new package libtorrent-rasterbar6 (bump up library soname).
+    - rework boost build-deps, drop unneeded.
+    - bump up Standards-Version to 3.9.1.
+  * debian/rules:
+    - rework (update) configuration options.
+    - bump debhelper build-dep to (>= 7.4.10) and enable parallel
+      build support.
+  * debian/copyright:
+    - updated to reflect upstream changes.
+    - fix copyright-refers-to-deprecated-bsd-license-file.
+  * debian/patches/100_fix_html_docs.patch: refreshed.
+  * debian/watch: use a simplified regexp.
+
+ -- Cristian Greco <cristian@regolo.cc>  Fri, 10 Dec 2010 00:18:46 +0100
+
+libtorrent-rasterbar (0.14.10-2) unstable; urgency=low
+
+  * debian/{control,rules}: build python-libtorrent for all supported
+    python versions. (Closes: #578078)
+  * debian/README.source: remove now unneeded file.
+
+ -- Cristian Greco <cristian@regolo.cc>  Sat, 17 Apr 2010 00:19:00 +0200
+
+libtorrent-rasterbar (0.14.10-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Cristian Greco <cristian@regolo.cc>  Wed, 24 Mar 2010 18:23:04 +0100
+
+libtorrent-rasterbar (0.14.9-1) unstable; urgency=low
+
+  * New upstream version.
+  * debian/libtorrent-rasterbar-doc.doc-base: fix spelling error.
+  * debian/patches/100_fix_html_docs.patch: refreshed.
+  * debian/control: bump up standards-version to 3.8.4 (no changes).
+
+ -- Cristian Greco <cristian@regolo.cc>  Sat, 20 Feb 2010 02:00:20 +0100
+
+libtorrent-rasterbar (0.14.8-1) unstable; urgency=low
+
+  * New upstream version.
+    - r4072_fix_broadcast_socket_regression.patch: dropped, included upstream.
+  * debian/control: add dependency on libgeoip-dev for -dev package.
+  * debian/watch: point download url to googlecode.
+
+ -- Cristian Greco <cristian@regolo.cc>  Thu, 14 Jan 2010 23:25:42 +0100
+
+libtorrent-rasterbar (0.14.7-2) unstable; urgency=low
+
+  * r4072_fix_broadcast_socket_regression.patch: new patch, pulled from
+    upstream svn (r4072).
+
+ -- Cristian Greco <cristian@regolo.cc>  Thu, 17 Dec 2009 13:21:49 +0100
+
+libtorrent-rasterbar (0.14.7-1) unstable; urgency=low
+
+  * New upstream version.
+  * debian/control:
+    - new maintainer email address.
+    - add DMUA field, thanks to my sponsor Michal Čihař.
+    - add build-dep on libboost-program-options-dev.
+  * Convert to 3.0 (quilt) source format.
+
+ -- Cristian Greco <cristian@regolo.cc>  Wed, 25 Nov 2009 16:29:30 +0100
+
+libtorrent-rasterbar (0.14.6-1) unstable; urgency=low
+
+  * New upstream version.
+  * debian/{control,rules}:
+    - build-dep on libgeoip-dev and pkg-config, thus enable building against
+      geoip system library. (Closes: #544462)
+    - drop build-dep on autotools-dev and don't overwrite config.{guess,sub}
+      as upstream now ships up-to-date files.
+  * debian/rules: drop the hack for boost1.39 as latest revision now
+    ship again the -mt simlinks.
+  * 010_r3796_r3797_fix_configure.patch: deleted (merged upstream).
+  * debian/README.source: fix reference to quilt doc.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Tue, 22 Sep 2009 12:58:26 +0200
+
+libtorrent-rasterbar (0.14.5-1) unstable; urgency=low
+
+  * New upstream version.
+    - new package libtorrent-rasterbar5 (bump up library soname).
+    - debian/patches:
+      + prefix patches with a number.
+      + 100_fix_html_docs.patch: improve description.
+      + new patch 010_r3796_r3797_fix_configure.patch (temporary fix).
+  * debian/control:
+    - move git package maintenance to collab-maint.
+    - bump up Standards-Version to 3.8.3 (no changes required).
+    - (build-)depends on zlib1g-dev instead of libz-dev (which is
+      a virtual package).
+    - build-depends on quilt (>= 0.46-7) and simplify debian/rules.
+  * debian/rules: allow building against boost 1.39 (which contains
+    libraries with no more -mt suffix) and try to retain compatibility
+    with older versions for ubuntu backports.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Tue, 25 Aug 2009 17:29:29 +0200
+
+libtorrent-rasterbar (0.14.4-1) unstable; urgency=low
+
+  * New upstream version.
+    - new package libtorrent-rasterbar4 (bump up library soname).
+  * debian/control:
+    - fix Vcs-Browser address;
+    - build depends on new unversioned boost -dev packages (this will cause
+      building against boost1.38). (Closes: #531114)
+  * debian/patches/fix_html_docs.patch: refresh patch as file
+    docs/libtorrent_plugins.rst was added upstream.
+  * debian/rules:
+    - now there is no need to remove the missing doc file generated by
+      fix_html_docs.patch as it has been fixed upstream;
+    - backup config.{sub,guess} before overwriting them during build, and
+      restore during clean.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Wed, 03 Jun 2009 13:05:21 +0200
+
+libtorrent-rasterbar (0.14.3-1) unstable; urgency=low
+
+  * New Upstream Version
+    - new package libtorrent-rasterbar3 (bump up library soname).
+  * debian/control:
+    - add Vcs-* stuff (switch to git-buildpackage) and bump up
+      Standards-Version to 3.8.1 (no changes required);
+    - build-depends on debhelper (>= 7.0.50) and use override_dh_command;
+    - move -dbg package to the new 'debug' section;
+    - build-depends on autotools-dev and overwrite config.{sub,guess} with a
+      recent version in debian/rules.
+    - build-depends on quilt and python-docutils:
+      + debian/patches/fix_html_docs.patch: fix html documentation for offline
+        browsing and add another missing doc file;
+      + rebuild docs at build time in debian/rules;
+  * debian/example.makefile: install a simple makefile for example programs
+    included in -doc package.
+  * debian/rules, debian/python-libtorrent.install: don't rely on hardcoded
+    python version, use --install-layout=deb when building python bindings,
+    and install to '*-packages' instead of 'site-packages' (this should
+    prepare for python2.6 and minimize Ubuntu diff).
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Wed, 13 May 2009 12:08:59 +0200
+
+libtorrent-rasterbar (0.14.2-2) unstable; urgency=low
+
+  * debian/control, debian/rules: revert building only against boost1.37 since
+    the dependencies on the -dev packages are causing some problems with
+    reverse depends clients and backporting to stable is not really needed
+    (too much maintenance work) at the moment.
+  * debian/README.source: deleted.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Wed, 11 Mar 2009 16:27:20 +0100
+
+libtorrent-rasterbar (0.14.2-1) unstable; urgency=low
+
+  * New upstream version.
+    - new package libtorrent-rasterbar2 (bump up library SONAME);
+    - remove patch 01_fix_ax_python_m4.patch (merged upstream);
+    - debian/control, debian/rules, debian/README.source: drop build
+      dependency on quilt system.
+  * debian/control, debian/rules, debian/README.source: adjusting build
+    dependencies and configure flags to build against boost1.37 and continue
+    to provide compatibility with boost1.34.1 for backports (adding some notes).
+  * debian/control: fix lintian I:binary-control-field-duplicates-source.
+  * Moving section from 'Programming' to 'Programming/C++' for the doc-base
+    files in libtorrent-rasterbar-doc.
+  * Closing a bug already fixed in 0.14-1: fixed documentation about
+    storage_mode_allocate (Closes: #502241).
+  * Upload to unstable (Closes: #517000).
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Fri, 27 Feb 2009 07:46:38 +0100
+
+libtorrent-rasterbar (0.14.1-1) experimental; urgency=low
+
+  * New upstream version
+    - remove patch 01_python_bindings.patch (included upstream);
+    - add patch 01_fix_ax_python_m4.patch (already merged upstream, see
+      description for details).
+  * Revert build-depends on libboost-dev (>= 1.34.1) and libasio-dev because
+    boost1.36 has been removed from unstable and boost1.37 is not yet fully
+    supported by the library (added notes on README.Debian).
+  * Install .cpp examples using dh_installexamples and a .examples file.
+  * debian/copyright: fix main BSD license text.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Mon, 15 Dec 2008 15:34:17 +0100
+
+libtorrent-rasterbar (0.14-1) experimental; urgency=low
+
+  * New upstream version.
+    - debian/copyright: new and updated copyright notes and files.
+    - debian/control:
+      + build-depends on libboost1.36-dev and python-dev;
+      + new package libtorrent-rasterbar1 (bump up library SONAME);
+      + new package python-libtorrent which contains python bindings
+        for the library.
+    - debian/rules:
+      + use multi-threaded boost libraries (--with-boost-system=mt, ...);
+      + add --disable-examples and --disable-tests options;
+      + delete specific information about debian revision in dh_makeshlibs
+        (i.e., use only dh_makeshlibs -V).
+    - debian/control, debian/rules, debian/README.source, debian/patches:
+      build-depends on quilt patch system and install a patch of mine
+      (01_python_bindings, already merged upstream) in order to build python
+      bindings; use a temporary fix for the 'clean' target.
+  * Install example files (.cpp) with the -doc package.
+  * Provide a doc-base control file to install html docs
+    (libtorrent-rasterbar-doc.doc-base).
+  * debian/README.Debian: new notes about the python package and the lintian
+    tag 'no-symbols-control-file' for libtorrent-rasterbar1.
+  * Close a bug in Ubuntu about build with --disable-debug, already solved
+    with 0.13.1-2  (LP: #291448).
+  * Upload to experimental to test the new python bindings package.
+  * New maintainer email address.
+
+ -- Cristian Greco <cristian.debian@gmail.com>  Sun, 23 Nov 2008 18:55:24 +0100
+
+libtorrent-rasterbar (0.13.1-2) unstable; urgency=low
+
+  * debian/rules:
+    - build with --disable-debug option because enabling debug seems to cause
+    some clients to crash, and most upstream authors prefer a release build of
+    the library.
+    - added specific version information to dh_makeshlibs so that reverse
+    dependencies will depend on this particular version.
+  * README.Debian: updated with info about --disable-debug.
+
+ -- Cristian Greco <cgreco@cs.unibo.it>  Wed, 23 Jul 2008 11:18:31 +0200
+
+libtorrent-rasterbar (0.13.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #402462)
+
+ -- Cristian Greco <cgreco@cs.unibo.it>  Wed, 02 Jul 2008 10:46:21 +0200
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..b4de394
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+11
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..171def2
--- /dev/null
+++ b/control
@@ -0,0 +1,162 @@
+Source: libtorrent-rasterbar
+Section: libs
+Priority: optional
+Maintainer: Cristian Greco <cristian@debian.org>
+Uploaders: Andrew Starr-Bochicchio <asb@debian.org>
+Build-Depends: debhelper (>= 11),
+               dh-python,
+               libboost-system-dev,
+               libboost-python-dev,
+               libboost-chrono-dev,
+               libboost-random-dev,
+               libssl-dev,
+               pkg-config,
+               python-all-dev (>= 2.6.6-3~),
+               python-all-dbg,
+               python-docutils,
+               python3-all-dev,
+               python3-all-dbg,
+               python3-docutils
+Standards-Version: 4.1.4
+Vcs-Git: https://salsa.debian.org/debian/libtorrent-rasterbar.git
+Vcs-Browser: https://salsa.debian.org/debian/libtorrent-rasterbar/
+Homepage: https://libtorrent.org/
+
+Package: libtorrent-rasterbar9
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: libtorrent-rasterbar-dbg
+Description: C++ bittorrent library by Rasterbar Software
+ Bittorrent library by Rasterbar Software (Arvid Norberg).
+ libtorrent-rasterbar is a C++ library that aims to be a good alternative to
+ all the other bittorrent implementations around.
+ .
+ The main goals of libtorrent-rasterbar are:
+  * to be cpu efficient
+  * to be memory efficient
+  * to be very easy to use
+ .
+ This package contains libtorrent-rasterbar run time shared library.
+
+Package: libtorrent-rasterbar-dev
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends},
+         libtorrent-rasterbar9 (= ${binary:Version}),
+         libboost-system-dev,
+         libssl-dev,
+         pkg-config
+Suggests: libtorrent-rasterbar-doc
+Description: Development files for libtorrent-rasterbar
+ Bittorrent library by Rasterbar Software (Arvid Norberg).
+ libtorrent-rasterbar is a C++ library that aims to be a good alternative to
+ all the other bittorrent implementations around.
+ .
+ The main goals of libtorrent-rasterbar are:
+  * to be cpu efficient
+  * to be memory efficient
+  * to be very easy to use
+ .
+ This package contains header files and static version of the library.
+
+Package: libtorrent-rasterbar-dbg
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, libtorrent-rasterbar9 (= ${binary:Version})
+Description: Debug symbols for libtorrent-rasterbar
+ Bittorrent library by Rasterbar Software (Arvid Norberg).
+ libtorrent-rasterbar is a C++ library that aims to be a good alternative to
+ all the other bittorrent implementations around.
+ .
+ The main goals of libtorrent-rasterbar are:
+  * to be cpu efficient
+  * to be memory efficient
+  * to be very easy to use
+ .
+ This package contains debugging symbols.
+
+Package: libtorrent-rasterbar-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: Documentation for libtorrent-rasterbar
+ Bittorrent library by Rasterbar Software (Arvid Norberg).
+ libtorrent-rasterbar is a C++ library that aims to be a good alternative to
+ all the other bittorrent implementations around.
+ .
+ The main goals of libtorrent-rasterbar are:
+  * to be cpu efficient
+  * to be memory efficient
+  * to be very easy to use
+ .
+ This package contains documentation and example files.
+
+Package: python-libtorrent
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, libtorrent-rasterbar9 (= ${binary:Version})
+Provides: ${python:Provides}
+Breaks: ${python:Breaks}
+Description: Python bindings for libtorrent-rasterbar
+ Bittorrent library by Rasterbar Software (Arvid Norberg).
+ libtorrent-rasterbar is a C++ library that aims to be a good alternative to
+ all the other bittorrent implementations around.
+ .
+ The main goals of libtorrent-rasterbar are:
+  * to be cpu efficient
+  * to be memory efficient
+  * to be very easy to use
+ .
+ This package contains Python bindings for the libtorrent-rasterbar library.
+
+Package: python-libtorrent-dbg
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-libtorrent (= ${binary:Version}), python-dbg
+Provides: ${python:Provides}
+Breaks: ${python:Breaks}
+Description: Python bindings for libtorrent-rasterbar (debug symbols)
+ Bittorrent library by Rasterbar Software (Arvid Norberg).
+ libtorrent-rasterbar is a C++ library that aims to be a good alternative to
+ all the other bittorrent implementations around.
+ .
+ The main goals of libtorrent-rasterbar are:
+  * to be cpu efficient
+  * to be memory efficient
+  * to be very easy to use
+ .
+ This package contains Python bindings for the libtorrent-rasterbar library
+ (debug symbols).
+
+Package: python3-libtorrent
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libtorrent-rasterbar9 (= ${binary:Version})
+Description: Python bindings for libtorrent-rasterbar (Python 3)
+ Bittorrent library by Rasterbar Software (Arvid Norberg).
+ libtorrent-rasterbar is a C++ library that aims to be a good alternative to
+ all the other bittorrent implementations around.
+ .
+ The main goals of libtorrent-rasterbar are:
+  * to be cpu efficient
+  * to be memory efficient
+  * to be very easy to use
+ .
+ This package contains Python 3 bindings for the libtorrent-rasterbar library.
+
+Package: python3-libtorrent-dbg
+Section: debug
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, python3-libtorrent (= ${binary:Version}), python3-dbg
+Description: Python bindings for libtorrent-rasterbar (debug symbols) (Python 3)
+ Bittorrent library by Rasterbar Software (Arvid Norberg).
+ libtorrent-rasterbar is a C++ library that aims to be a good alternative to
+ all the other bittorrent implementations around.
+ .
+ The main goals of libtorrent-rasterbar are:
+  * to be cpu efficient
+  * to be memory efficient
+  * to be very easy to use
+ .
+ This package contains Python 3 bindings for the libtorrent-rasterbar library
+ (debug symbols).
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..84d4d7d
--- /dev/null
+++ b/copyright
@@ -0,0 +1,160 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Packaged-By: Cristian Greco <cristian.debian@gmail.com>
+Packaged-Date: Wed, 02 Jul 2008 10:46:21 +0200
+Upstream-Name: libtorrent
+Upstream-Contact: Arvid Norberg <arvid@rasterbar.com>
+Source: https://github.com/arvidn/libtorrent/releases
+
+
+Files: debian/*
+Copyright: 2008 Cristian Greco
+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: * *.cpp *.hpp docs/*.rst docs/*.html
+Copyright: 2003-2008 Arvid Norberg
+Comment: Contributors:
+           2003-2007 Daniel Wallin
+           2007 Un Shyam
+           2006 Magnus Jonsson
+           2006 MassaRoddel
+License: BSD-3-clause
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met:
+    .
+        * Redistributions of source code must retain the above copyright
+          notice, this list of conditions and the following disclaimer.
+        * 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.
+        * Neither the name of the author 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 COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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: bindings/python/*.py
+       bindings/python/src/*.cpp
+       bindings/python/src/*.hpp
+       include/libtorrent/invariant_check.hpp
+Copyright: 2004-2007 Daniel Wallin
+           2006-2008 Arvid Norberg
+           2008 Andrew Resch
+License: BSL-1.0
+    Boost Software License - Version 1.0 - August 17th, 2003
+    .
+    Permission is hereby granted, free of charge, to any person or organization
+    obtaining a copy of the software and accompanying documentation covered by
+    this license (the "Software") to use, reproduce, display, distribute,
+    execute, and transmit the Software, and to prepare derivative works of the
+    Software, and to permit third-parties to whom the Software is furnished to
+    do so, all subject to the following:
+    .
+    The copyright notices in the Software and this entire statement, including
+    the above license grant, this restriction and the following disclaimer,
+    must be included in all copies of the Software, in whole or in part, and
+    all derivative works of the Software, unless such copies or derivative
+    works are solely in the form of machine-executable object code generated by
+    a source language processor.
+    .
+    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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
+    SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
+    FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
+    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+    DEALINGS IN THE SOFTWARE.
+
+
+Files: src/ConvertUTF.cpp include/libtorrent/ConvertUTF.h
+Copyright: 2001-2004 Unicode, Inc.
+License: other
+    Permission is hereby granted, free of charge, to any person obtaining
+    a copy of the Unicode data files and any associated documentation
+    (the "Data Files") or Unicode software and any associated documentation
+    (the "Software") to deal in the Data Files or Software
+    without restriction, including without limitation the rights to use,
+    copy, modify, merge, publish, distribute, and/or sell copies of
+    the Data Files or Software, and to permit persons to whom the Data Files
+    or Software are furnished to do so, provided that either
+    (a) this copyright and permission notice appear with all copies
+    of the Data Files or Software, or
+    (b) this copyright and permission notice appear in associated
+    Documentation.
+    .
+    THE DATA FILES AND SOFTWARE ARE 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 OF THIRD PARTY RIGHTS.
+    IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
+    NOTICE BE LIABLE FOR ANY CLAIM, OR 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 THE DATA FILES OR SOFTWARE.
+    .
+    Except as contained in this notice, the name of a copyright holder
+    shall not be used in advertising or otherwise to promote the sale,
+    use or other dealings in these Data Files or Software without prior
+    written authorization of the copyright holder.
+
+
+Files: include/libtorrent/puff.hpp
+Copyright: 2002-2003 Mark Adler
+License: Zlib
+    This software is provided 'as-is', without any express or implied
+    warranty.  In no event will the author be held liable for any damages
+    arising from the use of this software.
+    .
+    Permission is granted to anyone to use this software for any purpose,
+    including commercial applications, and to alter it and redistribute it
+    freely, subject to the following restrictions:
+    .
+        1. The origin of this software must not be misrepresented; you must not
+           claim that you wrote the original software. If you use this software
+           in a product, an acknowledgment in the product documentation would
+           be appreciated but is not required.
+        2. Altered source versions must be plainly marked as such, and must not
+           be misrepresented as being the original software.
+        3. This notice may not be removed or altered from any source
+           distribution.
+
+
+Files: src/sha1.cpp
+Copyright: Steve Reid <sreid@sea-to-sky.net>
+Comment: Contributors:
+           Modified 7/98 By James H. Brown <jbrown@burgoyne.com>
+           Modified 8/98 By Steve Reid <sreid@sea-to-sky.net>
+           Modified 4/01 By Saul Kravitz <Saul.Kravitz@celera.com>
+           Converted to C++ 6/04 By Arvid Norberg <arvidn@sourceforge.net>
+License: public-domain
+    The file sha1.c was put in the public domain by Steve Reid.
diff --git a/docs b/docs
new file mode 100644 (file)
index 0000000..62deb04
--- /dev/null
+++ b/docs
@@ -0,0 +1 @@
+AUTHORS
diff --git a/examples.makefile b/examples.makefile
new file mode 100644 (file)
index 0000000..3722d53
--- /dev/null
@@ -0,0 +1,50 @@
+#!/usr/bin/make -f
+#
+# Simple makefile for libtorrent-rasterbar's examples.
+# Copyright © 2009 Cristian Greco <cristian.debian@gmail.com>
+# This file is released in the public domain.
+#
+# Please note that you need to install the following packages in order to build
+# these example programs:
+#  - libtorrent-rasterbar-dev
+#  - libboost-program-options*-dev
+#  - libboost-regex*-dev
+# (where the `*' means the same version of boost development packages which
+# libtorrent-rasterbar-dev actually depends on).
+
+CXX = g++
+
+CXXFLAGS = -ftemplate-depth-50 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION
+
+TORRENT_CFLAGS = $(shell pkg-config libtorrent-rasterbar --cflags)
+TORRENT_LIBS = $(shell pkg-config libtorrent-rasterbar --libs)
+
+BOOST_PROGRAM_OPTIONS_LIBS = -lboost_program_options-mt
+BOOST_REGEX_LIBS = -lboost_regex-mt
+
+examples_BIN = client_test dump_torrent make_torrent simple_client enum_if
+
+all: $(examples_BIN)
+
+client_test: client_test.cpp
+       @rm -f client_test
+       $(CXX) $(CXXFLAGS) $(TORRENT_CFLAGS) -o $@ $<  $(TORRENT_LIBS) $(BOOST_PROGRAM_OPTIONS_LIBS) $(BOOST_REGEX_LIBS)
+
+dump_torrent: dump_torrent.cpp
+       @rm -f dump_torrent
+       $(CXX) $(CXXFLAGS) $(TORRENT_CFLAGS) -o $@ $< $(TORRENT_LIBS)
+
+make_torrent: make_torrent.cpp
+       @rm -f make_torrent
+       $(CXX) $(CXXFLAGS) $(TORRENT_CFLAGS) -o $@ $< $(TORRENT_LIBS)
+
+simple_client: simple_client.cpp
+       @rm -f simple_client
+       $(CXX) $(CXXFLAGS) $(TORRENT_CFLAGS) -o $@ $< $(TORRENT_LIBS)
+
+enum_if: enum_if.cpp
+       @rm -f enum_if
+       $(CXX) $(CXXFLAGS) $(TORRENT_CFLAGS) -o $@ $< $(TORRENT_LIBS)
+
+clean:
+       @rm -f $(examples_BIN)
diff --git a/libtorrent-rasterbar-dev.install b/libtorrent-rasterbar-dev.install
new file mode 100644 (file)
index 0000000..abebe49
--- /dev/null
@@ -0,0 +1,4 @@
+usr/include/*
+usr/lib/*/lib*.a
+usr/lib/*/lib*.so
+usr/lib/*/pkgconfig/*.pc
diff --git a/libtorrent-rasterbar-doc.doc-base b/libtorrent-rasterbar-doc.doc-base
new file mode 100644 (file)
index 0000000..6c8e9f1
--- /dev/null
@@ -0,0 +1,11 @@
+Document: libtorrent-rasterbar
+Section: Programming/C++
+Title: Libtorrent-rasterbar Documentation
+Author: Arvid Norberg
+Abstract: This documentation describes mainly the API
+ interface of libtorrent-rasterbar and contains other
+ useful information for developers.
+
+Format: HTML
+Index: /usr/share/doc/libtorrent-rasterbar-doc/html/index.html
+Files: /usr/share/doc/libtorrent-rasterbar-doc/html/*.html
diff --git a/libtorrent-rasterbar-doc.examples b/libtorrent-rasterbar-doc.examples
new file mode 100644 (file)
index 0000000..8422eb5
--- /dev/null
@@ -0,0 +1,2 @@
+examples/*.cpp
+debian/examples.makefile
diff --git a/libtorrent-rasterbar-doc.install b/libtorrent-rasterbar-doc.install
new file mode 100644 (file)
index 0000000..255e352
--- /dev/null
@@ -0,0 +1,3 @@
+docs/*.html docs/*.png docs/style.css usr/share/doc/libtorrent-rasterbar-doc/html/
+docs/css/* usr/share/doc/libtorrent-rasterbar-doc/html/css/
+docs/img/* usr/share/doc/libtorrent-rasterbar-doc/html/img/
diff --git a/libtorrent-rasterbar9.install b/libtorrent-rasterbar9.install
new file mode 100644 (file)
index 0000000..3ddde58
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/lib*.so.*
diff --git a/patches/fix-html-docs.patch b/patches/fix-html-docs.patch
new file mode 100644 (file)
index 0000000..01bc8c2
--- /dev/null
@@ -0,0 +1,1004 @@
+From: Cristian Greco <cristian@regolo.cc>
+Date: Sun, 2 Dec 2018 09:38:28 +0000
+Subject: Fix html documentation for offline browsing
+
+The patch also includes the makefile and template.txt needed to rebuild
+html docs from rst files.
+Forwarded: not-needed
+Origin: vendor
+---
+ docs/css/base.css                   | 136 ++++++++++++++++++++
+ docs/css/rst.css                    | 245 ++++++++++++++++++++++++++++++++++++
+ docs/hacking.html                   |  11 --
+ docs/index.rst                      |  10 +-
+ docs/makefile                       |  34 +++++
+ docs/manual-ref.html                |  60 ++-------
+ docs/reference-Alerts.html          |  11 --
+ docs/reference-Bdecoding.html       |  11 --
+ docs/reference-Bencoding.html       |  11 --
+ docs/reference-Core.html            |  11 --
+ docs/reference-Create_Torrents.html |  11 --
+ docs/reference-Custom_Storage.html  |  11 --
+ docs/reference-Error_Codes.html     |  11 --
+ docs/reference-Filter.html          |  11 --
+ docs/reference-Plugins.html         |  11 --
+ docs/reference-Settings.html        |  11 --
+ docs/reference-Storage.html         |  11 --
+ docs/reference-Utility.html         |  11 --
+ docs/reference-ed25519.html         |  11 --
+ docs/reference.html                 |  11 --
+ docs/single-page-ref.html           |  11 --
+ docs/template.txt                   |  29 +++++
+ docs/tutorial.html                  |  11 --
+ 23 files changed, 456 insertions(+), 245 deletions(-)
+ create mode 100644 docs/css/base.css
+ create mode 100644 docs/css/rst.css
+ create mode 100644 docs/makefile
+ create mode 100644 docs/template.txt
+
+diff --git a/docs/css/base.css b/docs/css/base.css
+new file mode 100644
+index 0000000..3a4ca84
+--- /dev/null
++++ b/docs/css/base.css
+@@ -0,0 +1,136 @@
++/* Page template */
++
++html>body { font-size: 13px; }
++body { text-align: center; }
++
++#container {
++    text-align: left;
++    width: 700px;
++    margin: 0 auto;
++    position: relative;
++}
++
++#headerNav {
++}
++
++#headerNav ul {
++    margin: 2px;
++    list-style: none;
++    font-family: Tahoma;
++    text-align: right;
++    text-transform: uppercase;
++    line-height: 1em;
++}
++
++#headerNav ul li {
++    display: inline;
++    border-left: solid 1px #ccc;
++    padding-left: 10px;
++    padding-right: 10px;
++    margin: 0;
++    font-size: 80%;
++}
++
++#headerNav ul li.first {
++    border: 0;
++}
++
++#headerNav ul li a {
++    border: none;
++    color: #666;
++}
++
++#headerNav ul li a:hover {
++    background: #eee;
++}
++
++#header {
++    height: 116px;
++    width: 695px;
++    background: url(../img/orange.png) #FDA72A no-repeat top left;
++}
++
++#header h1 {
++    margin: 0;
++    padding: 0;
++    float: right;
++    width: 536px;
++    height: 116px;
++    background: url(../img/logo.png);
++}
++
++#header h1 span, #header h2 { display: none; }
++
++#footer {
++    clear: both;
++    width: 695px;
++    height: 49px;
++    background: #D3D3D3 url(../img/footer.png) no-repeat left top;
++    text-align: center;
++    margin-bottom: 1em;
++}
++
++#footer span {
++    line-height: 49px;
++    font-size: 88%;
++    text-align: center;
++    color: #777;
++    display: block;
++}
++
++#main {
++    font-family: Verdana;
++    line-height: 1.25em;
++    text-align: left;
++    margin-top: 10px;
++}
++
++/* Base elements */
++
++* {margin: 0; padding: 0;}
++body { font: 0.8125em Verdana, sans-serif;}
++
++h1, h2, h3 {
++    font: 1.5em Georgia "Times New Roman", serif;
++    letter-spacing: 1px;
++    padding-bottom: 0.5em;
++}
++
++h1 { font-size: 180%; }
++h2 { font-size: 130%; }
++h3 { font-size: 100%; }
++
++p {
++    font-size: 92%;
++    line-height: 1.7em;
++}
++
++a {
++    text-decoration: none;
++    color: #8D370A;
++    border-bottom: dotted 1px #8D370A;
++}
++
++a:hover {
++    border-bottom: solid 1px #8D370A;
++    background: #eee;
++}
++
++#librarySidebar {
++    float: left;
++    width: 150px;
++}
++
++#libraryBody {
++    border-left: solid 1px #eee;
++    padding-left: 10px;
++    margin-left: 158px;
++    margin-right: 10px;
++}
++
++ul, ol { line-height: 1.8em; }
++ul { list-style: square; }
++li { margin-left: 2.8em; font-size: 92%; }
++
++p, ul, ol, img {margin-bottom: 1em;}
++
+diff --git a/docs/css/rst.css b/docs/css/rst.css
+new file mode 100644
+index 0000000..d3908a1
+--- /dev/null
++++ b/docs/css/rst.css
+@@ -0,0 +1,245 @@
++.document {
++    margin-left: 10px;
++    margin-right: 10px;
++}
++
++.document a {
++    border: none;
++    color: black;
++}
++
++.document a:hover {
++    background: none;
++}
++
++.document a.reference {
++    color: #8D370A;
++    border-bottom: dotted 1px #8D370A;
++}
++
++.document a.reference:hover {
++    border-bottom: solid 1px #8D370A;
++    background: #eee;
++}
++
++div.section {
++    margin-bottom: 3em;
++}
++
++div.section div.section div.section {
++    margin-bottom: 2em;
++}
++
++h3 { text-transform: uppercase; }
++
++div.section p, div.section ul, div.section dl {
++}
++
++table.docinfo {
++    text-align: left;
++    float: right;
++    width: 200px;
++    margin-right: 0px;
++    margin-left: 20px;
++    margin-bottom: 20px;
++}
++
++table.docinfo th {
++    border-top: none;
++    font-size: 72%;
++    padding-left: 10px;
++}
++
++table.docinfo td {
++    padding-left: 10px;
++    font-size: 88%;
++}
++
++table.docinfo tr.field td, table.docinfo tr.field th {display: none;}
++
++h1.title { display: none; }
++
++dt {
++    font-size: 100%;
++    letter-spacing: 2px;
++    line-height: 1em;
++    color: #315586;
++    color: #000;
++    font-family: Tahoma;
++    font-weight: bold;
++}
++
++dd {
++    line-height: 1.5em;
++    margin-left: 1em;
++    margin-bottom: 1em;
++    font-size: 92%;
++}
++
++tt {
++    font: 1em "Courier New", "Courier";
++    color: #315566;
++}
++
++pre {
++    font-family: "Courier", monospace;
++    margin-right: 10px;
++    background: #C1E5F6;
++    border-left: solid 2px #6185A6;
++    border-right: solid 2px #6185A6;
++    padding: 5px 10px 5px 10px;
++
++    background: #f6f6f6;
++    border: solid 1px #ddd;
++    margin: 1em 0;
++}
++
++div.warning, div.note, div.important {
++    width: 80%;
++    margin: 1.5em auto;
++    background: #C1E5F6;
++    background: #F1FFF5;
++    border: solid 1px #D1DFD5;
++    padding: 5px 10px 5px 10px;
++}
++
++p.admonition-title {
++    font-family: Georgia, "Lucida Grande";
++    font-size: 128%;
++    letter-spacing: 2px;
++    text-transform: uppercase;
++    margin: 0 0 0.5em 0;
++    border-bottom: solid 1px #D1DFD5
++}
++
++div.sidebar {
++    background: #f8f8e8;
++    float: right;
++    width: 20em;
++    margin-right: 1em;
++    border: solid 1px #e5e5d5;
++    padding: 1.3em;
++}
++
++div.sidebar p.sidebar-title {
++    font: 1.3em Georgia;
++    border-bottom: solid 1px #e5e5d5;
++    padding-bottom: 0.5em;
++    margin: 0 0 0.5em 0;
++}
++
++h1 { font-size: 230%; }
++h2 { font-size: 180%; }
++h3 { font-size: 130%; }
++
++table { margin-bottom: 1em; border-collapse: collapse; }
++table, th, td { border: none; }
++
++th, td { padding: 0.3em; }
++
++th {
++    text-align: left;
++    background: #f0f0e0;
++    border-right: solid 1px #f0f0e0;
++    border-top: solid 1px #e8e8d8;
++    border-bottom: solid 1px #e8e8d8;
++}
++
++td {
++    background: #f8f8e8;
++    border-right: solid 1px #f8f8e8;
++    border-bottom: solid 1px #e8e8d8;
++}
++
++td td {
++    background: #e8e8d8;
++    border-right: solid 1px #e8e8d8;
++    border-bottom: solid 1px #d8d8c8;
++}
++
++div.topic {
++    border-left: solid 1px #eee;
++    padding-left: 1em;
++    margin: 0 0 1.5em;
++}
++
++p.topic-title {
++    font: 1.3em Georgia, "Times New Roman", serif;
++}
++
++/* TOC */
++
++div.contents {
++    border: none;
++}
++
++#table-of-contents {
++    margin-left: 20px;
++    padding: 0 0 1em;
++    width: 200px;
++    float: right;
++    clear: right;
++    background: url(../img/blue_bottom.png) no-repeat bottom left;
++    border-right: solid 1px #A1C5D6;
++}
++
++#table-of-contents p {
++    font-family: Georgia, "Times New Roman", serif;
++    background: #A1C5D6 url(../img/blue_top.png) no-repeat top left;
++    color: #AD370A;
++    padding: 0.5em;
++    margin: 0;
++}
++
++#table-of-contents li {
++    margin: 0 0.5em 0 0.5em;
++}
++
++#table-of-contents ul {
++    margin: 0;
++    padding: 0 0 0 0.8em;
++    list-style: none;
++    text-align: left;
++    line-height: 1.5em;
++}
++
++#table-of-contents ul ul {
++    background: url(../img/dotline.gif) repeat-y;
++}
++
++#table-of-contents a.reference {
++    border: none;
++    font: 0.88em Tahoma;
++    font-weight: bold;
++    color: #000050;
++    margin-right: 1em;
++    background: url(../img/minus.gif) no-repeat left 50%;
++    padding-left: 15px;
++}
++
++#table-of-contents li li a.reference {
++    font-weight: normal;
++    background: none;
++    padding: 0;
++}
++
++#table-of-contents a.reference:hover {text-decoration: underline;}
++
++dd p {
++    font-size: 100%;
++}
++
++dd pre {
++    font-size: 108.7%;
++}
++
++li p, li li { font-size: 100%; }
++
++/* IE Hacks */
++
++/* Hides from IE-mac \*/
++* html li pre { height: 1%; }
++* html .topic pre { height: 1%; }
++* html #table-of-contents ul ul { height: 1%; }
++/* End hide from IE-mac */
++
+diff --git a/docs/hacking.html b/docs/hacking.html
+index b2183d7..b4d851f 100644
+--- a/docs/hacking.html
++++ b/docs/hacking.html
+@@ -7,17 +7,6 @@
+ <title>libtorrent hacking</title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/index.rst b/docs/index.rst
+index 231ebfb..1182967 100644
+--- a/docs/index.rst
++++ b/docs/index.rst
+@@ -92,7 +92,7 @@ libtorrent
+ .. _go: https://github.com/steeve/libtorrent-go
+ .. _node: https://github.com/fanatid/node-libtorrent
+-.. _`Introduction, slides`: bittorrent.pdf
++.. _`Introduction, slides`: http://www.rasterbar.com/products/libtorrent/bittorrent.pdf
+ libtorrent is a feature complete C++ bittorrent implementation focusing
+ on efficiency and scalability. It runs on embedded devices as well as
+@@ -129,13 +129,6 @@ See the contribute_ page for other ways to help out.
+       <a href="bitcoin:373ZDeQgQSQNuxdinNAPnQ63CRNn4iEXzg">bitcoin:373ZDeQgQSQNuxdinNAPnQ63CRNn4iEXzg</a>
+       </span>
+       
+-      <span style="display:block;text-align:center;margin-top:1em">
+-      <span style="display:inline-block">
+-      <a class="FlattrButton" style="display:none;" href="https://libtorrent.org"></a>
+-      <noscript><a href="https://flattr.com/thing/95662/libtorrent" target="_blank">
+-      <img src="https://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript>
+-      </span>
+-      
+       <span style="display:inline-block">
+       <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
+       <input type="hidden" name="cmd" value="_donations">
+@@ -145,7 +138,6 @@ See the contribute_ page for other ways to help out.
+       <input type="hidden" name="currency_code" value="USD">
+       <input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHosted">
+       <input type="image" src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/pp-acceptance-medium.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+-      <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
+       </form>
+       </span>
+       </span>
+diff --git a/docs/makefile b/docs/makefile
+new file mode 100644
+index 0000000..f2e54de
+--- /dev/null
++++ b/docs/makefile
+@@ -0,0 +1,34 @@
++#!/usr/bin/make -f
++# Upstream Author: Arvid Norberg - Modified by: Cristian Greco
++# This file has been downloaded from upstream svn and simplified in order to
++# generate an html documentation suitable for offline browsing.
++# This makefile assumes that you have python-docutils installed.
++
++TARGETS = \
++    index \
++      udp_tracker_protocol \
++      dht_rss \
++      dht_store \
++      client_test \
++      building \
++      features \
++      troubleshooting \
++      contributing\
++      examples \
++      extension_protocol \
++      dht_extensions \
++      dht_sec \
++      python_binding \
++      projects \
++      utp \
++      tuning \
++      streaming \
++      manual-ref
++
++all: $(TARGETS:=_rst2html)
++
++%_rst2html: %.rst
++      rst2html --template=template.txt --stylesheet-path=style.css --link-stylesheet --no-toc-backlinks $? > $*.html
++
++clean:
++      @rm -f $(TARGETS:=.html)
+diff --git a/docs/manual-ref.html b/docs/manual-ref.html
+index 6a4ca12..80e1711 100644
+--- a/docs/manual-ref.html
++++ b/docs/manual-ref.html
+@@ -6,20 +6,9 @@
+ <meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
+ <title>libtorrent API Documentation</title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+-<meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
++<link rel="stylesheet" type="text/css" href="css/base.css" />
++<link rel="stylesheet" type="text/css" href="css/rst.css" />
+ <link rel="stylesheet" href="style.css" type="text/css" />
+-<link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+ /* Hides from IE-mac \*/
+ * html pre { height: 1%; }
+@@ -29,10 +18,13 @@
+ <body>
+ <div class="document" id="libtorrent-api-documentation">
+     <div id="container">
+-    <a href="index.html"><table id="header">
+-    <tr><td id="orange"></td>
+-    <td id="logo">libtorrent</td></tr>
+-    </table></a>
++    <div id="headerNav">
++    <ul>
++    <li class="first"><a href="index.html">Home</a></li>
++    <li><a href="http://www.rasterbar.com/products.html">Products</a></li>
++    <li><a href="http://www.rasterbar.com/contact.html">Contact</a></li>
++    </ul>
++    </div>
+     <div id="main">
+ <h1 class="title">libtorrent API Documentation</h1>
+ <table class="docinfo" frame="void" rules="none">
+@@ -2980,41 +2972,11 @@ at the end of the counter name. i.e.
+ 16384, 32768, 65536, 131072, 262144, 524288, 1048576
+ bytes</p>
+ </div>
+-
+-    </div>
+     </div>
+-    <div id="gradient"></div>
+     <div id="footer">
+-    <table>
+-    <tr>
+-      <td><a href="index.html">home</a></td>
+-      <td><a href="https://blog.libtorrent.org">blog</a></td>
+-      <td><a href="utp.html">uTP</a></td>
+-    </tr>
+-    <tr>
+-      <td><a href="https://sourceforge.net/projects/libtorrent/files/libtorrent/">download</a></td>
+-      <td><a href="reference.html">documentation</a></td>
+-      <td><a href="dht_store.html">DHT put extension</a></td>
+-    </tr>
+-    <tr>
+-      <td><a href="https://sourceforge.net/projects/libtorrent/files/py-libtorrent/">python bindings</a></td>
+-      <td><a href="features.html">features</a></td>
+-      <td><a href="dht_sec.html">DHT security extension</a></td>
+-    </tr>
+-    <tr>
+-      <td><a href="https://sourceforge.net/p/libtorrent/mailman/libtorrent-discuss/">mailing list archive</a></td>
+-      <td><a href="contributing.html">contributing</a></td>
+-      <td><a href="streaming.html">streaming</a></td>
+-    </tr>
+-    <tr>
+-      <td><a href="https://github.com/arvidn/libtorrent/issues">report a bug</a></td>
+-      <td><a href="building.html">building</a></td>
+-      <td><a href="bittorrent.pdf">bittorrent slides</a></td>
+-    </tr>
+-    </table>
++    <span>Copyright &copy; 2005 Rasterbar Software.</span>
++    </div>
+     </div>
+-    <div id="filler"></div>
+-
+ </div>
+ </body>
+ </html>
+diff --git a/docs/reference-Alerts.html b/docs/reference-Alerts.html
+index f582363..436ab34 100644
+--- a/docs/reference-Alerts.html
++++ b/docs/reference-Alerts.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Bdecoding.html b/docs/reference-Bdecoding.html
+index 24d952e..1429528 100644
+--- a/docs/reference-Bdecoding.html
++++ b/docs/reference-Bdecoding.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Bencoding.html b/docs/reference-Bencoding.html
+index 3edb184..8c05e5c 100644
+--- a/docs/reference-Bencoding.html
++++ b/docs/reference-Bencoding.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Core.html b/docs/reference-Core.html
+index 7536392..9748e66 100644
+--- a/docs/reference-Core.html
++++ b/docs/reference-Core.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Create_Torrents.html b/docs/reference-Create_Torrents.html
+index 41f145b..0c62b66 100644
+--- a/docs/reference-Create_Torrents.html
++++ b/docs/reference-Create_Torrents.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Custom_Storage.html b/docs/reference-Custom_Storage.html
+index f363cec..4f2fdea 100644
+--- a/docs/reference-Custom_Storage.html
++++ b/docs/reference-Custom_Storage.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Error_Codes.html b/docs/reference-Error_Codes.html
+index e98651b..2798bc4 100644
+--- a/docs/reference-Error_Codes.html
++++ b/docs/reference-Error_Codes.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Filter.html b/docs/reference-Filter.html
+index 542f015..4c4b265 100644
+--- a/docs/reference-Filter.html
++++ b/docs/reference-Filter.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Plugins.html b/docs/reference-Plugins.html
+index d9e322f..2854452 100644
+--- a/docs/reference-Plugins.html
++++ b/docs/reference-Plugins.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Settings.html b/docs/reference-Settings.html
+index ffe6976..6c50186 100644
+--- a/docs/reference-Settings.html
++++ b/docs/reference-Settings.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Storage.html b/docs/reference-Storage.html
+index 138105e..508e15e 100644
+--- a/docs/reference-Storage.html
++++ b/docs/reference-Storage.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-Utility.html b/docs/reference-Utility.html
+index b8df40e..e718b13 100644
+--- a/docs/reference-Utility.html
++++ b/docs/reference-Utility.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference-ed25519.html b/docs/reference-ed25519.html
+index 7edb0c0..e080d84 100644
+--- a/docs/reference-ed25519.html
++++ b/docs/reference-ed25519.html
+@@ -7,17 +7,6 @@
+ <title></title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/reference.html b/docs/reference.html
+index b5cdff9..d634902 100644
+--- a/docs/reference.html
++++ b/docs/reference.html
+@@ -6,17 +6,6 @@
+ <meta name="generator" content="Docutils 0.11: http://docutils.sourceforge.net/" />
+ <title>reference documentation</title>
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/single-page-ref.html b/docs/single-page-ref.html
+index d33a501..bd85d71 100644
+--- a/docs/single-page-ref.html
++++ b/docs/single-page-ref.html
+@@ -7,17 +7,6 @@
+ <title>libtorrent API Documentation</title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
+diff --git a/docs/template.txt b/docs/template.txt
+new file mode 100644
+index 0000000..d3ed539
+--- /dev/null
++++ b/docs/template.txt
+@@ -0,0 +1,29 @@
++%(head_prefix)s
++%(head)s
++<link rel="stylesheet" type="text/css" href="css/base.css" />
++<link rel="stylesheet" type="text/css" href="css/rst.css" />
++%(stylesheet)s
++<style type="text/css">
++/* Hides from IE-mac \*/
++* html pre { height: 1%%; }
++/* End hide from IE-mac */
++</style>
++%(body_prefix)s
++    <div id="container">
++    <div id="headerNav">
++    <ul>
++    <li class="first"><a href="index.html">Home</a></li>
++    <li><a href="http://www.rasterbar.com/products.html">Products</a></li>
++    <li><a href="http://www.rasterbar.com/contact.html">Contact</a></li>
++    </ul>
++    </div>
++    <div id="main">
++%(body_pre_docinfo)s
++%(docinfo)s
++%(body)s
++    </div>
++    <div id="footer">
++    <span>Copyright &copy; 2005 Rasterbar Software.</span>
++    </div>
++    </div>
++%(body_suffix)s
+diff --git a/docs/tutorial.html b/docs/tutorial.html
+index 01aa2ff..a7904d5 100644
+--- a/docs/tutorial.html
++++ b/docs/tutorial.html
+@@ -7,17 +7,6 @@
+ <title>libtorrent manual</title>
+ <meta name="author" content="Arvid Norberg, arvid&#64;libtorrent.org" />
+ <meta name=viewport content="width=device-width, initial-scale=1">
+-<script type="text/javascript">
+-/* <![CDATA[ */
+-    (function() {
+-        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
+-        s.type = 'text/javascript';
+-        s.async = true;
+-        s.src = 'https://api.flattr.com/js/0.6/load.js?mode=auto';
+-        t.parentNode.insertBefore(s, t);
+-    })();
+-/* ]]> */
+-</script>
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ <link rel="stylesheet" type="text/css" href="rst.css" />
+ <style type="text/css">
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..682a66f
--- /dev/null
@@ -0,0 +1 @@
+fix-html-docs.patch
diff --git a/python-libtorrent-dbg.install b/python-libtorrent-dbg.install
new file mode 100644 (file)
index 0000000..c4a9213
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/python2*/*-packages/libtorrent_d.so
diff --git a/python-libtorrent.install b/python-libtorrent.install
new file mode 100644 (file)
index 0000000..04cea14
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/python2*/*-packages/libtorrent.so
+usr/lib/python2*/*-packages/*.egg-info
diff --git a/python3-libtorrent-dbg.install b/python3-libtorrent-dbg.install
new file mode 100644 (file)
index 0000000..00f2fec
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/python3*/*-packages/*.cpython-*d*.so
diff --git a/python3-libtorrent.install b/python3-libtorrent.install
new file mode 100644 (file)
index 0000000..e274cba
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/python3*/*-packages/*[!d]m*.so
+usr/lib/python3*/*-packages/*.egg-info
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..8b574fd
--- /dev/null
+++ b/rules
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+export DEB_LDFLAGS_MAINT_APPEND  = -Wl,--as-needed
+
+PYTHON2=$(shell pyversions -vr)
+PYTHON3=$(shell py3versions -vr)
+ALLPY=$(PYTHON2) $(PYTHON3) $(PYTHON2:%=%-dbg) $(PYTHON3:%=%-dbg)
+
+CONFIGURE_ARGS = --with-libiconv --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
+
+%:
+       dh $@ --with python2,python3
+
+override_dh_auto_configure-nopy:
+       dh_auto_configure --builddirectory build -- $(CONFIGURE_ARGS)
+
+override_dh_auto_configure-%:
+       CPPFLAGS="$(CPPFLAGS) $(shell python$*-config --includes)" \
+       PYTHON_LDFLAGS="$(shell python$*-config --libs)" \
+       dh_auto_configure --builddirectory build-py$* -- \
+               PYTHON=/usr/bin/python$* \
+               PYTHON_INSTALL_PARAMS="--root=$(CURDIR)/debian/tmp \
+               --install-layout=deb" \
+               --enable-python-binding \
+               --with-boost-python=boost_python$(subst .,,$(subst -dbg,,$*)) \
+               $(CONFIGURE_ARGS)
+       mv build-py$*/bindings/python build/bindings/python$*
+       cp -r bindings/python/* build/bindings/python$*
+
+override_dh_auto_configure: override_dh_auto_configure-nopy $(ALLPY:%=override_dh_auto_configure-%)
+
+
+override_dh_auto_build-nopy:
+       dh_auto_build --builddirectory build
+       $(MAKE) -C docs/ -f makefile
+
+override_dh_auto_build-%:
+       dh_auto_build --builddirectory build/bindings/python$*
+
+override_dh_auto_build: override_dh_auto_build-nopy $(ALLPY:%=override_dh_auto_build-%)
+
+
+override_dh_auto_install-nopy:
+       dh_auto_install --builddirectory build
+
+override_dh_auto_install-%:
+       dh_auto_install --builddirectory build/bindings/python$*
+
+override_dh_auto_install: override_dh_auto_install-nopy $(ALLPY:%=override_dh_auto_install-%)
+
+
+override_dh_auto_clean:
+       rm -rf build build-py*
+       dh_auto_clean
+
+override_dh_compress:
+       dh_compress -Xcpp
+
+override_dh_strip:
+       dh_strip --dbg-package=libtorrent-rasterbar-dbg
+
+override_dh_makeshlibs:
+       dh_makeshlibs -V
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..1efeb8a
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+  https://github.com/arvidn/libtorrent/releases .*/libtorrent-rasterbar-(\d\S*)\.tar\.gz