# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup golang 1.0 go.setup github.com/MetaCubeX/mihomo 1.18.8 v categories net maintainers {i0ntempest @i0ntempest} openmaintainer license MIT description Another rule-based tunnel in Go, formerly known as ClashMeta long_description ${name} is another rule-based tunnel in Go, formerly known as ClashMeta.\ It supports s lot of protocols including HTTP, SOCKS, VMess, VLESS, Shadowsocks,\ Trojan, Hysteria and more, and has built-in DNS server functionality with DoH/DoT\ support. homepage https://wiki.MetaCubeX.one checksums ${distname}${extract.suffix} \ rmd160 b5509c5eea67047b79509fc9f2564ccd47848f27 \ sha256 acda0868d675d5527399eb0f6624ddba8337664f89b811daea16d27f0f372dce \ size 604580 go.vendors lukechampine.com/blake3 \ repo github.com/lukechampine/blake3 \ lock v1.3.0 \ rmd160 39b18f1fe6073d4d139b4eae783a360bd39da776 \ sha256 257358e068395db0c2cf8f084e118845fcce26ecef5ecec998d59670d6214343 \ size 38832 \ gopkg.in/yaml.v3 \ lock v3.0.1 \ rmd160 e85ac1368fb7f9ef945b7fd7bd608a1f0d261c12 \ sha256 f3ea6be3f405ec25f8799773355aba54f8831d11f5315a01155bdc69b92eca7b \ size 91208 \ gopkg.in/check.v1 \ lock 788fd7840127 \ rmd160 b63165c8909a27edc15dda210df66a1b49efb49e \ sha256 7e5547c6471cc48da89a7c87f965b20ca5311f43fc4d883ca62f9fccf7551630 \ size 31597 \ google.golang.org/protobuf \ repo github.com/protocolbuffers/protobuf-go \ lock v1.34.2 \ rmd160 b725d236d835fc95f3cf19809325bf4deb998149 \ sha256 dc28007fa38598d4584d48a9e2284e738b63d57ea1cca25d175923884f2eb887 \ size 1523231 \ golang.org/x/tools \ lock v0.24.0 \ rmd160 1aaf717b6ac0462b038b1191fa9e9bfca65219bc \ sha256 913f01e63c6d1f1f1dded27cac87dfacff6cbad90372b82cff246524e6fc37fd \ size 6977305 \ golang.org/x/time \ lock v0.5.0 \ rmd160 736ffd8142f0eac7fd5fdde68d9a2adb67a0a7d2 \ sha256 b74986a49a769e26a05be1518d800182806135e22819ef98017d38f8e1e6b69c \ size 12221 \ golang.org/x/text \ lock v0.17.0 \ rmd160 d78334f0fbc6685d09d300728e8d76dec95f4a0d \ sha256 1485e4341b809faa9541d59999dbfa9016570395a2fcdd252c448e42a8196b81 \ size 8972469 \ golang.org/x/term \ lock v0.23.0 \ rmd160 131879e7d516e92f8c6dac47b5b750c18e7ab9bb \ sha256 84a80901adbe8e647508a48d89e0c772c6aafd4b44bcc05271ca0a51a9e1d1a6 \ size 14734 \ golang.org/x/sys \ lock v0.24.0 \ rmd160 74fb804978246135d12ca76dbe1599abcdc5b29b \ sha256 d794227ad7ad26a66b72121cfa6be48b4a8f340bac190b513044a714e8c9256c \ size 1502103 \ golang.org/x/sync \ lock v0.8.0 \ rmd160 753a4804058e3be785a5d00aea60bc6950baa709 \ sha256 9f9f999d50ea1bbba9f7d9a629d594da7e221eeb4d54216ef480d1a8546fa817 \ size 18185 \ golang.org/x/net \ lock v0.28.0 \ rmd160 ff293c5c5c80c01ee1e994c91cfdc1c5fc7a5549 \ sha256 8bd844bca7746be0c4ba536164a6869427299ac0abfcd34a76b8ee1866918b5e \ size 1454672 \ golang.org/x/mod \ lock v0.20.0 \ rmd160 a1fad8f4235b1ba148f618582c615a798bc0e7f1 \ sha256 ee48dafaa0a10587b60873d762ab71e0e2b6da1f96a0779f7506d4f080d2fdbb \ size 124269 \ golang.org/x/exp \ lock 0cdaa3abc0fa \ rmd160 9cee959a33f70ceb55ea4831862239bfad7f34b3 \ sha256 481a87b5123d7dad82398664c3597c519488ecb3341a44760624d76c7eddd8e6 \ size 1749613 \ golang.org/x/crypto \ lock v0.26.0 \ rmd160 437ca84bbed506eac15af824b0162f9bdd0008da \ sha256 dd29f4e0dbf8eaffc8e8d97c7a94b81f59d86f8ff0e3b6e042b44a38f78845a7 \ size 1799499 \ go4.org/netipx \ repo github.com/go4org/netipx \ lock fdeea329fbba \ rmd160 7f084e9efbfef366116fe1fdf66602bf3a08d1f7 \ sha256 9d0245a6fc4554d2bc8f5ad78e981800bb07cefa7f16ab4a29541f2507663f0b \ size 23643 \ go.uber.org/mock \ repo github.com/uber-go/mock \ lock v0.4.0 \ rmd160 76940760f7f852913de3930ce8e48f3b57192e7f \ sha256 fc83e16fc708cd38cd0320731c94e1322a9815e85ec4e334bc9cc400d8a2f81b \ size 90737 \ go.uber.org/automaxprocs \ repo github.com/uber-go/automaxprocs \ lock v1.5.3 \ rmd160 22b3a788789ff3609745b77fac311abc47f52b8c \ sha256 74099d337013fd04736aa29982a9dea7c17ab0d21519faa93a265038c6696152 \ size 24035 \ gitlab.com/yawning/bsaes \ repo gitlab.com/yawning/bsaes \ lock 0a714cd429ec \ rmd160 301ea4860ecc09b2042e1447a09b0ec04bd08efe \ sha256 36d5606cedc1ad6067cca25e1d7e43e45260045df8ce310ca1f6b12c68684505 \ size 18751 \ gitlab.com/go-extension/aes-ccm \ lock e58665ef23c7 \ rmd160 5e2397f53fd7f0a204f794a2e22f6186c1d42b77 \ sha256 e0b9782196a7a2e8921663df55e11d45745468564e2ac00682854d295a81dd82 \ size 7530 \ github.com/yusufpapurcu/wmi \ lock v1.2.4 \ rmd160 23599ad98727cca3e1678e909a1014e212d41fc7 \ sha256 05d3cee4c74f456174ea5538ee95fba675aeb520fd7bdd3872860a3c7dcafa11 \ size 12672 \ github.com/wk8/go-ordered-map \ lock v2.1.8 \ rmd160 3b679491f631b4900bfe3169517517b2731ebc35 \ sha256 c7caff4ba164feeebdcc568d6598931a20719827e05dfa18ac7d7c495d36b883 \ size 20797 \ github.com/vishvananda/netns \ lock v0.0.4 \ rmd160 71fab0c92ed5c0881e819ab2f4b5112e5aa01777 \ sha256 3201de191e83539b25e0679af8e344dfd7ab4467080982141ad8e0396780239d \ size 9754 \ github.com/u-root/uio \ lock ffce2a382923 \ rmd160 658839d7bdd8e84b2f6b399812a430f24f09057c \ sha256 ced6499bede8bfc315fdd369101394792aa9c3d3dc4bc70d71e543c4d7db2e95 \ size 19402 \ github.com/tklauser/numcpus \ lock v0.6.1 \ rmd160 db67212c0ad3f243bc1a1322f0b13209b839ce58 \ sha256 79d9983e092006b0f95b5f64cf64d8d056c53844040f405f78820af9927f2d0c \ size 9403 \ github.com/tklauser/go-sysconf \ lock v0.3.12 \ rmd160 ae582febe943a7b3c002b805a1c08cec97b5b852 \ sha256 61ca9fa5482fc7f4419da9bf5cdfb10642ce3be1ea45a56ea4a0674c756a9b03 \ size 30414 \ github.com/stretchr/testify \ lock v1.9.0 \ rmd160 59147e117812fdf8270ec79e46a229c472caf08d \ sha256 e6fa4f530cad5bac94bf08af05ddd1f569aeac8db4017ab4330ab7fe2802a6a3 \ size 108716 \ github.com/sirupsen/logrus \ lock v1.9.3 \ rmd160 db211aeb52d4a85a7dc8acf83f7475b5f4fa9092 \ sha256 36a05391b8c6cef99e9a9c78b598f3a8da8feed318b385eadcdede08ae5cc229 \ size 50327 \ github.com/sina-ghaderi/rabbitio \ lock 9ce26f4f872e \ rmd160 7c666cb15ff6cb4dfb4fedb4d4faade90bd452c5 \ sha256 15385bf9ab35b7c0530caebe14ddb6d1411ccdc618340d007090188f37a47c72 \ size 7574 \ github.com/sina-ghaderi/rabaead \ lock ab6e06b96e8c \ rmd160 1dbd7ee80b0a02b4851d5b401d5bfd298e5e7ff2 \ sha256 7c3dfde72f19dc4fd6eecdb653d9106bba4b63101bf997dd20b6dc360f67ca74 \ size 98011 \ github.com/sina-ghaderi/poly1305 \ lock c5926b03988b \ rmd160 b3519aa423bf595e9d134bc3ba99e2fb45301e16 \ sha256 470a239ff8165e60ce23b2b5e4a7afb4e673018f1c406fe1f7a70e05dc22e488 \ size 116937 \ github.com/shoenig/test \ lock v0.6.4 \ rmd160 0b83eeb2135c2628fab6b3f8ac71bdf4c5b48cd3 \ sha256 a55ef990715088df833e43d5d95d951d8aef9fe3a454d4b410268a69e8dcdaa5 \ size 45080 \ github.com/shoenig/go-m1cpu \ lock v0.1.6 \ rmd160 76afe893f52b06b021c4a6144cfe2739b05bbf6a \ sha256 3d1ad166a013aba1c137e56eaaaad12c8e28d7a56ec02acccf78e54b653d2dea \ size 9796 \ github.com/shirou/gopsutil \ lock v3.24.5 \ rmd160 5638720e2b30a7c322db690649df0c2aca5f196c \ sha256 d04073089f696418942a30d8cb4878e9709e79ffcfb92f1f61ba92d7bba56cc5 \ size 185793 \ github.com/samber/lo \ lock v1.47.0 \ rmd160 ab322694b466dd636e3533506f54b23700dc0d91 \ sha256 32e101a43c8d53f7f0bae747e878358e6b991632b6fab2c84534335dd81e2cb1 \ size 47642 \ github.com/SagerNet/wireguard-go \ lock 9a439356a62e \ rmd160 203f4eb6e6ea6b2723427750500ab49e0b11c321 \ sha256 640a0291a68e0742a0359e5f269552cdf088cbfdd009c67f57f2c0483a043f9e \ size 61215 \ github.com/SagerNet/smux \ lock 7041f6ea79e7 \ rmd160 9666f3170da33399badd9624927d5daea6fe837d \ sha256 cd0ed8038b5f2b3e678e4205d6eb3c4f07c98547b75a6201551344735295bca8 \ size 13941 \ github.com/SagerNet/sing-shadowtls \ lock v0.1.4 \ rmd160 eda6235785a9930d4b9094ddd1f6ea86124dea9f \ sha256 b6bf858cb8755d3eea3a6a5fbb96f8808abc4eeaca6d58aefec8eea13664787b \ size 171618 \ github.com/SagerNet/sing-mux \ lock 9bfb33698bb6 \ rmd160 5ffb06da7b26d8bdf2b1dbde06ce25f034785822 \ sha256 10495279ffda64b3083d5ccbbcdf1c9a9448e8ac66b415aa39e2f76474186882 \ size 13254 \ github.com/SagerNet/nftables \ lock v0.3.0-beta.4 \ rmd160 c3d551c39e50ca4f6ec0eff32395c4d626af8a50 \ sha256 22861e2530ffa118c69992ac203bbeb71bd6635fdda0780b7767b6cec4c2e04a \ size 85102 \ github.com/SagerNet/netlink \ lock b9a21c07ac6a \ rmd160 47d0aaed1c89e38bce29b3bb61df3723660bae3c \ sha256 ceb4f099a1b5280cc9ce390d0d090613ff185f1c194d578c22b45bfbe50a3330 \ size 191959 \ github.com/SagerNet/fswatch \ lock v0.1.1 \ rmd160 681ff51588ff50d775e967e7c69e99f052d1ef16 \ sha256 694d37463ee528e9ea4ffaf6ba1980ef59f8a33f46f2077d8af1f46a980a1e99 \ size 4927 \ github.com/quic-go/qtls-go1-20 \ lock v0.4.1 \ rmd160 f988914f4b32b982b7de2e257211fbac448d771b \ sha256 86fc963579e855353229e7d5c0a2efc1f26e3916e2d7eae22afa960dc3a5a3d6 \ size 427163 \ github.com/quic-go/qpack \ lock v0.4.0 \ rmd160 6332ffe83d94fc508a7298ae176db4b2205e7c9e \ sha256 7db52856f1245233d23a54de874bd2d2f79fb8f959c7af15ad07c777b2967bf0 \ size 41810 \ github.com/puzpuzpuz/xsync \ lock v3.4.0 \ rmd160 f34c976f29885aafb7a627607ef452240f83a39a \ sha256 fe9efd0095a6a518f8243b22de9a06b79893eb9d11acb4ce9e251caa650b656c \ size 45462 \ github.com/prashantv/gostub \ lock v1.1.0 \ rmd160 2a180f3086bf793f4f574165c926290196ed6140 \ sha256 eabe92e081c6ae53b105506caf512bed68f5170e74705ee22aac4cce814f281d \ size 7908 \ github.com/power-devops/perfstat \ lock 5aafc221ea8c \ rmd160 1c4f659015f1a59d261a493397534436ccb6a608 \ sha256 617a974b1f9c38ac9fd958a8cc80c14aaf083906691dda43d642c0ef12611047 \ size 36009 \ github.com/pmezard/go-difflib \ lock v1.0.0 \ rmd160 fc879bfbdef9e3ff50844def58404e2b5a613ab8 \ sha256 7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \ size 11409 \ github.com/pierrec/lz4 \ lock v4.1.14 \ rmd160 234b88b87b89efff4e15f58630bae5d6a01eeaca \ sha256 9cbd92e19005f67fd498663fc4869e87b7c1b099ed4254d7c7c01f3ea0c7b174 \ size 40904445 \ github.com/oschwald/maxminddb-golang \ lock v1.12.0 \ rmd160 90ce9aa70ee9621a1a3ea4c8bf60b2c10adaf3d0 \ sha256 12fd7f50eeda0fee35589666000b6e7ea2ecf29ed841595b7615a72be821825d \ size 28149 \ github.com/openacid/low \ lock v0.1.21 \ rmd160 72d5f507e0984dbdb8f09b03b72d309bf05fcb38 \ sha256 2788083bfb15a2135c93333488096900e25e02f99765276f50fad5594dd5bab7 \ size 64293 \ github.com/onsi/gomega \ lock v1.27.6 \ rmd160 152f496aee53769d6d844ee8452c7281ac2578c0 \ sha256 2275d6b495b16c707229d445b17afb38b9836b8d34071ebb2bda9351494fbfbb \ size 311747 \ github.com/onsi/ginkgo \ lock v2.9.5 \ rmd160 1229746a14222b22b97963bcddde73fb12777b25 \ sha256 af9cbcac33e7edcfc3d7c0d56a1215f6a1e9c548464cc32a633c189781fbfbb3 \ size 624860 \ github.com/oasisprotocol/deoxysii \ lock 2091330c22b7 \ rmd160 6245aefd7c2c2af3defb9af735ac38174e4db0be \ sha256 91e57f448efef9984355101d25fe48aa207eb5e2f3e49f53096c2a651b854a13 \ size 75974 \ github.com/mroth/weightedrand \ lock v2.1.0 \ rmd160 4735b0d0fb9709a286023c2a65c93b456c9f29cb \ sha256 9d0ec13d50724dff31ce5d2a76bc400034873f88c91329bc81b15bc93aac4c5c \ size 10235 \ github.com/miekg/dns \ lock v1.1.62 \ rmd160 098d01ecab9024bb3d633a984b97d1b092c11f9a \ sha256 b72c24331491b44c816db1760193cd9d0a3faec97a793a050a05f8e9b1666667 \ size 218307 \ github.com/MetaCubeX/utls \ lock v1.6.6 \ rmd160 13c52934c37d21dc7fc077f079af81c3dea4369d \ sha256 28d0a85636f343b0c099cc835b7098c6c6aab04786b23b2c8a46994bbd1d7565 \ size 675828 \ github.com/MetaCubeX/tfo-go \ lock c5e019b67785 \ rmd160 2e73f3117c31fa299de12e2f6b8ccb2858b6f98a \ sha256 983846e22b63ae8bbdc6bd92161ac04433d8e6be381fd84c80df4b046d70b8f3 \ size 21295 \ github.com/MetaCubeX/sing-wireguard \ lock 1e4e67afe5cd \ rmd160 4ba49889093678dfbf74e9f2f507b46dbb8224c7 \ sha256 db6ed18b11b0504d3566658614e7e6059e8e9eebceb967919ad9fd73126415f5 \ size 18003 \ github.com/MetaCubeX/sing-vmess \ lock 1df6fb20bbf9 \ rmd160 ffd4726bb82360a76717f5bbcc0c01d77ccd8578 \ sha256 f08714f72839ea3c4e2bf133a927e20d1b83b65704dc3c38b09e11f5d29794ed \ size 19042 \ github.com/MetaCubeX/sing-tun \ lock ed03f557dee1 \ rmd160 d5981f16ccb1474e3072b2fd8a97ad77aec2af62 \ sha256 d26f47ccd40c594729a52c32f0e200857bb81111ca6393650f0ffd1544cae021 \ size 847095 \ github.com/MetaCubeX/sing-shadowsocks2 \ lock v0.2.2 \ rmd160 46c90971de2d40e010430929d0115188f324bd76 \ sha256 80aa5777ad3310a73ab1add17606d8c197ba8efdc54019f9add8d17d745d2198 \ size 16729 \ github.com/MetaCubeX/sing-shadowsocks \ lock v0.2.8 \ rmd160 5b51bc3343ccef8cbdf006c352333c06ef72f551 \ sha256 9b34c4e2e95ebf96fd843bc5f5ab9c112675fe409de32967fcd49f536b1d91dc \ size 22122 \ github.com/MetaCubeX/sing-quic \ lock cd97758ed8b4 \ rmd160 62868aa5122c736b7dd5837ba729e182975b979f \ sha256 cb887b07630ada31ebbee14e1cd3438914b84f62ee96e593b978ad82bae40ce3 \ size 18087 \ github.com/MetaCubeX/sing \ lock 6f3cf5896297 \ rmd160 2bd965e5e03515cca0a2653ad2f7abdb75a0e7d2 \ sha256 02e5fca0b3b5a4aa31cfbfab48d40c7d6c4c8c34ee60b898cd55e6d937304460 \ size 128067 \ github.com/MetaCubeX/randv2 \ lock v0.2.0 \ rmd160 62a7c2d5fbbf31e1e60d185ecb4405ea96658626 \ sha256 5d53bfde6e370bce683e0bb38e953461a16bea6ad3526cea4785cdca9d1d7c53 \ size 35074 \ github.com/MetaCubeX/quic-go \ lock 1c6cb2d67f58 \ rmd160 7e11212f2dbd9a8653bf3ebdcdac9aa6b04de594 \ sha256 1f3b11f4e1a5e54086044ba206c2419dc0967ac86c3ae68bbbcc69876538ec38 \ size 633808 \ github.com/MetaCubeX/gvisor \ lock 933faba989ec \ rmd160 b3fadc89690d4b6332566fcf905feb3bd6a9fc39 \ sha256 d10f5343af3e0c079324c51bcff05ad59d78b95f9db87ef9a7df3d5e5130d1a2 \ size 3082528 \ github.com/MetaCubeX/gopacket \ lock 7e2f98a3e759 \ rmd160 4c5ae9d2448babe98bff164a783fb41c1baff7ea \ sha256 1d15193331d6698b4a325397a7d953352df233eccdd7afcf4e9fe3080f23c538 \ size 957160 \ github.com/MetaCubeX/chacha \ lock v0.1.0 \ rmd160 bfd2fa3cb889f31bfcdec084ba2792bf5b8b4abc \ sha256 9030a7a6030b02381a2a1473dda8ec05f84eca2b79665358527d03be81d242ca \ size 33323 \ github.com/MetaCubeX/bbolt \ lock aed6d4850399 \ rmd160 1bddae0d388dcc9f4267acf4c9390f8ad4b419a4 \ sha256 002cad16b03688ddb411f1ebbf7c3117781c90044058bef51b7d16ebf3456810 \ size 47250 \ github.com/mdlayher/socket \ lock v0.4.1 \ rmd160 78f3870e03e7f05097b392dde756abc009e23eaa \ sha256 15c1df4b48aba325eb3433e620c64e27f2ecc1b85fb1d04ec26837fc0f3db3be \ size 21153 \ github.com/mdlayher/netlink \ lock v1.7.2 \ rmd160 46ced384afb9c6f276d20a0385762f3531a7de3e \ sha256 72ddc4c119e7bc44f05dcbd1237677fe22df4fa83403316f9f29f2e279189995 \ size 48252 \ github.com/mailru/easyjson \ lock v0.7.7 \ rmd160 f40deae988781d59d399784445dc89fe84d69e37 \ sha256 05481ab8b5f3709d4bd49b5459159b32856f426f021225774db000ec15792f2e \ size 81411 \ github.com/lunixbochs/struc \ lock 784aaebc1d40 \ rmd160 a9a289f74c01c85c6c272ee3a5a21550c1d65fbf \ sha256 7ba956f1055c32b76274641f2af6d9893f732b3bbf6877d2d7e827f4c6ba3ba6 \ size 16071 \ github.com/lufia/plan9stats \ lock 39d0f177ccd0 \ rmd160 f51617c89f9004fbc70199874ce8f290f59c309e \ sha256 4a3903621bc835f693af93062001f8deaadf692e37becf9ee772930eab155d20 \ size 10243 \ github.com/kr/text \ lock v0.2.0 \ rmd160 48558c7e8ff67d510f83c66883907e95f4783163 \ sha256 2f2e21ac8a9d523e88cbba4039441defc4a66bfaa78811c900a88fcf28729c4c \ size 8702 \ github.com/kr/pretty \ lock v0.1.0 \ rmd160 9aa7a5aad4c48840eecfd0f80186d1fb5ded0fd6 \ sha256 f6c3f89667c63e5b7f1fc6ee2c06b6a6bfdce88f3a965ccd395b64c6f95c9a47 \ size 8553 \ github.com/klauspost/cpuid \ lock v2.2.8 \ rmd160 6a2fed1001266e280a17fa3ee854fa0f6d97603b \ sha256 550d584c4e9806ad18a40337dc2070fc897540c76e15d037753ddd2fcd0469eb \ size 457466 \ github.com/klauspost/compress \ lock v1.17.9 \ rmd160 128e41644a2fe45e77a4d8b22bb80fcd9e1eb9ad \ sha256 c3ac57bbb2d0524bfd2f6a5acd9ce79b7d5d5e1003d7d7e2908fdb90f17f06d2 \ size 38751181 \ github.com/josharian/native \ lock v1.1.0 \ rmd160 978af6b719f2e7fa0651f481b7909e78ba0aaa92 \ sha256 09d305c5e680e929ae1cd7f594376c5a34bd2aee42b892d9c5cf2b800eb948b4 \ size 2072 \ github.com/insomniacslk/dhcp \ lock b105c29bd1b5 \ rmd160 efa255e43dcc7156b06eeb726372ee6d309a892c \ sha256 035ddf82906d39d1efccbae87023a224e3ebd6dfaa7b00542d129683c474d653 \ size 137783 \ github.com/hashicorp/yamux \ lock v0.1.1 \ rmd160 2d4e32b38cea4c3be4c23c343cd5061eedab6442 \ sha256 513c96e8e381749193262cc7e55eff69a26237be9a4959d3fee8a57964b3f438 \ size 26019 \ github.com/tink-crypto/tink/go \ lock v1.6.1 \ rmd160 6c218090a3c393903317d7b93b8d3c883814422f \ sha256 8bc0cbe8b9667a33304d17db36126baf5afa7ae9e2c2cf72bb0ce841163219b4 \ size 2331386 \ github.com/google/pprof \ lock 94a9f03dee38 \ rmd160 e728af72a4110b42a442fe29bf8cd4967386639e \ sha256 7116f40c307a24d35322ac240b05232762c01b9c3488012b8f08b723f417e29c \ size 1718487 \ github.com/google/go-cmp \ lock v0.6.0 \ rmd160 2c9f5dab93f8a0895591466fe4a07c5dd9166ae2 \ sha256 0d550825fae514f8a947ab7e42fcb874f509d9cbfa3ad2711d7570a25f31571a \ size 104795 \ github.com/google/btree \ lock v1.1.2 \ rmd160 eb1f3f67b53dab641253929ea27331535abc1169 \ sha256 313d9beb63d42ce7dd524c0d06f5be81d6ded1a0a667fb3e868129f4b9657ca0 \ size 19785 \ github.com/golang/protobuf \ lock v1.5.3 \ rmd160 b4e09ad842f6dcd3aea36b28ec64d6d9563fd1d8 \ sha256 12e830fab630cabd279fca57e7089eeb1556e2c22b58eee64bb21bd3c8dfc706 \ size 171856 \ github.com/gofrs/uuid \ lock v5.3.0 \ rmd160 c438592461efeb4ccd40fa37708a39ba4bad4086 \ sha256 9bccbff76e8781349cdc517014c83a1dd3c91e84e3384437bd3673c6d8e84684 \ size 25905 \ github.com/gobwas/ws \ lock v1.4.0 \ rmd160 ec7eebdf203f72549da54c74daca9d811fe02ed9 \ sha256 ad1fb2c29df703b95a3ed569aa6f1652bcde2c858a16064ee0cb4cdf61f603bd \ size 86667 \ github.com/gobwas/pool \ lock v0.2.1 \ rmd160 ab7a7e0eb1d0e84b6504dc4b79c5e7727b49f74f \ sha256 1d1e19d51e6a5c94c01dbe74e6f31704f2ce1297bed57273366eae93c3073d34 \ size 8057 \ github.com/gobwas/httphead \ lock v0.1.0 \ rmd160 4a366efe9b00893dd749afc725f30ebdfc8d00cc \ sha256 4074e5235aac4f5794f989ea1a9e93374d423b37031df77f4db5a80d02b286e1 \ size 17217 \ github.com/go-task/slim-sprig \ lock 52ccab3ef572 \ rmd160 12ad1a072801a204a68c464918417611ec20f218 \ sha256 0f2045c6c2eb3042b20de955018ca01c0165ed205345312a5e7cb4d6f5254a36 \ size 39951 \ github.com/go-ole/go-ole \ lock v1.3.0 \ rmd160 7080182feca14a6bea1be4e854c1e4c82415c366 \ sha256 7520bd87b1d52a28b98c5fa4243338c5c7cf5185fdd058f55ff6d670c455b13e \ size 53295 \ github.com/go-logr/logr \ lock v1.2.4 \ rmd160 94910286621a7f24eba0cd12b63eead604ab601d \ sha256 2d804ca08d9e9d281dad5aa95e0a6595dc9f5b5e21cb5a923ba3356225d59e2d \ size 40539 \ github.com/go-chi/render \ lock v1.0.3 \ rmd160 996a96ac2138ca409e8c0e6b98a294a17c0ecb6f \ sha256 d3cec85e8db8e92ab9e79e8c2342e7e37667f990bf537154a26c9d825eebeed9 \ size 6167 \ github.com/go-chi/cors \ lock v1.2.1 \ rmd160 77d9d00288f070cab2e42f542d1882ccf23103f5 \ sha256 6a7191078f7c316b94947ae61f7164c58ff533f6be1b0817f61158dd841d609d \ size 8830 \ github.com/go-chi/chi \ lock v5.1.0 \ rmd160 291711142cd6767724f1fbde493cbc7194f566cb \ sha256 3ae49da21d4ed4665d85a53220ddc312953b0bf076d644085e5bd6667ba061bc \ size 85559 \ github.com/gaukas/godicttls \ lock v0.0.4 \ rmd160 17d7a2ce8acf33da86d6ecd32b4ae20d99f88fa8 \ sha256 a7298e5dbc6fc88895806aa723561b81994223e76775bef2719666c67900b262 \ size 19727 \ github.com/fsnotify/fsnotify \ lock v1.7.0 \ rmd160 9198dec094f5008a8b24a2e51542ce4ec3453162 \ sha256 d7cd46fbc8e25bfd37edb1b86851dcccc18c5180f09e533c6a35e4dcf2693d22 \ size 57508 \ github.com/ericlagergren/subtle \ lock 890d697da010 \ rmd160 252e946a7f8ec766c2e23422f4cf2c54062f6446 \ sha256 56836891571b9fe826bcc2ed5a40a3b13cdc403f098cc8919c8e93d93c92a4aa \ size 10753 \ github.com/ericlagergren/siv \ lock 0b757b3aa5f1 \ rmd160 712a6af4f9df6bf89cfe6f3666e9d5e1662e5f55 \ sha256 c84e737ac3885b4bed77e90964da9da954023677e90b736646ed658cd0b60c29 \ size 62478 \ github.com/ericlagergren/saferand \ lock 960a4dd2bc5c \ rmd160 34d79fccaa80a169794ee2c1c219a108e8519a73 \ sha256 b8b8304cc3be46504ba48956f3d9497a8b86f84b2c323be0fba64ed11df3fd60 \ size 30192 \ github.com/ericlagergren/polyval \ lock e25bc10ba391 \ rmd160 a1ba2c78def3a88ac35d0fb57332efaf5ac21347 \ sha256 c8e6f504bd057931d1cdea5d2bd94660e1e7aaa159fdd5c9659f3da1747c1c37 \ size 40684 \ github.com/ericlagergren/aegis \ lock b4ce538b56f9 \ rmd160 d79d60b15cf58cfd102ab12e4f3120791200f5c5 \ sha256 df7d16c1f0b86b184d17d264478d84ec9cfff907a2426732911d34ea7d410244 \ size 82044 \ github.com/dlclark/regexp2 \ lock v1.11.4 \ rmd160 14a55410f0bd6913c725299acb8582d239270597 \ sha256 98ce6c72fa84f3d4ade559399131e5dab37250214c992de1371a77b04b829a8a \ size 212893 \ github.com/davecgh/go-spew \ lock v1.1.1 \ rmd160 7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \ sha256 e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \ size 42171 \ github.com/coreos/go-iptables \ lock v0.7.0 \ rmd160 e49e32934f275222248ecc5fcdc84aee550db0dc \ sha256 6c0c5bd402d64000080e569f6488d98b7e284454d8a540c330931a8954443fd5 \ size 17303 \ github.com/cloudflare/circl \ lock v1.3.7 \ rmd160 98d536abbd648189637538028f7dd627a84d973e \ sha256 2e4e031b8bb07c992cc994480dd6c9d28fec6fa5e6bee68766349cf3c0917239 \ size 4938815 \ github.com/buger/jsonparser \ lock v1.1.1 \ rmd160 35ad9d7a60f9fec3b2eb38c0b2f0268e421a0a5e \ sha256 58868e15252ce4fd3a67233481fa55ba5b37c85257d8c6aec230e69abfab096f \ size 55225 \ github.com/bahlo/generic-list-go \ lock v0.2.0 \ rmd160 da4b9f58b6734da97644fb565c81d1bc01ccd7f7 \ sha256 aaa6a0719258985eddfa488155edd6a749c070a998d91c48182138115f5de069 \ size 5054 \ github.com/andybalholm/brotli \ lock v1.0.6 \ rmd160 8f20652f784656ad9d0862c26b302afa872e0d4c \ sha256 08ee28e438225d672d59337c69d5867c6f44363f3f7f95e2fe624c17d34513f7 \ size 1818065 \ github.com/ajg/form \ lock v1.5.1 \ rmd160 5fceb031a406f7e01c35d0a60b5c65e8c9ee4750 \ sha256 22b2b5397f14e93fd4fa292c8de91a6283c7afcfb1254a2e3dba9fa61178386a \ size 14948 \ github.com/Yawning/aez \ lock e49e68abd344 \ rmd160 fe8f5805e98b537e1cdf989ebbc37c39945fd7e3 \ sha256 b7817cfccaeed02b5fe4a1d59593c454a2881cc85570ca73c1fa2ee9f5b6b13b \ size 798224 \ github.com/RyuaNerin/go-krypto \ lock v1.2.4 \ rmd160 3e8ca783a05f5bafa817fd5664453923e2192072 \ sha256 63e7800adc6b155f1a789a2180ca731b2820709c7f85d67947a2ada8d3d8e84a \ size 593928 \ github.com/3andne/restls-client-go \ lock v0.1.6 \ rmd160 41045b16d3a540fee9bb92098d19cbe0cf147660 \ sha256 5b685ff1dc41d3394581e1905aec5ea69f2aac71e9f668c70accefcc743de649 \ size 626563 # Notes for updating this port: # Replace gitlab.com/yawning/bsaes.git with gitlab.com/yawning/bsaes # Replace github.com/uber/mock with github.com/uber-go/mock # Replace github.com/google/tink/go with github.com/tink-crypto/tink/go # Replace all occurrences of sagernet with SagerNet # Replace all occurrences of metacubex with MetaCubeX post-extract { ln -s ${gopath}/src/github.com/MetaCubeX ${gopath}/src/github.com/metacubex ln -s ${gopath}/src/github.com/SagerNet ${gopath}/src/github.com/sagernet ln -s ${gopath}/src/github.com/MetaCubeX/sing ${gopath}/src/github.com/SagerNet/sing ln -s ${gopath}/src/gitlab.com/yawning/bsaes ${gopath}/src/gitlab.com/yawning/bsaes.git } post-patch { reinplace "s|\/\/ import \"crypto/internal/subtle\"||" ${gopath}/src/github.com/RyuaNerin/go-krypto/internal/subtle/aliasing.go reinplace "s|\/\/ import \"github.com/aead/poly1305\"||" ${gopath}/src/github.com/MetaCubeX/chacha/poly1305/poly1305.go } set time [clock format [clock seconds] -format "%a %b %e %H:%M:%S %Z %Y"] build.args -o ./${name} -tags with_gvisor build.post_args -ldflags \"-s -w \ -X 'github.com/metacubex/mihomo/constant.Version=${version}' \ -X 'github.com/metacubex/mihomo/constant.BuildTime=${time}'\" destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ xinstall -d ${destroot}${prefix}/etc/${name} xinstall -m 640 ${worksrcpath}/docs/config.yaml ${destroot}${prefix}/etc/${name}/config.yaml.example } post-activate { if {![file exists ${prefix}/etc/${name}/config.yaml]} { file copy ${prefix}/etc/${name}/config.yaml.example ${prefix}/etc/${name}/config.yaml } } startupitem.create yes startupitem.executable ${prefix}/bin/${name} -d ${prefix}/etc/${name} notes " The default config file is copied to ${prefix}/etc/${name}/config.yaml and its content\ will be preserved across upgrades and reinstalls. The startup item will use this config\ file by default. "