From 7461df9a33f23917489aedb012902465ebd48123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my?= Date: Thu, 10 Nov 2016 03:32:59 +0100 Subject: [PATCH] Add checkver definition to many apps (#1119) * add checkver definitions * add script to list manifests without checkver definition --- ag.json | 3 ++- ant.json | 6 +++++- bfg.json | 6 +++++- bochs.json | 4 ++++ bzip2.json | 3 ++- caddy.json | 4 ++++ casperjs.json | 6 +++++- chromedriver.json | 3 ++- ctags.json | 3 ++- devd.json | 6 +++++- docker-compose.json | 6 +++++- docker-machine.json | 6 +++++- dosbox.json | 3 ++- doxygen.json | 6 +++++- elixir.json | 6 +++++- erlang.json | 4 ++++ flow.json | 6 +++++- forge.json | 6 +++++- ghostscript.json | 6 +++++- git-up.json | 6 +++++- glide.json | 6 +++++- gpg.json | 6 +++++- gradle.json | 6 +++++- grails.json | 6 +++++- graphviz.json | 6 +++++- groovy.json | 8 ++++++-- haskell.json | 6 +++++- haxe.json | 6 +++++- hub.json | 6 +++++- hugo.json | 6 +++++- jq.json | 6 +++++- kotlin.json | 6 +++++- leiningen.json | 6 +++++- lessmsi.json | 6 +++++- llvm.json | 3 ++- lua.json | 8 ++++++-- mariadb.json | 6 +++++- maven.json | 6 +++++- mediainfo.json | 3 ++- minisign.json | 6 +++++- modd.json | 8 ++++++-- mono.json | 6 +++++- mozjpeg.json | 6 +++++- mysql.json | 3 ++- neko.json | 6 +++++- nginx.json | 6 +++++- nikto.json | 3 ++- nim.json | 6 +++++- ninja.json | 6 +++++- nuget.json | 6 +++++- nvm.json | 6 +++++- octave.json | 6 +++++- openjdk.json | 4 ++++ optipng.json | 3 ++- pcregrep.json | 6 +++++- pdftk.json | 3 ++- pester.json | 6 +++++- phantomjs.json | 6 +++++- postgresql.json | 6 +++++- racket.json | 6 +++++- rg.json | 6 +++++- rsync.json | 6 +++++- sbt.json | 6 +++++- scala.json | 6 +++++- scholdoc.json | 5 +++-- scriptcs.json | 6 +++++- syncany-cli.json | 6 +++++- webp.json | 6 +++++- wget.json | 3 ++- xz.json | 3 ++- 70 files changed, 308 insertions(+), 70 deletions(-) diff --git a/ag.json b/ag.json index 2c3c422a65..70d16d832b 100644 --- a/ag.json +++ b/ag.json @@ -4,5 +4,6 @@ "version": "0.29.1", "url": "https://kjkpub.s3.amazonaws.com/software/the_silver_searcher/rel/0.29.1-1641/ag.zip", "hash": "0f2643b925df66a56df82d419262c88c076ba257ab3a57c77291fce7b4479530", - "bin": "ag.exe" + "bin": "ag.exe", + "checkver": "the_silver_searcher-([\\d.]+).tar.gz" } diff --git a/ant.json b/ant.json index 761a74013a..51ed5ca42e 100644 --- a/ant.json +++ b/ant.json @@ -9,5 +9,9 @@ "env_set": { "ANT_HOME": "$dir" }, - "depends": "openjdk" + "depends": "openjdk", + "checkver": { + "url": "https://ant.apache.org/bindownload.cgi", + "re": "Currently, Apache Ant ([\\d.]+) is the best" + } } diff --git a/bfg.json b/bfg.json index ecc999e4c7..7c7d4c2ad3 100644 --- a/bfg.json +++ b/bfg.json @@ -10,5 +10,9 @@ "pre_install": " $exe = 'java -jar $env:BFG_HOME\\bfg-1.12.12.jar $args' write-output $exe | out-file -filepath $dir\\bfg.ps1 - " + ", + "checkver": { + "url": "https://search.maven.org/solrsearch/select/?q=g:\"com.madgag\"+AND+a:\"bfg\"&wt=json&json.wrf=?&indent=true", + "re": "\"latestVersion\":\"([\\d.]+)\"" + } } diff --git a/bochs.json b/bochs.json index 80260dc921..c600ec0805 100644 --- a/bochs.json +++ b/bochs.json @@ -19,5 +19,9 @@ "bochsdbg-p4-smp.exe" ] } + }, + "checkver": { + "url": "http://bochs.sourceforge.net/getcurrent.html", + "re": "Latest release:<\\/b> Bochs ([\\d.]+)" } } diff --git a/bzip2.json b/bzip2.json index 394ac2f71e..3f21187328 100644 --- a/bzip2.json +++ b/bzip2.json @@ -8,5 +8,6 @@ "bin\\bzcat.exe", "bin\\bzip2.exe", "bin\\bzip2recover.exe" - ] + ], + "checkver": "Version<\\/A><\\/h2>\\s+

([\\d.]+)" } diff --git a/caddy.json b/caddy.json index ed3f549a3f..dcf996a2f1 100644 --- a/caddy.json +++ b/caddy.json @@ -17,5 +17,9 @@ ["caddy_windows_386.exe", "caddy"] ] } + }, + "checkver": { + "url": "https://github.com/mholt/caddy/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" } } diff --git a/casperjs.json b/casperjs.json index f0fd3ba46b..e5eb31e669 100644 --- a/casperjs.json +++ b/casperjs.json @@ -8,5 +8,9 @@ "bin": "bin\\casperjs.exe", "notes": "Requires an installation of phantomjs 1.x - phantom19 is available in the versions bucket (scoop bucket add versions)" + phantom19 is available in the versions bucket (scoop bucket add versions)", + "checkver": { + "url": "https://github.com/n1k0/casperjs/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/chromedriver.json b/chromedriver.json index 49d458cb22..7c6470970f 100644 --- a/chromedriver.json +++ b/chromedriver.json @@ -3,5 +3,6 @@ "homepage": "https://sites.google.com/a/chromium.org/chromedriver/", "url": "https://chromedriver.storage.googleapis.com/2.25/chromedriver_win32.zip", "hash": "53e52b247bbed98c67f0057088b482b3aa03fe0f84d7f2bb71ea7527f3988a7c", - "bin": "chromedriver.exe" + "bin": "chromedriver.exe", + "checkver": "Latest Release: ChromeDriver ([\\d.]+)" } diff --git a/ctags.json b/ctags.json index 70276a03ff..c626aff425 100644 --- a/ctags.json +++ b/ctags.json @@ -5,5 +5,6 @@ "extract_dir": "ctags58", "bin": "ctags.exe", "hash": "e1f5909ec0c7a58fd2149139fa6a1dc532070a3d919dd183671c57a32f8b243d", - "license": "GPL2" + "license": "GPL2", + "checkver": "Version ([\\d.]+)" } diff --git a/devd.json b/devd.json index bfd822cea1..1f35197875 100644 --- a/devd.json +++ b/devd.json @@ -5,5 +5,9 @@ "homepage": "http://corte.si/posts/devd/intro/index.html", "hash": "c8d2e728ecdb6b5c863a37527f1517b29c25aca4f5286be9bade2f81ee784e8c", "extract_dir": "devd-0.5-windows64", - "bin": "devd.exe" + "bin": "devd.exe", + "checkver": { + "url": "https://github.com/cortesi/devd/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/docker-compose.json b/docker-compose.json index 8e67b034b3..03dd12bb5c 100644 --- a/docker-compose.json +++ b/docker-compose.json @@ -11,5 +11,9 @@ "pre_install": "Rename-Item @(Get-ChildItem $dir\\docker-compose-*.exe)[0] $dir\\docker-compose.exe", "bin": [ ["docker-compose.exe", "docker-compose"] - ] + ], + "checkver": { + "url": "https://github.com/docker/compose/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/docker-machine.json b/docker-machine.json index ef2ecf0d44..6047fd600a 100644 --- a/docker-machine.json +++ b/docker-machine.json @@ -15,5 +15,9 @@ "pre_install": "Rename-Item @(Get-ChildItem $dir\\docker-machine-*.exe)[0] $dir\\docker-machine.exe", "bin": [ ["docker-machine.exe", "docker-machine"] - ] + ], + "checkver": { + "url": "https://github.com/docker/machine/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/dosbox.json b/dosbox.json index a2d4d20fe4..c2a19a12ae 100644 --- a/dosbox.json +++ b/dosbox.json @@ -14,5 +14,6 @@ "DOSBox.exe", "SDL.dll", "SDL_net.dll" - ] + ], + "checkver": "Latest version:\\s+]+>([\\d.]+)" } diff --git a/doxygen.json b/doxygen.json index 5c49f21d70..505c725f03 100644 --- a/doxygen.json +++ b/doxygen.json @@ -16,5 +16,9 @@ "doxygen.exe", "doxyindexer.exe", "doxysearch.cgi.exe" - ] + ], + "checkver": { + "url": "http://www.doxygen.nl/download.html", + "re": "The latest version of doxygen is ([\\d.]+)" + } } diff --git a/elixir.json b/elixir.json index 834d3179b2..e853d39d21 100644 --- a/elixir.json +++ b/elixir.json @@ -9,5 +9,9 @@ "bin\\elixirc.bat", "bin\\iex.bat", "bin\\mix.bat" - ] + ], + "checkver": { + "url": "https://github.com/elixir-lang/elixir/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/erlang.json b/erlang.json index 4120214092..2ab1f97c0a 100644 --- a/erlang.json +++ b/erlang.json @@ -26,5 +26,9 @@ "uninstaller": { "file" : "Uninstall.exe", "args" : ["/S"] + }, + "checkver": { + "url": "http://www.erlang.org/downloads", + "re": "DOWNLOAD\\s+OTP ([\\d.]+)" } } diff --git a/flow.json b/flow.json index ebf3727b3e..401f825e9e 100644 --- a/flow.json +++ b/flow.json @@ -5,5 +5,9 @@ "homepage": "https://flowtype.org/", "hash": "5bcd5cab59c8c4406273a59df187473e9fd56e0e6a3a8b3de76a48b34412caac", "bin": "flow.exe", - "extract_dir": "flow" + "extract_dir": "flow", + "checkver": { + "url": "https://github.com/facebook/flow/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/forge.json b/forge.json index c2afc230ef..97aac3b220 100644 --- a/forge.json +++ b/forge.json @@ -5,5 +5,9 @@ "hash": "791abc45980ef648d3e064d74417a09b93d93fbff32790d6ee7cf0c9f2167481", "bin": [ "bin\\forge.exe" - ] + ], + "checkver": { + "url": "https://github.com/fsharp-editing/Forge/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/ghostscript.json b/ghostscript.json index 38a70f8554..f4a94801c3 100644 --- a/ghostscript.json +++ b/ghostscript.json @@ -14,5 +14,9 @@ "bin": [ "bin\\gswin32.exe", "bin\\gswin32c.exe" ] } }, - "env_add_path": [ "bin", "lib" ] + "env_add_path": [ "bin", "lib" ], + "checkver": { + "url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/latest", + "re": "Ghostscript\\/GhostPDL ([\\d.]+)" + } } diff --git a/git-up.json b/git-up.json index 20818297c6..cba51c52a2 100644 --- a/git-up.json +++ b/git-up.json @@ -14,5 +14,9 @@ } finally { popd - }" + }", + "checkver": { + "url": "https://github.com/msiemens/PyGitUp/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/glide.json b/glide.json index 5bc09af895..ee2c208959 100644 --- a/glide.json +++ b/glide.json @@ -14,5 +14,9 @@ "extract_dir": "windows-386" } }, - "bin": "glide.exe" + "bin": "glide.exe", + "checkver": { + "url": "https://github.com/Masterminds/glide/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/gpg.json b/gpg.json index 0f26eaceb9..e79d77201b 100644 --- a/gpg.json +++ b/gpg.json @@ -7,5 +7,9 @@ "bin": [ ["gpg2.exe", "gpg", ""], "gpg2.exe" - ] + ], + "checkver": { + "url": "https://www.gpg4win.org/get-gpg4win.html", + "re": "Download Gpg4win ([\\d.]+)" + } } diff --git a/gradle.json b/gradle.json index 5cab84c6eb..3a42556946 100644 --- a/gradle.json +++ b/gradle.json @@ -6,5 +6,9 @@ "url": "https://services.gradle.org/distributions/gradle-2.14-bin.zip", "extract_dir": "gradle-2.14", "bin": "bin\\gradle.bat", - "depends": "openjdk" + "depends": "openjdk", + "checkver": { + "url": "https://gradle.org/gradle-download/", + "re": "Download Gradle ([\\d.]+)" + } } diff --git a/grails.json b/grails.json index 577aad598b..0203fc227c 100644 --- a/grails.json +++ b/grails.json @@ -11,5 +11,9 @@ "set_env": { "GRAILS_HOME": "$dir" }, - "depends": "openjdk" + "depends": "openjdk", + "checkver": { + "url": "https://github.com/grails/grails-core/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/graphviz.json b/graphviz.json index 20a3e67930..0628345b3b 100644 --- a/graphviz.json +++ b/graphviz.json @@ -43,5 +43,9 @@ "bin/tred.exe", "bin/twopi.exe", "bin/unflatten.exe" - ] + ], + "checkver": { + "url": "http://www.graphviz.org/Download_windows.php", + "re": "graphviz-([\\d.]+).msi" + } } diff --git a/groovy.json b/groovy.json index 248dbbee78..42a820af06 100644 --- a/groovy.json +++ b/groovy.json @@ -1,5 +1,5 @@ { - "homepage": "http://groovy.codehaus.org/", + "homepage": "http://www.groovy-lang.org/", "version": "2.4.6", "license": "Apache 2.0", "url": "https://dl.bintray.com/groovy/maven/apache-groovy-binary-2.4.6.zip", @@ -18,5 +18,9 @@ "set_env": { "GROOVY_HOME": "$dir" }, - "depends": "openjdk" + "depends": "openjdk", + "checkver": { + "url": "http://www.groovy-lang.org/download.html", + "re": "([\\d.]+) distributions" + } } diff --git a/haskell.json b/haskell.json index f004ea8e9c..c21e713a5c 100644 --- a/haskell.json +++ b/haskell.json @@ -22,5 +22,9 @@ "bin\\runghc.exe", "bin\\runhaskell.exe", "lib\\extralibs\\bin\\cabal.exe" - ] + ], + "checkver": { + "url": "https://www.haskell.org/platform/windows.html", + "re": "The latest version of the Haskell Platform for Windows is\\s+([\\d.]+)<\\/strong>" + } } diff --git a/haxe.json b/haxe.json index d7568e5ef2..e0bda3c970 100644 --- a/haxe.json +++ b/haxe.json @@ -12,5 +12,9 @@ "env_set": { "HAXEPATH": "$dir" }, - "depends": "neko" + "depends": "neko", + "checkver": { + "url": "http://haxe.org/download/list/", + "re": "The current stable version is ]+>([\\d.\\-rc]+)" + } } diff --git a/hub.json b/hub.json index 7c5e0c81e5..a46fb2a58b 100644 --- a/hub.json +++ b/hub.json @@ -14,5 +14,9 @@ }, "bin": [ "bin\\hub.exe" - ] + ], + "checkver": { + "url": "https://github.com/github/hub/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/hugo.json b/hugo.json index 64e9921d91..9c104f46b1 100644 --- a/hugo.json +++ b/hugo.json @@ -14,5 +14,9 @@ "homepage": "http://gohugo.io", "bin": [ ["hugo.exe", "hugo"] - ] + ], + "checkver": { + "url": "https://github.com/spf13/hugo/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/jq.json b/jq.json index e140479a4a..d12d0fad12 100644 --- a/jq.json +++ b/jq.json @@ -11,5 +11,9 @@ }, "homepage": "http://stedolan.github.io/jq/", "pre_install": "Rename-Item @(Get-ChildItem $dir\\jq-*.exe)[0] $dir\\jq.exe", - "bin": "jq.exe" + "bin": "jq.exe", + "checkver": { + "url": "https://github.com/stedolan/jq/releases/latest", + "re": "\/releases\/tag\/jq-([\\d.]+)" + } } diff --git a/kotlin.json b/kotlin.json index 1fbbf41631..ecd447a1ef 100644 --- a/kotlin.json +++ b/kotlin.json @@ -14,5 +14,9 @@ "set_env": { "KOTLIN_HOME": "$dir" }, - "depends": "openjdk" + "depends": "openjdk", + "checkver": { + "url": "https://github.com/JetBrains/kotlin/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/leiningen.json b/leiningen.json index c8aab8e77c..aebfa7582c 100644 --- a/leiningen.json +++ b/leiningen.json @@ -5,6 +5,10 @@ "homepage": "https://github.com/technomancy/leiningen", "bin": "lein.bat", "hash": "b1316ef41482e0fa10d2487fb5b0d9442db37b7035ed1640cdcb32b5edaf41b6", - "notes": "The command 'lein self-install' is required to complete the installation" + "notes": "The command 'lein self-install' is required to complete the installation", + "checkver": { + "url": "https://github.com/technomancy/leiningen/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/lessmsi.json b/lessmsi.json index 7bbbcabe3b..ae155280a4 100644 --- a/lessmsi.json +++ b/lessmsi.json @@ -4,5 +4,9 @@ "license": "https://github.com/activescott/lessmsi/raw/master/LICENSE", "hash": "ea16da35477aff1ab63d71e0f1c08ca697cad6f7211ccdf7fb8fa2c7206a1ffa", "url": "https://github.com/activescott/lessmsi/releases/download/v1.4/lessmsi-v1.4.zip", - "bin": "lessmsi.exe" + "bin": "lessmsi.exe", + "checkver": { + "url": "https://github.com/activescott/lessmsi/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/llvm.json b/llvm.json index 4910920336..602488bf0b 100644 --- a/llvm.json +++ b/llvm.json @@ -14,5 +14,6 @@ }, "installer": {"args": "/S /D=$dir"}, "uninstaller": {"file": "Uninstall.exe", "args": "/S"}, - "env_add_path": "bin" + "env_add_path": "bin", + "checkver": "\\/releases\\/download.html#([\\d.]+)" } diff --git a/lua.json b/lua.json index 4810d4b3b5..bc506c90e2 100644 --- a/lua.json +++ b/lua.json @@ -1,9 +1,13 @@ { - "version": "v5.1.5-51", + "version": "5.1.5-51", "url": "https://github.com/rjpcomputing/luaforwindows/releases/download/v5.1.5-51/LuaForWindows_v5.1.5-51.exe", "homepage": "https://github.com/rjpcomputing/luaforwindows", "hash": "f56df460eb9717702297a29373334fe9b01bedc5cd24d1380bc29c352ade090b", "innosetup": true, "bin": ["lua.exe", "luac.exe"], - "depends": ["innounp"] + "depends": ["innounp"], + "checkver": { + "url": "https://github.com/rjpcomputing/luaforwindows/releases/latest", + "re": "\/releases\/tag\/v([\\d.\\-]+)" + } } diff --git a/mariadb.json b/mariadb.json index 444ce0064f..b23f4e45e4 100644 --- a/mariadb.json +++ b/mariadb.json @@ -46,5 +46,9 @@ "bin\\mysql_upgrade_service.exe", "bin\\mysql_upgrade_wizard.exe", "bin\\my_print_defaults.exe" - ] + ], + "checkver": { + "url": "https://downloads.mariadb.org/", + "re": "Download ([\\d.]+) Stable" + } } diff --git a/maven.json b/maven.json index 97593d764c..69bbcb67a3 100644 --- a/maven.json +++ b/maven.json @@ -11,5 +11,9 @@ "env_set": { "M2_HOME": "$dir" }, - "notes": "Maven requires a JDK such as OpenJDK 7 (scoop install openjdk) or Oracle's Java 8 (scoop install oraclejdk). The Oracle JDK requires the Scoop Extras bucket (scoop butcket add extras)." + "notes": "Maven requires a JDK such as OpenJDK 7 (scoop install openjdk) or Oracle's Java 8 (scoop install oraclejdk). The Oracle JDK requires the Scoop Extras bucket (scoop butcket add extras).", + "checkver": { + "url": "https://maven.apache.org/download.cgi", + "re": "Apache Maven ([\\d.]+) is the latest release" + } } diff --git a/mediainfo.json b/mediainfo.json index e114b7c14a..d5714687a7 100644 --- a/mediainfo.json +++ b/mediainfo.json @@ -13,5 +13,6 @@ } }, "extract_dir": "", - "bin": "mediainfo.exe" + "bin": "mediainfo.exe", + "checkver": "version ([\\d.]+)" } diff --git a/minisign.json b/minisign.json index 71a9977900..b5dd52bba9 100644 --- a/minisign.json +++ b/minisign.json @@ -5,5 +5,9 @@ "url": "https://github.com/jedisct1/minisign/releases/download/0.7/minisign-win32.zip", "hash": "2a1cc74a608b24a3475b78b8943125e799c270cc8d0b940cceaec34e8f5e0e33", "extract_dir": "minisign-win32", - "bin": "minisign.exe" + "bin": "minisign.exe", + "checkver": { + "url": "https://github.com/jedisct1/minisign/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/modd.json b/modd.json index a6b5f92d56..8999b95fe7 100644 --- a/modd.json +++ b/modd.json @@ -1,9 +1,13 @@ { - "version": "v0.3", + "version": "0.3", "license": "https://github.com/cortesi/modd/blob/master/LICENSE", "url": "https://github.com/cortesi/modd/releases/download/v0.3/modd-0.3-windows64.zip", "homepage": "https://corte.si/posts/modd/announce/index.html", "hash": "91be7051e8fd7893192688ff4cc3daec887dc05fc6fa0a6565dd5b5bce374e44", "extract_dir": "modd-0.3-windows64", - "bin": "modd.exe" + "bin": "modd.exe", + "checkver": { + "url": "https://github.com/cortesi/modd/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/mono.json b/mono.json index 191e804eea..9e95370d13 100644 --- a/mono.json +++ b/mono.json @@ -96,5 +96,9 @@ "bin\\xsp.bat", "bin\\xsp2.bat", "bin\\xsp4.bat" - ] + ], + "checkver": { + "url": "http://www.mono-project.com/download/", + "re": "The latest Mono release is:\\s+[^\\(]+\\(([\\d.]+)\\)" + } } diff --git a/mozjpeg.json b/mozjpeg.json index df6bc31efb..0839a2c09a 100644 --- a/mozjpeg.json +++ b/mozjpeg.json @@ -9,5 +9,9 @@ ["cjpeg.exe", "mozjpeg"], "djpeg.exe", "jpegtran.exe" - ] + ], + "checkver": { + "url": "https://mozjpeg.codelove.de/binaries.html", + "re": "version ([\\d.]+)" + } } diff --git a/mysql.json b/mysql.json index bb9b543e94..9c805b5e31 100644 --- a/mysql.json +++ b/mysql.json @@ -37,5 +37,6 @@ cp $dir/my-default.ini $dir/my.ini echo \"\" | out-file \"$dir/my.ini\" -Encoding UTF8 -Append echo \"[client]\" | out-file \"$dir/my.ini\" -Encoding UTF8 -Append echo \"user=root\" | out-file \"$dir/my.ini\" -Encoding UTF8 -Append -" +", + "checkver": "

MySQL Community Server ([\\d.]+)" } diff --git a/neko.json b/neko.json index ffddcbe6f2..5bccc3862d 100644 --- a/neko.json +++ b/neko.json @@ -5,5 +5,9 @@ "url": "http://nekovm.org/_media/neko-2.0.0-win.zip", "hash": "66d3a332b670e5890a451c85eb104db4049aa1ea80fc838be493dd13f4869212", "extract_dir": "neko-2.0.0-win", - "env_add_path": "./" + "env_add_path": "./", + "checkver": { + "url": "http://nekovm.org/download", + "re": "Neko ([\\d.]+)" + } } diff --git a/nginx.json b/nginx.json index 8bbb9e578c..cfa71e2392 100644 --- a/nginx.json +++ b/nginx.json @@ -5,5 +5,9 @@ "url": "http://nginx.org/download/nginx-1.11.1.zip", "hash": "b0020735f7e37dbe81619040af72932444a3577d8c64b89c68a1d65ac33f8f44", "extract_dir": "nginx-1.11.1", - "bin": "nginx.exe" + "bin": "nginx.exe", + "checkver": { + "url": "https://nginx.org/en/CHANGES", + "re": "Changes with nginx ([\\d.]+)" + } } diff --git a/nikto.json b/nikto.json index 74bba10611..a47dea54a3 100644 --- a/nikto.json +++ b/nikto.json @@ -5,5 +5,6 @@ "url": "http://projects.giacomodrago.com/nikto-win/nikto-2.1.5-win.7z", "hash": "c70506872670e7c0cb1b497d732a58e19f9e0934e8b32bf212334aed00fca173", "extract_dir": "nikto-2.1.5", - "bin": "nikto.bat" + "bin": "nikto.bat", + "checkver": "Nikto ([\\d.]+)" } diff --git a/nim.json b/nim.json index 4bb833cc9b..51d5059c05 100644 --- a/nim.json +++ b/nim.json @@ -18,5 +18,9 @@ # Copy Nimble package Copy-Item -Recurse $dir\\dist\\nimble\\src\\nimblepkg $dir\\bin ", - "env_add_path": "bin" + "env_add_path": "bin", + "checkver": { + "url": "http://nim-lang.org/download.html", + "re": "nim-([\\d.]+)_x64" + } } diff --git a/ninja.json b/ninja.json index 357cc03804..9f69e92720 100644 --- a/ninja.json +++ b/ninja.json @@ -6,5 +6,9 @@ "hash": "4221b2cef768de64799077ba83ca9ca28e197415a34257ed8d54f93e899afc4e", "bin": [ "ninja.exe" - ] + ], + "checkver": { + "url": "https://github.com/ninja-build/ninja/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/nuget.json b/nuget.json index 879d8715ab..5850c30177 100644 --- a/nuget.json +++ b/nuget.json @@ -4,5 +4,9 @@ "license": "Apache 2.0", "url": "https://dist.nuget.org/win-x86-commandline/v3.4.4/NuGet.exe", "hash": "c12d583dd1b5447ac905a334262e02718f641fca3877d0b6117fe44674072a27", - "bin": "NuGet.exe" + "bin": "NuGet.exe", + "checkver": { + "url": "https://dist.nuget.org/index.json", + "re": "recommended latest\", \"version\": \"([\\d.]+)\"" + } } diff --git a/nvm.json b/nvm.json index 35cdb17252..67ea5a26ac 100644 --- a/nvm.json +++ b/nvm.json @@ -17,5 +17,9 @@ "post_install": "\"root: $dir `r`narch: 32 `r`nproxy: none `r`noriginalpath: `r`noriginalversion: `r`n\" | Out-File -encoding \"ASCII\" $dir\\settings.txt" } }, - "notes":"You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly" + "notes":"You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly", + "checkver": { + "url": "https://github.com/coreybutler/nvm-windows/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/octave.json b/octave.json index 63dab049dd..ee11852c39 100644 --- a/octave.json +++ b/octave.json @@ -10,5 +10,9 @@ "bin\\octave-gui.exe", "bin\\octave-cli.exe", "bin\\octave-config.exe" - ] + ], + "checkver": { + "url": "https://www.gnu.org/software/octave/download.html", + "re": "GNU Octave ([\\d.]+)" + } } diff --git a/openjdk.json b/openjdk.json index c4800c86dc..ff361db075 100644 --- a/openjdk.json +++ b/openjdk.json @@ -12,5 +12,9 @@ "env_add_path": "bin", "env_set": { "JAVA_HOME": "$dir" + }, + "checkver": { + "url": "https://github.com/ojdkbuild/ojdkbuild/releases/latest", + "re": "\/releases\/tag\/([\\d.\\-]+)" } } diff --git a/optipng.json b/optipng.json index adfd2ccde6..1b100a41c0 100644 --- a/optipng.json +++ b/optipng.json @@ -5,5 +5,6 @@ "url": "https://sourceforge.net/projects/optipng/files/OptiPNG/optipng-0.7.6/optipng-0.7.6-win32.zip", "hash": "0012ec30ee5292e1fd19e0f8c45de4cc291fb5872c5bc83355c17e0b6ce662f7", "extract_dir": "optipng-0.7.6-win32", - "bin": "optipng.exe" + "bin": "optipng.exe", + "checkver": "([\\d.]+)<\\/b><\\/font> \\(stable\\)" } diff --git a/pcregrep.json b/pcregrep.json index be80a04f85..a3fe2c3848 100644 --- a/pcregrep.json +++ b/pcregrep.json @@ -17,5 +17,9 @@ ,"pcre2test.exe" ,[ "pcre2grep.exe", "pcregrep" ] ,[ "pcre2test.exe", "pcretest" ] - ] + ], + "checkver": { + "url": "https://github.com/rivy/PCRE/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/pdftk.json b/pdftk.json index c03672bca6..66c6ca5e83 100644 --- a/pdftk.json +++ b/pdftk.json @@ -5,5 +5,6 @@ "url": "https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk_server-2.02-win-setup.exe", "hash": "cc8f6a43fc91026bb739ad0ad9a124c24750d6127662fb3638ec1d44403aabd2", "innosetup": true, - "bin": "bin\\pdftk.exe" + "bin": "bin\\pdftk.exe", + "checkver": "pdftk_server-([\\d.]+)-win-setup.exe" } diff --git a/pester.json b/pester.json index fce1b7bf96..c8c37c51cd 100644 --- a/pester.json +++ b/pester.json @@ -28,5 +28,9 @@ 'importing pester for current session...' iex \"$import\" - " + ", + "checkver": { + "url": "https://github.com/pester/pester/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/phantomjs.json b/phantomjs.json index 9e1a145468..557f5d3164 100644 --- a/phantomjs.json +++ b/phantomjs.json @@ -5,5 +5,9 @@ "hash": "d9fb05623d6b26d3654d008eab3adafd1f6350433dfd16138c46161f42c7dcc8", "url": "https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip", "extract_dir": "phantomjs-2.1.1-windows", - "bin": "bin\\phantomjs.exe" + "bin": "bin\\phantomjs.exe", + "checkver": { + "url": "http://phantomjs.org/download.html", + "re": "phantomjs-([\\d.]+)-windows.zip" + } } diff --git a/postgresql.json b/postgresql.json index d83d81043d..fa2cf8948c 100644 --- a/postgresql.json +++ b/postgresql.json @@ -54,5 +54,9 @@ "bin\\vacuumdb.exe", "bin\\vacuumlo.exe", "bin\\zic.exe" - ] + ], + "checkver": { + "url": "http://www.enterprisedb.com/products-services-training/pgbindownload", + "re": "Version ([\\d.]+)" + } } diff --git a/racket.json b/racket.json index e5547ec143..7cf8ea2765 100644 --- a/racket.json +++ b/racket.json @@ -19,5 +19,9 @@ "shortcuts": [ [ "GRacket.exe", "GRacket" ], [ "DrRacket.exe", "DrRacket" ] - ] + ], + "checkver": { + "url": "https://download.racket-lang.org/", + "re": "Version ([\\d.]+)" + } } diff --git a/rg.json b/rg.json index ba2e45119d..8b1c4315e5 100644 --- a/rg.json +++ b/rg.json @@ -12,5 +12,9 @@ "hash": "cb76a0be9ded0225be46d9cbeb604f37b70073adb0c9058d91ca55b62c9c528b" } }, - "bin": "rg.exe" + "bin": "rg.exe", + "checkver": { + "url": "https://github.com/BurntSushi/ripgrep/releases/latest", + "re": "\/releases\/tag\/([\\d.]+)" + } } diff --git a/rsync.json b/rsync.json index 0f35aa373d..8eb28e41d6 100644 --- a/rsync.json +++ b/rsync.json @@ -5,5 +5,9 @@ "url": "https://www.itefix.net/dl/cwRsync_5.4.1_x86_Free.zip", "hash": "a200c7f269311cdaf68610a15d0e4891b80a6e21e8e981ac7afad44df79596f6", "extract_dir": "cwRsync_5.4.1_x86_Free", - "bin": "rsync.exe" + "bin": "rsync.exe", + "checkver": { + "url": "https://www.itefix.net/content/cwrsync-free-edition", + "re": "cwRsync_([\\d.]+)_x86" + } } diff --git a/sbt.json b/sbt.json index a914366209..e18d94b2bf 100644 --- a/sbt.json +++ b/sbt.json @@ -7,5 +7,9 @@ "extract_dir": "sbt", "bin": [ "bin\\sbt.bat" - ] + ], + "checkver": { + "url": "http://www.scala-sbt.org/download.html", + "re": "\\/sbt/([\\d.]+)\\/" + } } diff --git a/scala.json b/scala.json index 669c5f5783..f1f5e4da40 100644 --- a/scala.json +++ b/scala.json @@ -15,5 +15,9 @@ "set_env": { "SCALA_HOME": "$dir" }, - "depends": "openjdk" + "depends": "openjdk", + "checkver": { + "url": "http://www.scala-lang.org/download/", + "re": "Download Scala ([\\d.]+)" + } } diff --git a/scholdoc.json b/scholdoc.json index 95488fb506..6790f91eb7 100644 --- a/scholdoc.json +++ b/scholdoc.json @@ -4,7 +4,8 @@ "extract_dir": "Scholdoc", "url": "http://scholarlymarkdown.com/scholdoc-distribution/windows/scholdoc-0.1.3-alpha-windows.msi", "depends": "", - "homepage": "https://github.com/timtylin/scholdoc", + "homepage": "http://scholdoc.scholarlymarkdown.com/", "hash": "e58036686c3c05db4a50d5fabd875eaa33aff2b0dd4d930c6bc2067c2bcd2b86", - "bin": "scholdoc.exe" + "bin": "scholdoc.exe", + "checkver": "Current stable version:<\\/strong> ([\\d.]+)" } diff --git a/scriptcs.json b/scriptcs.json index 57b66c7dd1..80831cff03 100644 --- a/scriptcs.json +++ b/scriptcs.json @@ -5,5 +5,9 @@ "url": "http://chocolatey.org/api/v2/package/ScriptCs/0.13.2?fn=/dl.zip", "hash": "b0e24268e5e5258cd2f26bacfccb75427884cb00435358b724fbf15d5fb38083", "extract_dir": "tools", - "bin": "scriptcs.exe" + "bin": "scriptcs.exe", + "checkver": { + "url": "https://github.com/scriptcs/scriptcs/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/syncany-cli.json b/syncany-cli.json index ac99da1b85..e3acdf5f4f 100644 --- a/syncany-cli.json +++ b/syncany-cli.json @@ -8,5 +8,9 @@ "bin": [ "bin\\sy.bat", "bin\\syncany.bat" - ] + ], + "checkver": { + "url": "https://github.com/syncany/syncany/releases/latest", + "re": "\/releases\/tag\/v([\\d.]+)" + } } diff --git a/webp.json b/webp.json index fd216e7859..61e91ebd59 100644 --- a/webp.json +++ b/webp.json @@ -11,5 +11,9 @@ "libwebp-0.5.1-windows-x64\\bin\\gif2webp.exe", "libwebp-0.5.1-windows-x64\\bin\\vwebp.exe", "libwebp-0.5.1-windows-x64\\bin\\webpmux.exe" - ] + ], + "checkver": { + "url": "https://developers.google.com/speed/webp/download", + "re": "\\/libwebp-([\\d].+)-windows-x86.zip" + } } diff --git a/wget.json b/wget.json index b4d01aa936..e982ad97c1 100644 --- a/wget.json +++ b/wget.json @@ -25,5 +25,6 @@ } }, "bin": "wget.exe", - "post_install": "\"ca_certificate=$dir\\cacert.pem\" | out-file $dir\\wget.ini -encoding default" + "post_install": "\"ca_certificate=$dir\\cacert.pem\" | out-file $dir\\wget.ini -encoding default", + "checkver": "GNU Wget ([\\d.]+) for Windows" } diff --git a/xz.json b/xz.json index 89e2f80243..6c6e2fc59a 100644 --- a/xz.json +++ b/xz.json @@ -21,5 +21,6 @@ "bin_i686\\xzdec.exe" ] } - } + }, + "checkver": "<h3>Stable<\\/h3>\\s+<p>\\s+([\\d.]+) was released" }