Hello community, here is the log from the commit of package rtorrent for openSUSE:Factory checked in at 2019-07-31 14:31:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rtorrent (Old) and /work/SRC/openSUSE:Factory/.rtorrent.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rtorrent" Wed Jul 31 14:31:15 2019 rev:6 rq:719869 version:0.9.8 Changes: -------- --- /work/SRC/openSUSE:Factory/rtorrent/rtorrent.changes 2017-12-12 21:23:17.237507323 +0100 +++ /work/SRC/openSUSE:Factory/.rtorrent.new.4126/rtorrent.changes 2019-07-31 14:31:21.829996239 +0200 @@ -1,0 +2,36 @@ +Wed Jul 24 17:52:33 UTC 2019 - hiwatari.se...@gmail.com + +- Update to 0.9.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.9.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) + +- Remove rtorrent-vim package because it was made for the old (now discouraged) config syntax + * See: https://github.com/rakshasa/rtorrent/wiki/CONFIG-Template + +------------------------------------------------------------------- Old: ---- _service rtorrent-0.9.6.g116.tar.xz rtorrent_ftdetect.vim rtorrent_syntax.vim New: ---- rtorrent-0.9.8.tar.gz rtorrent.service ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rtorrent.spec ++++++ --- /var/tmp/diff_new_pack.WIPVWI/_old 2019-07-31 14:31:22.465995801 +0200 +++ /var/tmp/diff_new_pack.WIPVWI/_new 2019-07-31 14:31:22.473995796 +0200 @@ -21,20 +21,18 @@ %endif Name: rtorrent -Version: 0.9.6.g116 +Version: 0.9.8 Release: 0 Summary: Console-based BitTorrent Client License: SUSE-GPL-2.0+-with-openssl-exception Group: Productivity/Networking/File-Sharing Url: http://github.com/rakshasa/rtorrent -#Git-Clone git://github.com/rakshasa/rtorrent -#Source: https://github.com/rakshasa/rtorrent/archive/%version.tar.gz -Source: %name-%version.tar.xz + +Source: https://github.com/rakshasa/rtorrent/releases/download/v%{version}/%{name}-%{version}.tar.gz Source2: rtorrent.desktop # This manpage copied from the 0.9.2 tarball as it was missing in later versions Source3: rtorrent.1 -Source4: rtorrent_syntax.vim -Source5: rtorrent_ftdetect.vim +Source4: rtorrent.service BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with xmlrpc} BuildRequires: xmlrpc-c-devel @@ -47,11 +45,10 @@ BuildRequires: pkgconfig BuildRequires: update-desktop-files # not strictly needed. we only need it for the ownership of the vim data dir -BuildRequires: vim -BuildRequires: xz +BuildRequires: gzip BuildRequires: pkgconfig(cppunit) >= 1.9.6 BuildRequires: pkgconfig(libcurl) >= 7.15.4 -BuildRequires: pkgconfig(libtorrent) >= 0.13.6 +BuildRequires: pkgconfig(libtorrent) >= 0.13.8 %description rTorrent is a console-based BitTorrent client. It aims to be a @@ -59,18 +56,6 @@ background using screen. It supports fast-resume and session management. -%package vim -Summary: Vim syntax file for rTorrent's config file -Group: Productivity/Text/Editors -BuildArch: noarch -Requires: vim -Supplements: packageand(vim:%{name}) -%{!?vim_data_dir:%global vim_data_dir %(readlink -f %_datadir/vim/current)} - -%description vim -Vim syntax file for rTorrent's config file, .rtorrent.rc -The files are taken from http://www.vim.org/scripts/script.php?script_id=2234 - %prep %setup -q @@ -89,6 +74,9 @@ --enable-ipv6 make %{?_smp_mflags} +%pre +getent passwd rtorrent >/dev/null || useradd -r rtorrent + %install b="%buildroot" make install DESTDIR="$b" @@ -96,8 +84,10 @@ mkdir -p "$b/%_mandir/man1" install -pm0644 "%{S:3}" "$b/%_mandir/man1/" %suse_update_desktop_file -r "%name" Network P2P -install -Dm0644 "%{S:4}" "$b/%vim_data_dir/syntax/%name.vim" -install -Dm0644 "%{S:5}" "$b/%vim_data_dir/ftdetect/%name.vim" +install -Dm0644 "%{S:4}" "$b/%{_unitdir}/rtorrent.service" + +%post +%service_add_post rtorrent.service %files %defattr(-,root,root) @@ -105,11 +95,6 @@ %_bindir/rtorrent %_datadir/applications/%name.desktop %_mandir/man1/rtorrent.1* - -%files vim -%defattr(-,root,root) -%dir %vim_data_dir/ftdetect -%vim_data_dir/ftdetect/%name.vim -%vim_data_dir/syntax/%name.vim +%{_unitdir}/rtorrent.service %changelog ++++++ rtorrent.service ++++++ [Unit] Description=rTorrent daemon Requires=network.target local-fs.target [Service] Type=forking RemainAfterExit=yes KillMode=none EnvironmentFile=-/etc/sysconfig/rtorrent ExecStart=/usr/bin/screen -d -m -S rtorrentd /usr/bin/rtorrent ExecStop=/usr/bin/screen -S rtorrentd -X quit User=rtorrent Group=rtorrent WorkingDirectory=~ [Install] WantedBy=multi-user.target