diff --git a/Formula/pstree.rb b/Formula/pstree.rb index 8970f752a72..caa33b3a3e6 100644 --- a/Formula/pstree.rb +++ b/Formula/pstree.rb @@ -3,19 +3,9 @@ class Pstree < Formula desc "Show ps output as a tree" - homepage "http://www.thp.uni-duisburg.de/pstree/" - url "ftp://ftp.thp.uni-duisburg.de/pub/source/pstree-2.39.tar.gz" - mirror "https://fossies.org/linux/misc/old/pstree-2.39.tar.gz" - sha256 "7c9bc3b43ee6f93a9bc054eeff1e79d30a01cac13df810e2953e3fc24ad8479f" - - # The stable archive is fetched over FTP and there doesn't appear to be a link - # to it on the first-party website. As of writing, the homepage lists an older - # version than the README, so checking the README is likely our best option - # at the moment. - livecheck do - url "http://www.thp.uni-duisburg.de/pstree/README" - regex(/This is pstree V?\s*?(\d+(?:\.\d+)+)/i) - end + homepage "https://github.com/FredHucht/pstree" + url "https://github.com/FredHucht/pstree/archive/refs/tags/v2.40.tar.gz" + sha256 "64d613d8f66685b29f13a80e08cddc08616cf3e315a0692cbbf9de0d8aa376b3" bottle do rebuild 2