forked from pool/libtorrent
[info=8ac4eb2f719956e52c64c754330a56d5ef7128c6b534245f4e2f3f052b0bf7f9]
OBS-URL: https://build.opensuse.org/package/show/filesharing/libtorrent?expand=0&rev=7
This commit is contained in:
commit
ce97621e67
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
mtime: 1599343448
|
||||||
|
commit: 8ac4eb2f719956e52c64c754330a56d5ef7128c6b534245f4e2f3f052b0bf7f9
|
||||||
|
url: https://src.opensuse.org/jengelh/libtorrent
|
||||||
|
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1da19b37a888a8b30f4087a306b1e7612dcf9f3bc22b4464e310d3311819ff88
|
||||||
|
size 256
|
3
libtorrent-0.13.8.tar.gz
Normal file
3
libtorrent-0.13.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983
|
||||||
|
size 834027
|
121
libtorrent.changes
Normal file
121
libtorrent.changes
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 4 14:55:41 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- 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
|
87
libtorrent.spec
Normal file
87
libtorrent.spec
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libtorrent
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define rtorrentvers 0.9.8
|
||||||
|
Name: libtorrent
|
||||||
|
%define lname libtorrent21
|
||||||
|
Version: 0.13.8
|
||||||
|
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%rtorrentvers/%name-%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++11"
|
||||||
|
autoreconf -fiv
|
||||||
|
%configure --enable-ipv6 --with-posix-fallocate
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find "%buildroot" -type f -name "*.la" -delete
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%_libdir/libtorrent.so.*
|
||||||
|
|
||||||
|
%files -n %name-devel
|
||||||
|
%_includedir/torrent/
|
||||||
|
%_libdir/libtorrent.so
|
||||||
|
%_libdir/pkgconfig/libtorrent.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user