Skip to content

Commit

Permalink
Add livecheck blocks from homebrew-livecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
nandahkrishna authored Aug 28, 2020
1 parent c3c83e7 commit 9591758
Show file tree
Hide file tree
Showing 2,100 changed files with 9,912 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/a2ps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class A2ps < Formula
sha256 "f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4"
license "GPL-3.0"

livecheck do
url :stable
end

bottle do
rebuild 3
sha256 "98a293e2d83134c9a1c35026f68207d9fc2ac1bde9d7d15dd29849d7d9c5b237" => :catalina
Expand Down
6 changes: 6 additions & 0 deletions Formula/a52dec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ class A52dec < Formula
sha256 "a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33"
license "GPL-2.0"

livecheck do
url "http://liba52.sourceforge.net/downloads.html"
strategy :page_match
regex(/href=.*?a52dec[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
cellar :any
sha256 "a40e7384a64c5d4e22209088af424eeb4a9de3eba4c5451f95a2a1b6732969f6" => :catalina
Expand Down
7 changes: 7 additions & 0 deletions Formula/aalib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ class Aalib < Formula
sha256 "fbddda9230cf6ee2a4f5706b4b11e2190ae45f5eda1f0409dc4f99b35e0a70ee"
revision 1

# The latest version in the formula is a release candidate, so we have to
# allow matching of unstable versions.
livecheck do
url :stable
regex(%r{url=.*?/aalib[._-]v?(\d+(?:\.\d+)+.*?)\.t}i)
end

bottle do
cellar :any_skip_relocation
sha256 "306da4a8cb39ef81eed8b81a7d1c1c7bd47405d8270d036dde9c07c630fa4ea3" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/aamath.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class Aamath < Formula
sha256 "9843f4588695e2cd55ce5d8f58921d4f255e0e65ed9569e1dcddf3f68f77b631"
license "GPL-2.0"

livecheck do
url :homepage
regex(/href=.*?aamath[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
cellar :any_skip_relocation
sha256 "1ac1413ef0322b280ae5bd5663373ed959ee54d28dbdd3261fc4da6e57abf44c" => :catalina
Expand Down
7 changes: 7 additions & 0 deletions Formula/aardvark_shell_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ class AardvarkShellUtils < Formula
sha256 "aa2b83d9eea416aa31dd1ce9b04054be1a504e60e46426225543476c0ebc3f67"
license "GPL-2.0"

# This regex is multiline since there's a line break between `href=` and the
# attribute value on the homepage.
livecheck do
url :homepage
regex(/href=.*?aardvark_shell_utils[._-]v?(\d+(?:\.\d+)+)\.t/im)
end

bottle do
cellar :any_skip_relocation
sha256 "df44cfc6ab0cf9b275f806ab72b47ab47475e35ca3faabbcbbe2054d65f6aa4e" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/abcl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ class Abcl < Formula
revision 1
head "https://abcl.org/svn/trunk/abcl/", using: :svn

livecheck do
url "https://abcl.org/releases/"
regex(%r{href=.*?v?(\d+(?:\.\d+)+)/?["' >]}i)
end

bottle do
cellar :any_skip_relocation
sha256 "bf6e2009b77b8e23c1140be6043bc51096180bd9cb8d00888caa9750eb9d1a89" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/abcmidi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class Abcmidi < Formula
sha256 "8509c6e6909d193028d38a3a0a9a301e26bdee32ef3dacde0fa1dca9c3a54b65"
license "GPL-2.0-or-later"

livecheck do
url :homepage
regex(/href=.*?abcMIDI[._-]v?(\d{4}(?:\.\d+)+)\.zip/i)
end

bottle do
cellar :any_skip_relocation
sha256 "886d3fb55c973886038503454f569f492cf88f93771e1933a02b3a7dbebbf24d" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/abnfgen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ class Abnfgen < Formula
url "http://www.quut.com/abnfgen/abnfgen-0.20.tar.gz"
sha256 "73ce23ab8f95d649ab9402632af977e11666c825b3020eb8c7d03fa4ca3e7514"

livecheck do
url :homepage
regex(%r{href=.*?/abnfgen[._-]v?(\d+(?:\.\d+)+)\.t}i)
end

bottle do
cellar :any_skip_relocation
sha256 "c1531bab58a352221fca0cc5b73db2d9f206e1b98272ff06a90d72aa9e991925" => :catalina
Expand Down
6 changes: 6 additions & 0 deletions Formula/abook.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ class Abook < Formula
license "GPL-2.0"
head "https://git.code.sf.net/p/abook/git.git"

livecheck do
url "http://abook.sourceforge.net/"
strategy :page_match
regex(/href=.*?abook[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
sha256 "09e77aa3db2cf8a702effbebbbf83f7a2f860b0d5db6bcf37549edb7db5438a7" => :catalina
sha256 "a6ab99c751a03e11e2ace660ad9325a9fe4262598f284c0fb87626778383e29d" => :mojave
Expand Down
5 changes: 5 additions & 0 deletions Formula/abuse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class Abuse < Formula
sha256 "0104db5fd2695c9518583783f7aaa7e5c0355e27c5a803840a05aef97f9d3488"
head "svn://svn.zoy.org/abuse/abuse/trunk"

livecheck do
url "http://abuse.zoy.org/wiki/download"
regex(/href=.*?abuse[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
cellar :any
sha256 "669679d60bb64b08d940f9f7c4b29faf340ff081d62b66f1764087db466fffe2" => :catalina
Expand Down
6 changes: 6 additions & 0 deletions Formula/acme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ class Acme < Formula
version "0.97"
license "GPL-2.0-or-later"

livecheck do
url "https://sourceforge.net/p/acme-crossass/code-0/HEAD/tree/trunk/docs/Changes.txt?format=raw"
strategy :page_match
regex(/New in release v?(\d+(?:\.\d+)+)/i)
end

bottle do
cellar :any_skip_relocation
sha256 "54080f9a08a3f958c5a024fd536c2308c392521a4a4092afb115f368b3256fd2" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/acpica.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ class Acpica < Formula
license any_of: ["Intel-ACPI", "GPL-2.0-only", "BSD-3-Clause"]
head "https://github.com/acpica/acpica.git"

livecheck do
url "https://acpica.org/downloads"
regex(/current release of ACPICA is version <strong>v?(\d{6,8}) </i)
end

bottle do
cellar :any_skip_relocation
sha256 "e32d0376e072bbe080c114842b0a19b300ad8bd844a046fdd4eeb3894363672f" => :catalina
Expand Down
4 changes: 4 additions & 0 deletions Formula/activemq-cpp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ class ActivemqCpp < Formula
license "Apache-2.0"
revision 1

livecheck do
url :stable
end

bottle do
cellar :any
sha256 "c06d4253f9496b49b63c224637a97525b13ecb834884a3548adbdafe4dde0a73" => :catalina
Expand Down
4 changes: 4 additions & 0 deletions Formula/activemq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class Activemq < Formula
sha256 "d399f51a34944a48b49153ffbeb50cef42666185efbec6d5aa588a0d2ca1c874"
license "Apache-2.0"

livecheck do
url :stable
end

bottle :unneeded

depends_on "openjdk"
Expand Down
5 changes: 5 additions & 0 deletions Formula/adns.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ class Adns < Formula
license "GPL-3.0"
head "git://git.chiark.greenend.org.uk/~ianmdlvl/adns.git"

livecheck do
url "https://www.chiark.greenend.org.uk/~ian/adns/ftp/"
regex(/href=.*?adns[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
cellar :any_skip_relocation
sha256 "d9cc50eec8ac243148a121049c236cba06af4a0b1156ab397d0a2850aa79c137" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/advancemame.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class Advancemame < Formula
sha256 "3e4628e1577e70a1dbe104f17b1b746745b8eda80837f53fbf7b091c88be8c2b"
license "GPL-2.0"

livecheck do
url "https://github.com/amadvance/advancemame/releases/latest"
regex(%r{href=.*?/tag/v?(\d+(?:\.\d+)+)["' >]}i)
end

bottle do
sha256 "7530ca2e37ac45b53164ae54ab6669f1796ea0af88541a85a93a74c155fb0029" => :catalina
sha256 "95f2cdff91ff98c3c9f65a0751d7948cefb3829d96e1977b5b8869163eba0790" => :mojave
Expand Down
4 changes: 4 additions & 0 deletions Formula/adwaita-icon-theme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ class AdwaitaIconTheme < Formula
url "https://download.gnome.org/sources/adwaita-icon-theme/3.36/adwaita-icon-theme-3.36.1.tar.xz"
sha256 "e498518627044dfd7db7d79a5b3d437848caf1991ef4ef036a2d3a2ac2c1f14d"

livecheck do
url :stable
end

bottle do
cellar :any_skip_relocation
sha256 "68833a3f5aff79bdf75c2e761a8451750b93e8a955e49356a78a2a3f0e1fbcd8" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/aescrypt-packetizer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ class AescryptPacketizer < Formula
url "https://www.aescrypt.com/download/v3/linux/aescrypt-3.14.tgz"
sha256 "5051394529bf3f99c42b57f755b2269e6abaae8b0e3fd90869c4b0bb58f5f1c7"

livecheck do
url "https://www.aescrypt.com/download/"
regex(%r{href=.*?/linux/aescrypt[._-]v?(\d+(?:\.\d+)+)\.t}i)
end

bottle do
cellar :any_skip_relocation
sha256 "1615637765b9c2c4aa26bb5c858962d2b5614d7098aa45ebb8154c839fcde13a" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/afl-fuzz.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ class AflFuzz < Formula
sha256 "a6416350ef40e042085337b0cbc12ac95d312f124d11f37076672f511fe31608"
license "Apache-2.0"

livecheck do
url :stable
regex(/^v?(\d+(?:\.\d+)+b?)$/i)
end

bottle do
sha256 "958368e0937e051e3330ffa78f93481f8c729a104b87fd24c04ff067fb8780ec" => :catalina
sha256 "82fb4d89ca48bc6a48c6d583497fcb48aa8e1fe7c00db57f0391881ab4a851c0" => :mojave
Expand Down
8 changes: 8 additions & 0 deletions Formula/aften.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ class Aften < Formula
sha256 "87cc847233bb92fbd5bed49e2cdd6932bb58504aeaefbfd20ecfbeb9532f0c0a"
license "LGPL-2.1"

# Aften has moved from a version scheme like 0.07 to 0.0.8. We restrict
# matching to versions with three parts, since a version like 0.07 is parsed
# as 0.7 and seen as newer than 0.0.8.
livecheck do
url :stable
regex(%r{url=.*?/aften[._-]v?(\d+(?:\.\d+){2,})\.t}i)
end

bottle do
cellar :any
sha256 "c1f3497bae95d7cd92f28b1a22d2dcfc06c0c7342c6c2993b6f564110f6e8f99" => :catalina
Expand Down
4 changes: 4 additions & 0 deletions Formula/agda.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ class Agda < Formula
end
end

livecheck do
url :stable
end

bottle do
rebuild 2
sha256 "c2d27dd1e42cee97bd2d4d19d38e027e627df890025265dceab6454d662a3b3e" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/agedu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ class Agedu < Formula
sha256 "432dd9602df326088956b3e4f5efe656ad09777873d38695e0d68810899941c2"
head "https://git.tartarus.org/simon/agedu.git"

livecheck do
url :homepage
regex(/href=.*?agedu[._-]v?(\d+)(?:\.[\da-z]+)?\.t/i)
end

bottle do
cellar :any_skip_relocation
sha256 "d5b1ceb8b45632543c913d12641cb820335b0e99fd823c9404222f0e087edef4" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/aircrack-ng.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class AircrackNg < Formula
sha256 "4f0bfd486efc6ea7229f7fbc54340ff8b2094a0d73e9f617e0a39f878999a247"
license "GPL-2.0"

livecheck do
url :homepage
regex(/href=.*?aircrack-ng[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
sha256 "1b5ecf42ef840c108536eac5107cf63c514ca2f3d7e8c4f32e5b301f088729c1" => :catalina
sha256 "e6bbba9c16ac26aaacaad5ac4935100a79cf702ab8fcb35fa9797e806ec003fe" => :mojave
Expand Down
4 changes: 4 additions & 0 deletions Formula/airshare.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class Airshare < Formula
url "https://files.pythonhosted.org/packages/cb/a2/d59c18cd6a143bf860c29acb70552b7351fd7e0f56213be86b624601106b/Airshare-0.1.6.tar.gz"
sha256 "138976933bcf2c0bc99f18901242544919e9fafe43735b4f83b19d4ae5964be7"

livecheck do
url :stable
end

bottle do
cellar :any_skip_relocation
sha256 "b8afd2390f12c0edf645a7483d4d5865aff9f90fe9764ada5ff5da75672ee978" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/akka.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ class Akka < Formula
license "Apache-2.0"
revision 1

livecheck do
url "https://github.com/akka/akka/releases/latest"
regex(%r{href=.*?/tag/v?(\d+(?:\.\d+)+)["' >]}i)
end

bottle :unneeded

# Recommended to use Akka with a build tool
Expand Down
5 changes: 5 additions & 0 deletions Formula/aldo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ class Aldo < Formula
sha256 "f1b8849d09267fff3c1f5122097d90fec261291f51b1e075f37fad8f1b7d9f92"
license "GPL-3.0"

livecheck do
url "https://download.savannah.gnu.org/releases/aldo/"
regex(/href=.*?aldo[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
cellar :any
rebuild 1
Expand Down
5 changes: 5 additions & 0 deletions Formula/algernon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ class Algernon < Formula
version_scheme 1
head "https://github.com/xyproto/algernon.git"

livecheck do
url "https://github.com/xyproto/algernon/releases/latest"
regex(%r{href=.*?/tag/v?(\d+(?:\.\d+)+)["' >]}i)
end

bottle do
cellar :any_skip_relocation
sha256 "86789f00d6b8d3469c5d3df5087149a72d1673cb7f2b7e31360672a6193e4eb2" => :catalina
Expand Down
9 changes: 9 additions & 0 deletions Formula/algol68g.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ class Algol68g < Formula
sha256 "0f757c64a8342fe38ec501bde68b61d26d051dffd45742ca58b7288a99c7e2d8"
license "GPL-3.0"

# The homepage hasn't been updated for the latest release (2.8.5), even though
# the related archive is available on the site. Until the website is updated
# (and seems like it will continue to be updated for new releases), we're
# checking a third-party source for new releases as an interim solution.
livecheck do
url "https://openports.se/lang/algol68g"
regex(/href=.*?algol68g[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
sha256 "046ba5e9ec0d0856557085fdf1acde227cd829d9955da28046e98c9a5ee84c09" => :catalina
sha256 "7e1acd53615ebc407aaae64eb23af6047dbbd42f967e422b3fcfa0c6d01307b6" => :mojave
Expand Down
5 changes: 5 additions & 0 deletions Formula/allegro.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ class Allegro < Formula
license "Zlib"
head "https://github.com/liballeg/allegro5.git"

livecheck do
url :head
regex(/^v?(\d+(?:\.\d+)+)$/i)
end

bottle do
cellar :any
sha256 "9e71511f6c8faa8449dd06bc30bd74497ee832e3e0ca7f3eb02bcef263ab4b3f" => :catalina
Expand Down
4 changes: 4 additions & 0 deletions Formula/allureofthestars.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ class Allureofthestars < Formula
license "AGPL-3.0"
head "https://github.com/AllureOfTheStars/Allure.git"

livecheck do
url :stable
end

bottle do
rebuild 3
sha256 "cdcc579293d895e65bdfd907c2ab4d66db89e0389f78df9acaf1ea556ea47c63" => :catalina
Expand Down
5 changes: 5 additions & 0 deletions Formula/alluxio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ class Alluxio < Formula
url "https://downloads.alluxio.io/downloads/files/1.8.2/alluxio-1.8.2-bin.tar.gz"
sha256 "e927f80aabf80ac0b47d4491a4320058bcd15f554fccec1375e8f6dcf243ebb4"

livecheck do
url "https://downloads.alluxio.io/downloads/files/"
regex(%r{href=.*?(\d+(?:\.\d+)+)/?["' >]}i)
end

bottle :unneeded

def default_alluxio_conf
Expand Down
5 changes: 5 additions & 0 deletions Formula/alpine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ class Alpine < Formula
license "Apache-2.0"
head "https://repo.or.cz/alpine.git"

livecheck do
url :homepage
regex(/href=.*?alpine[._-]v?(\d+(?:\.\d+)+)\.t/i)
end

bottle do
sha256 "3e775bad34dc730ad9c15e3df30e753842ee542695172362cc648ead05e4d151" => :catalina
sha256 "5492f86a14779b434ebb069bcef8ae551c93dc8835106d6144699e54191de3bd" => :mojave
Expand Down
Loading

0 comments on commit 9591758

Please sign in to comment.