#!/bin/sh set -ue # (c) Copyright Fabrice Le Fessant INRIA/OCamlPro 2013 # (c) Copyright Louis Gesbert OCamlPro 2014-2017 VERSION='2.3.0' DEV_VERSION='2.3.0' DEFAULT_BINDIR=/usr/local/bin bin_sha512() { case "$OPAM_BIN" in ### opam 2.0 series ### opam-2.0.6-arm64-linux) echo "d2b3d92fd5fae7f053702b53ddbc7c224fcfbfc9b232247ba4e40cbf1cda28f160d8c14fde87aebeebfd2545e13265c0ee4a47e292f035767fb944b1b8ff5c90";; opam-2.0.6-armhf-linux) echo "a42a7ad8c1afdb20ac5746934306576e6364f5453b176ccd42a3e5a116a5db05c2758cec31800ffab11411290cf671f9eee3f299df48c7ceca8e4d7e33dfedc8";; opam-2.0.6-i686-linux) echo "6c0d965f89a2026ead3120e217d12b2df7426740d54bc94e2c46faaeff5893081e68aac162621bfa694ab597a18be28165f10cdda1217a4d73653789a9928b64";; opam-2.0.6-x86_64-linux) echo "2b9d4a99aa28a193c88c7c6f6265203bd3cfeef98929d6f5cfce4b52cd9ddbd7be7eddc1d3d9c440f81d65074dd7851b8d29cd397fb06d2cfccffb54d3cdcc6a";; opam-2.0.6-x86_64-macos) echo "cf02546b22ca91b1d97a3657b970b34d4acf4dc745696b7200ff185d25ebb5914ea8b6a94b503eb8c999634de6fdb944998a970105cd6a4c6df538c262b48b7f";; opam-2.0.6-x86_64-openbsd) echo "2f58b3d4902d4c3fb823d251a50e034f9101b0c5a3827725876bb3bcb6c013c4f54138054d82abba0a9e917675275e26f05b98630cf7116c465d2110756f1309";; opam-2.0.7-arm64-linux) echo "0dd4d80496545f684af39dc5b4b28867bc19a74186577c38bd2a8934d871c2cbcdb9891bfd41c080b5f12d5a3c8801e203df8a76d55e1e22fe80d31447402e46";; opam-2.0.7-arm64-macos) echo "ff8463f4450eff488d458be209e04cbc2286265b967b8cbcd9c7dd4b9bebad5951c0e4f42fc96a7745da7d80750eb1d30046ea2b5de41e3a78487f547229a8db";; opam-2.0.7-armhf-linux) echo "ea691bc9565acc1207dea3dfb89192b1865b5b5809efe804a329f39878640fb19771edcb05c5699f8e914e88e3155f31132b845c54b0095bedd3952d336bae0b";; opam-2.0.7-i686-linux) echo "5fa8fb9664d36ead5760e7e1c337f6ae7b0fd4be5089ddfb50ae74028deec30893b1f4dee040402bc3f15da197ba89a45c7d626ecf6e5be80d176f43526c4bad";; opam-2.0.7-x86_64-linux) echo "da75b0cb5ad50f95d31857a7d72f1836132a1fa1cdbfdedf684342b798e7107b4add4c74c05d5ce44881309fa1e57707538dbcda874e7f74b269b1bb204f3ae3";; opam-2.0.7-x86_64-macos) echo "de1194c8e97e53956e5e47502c28881bbf26d1beaac4f33a43a922b8ca7ce97725533cfaf65a33fc0e183eab5a95e9ecd2e20f72faeaec333dc3850b79b5fe8a";; opam-2.0.7-x86_64-openbsd) echo "b253809c4388847e1a33b5c4f1f5d72bef79a2f0c43b19ef65b40d0c10341aa0bee4a4b1f3a9ab70eb026e4cc220a63cfc56a18c035b6b0297c92f2bdb7f9a78";; opam-2.0.8-arm64-linux) echo "74f23cd478371e9f1de88bb89ab6d07985c2077b3392288399e37499514c03b7c826f29147282d147efeba0700aee73e8b8230ee77ba0a433dddfe42d15b1df7";; opam-2.0.8-arm64-macos) echo "45eb0a414f66307a566974eda14dc6061b999e4fcb6626b39477bdbf189c75b1c0f20bd480d88d2c41ea77658073e2cbb5b73c969e187de7de311bbae516216e";; opam-2.0.8-armhf-linux) echo "56cd91ee076e3eb54b18028e6551776fb0568b459292cdc78ebbffc9ca684454f525b9dcb37e46c7a191492221387ab9abdbedc7754d0fe6ab278e3ad548c614";; opam-2.0.8-i686-linux) echo "ee7b6bac2c94c096580cbcc73ad9105ec62f1a899339d13f18bd8a0abc0d3a4daaa5dca580712744d4cc52d7b319a2274c427f18af709619e98f1cd3fe78fe0e";; opam-2.0.8-x86_64-linux) echo "66eee43400fa014e2128a2ffb82b36f7a9bcec4c1d243c7a38bb608ab86c8e814a7b1219e6f21beedac28b2b8c51b233377a8f7bd22fee2ff3c9c56f9264f3f0";; opam-2.0.8-x86_64-macos) echo "17b7f6716dd0540f2405474451de80c3badfe4de06b8b747e9b9302d8897433f4235aa1166e8bf7c873254f92f5a7087525435b65b62e1fe00fa57d01936b430";; opam-2.0.8-x86_64-openbsd) echo "05203d65d391b92350390dff7a1ffaca2b67bba9ca948cea26607f0cf7f19f30070d63f4f3bd78aff1b1c062d764e4a938106d072d8aa66740fb28480feabac5";; opam-2.0.9-arm64-linux) echo "4073dad3525a0f969e16eb6fbdd8d62a5d765155f3f08c782de47f51f8587f887541d1785d0ef983321f91a61e509dab0e74c6b39a3a48fb0e7e551eac4c9d98";; opam-2.0.9-arm64-macos) echo "429a849269bcfc6322aed0e4e7730283da5ba4ce425300535d38e172a31f5ae49a1e4cb7a686043a596245ff03aae626c778a5d714e2e98fdb870a4dcb1f0860";; opam-2.0.9-armhf-linux) echo "a19182d69b52461b09cb88c1b23c304e4f3a17444fa6c4424ff8d37b965025e7da8883c45b6876a84ce69f8d99be39305c04d7b05dab3c3f0463be7447b10a47";; opam-2.0.9-i686-linux) echo "ec3e33981838e93ec748c7b0873cfd205bf439f520917c11319f4ddb445d40758d51c01c46bd79d6f7fe25c24aa2e27b69f9e5a4f2279371862084efe22c3bee";; opam-2.0.9-x86_64-linux) echo "c0cde1b126dded4ade18d828e4ff25df09d1386b354021df393d0c565492160d852d3d2511258db4e7740ec315c7e8fcca42acc13a151a4f7d2ef339fd1ad11e";; opam-2.0.9-x86_64-macos) echo "6792d3d913cf800f974ff48f99348b58331d6ab7434c41d356ac6aae19292e16b213afdcad2cd387b4095d7c64b4d9c8dcd561f1679c7ce0513ffdb73f5a25d8";; opam-2.0.9-x86_64-openbsd) echo "d83cace0fb9541e3748e520ddfc81ade8ae258eea461089fcdc903c9b0845fbc3ea4071ff96b5854ec630d68bbddaef7bcbf5bd0a6324f18e1574ac6be811890";; opam-2.0.10-arm64-linux) echo "cef611335dd406bad9bc70b10345938d054a19824dcef474471216d1ba08454a827927ad014d49485fb4e7fd808cfaa041ef90081505a42838809c090b089966";; opam-2.0.10-arm64-macos) echo "6cffe9457d6b1b0df1255776f93bef242316a03ff4c3ac3802f45921abf9d17a1396361ad947591351f7c4f7e5072dab758c952ab7822ede76c24b7dc1a12803";; opam-2.0.10-armhf-linux) echo "61cac30543becfe217018cd999160b4e77435c43a8c8a9203d713ed3bb2cf14ba02901688a14a377186709d5fb4c24b0fc9ba2027a4c9ce1ceff7c0a955568a2";; opam-2.0.10-i686-linux) echo "31b8a3e6afe6c5ca5ff5d921b4ed8ed3255131c184e9af19f5268c743d49a0789f9a5b780261d988b836b11eadf801f279d3538cb46dc66d753b6d12232e98b8";; opam-2.0.10-x86_64-linux) echo "f644038fd8ebcebba1bbdf3550a2dee05c8b8da92b78e83fc085c9b8f3c78c654170c83971c651e86a16731271ecdf8903fb9fdd9b6dcd65679ce97c111ca631";; opam-2.0.10-x86_64-macos) echo "0f6a8e38200bc7592fb49819d1c4c4d8834fa5185de16a3409d563b6308a484dd60590ecc96992b36d59ef908f5843a98b607161e124de700bb01dd4f2a88c39";; opam-2.0.10-x86_64-openbsd) echo "fd8cb4a387283eebd9db58ab5c090e674f0885117a34622ef9db7f9380003d2b84341cf9adaab7367eecb5773f96770d21db1d4cd4a0849b22427830ab4a1475";; ### opam 2.1 series ### opam-2.1.0-alpha-arm64-linux) echo "1bf0acfa64aa01c3244e65eed60eef1caaa6de53aa8b32dd0d2446f91905a1e41591f53cd350e85b2b9f5edba9b137d723c32949115623e9753e77b707bb25b0";; opam-2.1.0-alpha-armhf-linux) echo "87c12a422bd14a0d10a94ddaaa46de23700e3b89810a0c06232eff8d96b37c2fd43dcb5a8da5a2004aa8040d1b93293209f1ff1aab865ffd150364e24c87c716";; opam-2.1.0-alpha-i686-linux) echo "b8369da6d4795a461ff1b49e687b027325d4e90bc8f19517e52a94ee3be167c4faaaf33bd0b3536be552d2add54865d0e33933acaa674f2e1a17249b022738af";; opam-2.1.0-alpha-x86_64-linux) echo "2e22747829fb0bada3a74a23f5e0ff2228520d647fc4fe08a1ce76f3cb357cc7240f7b45e422c5f4b8eafe832ae3a8973ecbd4814ae0e8ce1096bcff39482020";; opam-2.1.0-alpha-x86_64-macos) echo "c440e8ae1970fa7533e6e1b96ba3e3dd65b04432d41bc57ce4c768ed9b4229954546d59ec06f3d4ee49cbe00bb4bfd0b3f509d6d9a27de2db17725e097a61c86";; opam-2.1.0-alpha-x86_64-openbsd) echo "d87afe99fee541a1c6fae30b72653db7a5ea2abdec3fa3b2b480daddf3fcd8d4096e2a40458310755faec3722119f29ed981ffbfa65142e618f99b70572f892f";; opam-2.1.0-alpha2-arm64-linux) echo "b67520bb2a6c59f800da100278d74e58f2bbf66924f94643023dc46b97b16f17a30de95e439c6f9b032bd555c062ddba325f3e5169cac186615b959a8c434788";; opam-2.1.0-alpha2-armhf-linux) echo "9a6312eb54d6c9c2036ca90f7816789c27c23f1b1d325cd69d27a910cdd8760b82f19c9e9b61b5b6214818f1f40f8b4d2ef081acb43f0dad68c976986a7c6a45";; opam-2.1.0-alpha2-i686-linux) echo "0dc07f236405777ad74d58fcc6cb6c3247e7dfc31408df4a199599077d5cb41ec86895f1d0c5eaa2a9c70842a2a998226674f986ba0044c82896c073ac90b209";; opam-2.1.0-alpha2-x86_64-linux) echo "21509e8abd8463f4e18a55398f690700772e25f0ddb9f3fd7644e2f9a9a89ebbf5c09efbeceafe4a0ab5015d0d03b2f29506be514aae813a2f3dac7dd01261f3";; opam-2.1.0-alpha2-x86_64-macos) echo "1c1bd26621eebb5bf3783dec80d5555aa5ff02dcbf43eb44398798e6162c1964bc1964e3980391ea115e5c068c1bb66960f8ebdd91bc4f0bac844f3a61433f1e";; opam-2.1.0-alpha2-x86_64-openbsd) echo "941f3e306bc36e8e44e4245ca5e635b04e0a54f33439d55d41875ced47384cad8c222b649027d3c4eacc3c2c569cf5006c872763b19c490d9b289c9cfe4f491a";; opam-2.1.0-alpha3-arm64-linux) echo "ad906bb2ab764a92fabdf0b906310c5034bf5daf0ebfb2529e9b87661ddbf8fd14f51dee5ce75b4fd4bb5789e29c7be71063f1ebcc92e92333be12aa62efdff9";; opam-2.1.0-alpha3-armhf-linux) echo "2a7022c1f5dbc855a0d067f29677b13253dccbc9792b8170fa72a743802bbcd6e41ce7512c4845091af0f73b8ba7573038ec53ea9aaf74be04367ac1767e7220";; opam-2.1.0-alpha3-i686-linux) echo "6f2fce0c45ae700e7a1b32d0a24988645c9aed3afc45998c8fbe70e97a65e3ba5d824069914a892bb3f9b1336383cfd492c28678ff16db5cada863da924b07d8";; opam-2.1.0-alpha3-x86_64-linux) echo "1d219dbf670e1550bf71c28e586d14f1d8af2605f0e13bea2f11ad52a7f176bd9a89637e44a91a024f0088db1b2aba8dc3207bc81fa930580e54f4031255c178";; opam-2.1.0-alpha3-x86_64-macos) echo "93edb6c1151f8f5bd017f230ffd9277f6ad943e3f5032ea000c37f012738fb3ab4b4add172e1f624c37e6564963fef0716b876b0113c8e43f5943d77bbbc173c";; opam-2.1.0-alpha3-x86_64-openbsd) echo "0e3b3761e877c57f5b333aacb70c86bf60f50eecdca6e9e1a552e3d666cea034d8873f3a87e585a5970b1aef7e540adb18c71e0e8fd8794843dd5d1d421a87ec";; opam-2.1.0-beta-arm64-linux) echo "954670c74ea8244b440756e4f7755bd2b5548ab67428ce577c4c507fc33c8d00eb73c4d7b59ccb0ef800f4465b5c704573c63486b78a23e9568f3751bf9aef78";; opam-2.1.0-beta-armhf-linux) echo "cc666f2c6b1ac07d1bc8a035c6b3a9455794b51a827c54bb92786ae1a75c6c55839d3f48b378508f42a66ac887fdc68f7628a67e2826813cb6df048c906755ca";; opam-2.1.0-beta-i686-linux) echo "66ac48b298741f753ca868be362851ccd9bf84fd8772d18f3307e99cf72c8c68ac9fa17bf2d610d7f3b5dc6209eb8371bf0e10b363e963fc6c31d70e5938017f";; opam-2.1.0-beta-x86_64-linux) echo "e316f1b5f1c668affba6c2819f692c28776e131a17fb64b2c0e23f8a3b7d456575a8109fcdcb9babfad13bc33c17fa619cbb4a48ca6198765f86296b7e611f24";; opam-2.1.0-beta-x86_64-macos) echo "acb29b7c64df314c6629e14f6d8f079504d39b7fd3104867fd22df3395ccfea9f1014a3a87dff9c12bf03ca451e9ee2918b9d9d8f17ce1a6d7de0c0649452fa9";; opam-2.1.0-beta-x86_64-openbsd) echo "ff9fa1ee0ae7e54b4e18999cf5ea9b899c0b4039b744a950e96221e3e86c21eaa50904bdbc836ff8103f7713506d0de3d32ec77b169561e0cd694bfeea812cae";; opam-2.1.0-beta2-arm64-linux) echo "a58ba3ebb4431d3cabfe96b806c9897205153e8a546ebe74f0229982758d140b4fcbcea421db70589b1eb3080dc86534522a3cba0330ce82e0898a60048d51ba";; opam-2.1.0-beta2-armhf-linux) echo "fc4e6b753ce6368f75a0d3005f4b21ce9606599d21607a67015db55a38b6ef473b4205f5b128c5808189feed8ae58f93bd79348988be7c5007ae1b39307a5cd0";; opam-2.1.0-beta2-i686-linux) echo "a376a6e0e1e2b08ea4d0a5c1c38487e67984bef2e89f978536dd08283f945f74dd31ee287bc68d91690603ba0fa657e91ff0d30bea217743f79ed99d2390eba5";; opam-2.1.0-beta2-x86_64-linux) echo "12c5e2b0087ed389fa12fdb0e1f6f7dc0b3df3f95c59e8bc576279b7780921d47bbc4ebcba6caddde30f4fb1cc9e4a873cc8a6aef80fcc48a878aba69be7af44";; opam-2.1.0-beta2-x86_64-macos) echo "4acc12672a2e3ad7e78540634edcae2e7e84860057b86a56b1cdf7eacf8d97957aaa864f571d6fb8f61ee8280f8a4ed73df7881d91a22c9d8c2d73e8a558f61d";; opam-2.1.0-beta2-x86_64-openbsd) echo "84d7d409220c72e3ed7e6acdd7cce3b5a208f2966d232648a57a48641ab8ce4fa58e94e40b7176201455d82260e6c501a6ba4a30b1426a552f8d09cfd027ddde";; opam-2.1.0-beta3-arm64-linux) bin_sha512 'opam-2.1.0-beta2-arm64-linux';; opam-2.1.0-beta3-armhf-linux) bin_sha512 'opam-2.1.0-beta2-armhf-linux';; opam-2.1.0-beta3-i686-linux) bin_sha512 'opam-2.1.0-beta2-i686-linux';; opam-2.1.0-beta3-x86_64-linux) bin_sha512 'opam-2.1.0-beta2-x86_64-linux';; opam-2.1.0-beta3-x86_64-macos) bin_sha512 'opam-2.1.0-beta2-x86_64-macos';; opam-2.1.0-beta3-x86_64-openbsd) bin_sha512 'opam-2.1.0-beta2-x86_64-openbsd';; opam-2.1.0-beta4-arm64-linux) echo "f7278c732ec04703a729dccb4ca723d26ad537adf1d50faafa7e1ed5f063e3245e3d346e08029013d24e18978c8bc1f04b7b3f042d2c49db83ef3e18a40f109b";; opam-2.1.0-beta4-arm64-macos) echo "1b69dc61f99c028797ec5b1908911ce9fa999878ecfb89e4675b9a12c41ceadec7cdb9ba912f9e6535d36101ae2f54fd10342016638ac10fcdb68631322e35c4";; opam-2.1.0-beta4-armhf-linux) echo "b72f770e5d8033215fa53a9640b48dda5bed235daadd3174661879927cc4673db14666fd6ba71b51d47b3a278e45be57e99dd9104931ee5679980da186baf518";; opam-2.1.0-beta4-i686-linux) echo "c68a850ef026dda9e14ad4c50a7a5a5730f6f83771c3acef99571c9884720292f0b547428ea7105d99003b6b56a975f8b3a925661992f5ce591deb69781d7a72";; opam-2.1.0-beta4-x86_64-linux) echo "9a928c5c8e2e6c98f6da937839b1c9a063f7be7344d561f2e2a92423f0c8c227696145077278e8cc81a1fe6e9a3ca8b1af733001040d87e61bc28808bebdc08c";; opam-2.1.0-beta4-x86_64-macos) echo "e3846b7eb9f5e1feea60a523670be4e47868714f7a337a5359f75ba984e0567780cf93b121b9789aba869cdec8954d0d71d8d12c9f92077ceccf6cb7922ec1f9";; opam-2.1.0-beta4-x86_64-openbsd) echo "68f262b076bb3569e4ff680a307e02cf3f6ad07e22583466f396031612b94ec223fbc389d6883d9ea4eee4e0ee582f066c95189804136fd0f1da04dc28bbc3bc";; opam-2.1.0-rc-arm64-linux) echo "cdd0c10a6f50a97c366017e6716e4e6f44fd93e2353fd5223df44ef4c99b4e214785d476d39abcf31109379ed57bb886b65e600a21ff2255849585cceb05b437";; opam-2.1.0-rc-arm64-macos) echo "1972c7bd0cdba2d31d08abdc657684551eb35f0b608481ce6271ad792c88653739be2e4239ba62bc53dab8985c61a92fe2a5970bd663b3df3bb77faa92c68f1e";; opam-2.1.0-rc-armhf-linux) echo "e827e97c58ff4c4d99b5bc5dd0a294ede99519f65d3414eda7e91b4b4191739686c62fcd6413fab1329bc65e49a60ae9038ae9e845541fddb8d1755cb43acc58";; opam-2.1.0-rc-i686-linux) echo "29dfc54b2c050c02c463e4c81ec90f8db9fb4abf097f52a01af2c3a61e96174268005cce07b1a96e9b73e2aa8813ecf4ce0427f8d4a6b03a5bd91fcecebbe651";; opam-2.1.0-rc-x86_64-linux) echo "c2c11f8e8946d144081b09bbb466d50a288b0631d554da0763ebaf512f6f3e8fc4138e24016fe644bf15dabefacc9608f8b8030da68da117f85a7f2641a7457a";; opam-2.1.0-rc-x86_64-macos) echo "c1f2b312c8aea380f62a67fb26662c5a149ef0c22de9c80c27ca6fe50771a05f140d83d671a49486bfef0701dde4cf8a2a1fd750054f349d76fe6e1c2541a711";; opam-2.1.0-rc-x86_64-openbsd) echo "ac0ff0beca6a15038b46a7fb35cb350e0993230189cd7940db5e91c6c3cb02fbe580ba4053259102abb88533bf681b25753bf3764b72b0b8e74d31f35990c6c0";; opam-2.1.0-rc2-arm64-linux) echo "88540bd9a5164661528a7996da583b7336c1607698af80441932f939232a5423e6ac7bf970e06fb0fb09df23184b25ea77c1762125a32e1c2a5513456cbf74ed";; opam-2.1.0-rc2-arm64-macos) echo "5fea7034c1178ad5c8725ac33882b499783073befb81ef6746912a93430592253cae955ca21e887b1e7a33f58a20a93e3e83ef8a9882ec02ad21f4053e2a879f";; opam-2.1.0-rc2-armhf-linux) echo "18297ec40dffc1c84ad9d98fd2643bc60713482b854232d4eee955634431e1fe564d0cf1045ec17f148de35280c740849508b9464c138501cb3dd7acfeeca935";; opam-2.1.0-rc2-i686-linux) echo "00547bbc9f3abd0bd19142168d4630f3869333fa3da0dbf9d1d07b6032204be6747f36eb397a2cc93bbcd04e0c103a5412f1b0f618a35ab57913332c385f622d";; opam-2.1.0-rc2-x86_64-linux) echo "d07ea4a936a82d8fca17111f0c1a4d8915e90ca51f59245f9c60fcd082a54643160d2aeceae2e03113ef77568b867315307e88c06c58753ce7749be712b84bfd";; opam-2.1.0-rc2-x86_64-macos) echo "48811556f65cd5afd3ad5b078c6f456df77e9e33cc2c14b289a2b17293a79f2417e99ae824cf704b953384e7a9ba47155839bd12b933efc9f0b7c6bc5033d470";; opam-2.1.0-rc2-x86_64-openbsd) echo "2ae5e3d4820bad1cba322c43e12fd4d64d398f53887b520de734b49564071acd2224004151bbf4bdc6b572f037718b58d21c277157b1837cf71181fa7866bb08";; opam-2.1.0-arm64-linux) echo "216185106deb81db0e9cb329dd7f01d097173e1e7a055a1af8525cdb4dde6d443e4bf4ef8377f1cbd4c9fecdc7ea03e6f294dad30b10a0e83959476018e24972";; opam-2.1.0-arm64-macos) echo "c8a46b2d554e4b2a68d5004ad4cee24425c75a6957c40af49d21e05875925e59d29ef3c9f0d7703f9c209b3f50107959fa853b32143f9e7deb7b4cc54006d668";; opam-2.1.0-armhf-linux) echo "ed6448d5b4f4f8aa8d7f1d84aa09b851c9760a0ece0177ee9efecd6e6d778cd3d3c7bc6c5fb1be316d99288fdb3740dcdd88ed890b85218eb84e8b776137584f";; opam-2.1.0-i686-linux) echo "f401ae0b65ae86169d1125b6068bfd9ad897339b69882ef2a3d1e67df909e93f5f41967679d31d2336b3b8dd854806b5b97d8ab7b9fb05f7b21291ca506e6f33";; opam-2.1.0-x86_64-linux) echo "03c6a85f13a452749fdb2271731f3624a3993498ff2b304123231a8f2b26ccf1182d12119466e9a85f4de370fca51bd61d0eefe6280d3ca087cf4620fdc59a22";; opam-2.1.0-x86_64-macos) echo "1c9acee545c851dd3701229e3a6aa7b5650620e37e01400d797a4b1fbeeb614adc459411283684e223a72fda8b14ba6c6e5482661485f888819f6a2a02e4d279";; opam-2.1.0-x86_64-openbsd) echo "d53bab13e38f9e1304e08ad437b5486263451d754c9ba5feb638a34d2d2acaeef412eeae4bc9fb6bc7ee9c07539a88e02029162dbfbb095248255bc7d772213d";; opam-2.1.1-arm64-linux) echo "503875dff416bc76966d58be6e9236662fc7c598d705a913ba3a3cf9861008ce598dddf2df17dbb13c2fc2e64346e54f001483ab512b50a11a36da178c67b7d6";; opam-2.1.1-arm64-macos) echo "eea30844d867f36e8359ed8987e0b094e4077c845aa3e1c962dc5e476831eb97ff809aa1533c6d28ae8c36d0febf20eedef69e161a86971a46bffa6ea8d41790";; opam-2.1.1-armhf-linux) echo "8bdecf77a19e173f2ffc0cee2f668411ab680a3e8669095e9d95c1d36cf03d269b89b1f314c96f00590d46c5b89f6763a960803ed0b88456b8dd707e8bcdbb78";; opam-2.1.1-i686-linux) echo "94feacfc35184a27b9e6ee6a04cb71d5764b4daa36504eaed34130033e0fb80828c1a750422df943d54c8911b1f83e67e67e77d8214751f689fc3445c4a71f84";; opam-2.1.1-x86_64-linux) echo "494d32320d09eb2cb4d94e06d0133db1cbfccdf7a673eacffca4f190684497d9f4273680222cb197d88353f67661219675df58753b393dd5faf32400bf8ce044";; opam-2.1.1-x86_64-macos) echo "3b88eeaf523b4820b7909f4f38dce33b9ca77c27b5008cc2d1100176ee54c0f2df5b6c427973fbcc850bda942ea8c3d4b113c3bc05c3a8ddaf4a2d46f8eec65f";; opam-2.1.1-x86_64-openbsd) echo "09d7f392754a12b812d698ef3dab646f53e1f1f5cd591e1fdffb017a948798e5ba8758207ffdc3be7a5fab97df711ca896bf4b2897ca85af2f88ff0f7ae78e28";; opam-2.1.2-arm64-linux) echo "439b4d67c2888058df81b265148a3468b753c14700a8be38d091b76bf2777b5da5e9c8752839a92878cd377dd4bfbd5c3a458e7a26bff73e35056b60591d30f0";; opam-2.1.2-arm64-macos) echo "55879f3e18bbc70c32d06f21f4ef785d54ef052920f57f1847c2cddc15af2f08e82d32022e7284fa43b07d56e4ba2f5155956b3673c3def8cd2f5c2cb8f68e48";; opam-2.1.2-armhf-linux) echo "b9ee73e04ebaab23348e990b6e1d678fa0a66f5c0124e397761c6b9b2f1a8cb6fb2fa97da119aed520097f47ac7f8a2095f310891c72b088be8088c9547362d7";; opam-2.1.2-i686-linux) echo "85a480d60e09a7d37fa0d0434ed97a3187434772ceb4e7e8faa5b06bc18423d004af3ad5849c7d35e72dca155103257fd6b1178872df8291583929eb8f884b6a";; opam-2.1.2-x86_64-freebsd) echo "50abe8d91bc2fde43565f40d12ff18a1eceaad51483db3d7c6619bce70920d0a3845fad8993b8bfad24c9d550c4b6a5c12d55fb8a5f26c0da25f221b68307f4b";; opam-2.1.2-x86_64-linux) echo "c0657ecbd4dc212587a4da70c5ff0402df95d148867be0e1eb1be8863a2851015f191437c3c99b7c2b153fcaa56cac99169c76ec94c5787750d7a59cd1fbb68b";; opam-2.1.2-x86_64-macos) echo "5ec63f3e4e4e93decb7580d0a114d3ab5eab49baea29edd80c8b4c86b7ab5224e654035903538ef4b63090ab3c2967d6efcc46bf0e8abf239ecc3e04ad7304e2";; opam-2.1.2-x86_64-openbsd) echo "7c16d69c3bb655a149511218663aebdca54f9dd4346f8e4770f2699ae9560651ac242eb7f7aa94b21ad1b579bd857143b6f1ef98b0a53bd3c7047f13fcf95219";; opam-2.1.3-arm64-linux) echo "6c495ed1ebb63eeb3b4a07068df97673dd9520c4474e480102412c23eb35e796a237680df3e0905faade190ead69c67be8f3a92e78944c2896e3546dfa68361d";; opam-2.1.3-arm64-macos) echo "abd834a078c6c783fa021f63ff17e5d4e3c8af833bcc276995f73c2d9af446b68ed8132bc344c791ce78afae980b6a6ca6ad0cea599076216deb5fe34e032250";; opam-2.1.3-armhf-linux) echo "303e7e71daa3e678f6aed025a1ff5b4fbc1d3146dcda0d0ae91884d3ccce4b205d1a4d283005b63a3990ea4452df291f2e84d144ca13bc40373bcb46ee702690";; opam-2.1.3-i686-linux) echo "b6834a54294c864069e70d0a46346fd4166c6847985f751c02a8c00184fc346095cbced3ded0aa34d710e1a68d687f5ca3ad8df4a2eea3c681727f5d1c0b099c";; opam-2.1.3-x86_64-freebsd) echo "0cf37cb5f7ca95706bacaf8340abd00901b3a7c7bfba4af1ba77f5740614e1e5227f9632be0427f1efdf8ed324c21efe412bf7f3a725afa84ac7f7339c4b5cbd";; opam-2.1.3-x86_64-linux) echo "b02e49f062291d6adf97a4e0ab3774f5ecb886d5ff73e693773493249f26aaa11b1cb1987ecf5074ce431fc34bacdc359a560d75ecc9bb4853f564489194b43b";; opam-2.1.3-x86_64-macos) echo "0d820ba42f34e6e3cfc6ac145794fb02b919f7c7086d9c6fb92489ddf11ab42d718753c9f84275f553832536216b66ee1bb57e93d08fc658cf0a82678df5be42";; opam-2.1.3-x86_64-openbsd) echo "dc4479ca27baaa1b596451768cfeaeca35a87321a9938d3ecb3e3247adbc814da400667a864ba4d8cbffa665b72dc9e55aa7d3410a5caa8b82b4dc04991e5f77";; opam-2.1.4-arm64-linux) echo "726417a115ee250c19ef1dcfc7e87ba476bd6f052f275d14e65d6086ebd7a7cfe03b56d15e7cd3938bb0fd51968cb14d110b7be49a964daa0b7ce0f15d051e89";; opam-2.1.4-arm64-macos) echo "d6b834180199fe1861161d642d8323f0d1a05d99073bba26d5c95377faf04b4eb3cf62abab3240a97087a11d777e559a0a21582512c103ada48db823b6133a59";; opam-2.1.4-armhf-linux) echo "e53f6fb637e10a2df39ba80d41c04d6880d97ea550c0b99bd23e1730fa4fad207f1c9037608b1189fa1a599e34370d67a5396333ba27da0c1e9263575348c9f7";; opam-2.1.4-i686-linux) echo "747df2418c189d05fb6b72ac9ece2637d5b89d6d30359c278c9f60c4dbbd8439c1cb5573a121d1905f5824e5486085cc182ec483cd84f79b310c1b0389bf48ea";; opam-2.1.4-x86_64-freebsd) echo "beb1c8aca0b255d07a177c8531fa7750261ebaf2e20de477e03550ce5d6a6b023f3ab03dd156e6b6895e0d416bc6a0c18d6df75222d5b08d1a1f15d3ac33e09f";; opam-2.1.4-x86_64-linux) echo "fed3baa20bed1215a8443db43dd0aa99fe2452f068f9939aa31ef9763c093c972f3d731c9cf3ad81b3d161ba756548a77800894482abcf12d9e76ed61614148b";; opam-2.1.4-x86_64-macos) echo "acec73e2ccc415643d6e44c0db28e1c3e6f788de566dc8a7a86adc372ce108d38fbbcd73496dc24d130a7b5455daa8c0a6d4cd00aa5cc6eaec31f819dc4a17fa";; opam-2.1.4-x86_64-openbsd) echo "48fd21f08dacf1e755419922788a73c8dc14b0ea95a979e420c62b0076aaffe9366486cdf681c459c10becbb964329faabc12ee87ee30f7530316ddfe8a0711e";; opam-2.1.5-arm64-linux) echo "fd24154a6c1353279ed85c4acd5e24a3dc31d81c7ed3e292ec9b6bd7825bb248aa70c734d08e63d553d2a9ffff08d1224efc037a39a917402aef7d7e169aa45d";; opam-2.1.5-arm64-macos) echo "f97d34b009a1eaa658a15f92fdfd3268b717782cf67c955fcaefc8d07fa730d0cfaef11afd065faf84330bcf994efe1eccdf0f9625b1a9fa5676a0fd1339ed65";; opam-2.1.5-armhf-linux) echo "c14a92bbd429b033add867c5669dae7e0eea067c8621f42140cce5eeb771e6a1850b9efae71aa1ab7d34c9c2ffc1a56196c454cf47f91a6f98b5bef7e28e88d1";; opam-2.1.5-i686-linux) echo "38802b3079eeceb27aab3465bfd0f9f05a710dccf9487eb35fa2c02fbaf9a0659e1447aa19dd36df9cd01f760229de28c523c08c1c86a3aa3f5e25dbe7b551dd";; opam-2.1.5-x86_64-freebsd) echo "9127e55fee30f25442e91fe100ba340e7a9c44ca6214643f39c584887ffc039fe0b292915846a7782baf1d894a13f81a4e324677606ca79e8e25c9624edb93f2";; opam-2.1.5-x86_64-linux) echo "3ccad7d4f89d6f781dfce74b30369236109663681df84d3aca41502022ce058a9b77d8fe1b3a301b2c020e8ebb9dce164c3251e08468070ace57391070bb7a71";; opam-2.1.5-x86_64-macos) echo "e9c54dabdebd86a979300f31c9e40ced4ebf69f3d049fa9fe26cf5ec79ce17e4dd521af891f0bc555d8946ed01a047ee326976e87cf248807305ea85fc1ae137";; opam-2.1.5-x86_64-openbsd) echo "37afe2faedf85d03f2038dfeb60edce3e732f4260f9f37f69c7c66a6b9c2815f0be689ed44322239346aef64950fb33ee62d1edb8081e74faa1cb84077931b79";; opam-2.1.6-arm64-linux) echo "db278693d8bf3a78f522d179880842687909296ea1a12064026cb7f8f539d251fe787c87a0ffaefdfefb2a646d94fafabc9453f4bc58a98360246d0a30046598";; opam-2.1.6-arm64-macos) echo "d4aa588d4a03fda05659af1c0c56a819e853266e4311c0c77d52a10c2cef5cc6e27fbabc1f6eb657ff36ca6a8ee43ecc4d30d6dc3e9e659657be9418d6ce97f7";; opam-2.1.6-armhf-linux) echo "a8dd7d8b7fd5f421501c64c8aa8ac57297531509d5aa2061dd4691c0a61f0bc93afc8c3b67fe7aa4f47877751017be0d830ab61242131f809daadb6205b62f18";; opam-2.1.6-i686-linux) echo "2b308e7a848252d831a1e046b70156cd901e8a5d95405fc03244fc69ce08222675871d3bcc35352b4448f15787f68a16491c574a6f9d5d8c9bcab81eb6d71ef8";; opam-2.1.6-ppc64le-linux) echo "991bb92ea875cce8f1eda4af2f69dc5705461d8f107140f14cc1c422a64c72ace76a339f18afc11e371646207b611ded191193b6a33bad37ab2c2cbccbd31744";; opam-2.1.6-s390x-linux) echo "fe06122541fc6736d33b6c4a5f6174ac1e3f8fe42156597403c67d31a5c2bbf2b5165174f281f0d31bac81c6bac7a78e337d77ce09df8defdb48f66e5277f63c";; opam-2.1.6-x86_64-freebsd) echo "7149a11568f6f5bec17cd82a408c359df6b52bd282b1cf96ef7a3141d18ad7750a379f91a83164c15cc1bc32a5fbbd9afbd49973d6c43c62e2aae9e454d21d92";; opam-2.1.6-x86_64-linux) echo "0380ed0318b721fafe07234d1d0d9c0620c63bfdec55204697c6ec2a808b501c6e6551956b5fd59bdbe29cbc450d2067e7f219963820d52b3915e01a63b754da";; opam-2.1.6-x86_64-macos) echo "c14162335cf554f04080e343d08d8a2aa347dffb85284a0cf6e15653b26509790914b79e116ced3c9111532bb79cbfc8b878d3a74443e0bab6d8bbb71f853794";; opam-2.1.6-x86_64-openbsd) echo "7993661d78e2ac46da03c37463fc46223a379c9121635098f821e6f1843cbd4bf9537794839a1913cc4d930fcc3d3b9f6e24c6e5a3f54bfb7df49d0b826234b7";; ### opam 2.2 series ### opam-2.2.0-alpha-arm64-linux) echo "084abacb94ac4b61a799ae1cf8c0dea7a46728fa26435ed0585177c8f806c44f77bc9f920e284a301318af8b7445debfedf50f45c1f82f6b9d3fc0c78d2cf62d";; opam-2.2.0-alpha-arm64-macos) echo "9405171ef2238ee41bca95d6460234ab56640b3a20428d6b681393d33c6e62cc6933f57476747dd725c285980dbb3db6e650fe0212a389b568c4bb8dc5d54e58";; opam-2.2.0-alpha-armhf-linux) echo "0583a9ae76b3d8d69acf368ba1caa683ec636582dea58f85a3f4c36ec5fe8b5572f19edff7256ab496c8003ce087ddb8cb274639d4bc14c219ae8a3606eef0db";; opam-2.2.0-alpha-i686-linux) echo "c0d47f5a30d289ba3b67025942b42c04a228d7d95ff6b269be2146b6ea1b689148f82869c7a3f2e30c34af5765d5ffda048693e10bb1ae01f96ebc0877250e8b";; opam-2.2.0-alpha-x86_64-freebsd) echo "040fc6930bc8a76977412663d679aabed41b8ae57bdcc758b15c339ac54fc3bd8a1281e9436512fa64dc343563df9b94caa4bb7df59b0e18fd91f5b2234cf685";; opam-2.2.0-alpha-x86_64-linux) echo "f85e8e878070cb05f2d7e951bba75b22354a7134a72cf915112acb17d52acc263cde9ed65096da079a3356a604a753169ba16811709a3c535f35c76b2b267af8";; opam-2.2.0-alpha-x86_64-macos) echo "b66cb0fe3e6437591350994f78073256f037856ee13026af7c6ed07e89dae221b34a5771b7ce6b0f2937002a904f3bb42eadb39d09f6d863d8c8415ee2af34a6";; opam-2.2.0-alpha-x86_64-openbsd) echo "604367f2097232be1cc91cea50a94808ee8e56d8b2a8044cc8b4d6d71228f6de4c4c1137be15fb619a2558a4979bfdcebb5a308bfa2cbe195afe13cf62fbe4ee";; opam-2.2.0-alpha2-arm64-linux) echo "2a2063f764db598a398f1761775568af4043001febd7785b793c794db9a19681aa2113be7a5cba40638cb5c24db12dfcb16c34892da147c9d927193b2b023781";; opam-2.2.0-alpha2-arm64-macos) echo "e147b3e20d05aa05955dc892ba49a6a9ff9a422718c1a57cac18defd0fdf1a5d271851a512e28c4844b130e6dc3ea60fd9a987133a263edccba154984f3f0c60";; opam-2.2.0-alpha2-armhf-linux) echo "acbb2fd39fd9b04cd00f1f9a8c1bdc9d031bed255fa65de066c4d086598600acb1aab3bf315ca4d8ec7d2ea85f788405184414e596873cb5409d4c1d1c9b5b07";; opam-2.2.0-alpha2-i686-linux) echo "bcbf02957273a52aacd4c6d78c97c871ebe743d86d134ccf43b59f70f1a2df10bb142b7d8313a93f96baf1ac044cdca10beeeddc4b6f224c533f74de6f5cf689";; opam-2.2.0-alpha2-ppc64le-linux) echo "54c904e81fd7382e855d82a5515f7aa6a31e38a3d4739ff157a5dbbb33bab1e21892d2dbdd777a29ddf3980bc60c14b52143ba751341cf5581f3495f32bb78fb";; opam-2.2.0-alpha2-s390x-linux) echo "b796bcfcb253c0b3931b9efdc31d818a6435e685f9113eae122397dc3539ee8aa00575438f38984a9b38e37e8e06c317e3f2f0fc80bc19c7ce8a9560bd04eae6";; opam-2.2.0-alpha2-x86_64-freebsd) echo "8e4203bf91aeb216e5d313177d3ca5a21ae28a85ebc19b4ea208ebdc231f5cea251545e24390996bbdc8aa2647dd2300e4f290f537d8474866487e3855863e16";; opam-2.2.0-alpha2-x86_64-linux) echo "c78543ed21009ba166e7b6b567c4493358ce63e6cfa1afd71bb6ea691be25c0654a8f3af44ab1fa2fc8eb8ee642fda16b08c482ba2ebbc98cc2808209f5197e8";; opam-2.2.0-alpha2-x86_64-macos) echo "0b3030b1b9c9d4fa6bc5a20aee7009963faa9c4720843ec7a8dd9f89945735568e784b77754d619bd0b5287721382b1fc5c06c7820ec3ce8f85076192f87e2f2";; opam-2.2.0-alpha2-x86_64-openbsd) echo "9f5675e859212ea444e3c0e219ea80eb0f08070ebdb53c6912e94448bbdc5ba091a26658aa21da7015d5d5a98384b808dec44e6057e07bf60028ec1cdfce87cb";; opam-2.2.0-alpha3-arm64-linux) echo "a50bcd72555103efb62a2753b58f12ce18b9731dc3ed4c58d2939b8c41fea3764bb718d17c455088566ad0a800728771a9915513330059ea55bfa81eda4e2b76";; opam-2.2.0-alpha3-arm64-macos) echo "88db26cebc8be44f7bdd52581527edb772e155bba5b7a73a63e17de06ed9f4f92552ef355d7673acab079264551c3ecb83c2fa3cc06eba1c2df0e19d82f86992";; opam-2.2.0-alpha3-armhf-linux) echo "a29c27c2ba1b43d1b0773aebc74c69bcae90c830300f5d223e36effb1532c7bd6c748098f0714a120ab0ef3409c9d9f3c1e671e4a62eca0347920a763274f5a7";; opam-2.2.0-alpha3-i686-linux) echo "ef6f6fb818bad8db7e0b17d5da524b1b588f303b342af80dcde8b2f1331864931c585c696e109b1d94f307367f558ffff4e9d3d4a459fa950d515b3b733d2828";; opam-2.2.0-alpha3-ppc64le-linux) echo "b91710d9715331b0b371274c21eafc3aa6cb89952a9eb695a9fa0afd79b0d00c1becbc994cf25768d4fa282c0abd1f009d11f1d638c19fd3e29f13511d9d0b25";; opam-2.2.0-alpha3-s390x-linux) echo "0bc05fa550b6f5a72069a5911e569f54684f39be837dfbc0dc32e0c61d1df640b91864cd5923682c01ac03d8d98599a6f1de9bb60242a86ed3774ec5d8591818";; opam-2.2.0-alpha3-x86_64-freebsd) echo "dbac03a688638a459dd31b3abcc777a673f6ff188f69504d97f99427e634812db07e74e22b7e3b34b4012599f836e60e64a76b40b5b34aff1d5e2313e40e1799";; opam-2.2.0-alpha3-x86_64-linux) echo "7f73332d4e05ccc5f7851cd6d3e4580d9d866a222ab4fdfbd38175528b3699b118621a985e4fb17aa53fdbdf8c9041ac0eb0ad64aff21f434b3b0ef38f784c14";; opam-2.2.0-alpha3-x86_64-macos) echo "768077985878ec65d9ef70be26a021f653758d33bf16b716f8a63c3dac478efc2e0ea9100c00d8cbf5db535f925b75220447d36570bb4c51e1626f9535caf463";; opam-2.2.0-alpha3-x86_64-openbsd) echo "4c695e54827961a9b2537f479cc7c5bea7d07fccafaed18f5433f286877407e5a07c015ce96df0a913533ac21383fcaacdbaab6f47a6097b202d08d3d2b63325";; opam-2.2.0-beta1-arm64-linux) echo "28e68337adbfbac94f827c343c241da4461f8ef5b583ef10e37c56248675039506a9daad61b4b0743ec26531771fbbae3ab440cbff8ea6e7589ae0afa5663bff";; opam-2.2.0-beta1-arm64-macos) echo "e7ed9f0d8a2863a9f5aaded3d8220d7fc1898afd886af09ab92380740dbf59bf75707b52b9fbb04a2095b38c91ea31cc9a68f9794b45233bb51aa9b91efa1b31";; opam-2.2.0-beta1-armhf-linux) echo "69a3057d34913433802ad9ce0aae997991a74b0e00654488e4f3060eb4bf10bb3b331aad15521fb9e9130e86b1e21dc1895dbfa49e427b1256bb2b5b251313bf";; opam-2.2.0-beta1-i686-linux) echo "06bbcb82e0f5dbf0c3b1cd0e493b35fc92236e6593bce714a22fefcebf23cdc41d67e8a29b32c3aa4feb87af2fca0a178c0394d9111e036eeb0154dfa1b14afe";; opam-2.2.0-beta1-ppc64le-linux) echo "d32458e9fbbcf0883d714f3a12ba9f649d2fc91cf74e5689bc4a4c54f517a11e5661dc164c382c54a2f43b3d3d884e9421284c0ff1ccdf5b2924e67145c2b39c";; opam-2.2.0-beta1-s390x-linux) echo "f325ce9d8b3b78a0d58a776b00494e03eb911e78593180f702724e1b28c2070c9ef3e8b25e9eceee134ee35c7f989731ce36a03beaf392185806d3684599bbe8";; opam-2.2.0-beta1-x86_64-freebsd) echo "b9289226972ae140517c145183f7ed2717760dd90e9173e43a095f38039ca0b399ec69eccf8a7034786066564643207a53f17634502e55bcac5fdd278c37bb08";; opam-2.2.0-beta1-x86_64-linux) echo "d84cf7a77bfb12b400810ed845a01008ab52cec439cd22385df199bf57bc314f22d494a2ad879f0a3a3f0f746aed37679fb1ff894ed6644243ac810dc99262bb";; opam-2.2.0-beta1-x86_64-macos) echo "6d89044cb0627e81617f267f48bb732935a9b431c78c339c73d827531e8423e4eb54678f31cdbdc41105f1bfa6bbc568198c630a473e20486473f89c85529b74";; opam-2.2.0-beta1-x86_64-openbsd) echo "1a7cc74d04951aa8b5ca8722d8403a509c35ac31d06cc32f5f6aa792d925dc76ad6821f0980a2c9cf5299e5faa9e2a09d2d6de4d5ab9b5333d686356507279f7";; opam-2.2.0-beta2-arm64-linux) echo "91769b6ddb80475ae8e4b357606d436be59dcfd0904c4b6efd16c7b012af70895f362e2a7a93be872f3230e51129f370de231fd1cc45ad138ef03befe2d5b943";; opam-2.2.0-beta2-arm64-macos) echo "4862cc72ff298224719bd7be13da8c4fbb5d4f354a8890001cf53e218ceb0536abc883592c56fac3dd16fe22c84da7e4748b7b2d9ba2add5d57345bb72316034";; opam-2.2.0-beta2-armhf-linux) echo "5035a0dbddd67d6b61fa05c7c923ef17d641e34125e0531b3bd69a207aa8e2961ae31408405f69af0f7fed82fdbebd1f09aac07d1037877b0b93018d5f1401fb";; opam-2.2.0-beta2-i686-linux) echo "4e07580651053881a6d74af22b8ff7dd90db680287ee40277ff11c56c54cfa3390526ca07c5eea1df9f37e7890e71635221efb81fc6207f13d8f121b6c383821";; opam-2.2.0-beta2-ppc64le-linux) echo "392dfaf2caeab2930a97a91a3035c1ede996f615a578a429c90ad9b89c7d1821120e605eb32cd94f0e4f02f5b83337e43094409987cbbe22929c1d385c2a6782";; opam-2.2.0-beta2-s390x-linux) echo "f582639f27d0358f2f5842d7b9acac9db541c584c0b94efcbe4487904c35424f2d983c7159dfd2aa916db7a26333d09163d304bf2ba2a11d463f7bd2db9214e1";; opam-2.2.0-beta2-x86_64-freebsd) echo "90fc89c96288494045f2668932d942cd14789cb2861b71f5016ca437fb0f41b78e3b576ed19a85474d6659ec6779aacab9f5775a52e3280da00cad3b6b2ac729";; opam-2.2.0-beta2-x86_64-linux) echo "56bdfa7adea4f8e3347af8b926b49f32cdc1f6711c34417b54730853e54b58c6135bbac8ac093b30613ffbd1e2f2189287327a43f14ed408e2902e064c56888e";; opam-2.2.0-beta2-x86_64-macos) echo "430a92ec0abda9973d7209c31002de58f32b84359bf0f8d2369d40cac5208b6a3c1ab19b337905e9336d36e50153c3df260f3935650fe498bdd3db7e54885332";; opam-2.2.0-beta2-x86_64-openbsd) echo "78f1738bd2da4738d29e9273c23f1e52c8b7487938b48ff51234fd740f834c4a9078cf2f73b6e29afa6e10d2241c44df5a835b438132068ab73be18ab49d36ff";; opam-2.2.0-beta3-arm64-linux) echo "d2f55891a7453a9fa878e171322b900f89eebcc2bc38b05a99e23365836c0c3a9856e42f5078e3bcfc53a4ae057464e44872edb9fdb4a2dad0e1e34a2ae3c5ff";; opam-2.2.0-beta3-arm64-macos) echo "cc6b8d9b0e60df83acb397564f83781d241644981a3e4d8ed686a1aeab5aa82e6605aa2ac8981be3fcc288e7acb078a137e0ce60e3f334f447553f0b3b6826c8";; opam-2.2.0-beta3-armhf-linux) echo "705b2f35c25c8b64fc23b70a2b0251f6a083924871486a555be7bb55ea94042fd9fe2b08f63c459adb6d6a6e326865a58cffab531da75ee819676e59ddf27793";; opam-2.2.0-beta3-i686-linux) echo "16e6287ed52d196d2dc383abb751e6c16fe5c86526203b13942e6454c652adde0557aff584b2b2440d82f7d58b619cdb68b98ece0c971a440089a9fc1e83101a";; opam-2.2.0-beta3-ppc64le-linux) echo "52a91abf9ba930dced5d1dbf48422ac50b98f9164c8c7cd679544e65da78e7f80e2f062bf1149d6c646c16077928b861f1ec0ea04ab46cbe7c716b985fb4aa97";; opam-2.2.0-beta3-s390x-linux) echo "3dd09189caeaa1ac44018e2df969579936dca19dc0fcd721f5eb5e9b0d1e52378b362e7d10e6b4cbdaef02c7c9d92aa4889e4263fa279b01e1e7e901c417e553";; opam-2.2.0-beta3-x86_64-freebsd) echo "ca6e8aebb0eacd2506203093ee50871cbe4e31f9223ddc320952499d31074b2db54eac94bae1940981bac9916942f3d1767fae2bbff0263c05808779e204c0dd";; opam-2.2.0-beta3-x86_64-linux) echo "cc5d62b15e4b82bb4f81c7b9f08e4edf5e04580544df1c2721b8919b3ef8c081958eccec79a50a9b9c17787aa43b181cc2a53557bfa4b338c1c18b69563ec3dd";; opam-2.2.0-beta3-x86_64-macos) echo "038a9f5360b2030664346f0e26cd6373ab492955e20ff72504339b75c63e63bfa5f4f9877cc51e5ddd1a5560a65329bed7901db23703ca325fb1fa5d1c9e39c1";; opam-2.2.0-beta3-x86_64-openbsd) echo "a86d10906cc603b0c6aa5373a4db6e6f221eae3b0f8b0e78fd4be851d5e517012e5ae8ba99b0cdc17c33f1f2a4bfb5cd6f9d9629f0d2aaf41e803e03fdd43c37";; opam-2.2.0-rc1-arm64-linux) echo "5968ffab2ce6916695c6c221589353b4a1e6394ac14e17f7d464a6790c7e2ff65c466d9fb1354406f832c308ec60f8b35ed88bc54fb097cc1a327024245f4b10";; opam-2.2.0-rc1-arm64-macos) echo "a7f3a4acbb27015f7adb60df2f91f9bcfee04d6fd6d548cc234886d45d46bf445d13607cf1391c32bf39d49bb836390a2645ec75a896a68712933a8e79af7bbd";; opam-2.2.0-rc1-armhf-linux) echo "1495b825388c597e3b779547e0c39a4c5a0f17377ba522272c657b42cc21c8cb92810d4a3d82a4ba5c737db0b964e0db496f82738ef285388e479ad7ddda02c7";; opam-2.2.0-rc1-i686-linux) echo "a7fdec98d4c58054620255f35011e0a2840570a860952df07893ec29c208085ff70b61644a182d291cbf8af650974f41cfd0ef915de5242f695b9183dec312c2";; opam-2.2.0-rc1-ppc64le-linux) echo "f09570e343a7dd79fc06807d69b8a78bd6522d7733a9802a0b4759ee282da0d3c5b39f9e399663dbb24c14521c55f688255f4157a31f3d1d7925fe3129184dd4";; opam-2.2.0-rc1-s390x-linux) echo "0e60a00227304f490ab6c4764bb4686747d2907e8a8a93d01579fd20bf1141abc9d51a0316cf202de4e60ebc06a8c8bf7aea36e1760a70e9d48b36444b22ffbc";; opam-2.2.0-rc1-x86_64-freebsd) echo "4c30f984f5b5877c11fb1c79963952c2fbb765037448c4798bb1812f4dc8b49452ab4438e3c31b2736aebad06d8097f7ccb3f0f0582df7047d2c03955c701cb4";; opam-2.2.0-rc1-x86_64-linux) echo "3591fe2019eb9657af0d37cf44653a3077a8f0c92241368653b307e51f572e351a081a72e0ba8102bc176325096a91b258933486077f6f63bda814e3d58f5f27";; opam-2.2.0-rc1-x86_64-macos) echo "a4845e00b2aa7f1da7d528dc0b473e72cade71b2e07844ea1a440d076ee2f000c5e2c055dbe1b997b2e75b5daf0d2f9a9a0b13f0561ab8ee0bbe301153b21e82";; opam-2.2.0-rc1-x86_64-openbsd) echo "45be7dc22cd71284adf98511df2d5141806aa8d6bb69163d85fd433221ea41a3e125b9c83c1bc5ac5f4b5bfdde6d2ffb26d3c1e36713e55ab3f6cd76291bfe00";; opam-2.2.0-arm64-linux) echo "ed8bf4739922a736b8a41f1f89c941d280bda4fc7f79dd3f368c6e1fec5e82d5a3198ae1e5d1b8f7c33f339f813f7677a7c797fd8fb82093ea0f091a4192f3ef";; opam-2.2.0-arm64-macos) echo "43d112219844358db9a1ffdbd38704f7bb038036df4cf9df47d66c8400c530f4c2e2d8cc78129f5575cd463917b8bdd7241e9a35957b6acb98c21b1228071824";; opam-2.2.0-armhf-linux) echo "f0e170ee075cec57dfff79965d6e53bf0a95d847a9903f153d44da1377304523deb34b4d8d3613848bdf011ff949f71618fcd05332ccc48d1d3f160f5423b6b9";; opam-2.2.0-i686-linux) echo "dbbad150cae2bc31db225bbf27c5a570535b729985ba482f594bff994beaaff68345424e931cbfe9d6735c8b169b7fadc48abf2dac0f518bc2551a732757ed0f";; opam-2.2.0-ppc64le-linux) echo "f5de77511067fe26df4549df5815cb552884a600823d97b85c03be5a2f52b8ee908a3cd413b9ab22222bc863994fec604d8e5b35406d472fdd46e4508a540b64";; opam-2.2.0-s390x-linux) echo "67c9031f7ae3d36a0debb71da5fab8ad11d77d3d16c09b18379dfd58f371823a109ea21b4590d3488a6c1618b79ff7877a35045580a4eca1c883716f266717aa";; opam-2.2.0-x86_64-freebsd) echo "a3202009436a1a8aa1d6602aa39b7ed579e3e9e60807acedcc5a349341038030fee52000039a37df88e3acbf2a44bde21b2061874d9a997858bb8327c42315a4";; opam-2.2.0-x86_64-linux) echo "3790ab9076fc2a7060a588a51e0af8ead536a9a1235371b8641b0c6200ad49066a8ad4b9b5f8c510ba274e54f48c2f3f007e3e1ac13161c3d5b16c22ba342d5a";; opam-2.2.0-x86_64-macos) echo "d32f7fe7fb9a126cb79f679317914639ddf77765071c8d509eba3acc7585f346d8634cd6e611df78f8c3b546bdca6de82fb4965740b381b76c458b9ba1134e88";; opam-2.2.0-x86_64-openbsd) echo "98d0b20e3d833070e4656ccfde586a47c680cc4e3ee049c36296032be3eecf5fda3b39cf672060febbe2d12b032cb0b22a3934ad474d2c8433831f96d766eff5";; opam-2.2.1-arm64-linux) echo "32360c69e554b7c0376a437b144bcb371a955f1261bebd1854b6720aa89f24ccdd46b2636db4dd4e9f175a67839f9583750bd75b0cb08696b1bf6ea10b61e92c";; opam-2.2.1-arm64-macos) echo "711c208db843b6719cedb97e8b509161724a6c0e709431ceca2dfa664074371cd47d4e785c67e4600543e8f61e9ea8257b9e70c0dc8398314b2c118c7f1edc2a";; opam-2.2.1-armhf-linux) echo "9cb64ff3f635fabb9afd0ff811bc6fdd4d883926ecbb270fd5278c01a727668706b35f07097b361b40795ec8b407f1a3c3f1463b40ad5a345e475116631c0918";; opam-2.2.1-i686-linux) echo "bf16d573137835ce9abbcf6b99cb94a1da69ab58804a4de7c90233f0b354d5e68e9c47ee16670ca9d59866d58c7db345d9723e6eb5fc3a1cb8dca371f0e90225";; opam-2.2.1-ppc64le-linux) echo "3cd5c12e8c97ae3a8095dc73a37babe3caf281a934cfbd1d80fbaa40f26e27dcb636fe9167f28909cfde46a7a04362f74fe36fe8f5dc125ab331716a7b1a80c5";; opam-2.2.1-s390x-linux) echo "bfb66917f7890229dcdd47443fcc9b6d7a666f41d82143e1798c141d66598f344e4fc73bfd52f15309fcdc1f65f1c43063c9bdc066600762cd708d12f0839cda";; opam-2.2.1-x86_64-freebsd) echo "1f9975294065ba898b5a0bcac3330c4c8cf80811cf1a88980af2ef2aaf9136215557a789805c57d19c0d53b21f431fb8d158b5e0a65c914536005f94c0086bfb";; opam-2.2.1-x86_64-linux) echo "7d3a7585af622e9b70fa4a3fff72f561b96f918b8f2ec55c6bd840a06c03934c461ef228a2ef6633ae295f1e546143b80ea846f2f54027f176ada37d11abbfbc";; opam-2.2.1-x86_64-macos) echo "599801e9bdbe32c1bf81a708ef4ced25eb1eb78aa3a6af42e6968d0dd21cef46a3ee21b7b2bc7c620cc24e92cd317589b5f69bc99ed823a14ae271a7bc06c57b";; opam-2.2.1-x86_64-openbsd) echo "647a4a06088c953d72c15aba9af32859b8e0322fa3ca68c86a1aa15c8789631178348ef6d3b045ee4cd4d46100a3be2fcb8bc4bc8099508d506694b50890535c";; ### opam 2.3 series ### opam-2.3.0-alpha1-arm64-linux) echo "2e243af1560ff92bb14c11cf030ed4a207847606f43c7fed09d2a2790fabcd6568a92b1c677483062c846cad30fb0fc26c0be5cb201e8be58e370f17519102cd";; opam-2.3.0-alpha1-arm64-macos) echo "07e5834d0163d563979121a2f5306bb3b62b14e8f56ac43372d55a865bb6291c3f70d3be4603f0ca5078061e2811ec1a6f8dfa6d0a9b5135dedec1fbd6f6fe1b";; opam-2.3.0-alpha1-armhf-linux) echo "a01e8926c2e6da7bba975c105a37e8fc7a7bd6b6b1e9b70ddc23cd02a744e3f8f83522bf366ad67d5e7314159a243fa2ea3df2198e042b5063dfb6e9f0219f28";; opam-2.3.0-alpha1-i686-linux) echo "685cd9a968ed9a658495f2298ed59d2d2c9dea4365d8d6d24c4eeda655740a62451c4235377dc1cc1a5fa604e3d307e1b975b81c26101904c87cd704e326d20d";; opam-2.3.0-alpha1-ppc64le-linux) echo "c752cef8af5e54153f835efc3544f2fc1076481ae342d463d8e7e047c0a9a52ddc03d80f9a1542245d68c64dc17c1fdd16eecf641f990aa7537c06ca85aeeb2c";; opam-2.3.0-alpha1-s390x-linux) echo "7a1ec8f042e11d1c7262dccaaec8a66a37c8201c1df03dac57891d13a738a5faa1f235d562a1c071e66c0435e9e4f9989ac16045f83b75d97883abe0eda6d1d9";; opam-2.3.0-alpha1-x86_64-freebsd) echo "bfc475a32bd40b1776dccb4d977993d695499e7ac858234416c62f4c5f5d8deb7e600a1c852b52681e8e1481819f84ae7d0c83d50aae33c89df13a5596afe224";; opam-2.3.0-alpha1-x86_64-linux) echo "26cc2d20395ad9a7fa321dd3c7b0c54929c552f1a9b38e642c1cea5fff663245a61937aa08b7fa9c5ad5fd430e1fb1aa2ce31530e78e1c551503d9b8996f572f";; opam-2.3.0-alpha1-x86_64-macos) echo "9130b36510550db726770b1e9fe997d681f52fb442f577871ab890c6912b651d036a99d95e4a5d798c39f2a60dc5d7cd127d9647e16a44eb15f1e598ef5e927d";; opam-2.3.0-alpha1-x86_64-openbsd) echo "c18dca7b55ac2e67c61d4b370dd85348171feac9c4f2ea1ed2f154978ec54b545b540a02264ad29a920082d8aa5ebd82a3472bcee16faf14d33a117e8ea5c077";; opam-2.3.0-beta1-arm64-linux) echo "34335716803017572d4768766b39501fa19058eba28ca1274c579a17b8966b0420f88f93c5bc5580d18cbdcd8559ca12ea2a06e147fc1eb375837375dcbdbb1e";; opam-2.3.0-beta1-arm64-macos) echo "0dbb9cda74137d4582269d2a8e2b8137883120d082b8c8330daa4ac2abcb115b254d4f712be1d0a7d6761cd4369b95d6754b5af18144e12e9262286a83743519";; opam-2.3.0-beta1-armhf-linux) echo "13c6686f5f7ff81a5f4b370816cf91cea113b921db7881fe82404e83ad2818f94d2a6e9788b4bcb740223f4cebe141f1a938e2c0b813529e34297561df74dbb0";; opam-2.3.0-beta1-i686-linux) echo "aab115d818d08be44d9c10af37e289702f705ccd98d5fa36e7d590d526419e36cf802f787873902a9d5683cefedbc6f32fb1c2f108c546ca52cf5f30dee29e54";; opam-2.3.0-beta1-ppc64le-linux) echo "5c50bb21c602de678b0f78cb9ea795177b8f163ec1913cdbdafeb7c1007d47984fc81c10d4488a81e3aeb2529865d7ecf61d5f2fa35bb888bfdd15b42b1a82b3";; opam-2.3.0-beta1-riscv64-linux) echo "491dd23553b343c2b5e88ab118cbb6a434ec689d7aeee030866c6aed747243e7bc2a48749c59069ddf8cf9df28769fd035c785803cbb74ac527133781fbd74cd";; opam-2.3.0-beta1-s390x-linux) echo "cb2ab8a8e96e86ee61712841aa4e7d9c6792d03c5ba78a56827dbd91b8c704572e8b939ef498b512cf3c751fad8f2d3865d0b080780ed30db0ca0569dddfb65b";; opam-2.3.0-beta1-x86_64-freebsd) echo "1750da97e7af858b6bd8997da1aa9de949370b7f6a825f7b2ad98eb6ef606bc0c83b6b0fea0ef5e37094790e355892c31128a5b9221a792bf2762773ef5c6ff8";; opam-2.3.0-beta1-x86_64-linux) echo "184f69ca1ac0053b44aff4b2eb13849acbd4ba59a58734d8153c8f9b48f0adb2a890d18e8c2548cf96590cc52d6a0d3f2b80fa7d6aa7ae4f2d48c74ae8fd6eb4";; opam-2.3.0-beta1-x86_64-macos) echo "d4623d648a429caca388b77b7f88eb13e5e3bf7e8b354a59e9097e8f764658906d94cf701d0ccc6accf7489002aeabc147d0483b034b15fd98dbd820188e203e";; opam-2.3.0-beta1-x86_64-openbsd) echo "54f2bb62b72faefc09a55d93299016ef50f2a3b442c471495bdf3d7bc0eb88e237bffa05d6c17dae0d1f8cd403b2cf41740bd296dbbd2564b5d2ee9e37be265b";; opam-2.3.0-beta2-arm64-linux) echo "ee9504c3b3b9ed4cf033553cc2c556e04d2c2cad7dcf284e4c60272b0a97230d8ff7cae66262ccd0feeb84fb7a8b0f965bcc2bee7d9c0f5915cd9ea9f3f82e5d";; opam-2.3.0-beta2-arm64-macos) echo "c22856a665696c6038859bccdf16835f8f8be5cec7ecea5b326b01a9bb844e6d609e77f22d6e6e41852ab0927f21f4e38eb68b65f011fffce6c5720deb10b1d8";; opam-2.3.0-beta2-armhf-linux) echo "0ebfe223473da16cffae114fda4fa843f66d2940e4926446859b2be1c4885305be4bbb44369c60375db4d50b077175513534bd03fd914f2053d01a234a3ca9d5";; opam-2.3.0-beta2-i686-linux) echo "7ae407ea858c461e6e0c07954aacf01b824c04567d1e18c66e9a4f678b3e7f4e7f4e2d5e1d122594c1b81382386bc15fd9722314c4e8595bcd826d33a03b8445";; opam-2.3.0-beta2-ppc64le-linux) echo "72cc41d4a86de0ab3de9fb1baa8fd0bbd923218d968a535a8d8ccaa53ea972e6e0b696cb9b3b83dbee37032e77f1e52a7ac5b29ba4ddd58def7188bc5479121d";; opam-2.3.0-beta2-riscv64-linux) echo "52de7f0a3306f573f5512a5fef8188dc4d47d5ad90202c5ab113649d6604e5299302c5fcdbb56383bf01539dfd01bd5eae6776428ac1baa1b87397553b32b5a4";; opam-2.3.0-beta2-s390x-linux) echo "0db1702d94d86b17ed77ece37020f6daff20e2d1f11256375d5c645698a7dc4e62c01e9675b9337d7b2d99e381acd87097584eafed556017fbb31e9722dbe635";; opam-2.3.0-beta2-x86_64-freebsd) echo "eaa3bb6d49850598b1dd14e8d9fea6f86c57a89dcdea8c5be447e175e5ab842a86e0a5d3e353d826e15f801357ab04da3f73d20dca7055fed8a15ad6f15d285f";; opam-2.3.0-beta2-x86_64-linux) echo "34c8d9096c486022080268060fba2450b0ab9be6c849ade43e2b67b8adedd08af973d9832cd17dfd7ed2151e6b1920137467e9e5d034a59ebaf51b8657a8b078";; opam-2.3.0-beta2-x86_64-macos) echo "09f14a079805b20d28adf33bce4d15cce0dae8acf078dd21fae555346dcc980bb2c917db0269a2399297eadf31ba1c18ee88dfdfc7536c3a971c15850f11df53";; opam-2.3.0-beta2-x86_64-netbsd) echo "db8b33e007feee96e7e750347baecb95ccfddffc1134e911ba16c4c1621c129516b7608893ee76424473e46d7bf81928b10865ea9180cca290f583a20e4d377c";; opam-2.3.0-beta2-x86_64-openbsd) echo "7c125d000654b6b84c2baad1f79d931c1bc0bde800c32c34878b97ca4a4d9ed718e196087bfa00574a6b0c66b8433aaab7dd64d84b0b12aad6139ff8ee769f92";; opam-2.3.0-rc1-arm64-linux) echo "a5683faeacd9f2239b73f4bfa4a983cb426bb2df3276776501afeb970726575420e3926d401ee9ba4aa158339e10562df04f02ac65f96e0453695387ebd9f1bd";; opam-2.3.0-rc1-arm64-macos) echo "b40d16a5c850787c99c9bf91b950d321826bf5c02f26e2bd4428713b6732d678f5826ea34606e5852b8a6f2f1cdd16f52d881e4dbbb4f7cd9bd61910874b9156";; opam-2.3.0-rc1-armhf-linux) echo "b320d176cdb46257af5623b8815bcd302c73304d41658ed8ff055debce93abfd343e43e68be54bad756ed76dd92f3aec87e59fad9f9a120ed22b0a73666f6fb4";; opam-2.3.0-rc1-i686-linux) echo "b67d523f56bac6d06c4167cae3c8d14a506d759e7d937e1a3bc34ffedf534288a9e61917df1cb936aeb51b0869caa49e8dbf239510a5d4a19f5fb5136fed1ad6";; opam-2.3.0-rc1-ppc64le-linux) echo "80525709e7756af9150da23ec5014b9833cf01da205786d255748b45cf2ae3b12a28b56392d6a2a5ef97eafa74e72a1431b91b040a4b5af1f3d7b2c900cfcf78";; opam-2.3.0-rc1-riscv64-linux) echo "ed45f72d958c4791656aa79eb7df2714f0f2e113e203442f949b223916441d88abef85d9e10b4b50edc163f47e091f14ea2b27c93e5231e0b0eb3ff5f2de40c4";; opam-2.3.0-rc1-s390x-linux) echo "f94c4675f9952535545822cb8cbbc3c10762a09ab3559be3a662caeddbc50ecdb1fb0d91a56a1fe663915a3638639d94571c37fd93370d388b69fcb8bfb6d222";; opam-2.3.0-rc1-x86_64-freebsd) echo "eb65e38a54e39d5f857f70ca6d357d6efc3c9b2523f75523a0bc7759773e8af53bc116eb76a3724147253b3b5316e99dce3792bbd3f9f195c6b8c204e9a1ca8d";; opam-2.3.0-rc1-x86_64-linux) echo "7419ad0baa7758254b2468998522b9a0ab9d3e6336509cfe509232e9c4870040f95bdac8e6b47f35fca8967da718f161029f6223355e038039b05464b721df70";; opam-2.3.0-rc1-x86_64-macos) echo "a94b57be3339a2f1556ef5b1bc7b812c3ab0188458433be7f1aed3a2c2387e7af7811b112aad7ffd4b80aaa9c37eec02a3444771ed05dc84896242048b17856c";; opam-2.3.0-rc1-x86_64-netbsd) echo "639b342149926fdcef629dc069034ab4d49e3582dbbd11ad2617c0af3c941bfc2d3ec4191d4549b1b031b1fbddc9f13b02ccbea923a9aa4d0d2d289c2ce620ea";; opam-2.3.0-rc1-x86_64-openbsd) echo "08b4be43a921f8274f862a9ed1943cd980f192ba7df4485cf80c8555b268b05b0dec70c9d0cf29751099435e282c076e0b523d3110d8d105e0c1e0aa7626af88";; opam-2.3.0-arm64-linux) echo "a551cbaa44a6945e09b3daa3a3a7477821062d385037543cb71a188e4625c4ced76422689437aee602707076c1d16b68bed99ad5a31df98e69a8810dccb037b3";; opam-2.3.0-arm64-macos) echo "45a6ca26eed3fe5937b1940f2c41c24517c0920d9632fd9eea3e0613411e85cb4126effd645d2915e37c65022aa0c483d2c98f8ce25dd8b70bb98e2c4ecd7804";; opam-2.3.0-armhf-linux) echo "06db12228e1316aa3c57b27812ad09993e32ae4f1ae68f775df064f39ecb7536cbd8aff6cf0a9cf85b45a940193531ce5056225338b1729ba0ff2d04ebf4e046";; opam-2.3.0-i686-linux) echo "4c0e8771889a36bad4d5f964e2e662d5b611e6f112777d3d4eea3eea919d109cd17826beba38e6cfa1ad9553a0a989d9268f911ea5485968da04b1e08efc7de2";; opam-2.3.0-ppc64le-linux) echo "69277baab094007b3e409305dd58b8cd321ecbae436e31fe12e3c431e8a00373e450f1865f51e0effbe3724e55b20be3611663e7c4826d486f9a0f73848ae907";; opam-2.3.0-riscv64-linux) echo "aff97b81d7952170fe926a36f8c2fa4ab01ebbcca3c172c252e5dff6cb9eb9732e7cf5d0c31100264129c1d98c0e47ca94add7e3976e63f28e0d900f4be5da97";; opam-2.3.0-s390x-linux) echo "d7ccea44f66862c6151f29183c6a66a053c641a4d18d8c8689b0940ec4ed12b149e56e52524f798fc4af8c7c9e879859d1fc54dd94054bb8e45ef91a3bf7e763";; opam-2.3.0-x86_64-freebsd) echo "b8b29b84bd76ee90df531a2045950d7f098ac4d7040f651807ac63829fa1bf7dc81b998adb7628c57fff0ce5c112a4749a04f46e84688232d0fb2f8debd24d90";; opam-2.3.0-x86_64-linux) echo "d4271d2387751313d5f904e8fdb3133ea893c72d09737139266d2bbe7624f81665a4276d2e55aa71856630ece8ce226b989560076599baae9afc053c5815f8c8";; opam-2.3.0-x86_64-macos) echo "18c98cbbd986e33e06943522d0cce6725615406c4f072e7487a56242e2f03de0f436a674b590a5ebfbbe47b7819358926bd3ce71c5b847227b5d0d3de120d6ee";; opam-2.3.0-x86_64-netbsd) echo "3ff9920f90dbf848b81448ad6fa2c74a96514a2f3cd92aa655f1bb585aae3233fa7bbddd855713356dfe879b326c3f3ea5449a549322956e802f61c383880b20";; opam-2.3.0-x86_64-openbsd) echo "684cbb23035de99b75b5a99b7844b8a904f12b6817df9996bccef7164fe9574bed525ddec3e6f0c7c45188c0fbca7166b9644202ee0a6a5a85fbeae5dd31944f";; *) echo "no sha";; esac } usage() { echo "opam binary installer v.$VERSION" echo "Downloads and installs a pre-compiled binary of opam $VERSION to the system." echo "This can also be used to switch between opam versions" echo echo "Options:" echo " --dev Install the latest alpha or beta instead: $DEV_VERSION" echo " --no-backup Don't attempt to backup the current opam root" echo " --backup Force the backup the current opam root (even if it" echo " is from the 2.0 branch already)" echo " --fresh Create the opam $VERSION root from scratch" echo " --restore VERSION Restore a backed up opam binary and root" echo " --version VERSION Install this specific version instead of $VERSION" echo " --download-only Download binary in current directory and check its sha512" echo echo "The default is to backup if the current version of opam is 1.*, or when" echo "using '--fresh' or '--dev'" } RESTORE= NOBACKUP= FRESH= DOWNLOAD_ONLY= while [ $# -gt 0 ]; do case "$1" in --dev) if [ "$VERSION" = "$DEV_VERSION" ]; then echo "There is no dev version. Launching with last release $VERSION." fi VERSION=$DEV_VERSION if [ -z "$NOBACKUP" ] && [ "$VERSION" != "$DEV_VERSION" ]; then NOBACKUP=0; fi;; --restore) if [ $# -lt 2 ]; then echo "Option $1 requires an argument"; exit 2; fi shift; RESTORE=$1;; --version) if [ $# -lt 2 ]; then echo "Option $1 requires an argument"; exit 2; fi shift; VERSION=$1;; --no-backup) NOBACKUP=1;; --backup) NOBACKUP=0;; --fresh) FRESH=1;; --download-only) DOWNLOAD_ONLY=1;; --help|-h) usage; exit 0;; *) usage; exit 2;; esac shift done TMP=${TMPDIR:-/tmp} ARCH=$(uname -m || echo unknown) case "$ARCH" in x86|i?86) ARCH="i686";; x86_64|amd64) ARCH="x86_64";; ppcle|ppc64le) ARCH="ppc64le";; s390x) ARCH="s390x";; aarch64_be|aarch64) ARCH="arm64";; armv5*|armv6*|earmv6*|armv7*|earmv7*|armv8b|armv8l) ARCH="armhf";; *) ARCH=$(echo "$ARCH" | awk '{print tolower($0)}') esac OS=$( (uname -s || echo unknown) | awk '{print tolower($0)}') if [ "$OS" = "darwin" ] ; then OS=macos fi TAG=$(echo "$VERSION" | tr '~' '-') OPAM_BIN_URL_BASE='https://github.com/ocaml/opam/releases/download/' OPAM_BIN="opam-${TAG}-${ARCH}-${OS}" OPAM_BIN_URL="${OPAM_BIN_URL_BASE}${TAG}/${OPAM_BIN}" download() { if command -v wget >/dev/null; then wget -q -O "$@" else curl -s -L -o "$@" fi } check_sha512() { OPAM_BIN_LOC="$1" if command -v openssl > /dev/null; then sha512_devnull="cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e" sha512_check=`openssl sha512 2>&1 < /dev/null | cut -f 2 -d ' '` if [ "x$sha512_devnull" = "x$sha512_check" ]; then sha512=`openssl sha512 "$OPAM_BIN_LOC" 2> /dev/null | cut -f 2 -d ' '` check=`bin_sha512` test "x$sha512" = "x$check" else echo "openssl 512 option not handled, binary integrity check can't be performed." return 0 fi else echo "openssl not found, binary integrity check can't be performed." return 0 fi } download_and_check() { OPAM_BIN_LOC="$1" echo "## Downloading opam $VERSION for $OS on $ARCH..." if ! download "$OPAM_BIN_LOC" "$OPAM_BIN_URL"; then echo "There may not yet be a binary release for your architecture or OS, sorry." echo "See https://github.com/ocaml/opam/releases/tag/$TAG for pre-compiled binaries," echo "or run 'make cold' from https://github.com/ocaml/opam/archive/$TAG.tar.gz" echo "to build from scratch" exit 10 else if check_sha512 "$OPAM_BIN_LOC"; then echo "## Downloaded." else echo "Checksum mismatch, a problem occurred during download." exit 10 fi fi } DOWNLOAD_ONLY=${DOWNLOAD_ONLY:-0} if [ "$DOWNLOAD_ONLY" -eq 1 ]; then OPAM_BIN_LOC="$PWD/$OPAM_BIN" if [ -e "$OPAM_BIN_LOC" ]; then echo "Found opam binary in $OPAM_BIN_LOC ..." if check_sha512 "$OPAM_BIN_LOC" ; then echo "... with matching sha512" exit 0; else echo "... with mismatching sha512, download the good one." fi fi download_and_check "$OPAM_BIN_LOC" exit 0; fi EXISTING_OPAM=$(command -v opam || echo) EXISTING_OPAMV= if [ -n "$EXISTING_OPAM" ]; then EXISTING_OPAMV=$("$EXISTING_OPAM" --version || echo "unknown") fi FRESH=${FRESH:-0} OPAMROOT=${OPAMROOT:-$HOME/.opam} if [ ! -d "$OPAMROOT" ]; then FRESH=1; fi if [ -z "$NOBACKUP" ] && [ ! "$FRESH" = 1 ] && [ -z "$RESTORE" ]; then case "$EXISTING_OPAMV" in 2.*) NOBACKUP=1;; *) NOBACKUP=0;; esac fi xsudo() { local CMD=$1; shift local DST for DST in "$@"; do : ; done local DSTDIR=$(dirname "$DST") if [ ! -w "$DSTDIR" ]; then if command -v sudo > /dev/null ; then SUDO=sudo elif command -v doas > /dev/null ; then SUDO=doas else echo "Write access to '$DSTDIR' required, but neither sudo or doas is installed." echo "Aborting..." exit 1 fi echo "Write access to '$DSTDIR' required, using '$SUDO'." echo "Command: $CMD $@" if [ "$CMD" = "install" ]; then "$SUDO" "$CMD" -g 0 -o root "$@" else "$SUDO" "$CMD" "$@" fi else "$CMD" "$@" fi } if [ -n "$RESTORE" ]; then OPAM=$(command -v opam) OPAMV=$("$OPAM" --version) OPAM_BAK="$OPAM.$RESTORE" OPAMROOT_BAK="$OPAMROOT.$RESTORE" if [ ! -e "$OPAM_BAK" ] || [ ! -d "$OPAMROOT_BAK" ]; then echo "No backup of opam $RESTORE was found" exit 1 fi if [ "$NOBACKUP" = 1 ]; then printf "## This will clear $OPAM and $OPAMROOT. Continue ? [Y/n] " read R case "$R" in ""|"y"|"Y"|"yes") xsudo rm -f "$OPAM" rm -rf "$OPAMROOT";; *) exit 1 esac else xsudo mv "$OPAM" "$OPAM.$OPAMV" mv "$OPAMROOT" "$OPAMROOT.$OPAMV" fi xsudo mv "$OPAM_BAK" "$OPAM" mv "$OPAMROOT_BAK" "$OPAMROOT" printf "## Opam $RESTORE and its root were restored." if [ "$NOBACKUP" = 1 ]; then echo else echo " Opam $OPAMV was backed up." fi exit 0 fi if [ -e "$TMP/$OPAM_BIN" ] && ! check_sha512 "$TMP/$OPAM_BIN" || [ ! -e "$TMP/$OPAM_BIN" ]; then download_and_check "$TMP/$OPAM_BIN" else echo "## Using already downloaded \"$TMP/$OPAM_BIN\"" fi if [ -n "$EXISTING_OPAM" ]; then DEFAULT_BINDIR=$(dirname "$EXISTING_OPAM") fi while true; do printf "## Where should it be installed ? [$DEFAULT_BINDIR] " read BINDIR if [ -z "$BINDIR" ]; then BINDIR="$DEFAULT_BINDIR"; fi if [ -d "$BINDIR" ]; then break else if [ "${BINDIR#\~/}" != "$BINDIR" ] ; then RES_BINDIR="$HOME/${BINDIR#\~/}" printf "## '$BINDIR' resolves to '$RES_BINDIR', do you confirm [Y/n] " read R case "$R" in ""|"y"|"Y"|"yes") BINDIR="$RES_BINDIR" if [ -d "$BINDIR" ]; then break; fi ;; *) ;; esac fi printf "## $BINDIR does not exist. Create ? [Y/n] " read R case "$R" in ""|"y"|"Y"|"yes") xsudo mkdir -p "$BINDIR" break;; esac fi done if [ -e "$EXISTING_OPAM" ]; then if [ "$NOBACKUP" = 1 ]; then xsudo rm -f "$EXISTING_OPAM" else xsudo mv "$EXISTING_OPAM" "$EXISTING_OPAM.$EXISTING_OPAMV" echo "## $EXISTING_OPAM backed up as $(basename $EXISTING_OPAM).$EXISTING_OPAMV" fi fi if [ -d "$OPAMROOT" ]; then if [ "$FRESH" = 1 ]; then if [ "$NOBACKUP" = 1 ]; then printf "## This will clear $OPAMROOT. Continue ? [Y/n] " read R case "$R" in ""|"y"|"Y"|"yes") rm -rf "$OPAMROOT";; *) exit 1 esac else mv "$OPAMROOT" "$OPAMROOT.$EXISTING_OPAMV" echo "## $OPAMROOT backed up as $(basename $OPAMROOT).$EXISTING_OPAMV" fi echo "## opam $VERSION installed. Please run 'opam init' to get started" elif [ ! "$NOBACKUP" = 1 ]; then echo "## Backing up $OPAMROOT to $(basename $OPAMROOT).$EXISTING_OPAMV (this may take a while)" if [ -e "$OPAMROOT.$EXISTING_OPAMV" ]; then echo "ERROR: there is already a backup at $OPAMROOT.$EXISTING_OPAMV" echo "Please move it away or run with --no-backup" fi FREE=$(df -k "$OPAMROOT" | awk 'NR>1 {print $4}') NEEDED=$(du -sk "$OPAMROOT" | awk '{print $1}') if ! [ "$NEEDED" -lt "$FREE" ]; then echo "Error: not enough free space to backup. You can retry with --no-backup," echo "--fresh, or remove '$OPAMROOT'" exit 1 fi cp -a "$OPAMROOT" "$OPAMROOT.$EXISTING_OPAMV" echo "## $OPAMROOT backed up as $(basename $OPAMROOT).$EXISTING_OPAMV" fi rm -f "$OPAMROOT"/repo/*/*.tar.gz* fi xsudo install -m 755 "$TMP/$OPAM_BIN" "$BINDIR/opam" echo "## opam $VERSION installed to $BINDIR" if [ ! "$FRESH" = 1 ]; then echo "## Converting the opam root format & updating" "$BINDIR/opam" init --reinit -ni fi WHICH=$(command -v opam || echo notfound) case "$WHICH" in "$BINDIR/opam") ;; notfound) echo "## Remember to add $BINDIR to your PATH";; *) echo "## WARNING: 'opam' command found in PATH does not match the installed one:" echo " - Installed: '$BINDIR/opam'" echo " - Found: '$WHICH'" echo "Make sure to remove the second or fix your PATH to use the new opam" echo esac if [ ! "$NOBACKUP" = 1 ]; then echo "## Run this script again with '--restore $EXISTING_OPAMV' to revert." fi rm -f "$TMP/$OPAM_BIN"