From de5b2bbd738a7a6c16b92fe51e43755cf03c3741 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 29 Sep 2024 15:08:46 -0400 Subject: [PATCH 1/4] libtorrent-rakshasa 0.14.0 autobump: add libtorrent-rakshasa Signed-off-by: Rui Chen libtorrent-rakshasa: update build Signed-off-by: Rui Chen --- .github/autobump.txt | 1 + Formula/lib/libtorrent-rakshasa.rb | 9 ++++----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/autobump.txt b/.github/autobump.txt index 0c40c025c571d..71c57658f5d5a 100644 --- a/.github/autobump.txt +++ b/.github/autobump.txt @@ -1592,6 +1592,7 @@ libtiff libtirpc libtommath libtool +libtorrent-rakshasa libtrace libtrng libucl diff --git a/Formula/lib/libtorrent-rakshasa.rb b/Formula/lib/libtorrent-rakshasa.rb index 56974c351369a..653909bf3f4cc 100644 --- a/Formula/lib/libtorrent-rakshasa.rb +++ b/Formula/lib/libtorrent-rakshasa.rb @@ -1,10 +1,9 @@ class LibtorrentRakshasa < Formula desc "BitTorrent library with a focus on high performance" homepage "https://github.com/rakshasa/libtorrent" - url "https://github.com/rakshasa/libtorrent/archive/refs/tags/v0.13.8.tar.gz" - sha256 "0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722" + url "https://github.com/rakshasa/libtorrent/archive/refs/tags/v0.14.0.tar.gz" + sha256 "0ec8ef7544a551ccbf6fce5c6c535f69cb3ad10e4d5e70e620ecd47fef90a13e" license "GPL-2.0-or-later" - revision 1 livecheck do url :stable @@ -37,8 +36,8 @@ class LibtorrentRakshasa < Formula because: "they both use the same libname" def install - system "sh", "autogen.sh" - system "./configure", *std_configure_args, "--disable-silent-rules" + system "autoreconf", "--force", "--install", "--verbose" + system "./configure", "--disable-silent-rules", *std_configure_args system "make" system "make", "install" end From 4915af174e074234660a723e9c2efc393eef84a9 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Sun, 29 Sep 2024 14:43:08 -0400 Subject: [PATCH 2/4] rtorrent 0.10.0 autobump: add rtorrent Signed-off-by: Rui Chen rtorrent: update build Signed-off-by: Rui Chen rtorrent: add osx build patch Signed-off-by: Rui Chen --- .github/autobump.txt | 1 + Formula/r/rtorrent.rb | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/autobump.txt b/.github/autobump.txt index 71c57658f5d5a..9d5ba21dc6b0a 100644 --- a/.github/autobump.txt +++ b/.github/autobump.txt @@ -2370,6 +2370,7 @@ rrdtool rswift rsyncy rsyslog +rtorrent rubberband ruby ruby@3.1 diff --git a/Formula/r/rtorrent.rb b/Formula/r/rtorrent.rb index 5114ee8b616f3..5ecf8f830d18d 100644 --- a/Formula/r/rtorrent.rb +++ b/Formula/r/rtorrent.rb @@ -1,10 +1,9 @@ class Rtorrent < Formula desc "Ncurses BitTorrent client based on libtorrent-rakshasa" homepage "https://github.com/rakshasa/rtorrent" - url "https://github.com/rakshasa/rtorrent/releases/download/v0.9.8/rtorrent-0.9.8.tar.gz" - sha256 "9edf0304bf142215d3bc85a0771446b6a72d0ad8218efbe184b41e4c9c7542af" + url "https://github.com/rakshasa/rtorrent/releases/download/v0.10.0/rtorrent-0.10.0.tar.gz" + sha256 "cc65bba7abead24151f10af116eca2342b0c320fdff3cb8d604c0af09215d3aa" license "GPL-2.0-or-later" - revision 3 bottle do sha256 cellar: :any, arm64_sequoia: "d73c40d99e7cfbaa067a7c3b405ac28501376977857a68a66a9468122aa1d850" @@ -18,21 +17,26 @@ class Rtorrent < Formula end depends_on "autoconf" => :build + depends_on "autoconf-archive" => :build depends_on "automake" => :build depends_on "libtool" => :build depends_on "pkg-config" => :build + depends_on "libtorrent-rakshasa" depends_on "xmlrpc-c" uses_from_macos "curl" uses_from_macos "ncurses" - def install - args = ["--prefix=#{prefix}", "--with-xmlrpc-c", - "--disable-debug", "--disable-dependency-tracking"] + # patch to use fsync for osx builds, upstream pr ref, https://github.com/rakshasa/rtorrent/pull/1297 + patch do + url "https://github.com/rakshasa/rtorrent/commit/ad491b46ede1593dc28120231b87051530f5b391.patch?full_index=1" + sha256 "5242ccb5e85a40860d3928f3264d5579976717d071bdb228960eab8926396a69" + end - system "sh", "autogen.sh" - system "./configure", *args + def install + system "autoreconf", "--force", "--install", "--verbose" + system "./configure", "--with-xmlrpc-c", *std_configure_args system "make" system "make", "install" end From b023b49c079c24e814cce3ac502a97e1abe51816 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 29 Sep 2024 23:17:39 +0000 Subject: [PATCH 3/4] libtorrent-rakshasa: update 0.14.0 bottle. --- Formula/lib/libtorrent-rakshasa.rb | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/Formula/lib/libtorrent-rakshasa.rb b/Formula/lib/libtorrent-rakshasa.rb index 653909bf3f4cc..5fd2973abb758 100644 --- a/Formula/lib/libtorrent-rakshasa.rb +++ b/Formula/lib/libtorrent-rakshasa.rb @@ -11,17 +11,12 @@ class LibtorrentRakshasa < Formula end bottle do - rebuild 1 - sha256 cellar: :any, arm64_sequoia: "dba858445cc6c078216fb9da10fb9ab2f1884307e83e309c0ff251993ba443d4" - sha256 cellar: :any, arm64_sonoma: "9317851dfcfae89f25254c8c5b7dde87ae5ddff6845f65067af9d181b2e53423" - sha256 cellar: :any, arm64_ventura: "379e99e3801c7e703f998612e750dd93672fd24805725ebef3b665c3c86f8b81" - sha256 cellar: :any, arm64_monterey: "549f2adddde6fc9af3aaf1839225a61bbe157c0a93b32d5acf9ac019ad2877e8" - sha256 cellar: :any, arm64_big_sur: "c1a7a9b145c6f284bcb967af9af8e3ea3283cc0d00ba1028819170353b7afc44" - sha256 cellar: :any, sonoma: "63de69fbf75463e74e33687a74fcc7db2a940d30e943e51488f2913bf0e3ef3c" - sha256 cellar: :any, ventura: "e8658b9542a25a3c5c783d7945381f897dabdcb07684e0e4c5fb0b9bac9521d5" - sha256 cellar: :any, monterey: "be0c226697f610c2b2593b150608cd333710da4480eea29ebc4d291b8f17955d" - sha256 cellar: :any, big_sur: "b3595f86917cf3e9025b063cc24b08bea158da105f49d3bb974456f1fa46c546" - sha256 cellar: :any_skip_relocation, x86_64_linux: "733fb0be216ee03ae9394ba639fbc1d4d2e2f9299c8d91b93117e0e6074c5906" + sha256 cellar: :any, arm64_sequoia: "6b8fe6b2bfc5f3a6f14306459ec7e13b6691de88cae403a911db55a93ad0bc02" + sha256 cellar: :any, arm64_sonoma: "0c2c34b058e1a855d2abe7de2df0b67c27fc861609a8578fd6dd2e54657aa63e" + sha256 cellar: :any, arm64_ventura: "efd7e73f50633f369299429175a65b38d9ef69691acc98b7bdd9b4d237827424" + sha256 cellar: :any, sonoma: "2d59fc558170dc24256a5cd1019157f20bcd978ec53296d89fa17dde0485606d" + sha256 cellar: :any, ventura: "b3d3f595792363a889b76657bd139e5d7f1014ab3cc45e42d5c6ba7b3fe9fb6d" + sha256 cellar: :any_skip_relocation, x86_64_linux: "25d07d284e4494c038603a297fbe75ade3a0b374cfe1069ffa8674cb49cd4216" end depends_on "autoconf" => :build From f10f7450bb929e22705c02ac67d17da950c0390f Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 29 Sep 2024 23:17:40 +0000 Subject: [PATCH 4/4] rtorrent: update 0.10.0 bottle. --- Formula/r/rtorrent.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/Formula/r/rtorrent.rb b/Formula/r/rtorrent.rb index 5ecf8f830d18d..007c1dd032375 100644 --- a/Formula/r/rtorrent.rb +++ b/Formula/r/rtorrent.rb @@ -6,14 +6,12 @@ class Rtorrent < Formula license "GPL-2.0-or-later" bottle do - sha256 cellar: :any, arm64_sequoia: "d73c40d99e7cfbaa067a7c3b405ac28501376977857a68a66a9468122aa1d850" - sha256 cellar: :any, arm64_sonoma: "7b55a418e1ae243cd062ac5e3e1171ee082814623a15fd3898ecc3172b9a7fe4" - sha256 cellar: :any, arm64_ventura: "f2c7a8bd2f77caffa6fef4f0fa85f9e598fc8e8e0129562f6ebeb9fda9e84064" - sha256 cellar: :any, arm64_monterey: "85c38e502a8c6ec4b20c973b4d79785436925776ae26db29461931f8221d2d8b" - sha256 cellar: :any, sonoma: "a7f53e049ba9dd7af4ab89fd49f909654c0492e25dc9c0bc88719d2f7969de63" - sha256 cellar: :any, ventura: "c5a27e4139d425afe95746a83dd9cc77d97655a02a10eb02882bde897daaf57e" - sha256 cellar: :any, monterey: "b2a247f5cfba3c8b16326a82055d80e10bc494c3c7db8ace77dc4cee75460bbf" - sha256 cellar: :any_skip_relocation, x86_64_linux: "0c12f9d685c1f2702ecefa0eca8d926e4baf71a7935a469a81b864aadac396a6" + sha256 cellar: :any, arm64_sequoia: "4ff4cdfea0262578387a2bd2104e7f0caab74ad85853b9558b62c2bc5e7fbb64" + sha256 cellar: :any, arm64_sonoma: "7817e20a46918a4013d357c5d7d73a28f0173ebb1cb5b7c8672b7c92b05c0b7d" + sha256 cellar: :any, arm64_ventura: "653b6b2302dff61a612e18f8d48fbe79ac8d9d3797b0025b31097964c648a91b" + sha256 cellar: :any, sonoma: "9f3eca223df05e8dd831e6ba42bd6bc900e5289d7f76fca37b491dc1cf3dd1b3" + sha256 cellar: :any, ventura: "c74da101ca3e057601ff89d00cfe1d5dcb9e95cae0487483d5c1e6cb1f274b9b" + sha256 cellar: :any_skip_relocation, x86_64_linux: "1f59d9720aa571fe2d1b44637fa114cca245154452bb7fd52a50c972b1572093" end depends_on "autoconf" => :build