commit 54743fc80b211d419388d93b82a2fddbcbbd82d5 parent 99ca2c81cf9adbc2bda76a1cbd7ec92c49d5c967 Author: parazyd <parazyd@dyne.org> Date: Wed, 13 May 2020 13:02:04 +0200 net-analyzer/bettercap: Add 2.27.1-r1 from pentoo. Diffstat:
A | net-analyzer/bettercap/Manifest | | | 37 | +++++++++++++++++++++++++++++++++++++ |
A | net-analyzer/bettercap/bettercap-2.27.1-r1.ebuild | | | 86 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 123 insertions(+), 0 deletions(-)
diff --git a/net-analyzer/bettercap/Manifest b/net-analyzer/bettercap/Manifest @@ -0,0 +1,37 @@ +DIST bettercap-2.27.1.tar.gz 1189994 BLAKE2B f10074523407e23a6f504a7bba8c7aa63a81890c8a0dc1cfc0d9ea336a7606e7b73e301c3167149d8bbf9a01addc59e5ab047300cc7594eb4b7e929ff2f0cd8c SHA512 157386a9410056667e391826fe04012f934452dd66a9bc3a6d4eee1654827923a7ad987cff07477b30a56476fe92dc1eadf7db7c4fd6bbf2dc2bd62e825e1835 +DIST github.com-adrianmo-go-nmea-v1.1.0.tar.gz 14302 BLAKE2B b232f63ef241206d4236365053955e8f129cf87e4e57ba62d3f1de01ff169d4f027d28f7f044e22a1ae7254ebcfacf00aad30b20045b9088ba9590653618fdc8 SHA512 9e7b59ee036916989936078bac0d5118fd83a3e6e1d8ad9860ceb4e5244b6b7ef09507a896ff24bb24200cec6b3082d570109755aabba3baac8dd95e2fbd5774 +DIST github.com-antchfx-jsonquery-v1.0.0.tar.gz 6236 BLAKE2B 2e37b73cfa82353219549fb1969b3df418160ca7303aa222aa31d63588812c80ff09927cbbb9977a71614a6f5f6066d2571c21dfa02b40518b888abb7dc955ec SHA512 1b597518c3264f7023676e300402fc5f83ec9b11d64e880d21e96a96af750407bdf891fe0214c17ec381f70059686b0c2add0444c24f4ab239769603fc75f4e9 +DIST github.com-antchfx-xpath-v1.1.0.tar.gz 23978 BLAKE2B 662269abf4e02d1d4153f5f53b5ef5b1444b1fae00f30862f0f4f95bd11095f6275a28fc4e4658ffbfc1c5b657124437cd73b7cef4691bb78930cc61061999b3 SHA512 c71c8db3e7ae22708d17936a811a58d6e6f028435757ee5f25e8074608341f6cd4257ecc437302a61cce704ecebb218b0b310849d222b1e76a2d131ed1821632 +DIST github.com-bettercap-gatt-569d3d9372bb.tar.gz 90498 BLAKE2B 776e24f4b62b3363c5becb79d280fcd4385f104e61b680554e93f3122a627a26d46225c1e304e2f7f4c79f25775b102b03727ee750cd621175cff9f799a91b40 SHA512 51cd3c6492870b8c93e95f30dfe86407fc693ca2a86eff6181ae9384668b8ce3b0a88dd184ea6ef9682be94863f1c6d3807af382a614f17964b26fdf27a94533 +DIST github.com-bettercap-nrf24-aa37e6d0e0eb.tar.gz 15566 BLAKE2B aa0916f85605beee14493b19816c1f9e0bdeac5c26e86c6e7022e6e78a0b9c161a0eb4db1539bd5f35bcc2d0cdf95a724b42c8ca2f0eb77eeeb1af262015447a SHA512 39684b23d4128875aeef80be0eb4995b448b236120ef73b15a5ab31605cc3bb1b4e119e5093ef57a4f2f1e0b0c609ea223fec770b016628ba2556ff63acdee0d +DIST github.com-bettercap-readline-9cec905dd291.tar.gz 36942 BLAKE2B 583f3bf234d3269c87bd208dde725a3ea3e9c05b15e72e6060a0489103cb5e3f391617aa70ecddd2347cf50349f7831e61c08db92c5e6bb8a67573bf9da2aaa3 SHA512 0bf8eeaa92b3377b1662498150dc28a877c2adaa24ada60b09826dfd0f809a058c66bfba426b3a05915b59a3508116cf17d440df188c80e6501b7667a4bc87f0 +DIST github.com-bettercap-recording-3ce1dcf032e3.tar.gz 15733 BLAKE2B a02e4e0cebec316d0c1254fb93b94cd7c50c6bdddcf09bf4e4498b9ccfaeaea9fd4bf2465c76771d940f92db02470034dd10179a7b0d4e364d71711747378b57 SHA512 e237b8a81e0144aefd597fdf6666ecbb2bcb985a17a3084e1628a4394e1b5be42e531f15ea712b50f35db772ad57a2ba3c0d65214680c5751bce23815579be76 +DIST github.com-chifflier-nfqueue-go-61ca646babef.tar.gz 12577 BLAKE2B 1edeb5c5707b3b036ddacc6e5e53c0cd4c116e4415fe0cec7acae3806a9ee2f23560ff9eaf82e6f86c788824bfb2c2769442f89fc5543864ce65692f5a6fb238 SHA512 4c1fec4a20332bb6a9f2ffa588941a7f08a716388934e052ce611309f476ebe7aba3acbdaa4dd7821343ebec35f1b5268ede1d9618abb0b5b17f838b7fc11903 +DIST github.com-dustin-go-humanize-v1.0.0.tar.gz 17260 BLAKE2B 4f954fcf518c6332ca9485ba8c8275e5e4785a0577897e42cf532ab39f31df68b69e5a21e7d59277db7ddf90aa2b17a7ccdc090d024f2c0862c27bb1e3b88154 SHA512 95df73ba306ae1a465f5b299a78eae1cfe99e2a288c49286a5ee6da6b8aa3ec14d0eef88bfa474bcf2bafdd0bbf47d513848d4f1dedf110845af39f2ad4157d4 +DIST github.com-elazarl-goproxy-aa519ddbe484.tar.gz 106963 BLAKE2B a9d6e75e57953c3ce08f32411eb7b53d69a157471e88bd60e95f866758b22a43a995a2bedf110852df499cc234b2a6cd41447c67705459cf89a3eb26d5257985 SHA512 ff5fd212401cc2a7b967087cec17709a7c7e5f5a5b9a7e97e9426a6e9da91e02d2224315ee0d6fa9fee80e44220a2470b6624966ea8b4fd2844b6f771dd7c5d1 +DIST github.com-evilsocket-islazy-v1.10.4.tar.gz 26120 BLAKE2B d4694883edec4595c6aba1dac0fba4708192977360eff16c8974a4c234465ce959f96dd512e20c3acad1e73556fbfaba9f94386d362b3779277b546fc9abfc52 SHA512 6690e18de8838a9fec885124289252e738c4cdba7a1b35a0f5d78a3442368b6f8b9b64c739df20ae6bc7ff04b650bacb3bdebab765a054083eff2664c41bd2be +DIST github.com-gobwas-glob-e7a84e9525fe.tar.gz 26236 BLAKE2B 70d6fe19bf4c46551a7867b426d19c4728f9702397ff07a8975c5982414f3c2223a28e5040ecfd034f30d42c657f21f8500abb8afc5b83dad7f25523baefa16a SHA512 3f37946abb939e012b1da1fad1dfd406d8588a310e3e9ab6a287b7451d02dcae1a4d31d17e4d1ecc2b98002121fc55c27272c9a2fc90846e6612971e858add61 +DIST github.com-golang-crypto-87dc89f01550.tar.gz 1709286 BLAKE2B e949ba8a22429e4c616c643ed6eddbb52ad43a9a43af910f447a899dcba7c9ef30d410f155516223339f9b1975ec931b0dfd16445a3e1a7bd5fd36578227157a SHA512 81fe4670a2a279fb689aee72415c272b842cff186338ee0b993399601423fd67d5b6721ea539ccdf606f814b0835142fa52c5e9d80559a902d907e4af3fde79f +DIST github.com-golang-net-da9a3fd4c582.tar.gz 1103938 BLAKE2B 5767ad592b5ffce6f9deec0316e1432e78808ce1cc7151f3ccb6a988c08cf57301b7ab94d26c3683767a819d236f7f1e20f1aac304043b738849de12a88b90e6 SHA512 c937d5abf56d9b3ecd05a5967744846abf59179e0e0eb20607df52b8893de0165150cb49e5e0239cff3e14a861b5c743b0f6709d9d9a7784516f42f207e0626d +DIST github.com-golang-sys-727590c5006e.tar.gz 1499308 BLAKE2B 33a47f89d877a7e42ab864e87156733dc6b983ac047802a62839b6d5929d770fb6d6bcfc90e351088ee1260bbdd0f3edd19bcd69c8473726536f9694f6ddda7e SHA512 e87b9d9872aa76f82080c5da3af5effe6e165befe63fff5c360b710b3d1b9fe178afc265002520cc89bc77967056065b9c2fe7ed959e916340d8cdf439255b29 +DIST github.com-google-go-github-v17.0.0.tar.gz 212084 BLAKE2B 1c5db029a3f30e8842c4cbd336c953290b91cd58d359dbb507dffc7a78c3b70e3840f700c556f7a06ffb04de9686af75b7010c61d7474460aa36d411cdde36eb SHA512 e0a302a040614a83738d0772368ec4802f325cb75e471c8a70796e0db681655886e28d7be6b2c87776da068d282c788fcbc126c19737c7d90d7ba934dec8aaaf +DIST github.com-google-go-querystring-v1.0.0.tar.gz 7529 BLAKE2B 0d1b806655046080f932c25083d169fa568a6d13673002ff03bab5546ef4ff6545f9c16f563a5a19c4001203390ee1af5388cd18cc642b5d9cdd07b1f7f5bae5 SHA512 b980a4e4bf446654950349e0ff1a5870b7f9d60a5e55656888cebce6d51441f96b39448422ee56e77aee992475238737dcb9133b7176aaadbd6eb0c9c0020ebc +DIST github.com-google-gopacket-v1.1.17.tar.gz 891264 BLAKE2B bfa9cb76348518ac3fb83f6719f7a8eca4f1968e5bba46f826e3993c9ab62aa2feb84b2043906214faa74a46de72afb005756cd6570bd368f8381313d3ba15de SHA512 997f3f08127a17fdbbf9488f4f5cd8c2ecc080bb6a416bb28d6aaded370fd0c7a3ec591acc75dcdafcf8edc780067fb70516afc7e27312b617ef58c022c0ffcd +DIST github.com-google-gousb-18f4c1d8a750.tar.gz 251155 BLAKE2B fca363381fa7f24e79826c2509d275b4c10388a2a128a7affeca77ec4caa5989802f8b415ff5ac1e3efd8fac9b17e7fbb40046e8ccc6396619188255bec03a18 SHA512 4f0f08370f0e90a0e40d0c7662689824edaac2a9ea2bdc1b9c974539e0a7841c0f43caf05b79d15535ad78990cdcb7526ab450776b6b46af1253ef5ee1b67b7b +DIST github.com-gorilla-mux-v1.7.3.tar.gz 42495 BLAKE2B 4c52b427ed90f5af83638ef5527c548e2dee769ba7fb90dc899ab6ec65eeb4eeec181316d8dce3cb98a758a264f1ebc98d29ed64f39f103222b3c5e6707d086c SHA512 90e3da0f680ea0cf8d771cae9cbb5e35867f0e0a08f9ab7d22048b19851b57f1353f435abff7ea1db3c190081e363092e93cd6a57c2a64b6531458c2f6054365 +DIST github.com-gorilla-websocket-v1.4.1.tar.gz 54218 BLAKE2B 597fad97c566ed8791b02098613046421ca4b5df5c6a9c83588dbfe4ed36d0a54a9b4de3c75742d8163245409efc577341b4a339d67699134fb3e306fcd01aeb SHA512 b7b4e476054de227b0b257768cfc5c5ba46a28046e71fba5ecfabdc145c94b831e2b7aeed57b5b50b68bcd4690be3132354c542c23a6cafc3bcb8640a6aa03dc +DIST github.com-hashicorp-mdns-v1.0.1.tar.gz 11426 BLAKE2B 39d87300ec6ca18b595595f0f6ada2a256d6f4f96e7f49384dc7ad1c52ea9742575cebb0c6ee452623891d9366ab1bf6ade38b9d55ca4dfb5eff0b065cfa9887 SHA512 3df07187ecfea2f68e730714fd2ca130baee34751c0069dce118ae94669b176888864b1a0d7713312f0da4678e4b58a10bfc3ed96dae7e18b5a2bde4457cc135 +DIST github.com-inconshreveable-go-vhost-06d84117953b.tar.gz 10185 BLAKE2B 13a7d4c2c27553e7a283ef2307f39444489456aa9edf63f49ba213caed821c0a51055c161c71e3af19c4af13347cc5ce35e97ce1bb084410e00d8de998fc3750 SHA512 cdc06fee4895931ae23931140137e3cb7a4b1db1e49b0dfc18d9090d0f825e4148f65fe7e404cbf9cc3cd2fc5060cd0af80b3f3f609542f690622d4f321592d9 +DIST github.com-jpillora-go-tld-f16ca3b7b383.tar.gz 40208 BLAKE2B a387b98555e9bbe97b191a04fb9c7de2022df95602cd2e0df6030459bf95413cee2fca9c7713a7139507798d5c43e6ac94ad4b3638bca7b65223e629c2033cd0 SHA512 9ce0679ad5f57b2ce5c47b6342c53bda73a7a3a8d94256a78bb69cda70dd8fd711df1822828f9f8b422ff32ee88979d699969fd318338056722121fd21262dbc +DIST github.com-kr-binarydist-v0.1.0.tar.gz 12318 BLAKE2B 5eec654bc8c6f13ca010d9d9303d1534bbc908935b36418ad6a7d52c0db0904b968540259cad4e1a9db16b49742bd26f4ae706661404a091bea442d50723d10d SHA512 c646755b0b8819783a98482d8cc1d43c47d5364365833a791abfbe29f2f2dac90b31b993bddb384fb33f3a12756fc4c827ad34d97d44b9150fd227fdcb0b8fc5 +DIST github.com-malfunkt-iprange-v0.9.0.tar.gz 8477 BLAKE2B e463ab888290c33988825ef471ca064fa281717650f73c9243ad98c37b6a9d6ef1521d398b81fc4f6d03e4abc2271713140892f944b3d6faaf595c543839ff96 SHA512 7139ee5b5269825b16cbbb28b9aa44f04a220b7911107931dbd8afed5bbe863165d07fe7bde50a27e3f69fa262d5c2f13606a521e47afb3f03ff8b266948a227 +DIST github.com-mattn-go-colorable-v0.1.4.tar.gz 8981 BLAKE2B fc4f16bf9cc9f4e235b1313bb83c8e8df8509d200616c440b4edb8dd945e4c48cd97b0e999e6d181fa6e586f18a391e2e16c8a176ba1935372c6fb6e68205907 SHA512 a1050a0fc8cce89c874275a827e8643785ca9324dfc0b98230557134688c4a2ad0272d14b2a2d9c3afbde981ae0f4ea40b1527bab1762ea86a4b317d367ddac1 +DIST github.com-mattn-go-isatty-v0.0.10.tar.gz 4465 BLAKE2B 7da424fd365096386e752780fcda8403a93754bb030c564f5d6df705b931d8385b00d8226155370ed5ebff86c700e9aa2b2bab33fe72a1fd3f6a91c36124dc1a SHA512 76545b77aaa04effd15d2ffb450c19b9a4091f65833323fb7138d6a2dbcc37197a66a8782aeafdd54ed9171e07a0e5c0160d39cdeb2d067182fb4d7e339c8c95 +DIST github.com-mdlayher-dhcp6-2a67805d7d0b.tar.gz 44037 BLAKE2B 5fc0e2c45fe4759c43cb95e2b156a73ded2072c3ffb9d2d2523f0930c570882b9f4b16973e703a079233609274ab5c5b35cb59d6a5652d9a1d5fa57e5965ce13 SHA512 dd514ded7c7a2639ac6bb0efd09165b3e23cfd28f88a9da7db985da05befcaabda3bfd53bce0f261c40c776ad904c96a3003712d09c607b4d5330752ff291e38 +DIST github.com-mgutz-ansi-9520e82c474b.tar.gz 4874 BLAKE2B 45ab35bdc8beb866430d3be71bf870a537cd757912dc57a00f412cf41be49ff4a35a721b70e0043739d07a770cecef408e0bbe2e6866ebaf80d246a67fcb4cd7 SHA512 893f9823f06edaeb35dbb1a19d908bd08a7d8df6527addf3d7197efeb0c2a83d85405043efd910027d472ed25cf869f4999ece4241cb546e9f648843bdd006cd +DIST github.com-mgutz-logxi-aebf8a7d67ab.tar.gz 305693 BLAKE2B 73a43a3657495cbb9348ff5c512929d1e8c2adcc2908734f51ddb99312951143efe579f88f0f4bbb96942592c2661e20edf3820169671766f4364ed5b85e4da6 SHA512 f4208cbfbb7fd770e58acd4f151b13fcdf7a4fd1e1bd995884a73f497eaab0907fe07926fb366000cc44283e7ec26e89a4654db8e46a66a27e4d6bf85ef0d30d +DIST github.com-miekg-dns-v1.1.22.tar.gz 178978 BLAKE2B a14b262ffe5e257865653a1daad7999eb7e514f5ecd8b96ecc5ac8d89f66e24fd5fee6bae324d30a48e239104fab766e24863b47ff06e3552ce13586018831bc SHA512 e4b56c6b2b9b38ef419831739a03c899202181657890ee463f1f37165dc6724bc73787ff3d2f2f0cba9d02174cc06cea13fb4fec859ab0ef7afb7d183d280a18 +DIST github.com-mitchellh-go-homedir-v1.1.0.tar.gz 3362 BLAKE2B b3388de9230439ec591042f6a319a80216c0bd7ef055f4bee42bd9020ce8104afb1d10b6105cd2a6f431f066f78af1286537236c054c3bfe15c7ee9b10e1935f SHA512 19f3341d9b343d46a215da3d9aba8e218cd4a5e22a33bb26ee296ab3764e9ab7befa7b65f05bf7e9af8b28be1f078e7da691b68c0a7b1e0c8d853de3ba53d643 +DIST github.com-pkg-errors-v0.8.1.tar.gz 11009 BLAKE2B 02adfe3cea02b0ddb7cde923c22dc8a035491098d138d6254e8b833f58f4388a7bd172a15a22f3dbd6b0ce8909b6167f62561d32ec3d21566eef00005c1a025d SHA512 8f93cdae71789e417da11a45c667954169ec4adc04fb618f938ffc2e513cb021f140bc2b94f3e634fd4f19b73be7c9bc483d541bb7baea54c7c9700becc4d438 +DIST github.com-robertkrimen-otto-15f95af6e78d.tar.gz 250931 BLAKE2B 13bb0e6759c8113e74b79aa493d2c44ed606a7819bc0e20f9f7c39471e6e18c7bffb7e606dc2756a6896236885023be4ed20a35899746538dbad549e308b4b8e SHA512 581f2a02313b1951e57f9fb6e8d2462a7a98752c8605f59510ea0c28a413fc1ae0f9d510630779a12dd24ebb66a59216df855df09ebd0b34dddb103df282b5fd +DIST github.com-tarm-serial-98f6abe2eb07.tar.gz 8121 BLAKE2B d83c560e26f235644605ff1a1dde5562d9d34fd095a19761d66be2a12b01c521bc1b955c7cfbc835b6f09846fc134e80b0b6ba11aa41817d6dfe6b647eb570f3 SHA512 e9ab1f641cad8e7bd9710719af6da8a756778260efcd15a569c391f1f3ae7e81aa5abab03f636aafaabc653d0bedaa2102a835119435bb7584077a011e2eaa2a diff --git a/net-analyzer/bettercap/bettercap-2.27.1-r1.ebuild b/net-analyzer/bettercap/bettercap-2.27.1-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# go mod vendor && grep "# g" ./vendor/modules.txt | sort +EGO_PN="github.com/bettercap/bettercap" +EGO_VENDOR=( + "github.com/adrianmo/go-nmea v1.1.0" + "github.com/antchfx/jsonquery v1.0.0" + "github.com/antchfx/xpath v1.1.0" + "github.com/bettercap/gatt 569d3d9372bb" + "github.com/bettercap/nrf24 aa37e6d0e0eb" + "github.com/bettercap/readline 9cec905dd291" + "github.com/bettercap/recording 3ce1dcf032e3" + "github.com/chifflier/nfqueue-go 61ca646babef" + "github.com/dustin/go-humanize v1.0.0" + "github.com/elazarl/goproxy aa519ddbe484" + "github.com/evilsocket/islazy v1.10.4" + "github.com/gobwas/glob e7a84e9525fe" + "github.com/google/go-github v17.0.0" + "github.com/google/gopacket v1.1.17" + "github.com/google/go-querystring v1.0.0" + "github.com/google/gousb 18f4c1d8a750" + "github.com/gorilla/mux v1.7.3" + "github.com/gorilla/websocket v1.4.1" + "github.com/hashicorp/mdns v1.0.1" + "github.com/inconshreveable/go-vhost 06d84117953b" + "github.com/jpillora/go-tld f16ca3b7b383" + "github.com/kr/binarydist v0.1.0" + "github.com/malfunkt/iprange v0.9.0" + "github.com/mattn/go-colorable v0.1.4" + "github.com/mattn/go-isatty v0.0.10" + "github.com/mdlayher/dhcp6 2a67805d7d0b" + "github.com/mgutz/ansi 9520e82c474b" + "github.com/mgutz/logxi aebf8a7d67ab" + "github.com/miekg/dns v1.1.22" + "github.com/mitchellh/go-homedir v1.1.0" + "github.com/pkg/errors v0.8.1" + "github.com/robertkrimen/otto 15f95af6e78d" + "github.com/tarm/serial 98f6abe2eb07" + "golang.org/x/crypto 87dc89f01550 github.com/golang/crypto" + "golang.org/x/net da9a3fd4c582 github.com/golang/net" + "golang.org/x/sys 727590c5006e github.com/golang/sys" +# "gopkg.in/sourcemap.v1 v1.0.5 github.com/go-sourcemap/sourcemap" +) + +inherit golang-vcs-snapshot + +DESCRIPTION="A complete, modular, portable and easily extensible MITM framework" +HOMEPAGE="https://github.com/bettercap/bettercap/" + +SRC_URI="https://github.com/bettercap/bettercap/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_VENDOR_URI}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RESTRICT="mirror" + +RDEPEND=" + net-libs/libpcap + net-libs/libnetfilter_queue + net-libs/libnfnetlink + virtual/libusb:*" +DEPEND="${RDEPEND} + =dev-go/gopkg-sourcemap-1* + " + +BDEPEND="virtual/pkgconfig" + +src_compile() { + GOPATH="${S}:$(get_golibdir_gopath)" \ + GOCACHE="${T}/go-cache" \ + go build -v -work -x -ldflags="-s -w" ./... "${EGO_PN}" || die +} + +src_install() { + GOPATH="${S}:$(get_golibdir_gopath)" \ + GOCACHE="${T}/go-cache" \ + go install -v -work -x -ldflags="-s -w" ./... "${EGO_PN}" || die + + dosbin bin/bettercap + dodoc "src/${EGO_PN}"/{{README,ISSUE_TEMPLATE}.md,Dockerfile} +}