From 116574443a30049d7f61d3252c01521a3437bc0833b5b25926853d6e5d08d2be Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 2 Jan 2025 11:56:19 +0000 Subject: [PATCH] [info=792e2f431d839380f2b4cd13938971b3eb4a39719c59d2c8df4ea3506c89379d] OBS-URL: https://build.opensuse.org/package/show/filesharing/libtorrent?expand=0&rev=10 --- .gitattributes | 23 ++++++ .gitignore | 1 + _scmsync.obsinfo | 4 ++ build.specials.obscpio | 3 + libtorrent-0.15.1.tar.gz | 3 + libtorrent.changes | 146 +++++++++++++++++++++++++++++++++++++++ libtorrent.spec | 85 +++++++++++++++++++++++ v0.15.0.tar.gz | 3 + 8 files changed, 268 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio create mode 100644 libtorrent-0.15.1.tar.gz create mode 100644 libtorrent.changes create mode 100644 libtorrent.spec create mode 100644 v0.15.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..307487a --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,4 @@ +mtime: 1735818918 +commit: 792e2f431d839380f2b4cd13938971b3eb4a39719c59d2c8df4ea3506c89379d +url: https://src.opensuse.org/jengelh/libtorrent +revision: master diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..9b50289 --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:333da07e1c050f3804d47bb4e86fe989692e66139926ad3c193808176c4b51fb +size 256 diff --git a/libtorrent-0.15.1.tar.gz b/libtorrent-0.15.1.tar.gz new file mode 100644 index 0000000..2961928 --- /dev/null +++ b/libtorrent-0.15.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef96bcc1fe8c56108db2f323e562fb982af1e5f3f21086986d133518df874301 +size 805722 diff --git a/libtorrent.changes b/libtorrent.changes new file mode 100644 index 0000000..ded3289 --- /dev/null +++ b/libtorrent.changes @@ -0,0 +1,146 @@ +------------------------------------------------------------------- +Thu Jan 2 11:53:47 UTC 2025 - Jan Engelhardt + +- Update to release 0.15.1 + * Resolved a crash with Handshake buffer resizing + * Respect failure intervals for trackers + * Fix file truncation on resume with fallocate enabled + +------------------------------------------------------------------- +Thu Dec 26 19:18:11 UTC 2024 - Jan Engelhardt + +- Update to release 0.15 + * Resolved a crash with Handshake buffer resizing. + * Respect failure intervals for trackers. + * Fix file truncation on resume with fallocate enabled. + +------------------------------------------------------------------- +Sun Sep 29 12:10:54 UTC 2024 - Jan Engelhardt + +- Update to release 0.14.0 + * Significant performance improvements to improve throughput and + reduce CPU usage. + * A fix for a torrent client crash with the socket address object. + * Support for 33 Gbit/s throttles on ruTorrent. + +------------------------------------------------------------------- +Fri Sep 4 14:55:41 UTC 2020 - Jan Engelhardt + +- Remove outdated specfile constructs. + +------------------------------------------------------------------- +Wed Jul 24 17:52:33 UTC 2019 - hiwatari.seiji@gmail.com + +- Update to 0.13.8 + * Close log files when reusing a name. (pyroscope) + * Increased max timeout for tracker requests. + * Set max piece size 512mb. + * Switch to C++11 MRT RNG for random bytes. (lps-rocks) + * Added support for openssl 1.1. + * Fix honoring throttle.min_peers* settings in rtorrent. (chros) + * Improved failed tracker bencode parsing. (chros) + * Added example rtorrent.rc. (g0tmi1k) + * Added a temporary name filter. (Toff) + * Added 'log.close' command. + * Added 'd.tracker_announce.force' command. + * Added 'event.system.startup_done/shutdown' commands/events. (chros) + * Added 'd.custom.if_z' command. (pyroscope) + * Added 'd.multicall.filtered' command. (pyroscope) + * Added 'event.view.hide/show' commands. (pyroscope) + +- Update to 0.13.7 + * Fixed ip filter memory usage. (sallyswiss/chros73) + * Add space to fmt str in log_gz_file_write. (pastly) + * Fix compilation issue with gcc v6.x and empty CXXFLAGS. (chros73) + * Fix BEP7 compatibility with IPv6 trackers and IPv4 peers. + * Include SCGI/XMLRPC example in rtorrent.rc. (ss23) + * Handle SIGHUP like SIGINT. (pyroscope) + * Fix Throttle args. (chros73) + * Fix missing ranlib - not defined but used. (duraki) + * Fix no // are at start of expanded paths. (pyroscope) + * Fix ncurses header include. (theirix) + * Fix segfault when viewing a magnet download in the leeching view. (slingamn) + +------------------------------------------------------------------- +Mon Dec 11 23:12:52 UTC 2017 - jengelh@inai.de + +- Update to new snapshot 0.13.6.g126 + * OpenSSL 1.1 support + * Some support for IPv6 binds + +------------------------------------------------------------------- +Tue Jun 6 14:08:12 UTC 2017 - jengelh@inai.de + +- Update to new snapshot 0.13.6.g72 + * IPv6 support + * Send correct network-ordered port number in PEX messages. + * Support for DHT logging. + * Fix BEP7 compatibility with IPv6 trackers and IPv4 peers. +- Remove cppunit.diff (no longer needed) + +------------------------------------------------------------------- +Wed May 3 08:37:07 UTC 2017 - jengelh@inai.de + +- Add cppunit.diff to support newer cppunit + +------------------------------------------------------------------- +Sun Nov 15 17:08:10 UTC 2015 - mpluskal@suse.com + +- Remove unneeded options/dependencies (xmlrpc) + * all support is done in rtorrent + +------------------------------------------------------------------- +Fri Nov 13 13:47:09 UTC 2015 - tampakrap@opensuse.org + +- Update to new upstream release 0.13.6 +* Added check for failed DH_compute_key, throwing + e_handshake_invalid_encryption +- Moved fully to github, change URL and Source accordingly + +------------------------------------------------------------------- +Sat Jul 19 10:15:20 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 0.13.4 +* Don't start requesting more peers if connected to PEX-enabled + peers. +* Added exception for if the transfer list isn't empty at dtor. +* Added special handling of peers that do choke+unchoke before + transfering pieces. + +------------------------------------------------------------------- +Fri Feb 8 03:40:09 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 0.13.3 +* No changelog provided +* Required by rtorrent-0.9.3 +- Use more robust make install call +- Build with -fno-strict-aliasing because the code is scaredly + full of type punning dereferences (reflected in the build log). +- Remove libtorrent-decls.diff, libtorrent-gcc4.3-0.12.2.patch: + issues resolved upstream + +------------------------------------------------------------------- +Wed Mar 7 09:29:56 UTC 2012 - cfarrell@suse.com + +- license update: SUSE-GPL-2.0+-with-openssl-exception + Package allows linking against openSSL. Use the SUSE- proprietary prefix + until upstream spdx.org accepts the linking exception + +------------------------------------------------------------------- +Tue Feb 21 01:23:04 UTC 2012 - jengelh@medozas.de + +- Run format_spec_file to please the automatic factory + pre-checkin checker scripts + +------------------------------------------------------------------- +Tue Jan 31 09:59:10 UTC 2012 - jengelh@medozas.de + +- Remove redundant tags/sections per specfile guideline suggestions +- Parallel building using %_smp_mflags +- New patch libtorrent-decls.diff: add missing includes to + fix build errors + +------------------------------------------------------------------- +Sat May 9 00:00:00 UTC 2009 - bitshuffler#suse@irc.freenode.org + +- Initial RPM diff --git a/libtorrent.spec b/libtorrent.spec new file mode 100644 index 0000000..2eacfdb --- /dev/null +++ b/libtorrent.spec @@ -0,0 +1,85 @@ +# +# spec file for package libtorrent +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: libtorrent +%define lname libtorrent23 +Version: 0.15.1 +Release: 0 +Summary: A BitTorrent library written in C++ +License: SUSE-GPL-2.0+-with-openssl-exception +Group: Productivity/Networking/File-Sharing +URL: https://github.com/rakshasa/libtorrent + +Source: https://github.com/rakshasa/rtorrent/releases/download/v%version/libtorrent-%version.tar.gz +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkgconfig(cppunit) +BuildRequires: pkgconfig(openssl) +BuildRequires: zlib-devel + +%description +LibTorrent is a BitTorrent library written in C++. It transfers +directly from file pages to the network stack, and achieves 3x higher +seed speeds than the official client on high-bandwidth links. + +%package -n %lname +Summary: A BitTorrent library written in C++ +Group: System/Libraries + +%description -n %lname +LibTorrent is a BitTorrent library written in C++. It transfers +directly from file pages to the network stack, and achieves 3x higher +seed speeds than the official client on high-bandwidth links. + +%package devel +Summary: Development files for libtorrent, a C++ BitTorrent library +Group: Development/Libraries/C and C++ +Requires: %lname = %version + +%description devel +LibTorrent is a BitTorrent library written in C++. It transfers +directly from file pages to the network stack, and achieves 3x higher +seed speeds than the official client on high-bandwidth links. + +%prep +%autosetup -p1 + +%build +export CFLAGS="%optflags -fno-strict-aliasing" +export CXXFLAGS="$CFLAGS" +export CXXFLAGS="$CXXFLAGS -std=gnu++14" +autoreconf -fiv +%configure --enable-ipv6 --with-posix-fallocate +%make_build + +%install +%make_install +find "%buildroot" -type f -name "*.la" -delete + +%ldconfig_scriptlets -n %lname + +%files -n %lname +%_libdir/libtorrent.so.* + +%files -n %name-devel +%_includedir/torrent/ +%_libdir/libtorrent.so +%_libdir/pkgconfig/libtorrent.pc + +%changelog diff --git a/v0.15.0.tar.gz b/v0.15.0.tar.gz new file mode 100644 index 0000000..453f2d0 --- /dev/null +++ b/v0.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f55fb872282a2964049dadb89c4d1fb580a1cef981b9a421991efd5282ca90b7 +size 384632