mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
5f126897e5
* dev-env: pin msys2/mingw Today the postgresql 12.4 artifacts were purged from the msys2 primary mirrors. I was able to find a copy on some old mirrors (I downloaded from [mirrors.piconets.webwerks.in], [mirrors.aliyun.com], and [mirror.iscas.ac.cn]), but that raised the question of where to put the binary so our CI nodes can access it. I decided to put it on one of our GCS buckets, and while I was there I did the whole msys2 set of packages. Does this manually may not be the best path forward for a long-term solution (though maybe it is; they tend not to change all that often), but it does unblock us right now. For the postgresql binary specifically, I have checked that the three mirrors give me the exact same file between them, and that it matches the old hash. For the other files, I downloaded them from the primary mirror ([repo.msys2.org]) and checked that the hashes match the recorded values in our JSON manifest. CHANGELOG_BEGIN CHANGELOG_END [mirrors.piconets.webwerks.in]: https://mirrors.piconets.webwerks.in/msys2-mirror/mingw/x86_64/mingw-w64-x86_64-postgresql-12.4-1-any.pkg.tar.zst [mirrors.aliyun.com]: https://mirrors.aliyun.com/msys2/mingw/x86_64/mingw-w64-x86_64-postgresql-12.4-1-any.pkg.tar.zst?spm=a2c6h.25603864.0.0.32b23240Qp8jCL [mirror.iscas.ac.cn]: https://mirror.iscas.ac.cn/msys2/mingw/x86_64/mingw-w64-x86_64-postgresql-12.4-1-any.pkg.tar.zst [repo.msys2.org]: https://repo.msys2.org/mingw/x86_64/
131 lines
9.0 KiB
JSON
131 lines
9.0 KiB
JSON
{
|
|
"homepage": "http://msys2.github.io",
|
|
"version": "20220118",
|
|
"_url": [
|
|
"https://github.com/msys2/msys2-installer/releases/download/2022-01-28/msys2-base-x86_64-20220128.tar.xz",
|
|
"https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-jq-1.6-4-any.pkg.tar.zst#/jq.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/gnu-netcat-0.7.1-1-x86_64.pkg.tar.xz#/netcat.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/patch-2.7.6-1-x86_64.pkg.tar.xz#/patch.msys2",
|
|
"https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-openssl-1.1.1.j-1-any.pkg.tar.zst#/openssl.msys2",
|
|
"https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-python-3.8.8-2-any.pkg.tar.zst#/python.msys2",
|
|
"https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-postgresql-12.4-1-any.pkg.tar.zst#/pgsql.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/perl-5.32.1-2-x86_64.pkg.tar.zst#/perl.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/autoconf2.71-2.71-1-any.pkg.tar.zst#/autoconf.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/autoconf-wrapper-15-1-any.pkg.tar.zst#/autoconf-wrapper.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/automake1.16-1.16.3-3-any.pkg.tar.zst#/automake.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/automake-wrapper-11-4-any.pkg.tar.zst#/automake-wrapper.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/diffutils-3.8-2-x86_64.pkg.tar.zst#/diffutils.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/git-2.35.1-1-x86_64.pkg.tar.zst#/git.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/make-4.3-3-x86_64.pkg.tar.zst#/make.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/ncurses-6.2-2-x86_64.pkg.tar.zst#/ncurses.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/ncurses-devel-6.2-2-x86_64.pkg.tar.zst#/ncurses-devel.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/gzip-1.11-1-x86_64.pkg.tar.zst#/gzip.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/tar-1.34-2-x86_64.pkg.tar.zst#/tar.msys2",
|
|
"https://repo.msys2.org/msys/x86_64/xz-5.2.5-1-x86_64.pkg.tar.xz#/xz.msys2"
|
|
],
|
|
"url": [
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/msys2-base-x86_64-20220128.tar.xz",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/mingw-w64-x86_64-jq-1.6-4-any.pkg.tar.zst#/jq.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/gnu-netcat-0.7.1-1-x86_64.pkg.tar.xz#/netcat.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/patch-2.7.6-1-x86_64.pkg.tar.xz#/patch.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/mingw-w64-x86_64-openssl-1.1.1.j-1-any.pkg.tar.zst#/openssl.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/mingw-w64-x86_64-python-3.8.8-2-any.pkg.tar.zst#/python.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/mingw-w64-x86_64-postgresql-12.4-1-any.pkg.tar.zst#/pgsql.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/perl-5.32.1-2-x86_64.pkg.tar.zst#/perl.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/autoconf2.71-2.71-1-any.pkg.tar.zst#/autoconf.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/autoconf-wrapper-15-1-any.pkg.tar.zst#/autoconf-wrapper.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/automake1.16-1.16.3-3-any.pkg.tar.zst#/automake.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/automake-wrapper-11-4-any.pkg.tar.zst#/automake-wrapper.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/diffutils-3.8-2-x86_64.pkg.tar.zst#/diffutils.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/git-2.35.1-1-x86_64.pkg.tar.zst#/git.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/make-4.3-3-x86_64.pkg.tar.zst#/make.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/ncurses-6.2-2-x86_64.pkg.tar.zst#/ncurses.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/ncurses-devel-6.2-2-x86_64.pkg.tar.zst#/ncurses-devel.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/gzip-1.11-1-x86_64.pkg.tar.zst#/gzip.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/tar-1.34-2-x86_64.pkg.tar.zst#/tar.msys2",
|
|
"https://storage.googleapis.com/daml-binaries/dev-env/windows/20221021/xz-5.2.5-1-x86_64.pkg.tar.xz#/xz.msys2"
|
|
],
|
|
"hash": [
|
|
"b667a7ec3840c0437c718d6851c93794bd8a6837ba642fd90702e8769febad6a",
|
|
"c9903f4bf07402dbecf250d531e6d07748c62560d8d67de487ae56692c14aab0",
|
|
"32fa739d26fd49a3f8c22717ae338472d71d4798844cbc0db5e7780131fe69aa",
|
|
"5c18ce8979e9019d24abd2aee7ddcdf8824e31c4c7e162a204d4dc39b3b73776",
|
|
"cc4e172354f7e4465b3348aa988bc79f992d64f587feffaaa81fcbd4b7d552cb",
|
|
"d5e6b484435225a0f9bdc3e09cac76a479d05bd07b4064badf7bb453d02cb69d",
|
|
"13712ce2b639117b93dfce61481ab9895e8877d762410b96432d68852dd5f727",
|
|
"f2b3815eb11fd349fe862feeb74635084609eed7039636af0071c533dbc46ff9",
|
|
"246f198dfee82f94577053cef72818719bb5299e037b80f4530c6ddf0765146e",
|
|
"3b9326048c720a14fe632abe0f94b626228071ee4315c6a77aafadb7630a0113",
|
|
"fd3e1742e5e585b41d9c87aadaf2f6aac3428a52e84a06bc3f8076f346cd3eb2",
|
|
"c92f0054b08e607ec760f35244bd27f107e24c02ea30091fdc52ef90d9811e76",
|
|
"0c2454d44fad4c6ac013b9c71744b0846d8495129ecc152029bfd1589c718590",
|
|
"1e6e6ec367f8dadc894b0289641ece602a3978a7abbbfe17b17565b3fecd3b61",
|
|
"f5d7f872c5d831c50a57fa526fb2d2786d64d347a2ec2b147a26a6b4377fe182",
|
|
"54c841148c53d8794edf16fd63b41d09a8c59e525892f67dfe9eeb15afb2b52b",
|
|
"32a70a7b95cb09bce989e326b092155f0ae52cef1529a387891da42806e32bc5",
|
|
"8215d34b82db62e95df47a46233d8e836902c1acb70308f1e200aa5f1ff40d7e",
|
|
"b97d3193f7d5ea882d19a0e005c2b202dc3acedde062fd2cc5a607484909aa49",
|
|
"3169f2a1662b9441a3d4943d94649334dc488d5dab75c4e10ab2d5a68e81279f"
|
|
],
|
|
"env_add_path": ".",
|
|
"installer": {
|
|
"script": [
|
|
"mv $dir\\msys64\\* $dir",
|
|
"rm -r -Force $dir\\msys64",
|
|
|
|
"$ErrorActionPreference = 'Continue'",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman --version'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -S --noconfirm unzip zip mingw-w64-x86_64-gcc'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /perl.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /autoconf.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /autoconf-wrapper.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /automake.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /automake-wrapper.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /diffutils.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /git.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /make.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /ncurses.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /ncurses-devel.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /gzip.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /tar.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /xz.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /jq.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /netcat.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /patch.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /openssl.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /python.msys2'\"",
|
|
"iex \"$dir\\usr\\bin\\bash.exe -lc 'pacman -U --noconfirm /pgsql.msys2'\"",
|
|
"$ErrorActionPreference = 'Stop'",
|
|
"rm $dir\\*.msys2",
|
|
|
|
"cp \"$dir\\mingw64\\bin\\*.dll\" \"$dir\\usr\\bin\\\""
|
|
]
|
|
},
|
|
"uninstaller": {
|
|
"script": [
|
|
"rm -r -Force $dir"
|
|
]
|
|
},
|
|
"bin": [
|
|
[
|
|
"msys2_shell.cmd",
|
|
"msys2"
|
|
],
|
|
"usr\\bin\\bash.exe",
|
|
"usr\\bin\\cat.exe",
|
|
"usr\\bin\\cygpath.exe",
|
|
"usr\\bin\\expr.exe",
|
|
"usr\\bin\\ln.exe",
|
|
"usr\\bin\\ls.exe",
|
|
"usr\\bin\\nc.exe",
|
|
"usr\\bin\\rm.exe",
|
|
"usr\\bin\\sed.exe",
|
|
"usr\\bin\\sh.exe",
|
|
"usr\\bin\\patch.exe",
|
|
"mingw64\\bin\\jq.exe",
|
|
"mingw64\\bin\\initdb.exe",
|
|
"mingw64\\bin\\pg_ctl.exe",
|
|
"mingw64\\bin\\createdb.exe"
|
|
]
|
|
}
|