[MacPorts] #52477: rtorrent: Update to 0.9.6 w/ patches for macOS 10.12

MacPorts noreply at macports.org
Wed Mar 21 12:53:43 UTC 2018


#52477: rtorrent: Update to 0.9.6 w/ patches for macOS 10.12
-------------------------+-----------------------------
  Reporter:  torstenb@…  |      Owner:
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:  sierra haspatch
      Port:  rtorrent    |
-------------------------+-----------------------------

Comment (by tsjk):

 What's the state of the art here? Would be a bit cool to have a working
 rtorrent in macports.

 I managed to use the version in the tree, v0.9.2, by changing the version
 to v0.9.6, changing the homepage to http://rtorrent.net/, and forcing the
 compiler to be macports-gcc-6.

 {{{
 ---
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/rtorrent/Portfile
 2017-11-17 14:52:13.000000000 +0100
 +++ /usr/local/macports/ports/net/rtorrent/Portfile     2018-03-21
 13:19:39.000000000 +0100
 @@ -6,8 +6,8 @@
  name                rtorrent
  conflicts           rtorrent-devel
  set real_name       rtorrent
 -version             0.9.2
 -revision            2
 +version             0.9.6
 +revision            1
  categories          net
  platforms           darwin
  maintainers         nomaintainer
 @@ -20,12 +20,12 @@
                      run in the background using screen. It supports fast-
 resume \
                      and session management.

 -homepage            http://libtorrent.rakshasa.no/
 +homepage            http://rtorrent.net/
  master_sites        ${homepage}downloads/
  distname            ${real_name}-${version}

 -checksums           rmd160  130a4c7f3bd018f7247d4561170d6878ab7a120f \
 -                    sha256
 5c8f8c780bee376afce3c1cde2f5ecb928f40bac23b2b8171deed5cf3c888c3d
 +checksums           rmd160  8ac9730ccd5544ee0f64628538a892d4f1d86081 \
 +                    sha256
 1e69c24f1f26f8f07d58d673480dc392bfc4317818c1115265b08a7813ff5b0e

  depends_build       port:pkgconfig

 @@ -42,6 +42,9 @@
                      --disable-debug \
                      --enable-ipv6

 +compiler.blacklist  *clang*
 +configure.compiler   macports-gcc-6
 +
  variant xmlrpc description {Enable XMLRPC interface} {
      configure.args-append   --with-xmlrpc-c
      depends_lib-append      port:xmlrpc-c

 }}}

 I used the same strategy for libtorrent, where I took the v0.13.2 version
 in tree, changed the verion to 0.13.6, changed the homepage to
 http://rtorrent.net/, and forced the compiler to macports-gcc-6.

 {{{
 ---
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libtorrent/Portfile
 2017-08-22 23:13:23.000000000 +0200
 +++ /usr/local/macports/ports/net/libtorrent/Portfile   2018-03-21
 13:19:09.000000000 +0100
 @@ -4,7 +4,7 @@

  name                libtorrent
  conflicts           libtorrent-devel
 -version             0.13.2
 +version             0.13.6
  revision            1
  categories          net
  platforms           darwin
 @@ -17,11 +17,11 @@
                      *nix. It is designed to avoid redundant copying and \
                      storing of data that other clients and libraries
 suffer from.

 -homepage            http://libtorrent.rakshasa.no/
 +homepage            http://rtorrent.net/
  master_sites        ${homepage}downloads/

 -checksums           rmd160  090e6af9b4318a6176064159f6a8f70ab708c7fe \
 -                    sha256
 ed2f2dea16c29cac63fa2724f6658786d955f975861fa6811bcf1597ff8a5e4f
 +checksums           rmd160  a143a0ef9e86cf989c2c7dff6c86a41d23ddc244 \
 +                    sha256
 2838a08c96edfd936aff8fbf99ecbb930c2bfca3337dd1482eb5fccdb80d5a04

  depends_build       port:pkgconfig

 @@ -32,7 +32,8 @@
                      --enable-ipv6 \
                      --with-kqueue

 -compiler.blacklist  gcc-4.0
 +compiler.blacklist  *clang*
 +configure.compiler   macports-gcc-6

  post-destroot {
      set docdir ${prefix}/share/doc/${name}

 }}}

 It compiles and runs, although I haven't started to use it as I'm checking
 whether I can swiftly switch from transmission to it and keeping my
 states. But I'd prefer a version that compiles with clang, of course.

--
Ticket URL: <https://trac.macports.org/ticket/52477#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list