Index: net-im/6cord/Makefile =================================================================== --- /dev/null +++ net-im/6cord/Makefile @@ -0,0 +1,94 @@ +# $FreeBSD$ + +PORTNAME= 6cord +DISTVERSION= 9.2 +CATEGORIES= net-im + +MAINTAINER= vulcan@wired.sh +COMMENT= Terminal-driven Discord client + +LICENSE= MPL20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 + +USES= go:modules + +USE_GITLAB= yes +GL_ACCOUNT= diamondburned +GL_COMMIT= 9bbca67ccee21445df72b2f734941abc7d09a0c9 +GL_TUPLE= diamondburned:go-w3m:1b390b8a3d1fd142bcaf77a949223cb36ef84cbc:diamondburned_go_w3m/vendor/gitlab.com/diamondburned/go-w3m \ + diamondburned:ueberzug-go:7c15a5f63b064530b92411f2850d0fc7fe9059ea:diamondburned_ueberzug_go/vendor/gitlab.com/diamondburned/ueberzug-go + +USE_GITHUB= nodefault +GH_TUPLE= BurntSushi:freetype-go:b763ddbfe298:burntsushi_freetype_go/vendor/github.com/BurntSushi/freetype-go \ + BurntSushi:graphics-go:b43f31a4a966:burntsushi_graphics_go/vendor/github.com/BurntSushi/graphics-go \ + BurntSushi:xgb:27f122750802:burntsushi_xgb/vendor/github.com/BurntSushi/xgb \ + BurntSushi:xgbutil:f7c97cef3b4e:burntsushi_xgbutil/vendor/github.com/BurntSushi/xgbutil \ + alecthomas:chroma:v0.6.3:alecthomas_chroma/vendor/github.com/alecthomas/chroma \ + atotto:clipboard:v0.1.2:atotto_clipboard/vendor/github.com/atotto/clipboard \ + danieljoos:wincred:v1.0.2:danieljoos_wincred/vendor/github.com/danieljoos/wincred \ + danwakefield:fnmatch:cbb64ac3d964:danwakefield_fnmatch/vendor/github.com/danwakefield/fnmatch \ + davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \ + diamondburned:discordgo:v1.2.1:diamondburned_discordgo/vendor/github.com/diamondburned/discordgo \ + diamondburned:go-colorful:238d3721526c:diamondburned_go_colorful/vendor/github.com/diamondburned/go-colorful \ + diamondburned:tcell:v1.1.8:diamondburned_tcell/vendor/github.com/diamondburned/tcell \ + diamondburned:tview:v2.3.1:diamondburned_tview/vendor/github.com/diamondburned/tview/v2 \ + disintegration:imaging:v1.6.0:disintegration_imaging/vendor/github.com/disintegration/imaging \ + dlclark:regexp2:v1.1.6:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \ + gdamore:encoding:v1.0.0:gdamore_encoding/vendor/github.com/gdamore/encoding \ + gen2brain:beeep:07ff5e574111:gen2brain_beeep/vendor/github.com/gen2brain/beeep \ + go-test:deep:v1.0.3:go_test_deep/vendor/github.com/go-test/deep \ + go-toast:toast:0a84660828b2:go_toast_toast/vendor/gopkg.in/toast.v1 \ + go-yaml:yaml:v2.2.2:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \ + gobwas:httphead:2c6c146eadee:gobwas_httphead/vendor/github.com/gobwas/httphead \ + gobwas:pool:v0.2.0:gobwas_pool/vendor/github.com/gobwas/pool \ + gobwas:ws:v1.0.2:gobwas_ws/vendor/github.com/gobwas/ws \ + godbus:dbus:v4.1.0:godbus_dbus/vendor/github.com/godbus/dbus \ + golang:crypto:4def268fd1a4:golang_crypto/vendor/golang.org/x/crypto \ + golang:image:cff245a6509b:golang_image/vendor/golang.org/x/image \ + golang:sys:fde4db37ae7a:golang_sys/vendor/golang.org/x/sys \ + golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \ + gopherjs:gopherjs:3e4dfb77656c:gopherjs_gopherjs/vendor/github.com/gopherjs/gopherjs \ + gopherjs:gopherwasm:v1.1.0:gopherjs_gopherwasm/vendor/github.com/gopherjs/gopherwasm \ + gorilla:websocket:v1.4.0:gorilla_websocket/vendor/github.com/gorilla/websocket \ + hashicorp:go-cleanhttp:v0.5.1:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \ + hashicorp:go-retryablehttp:v0.5.4:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \ + jonas747:gojay:9081ac11e06c:jonas747_gojay/vendor/github.com/jonas747/gojay \ + mattn:go-isatty:v0.0.9:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ + mattn:go-runewidth:v0.0.4:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \ + mattn:go-sixel:a8fac8fa7d81:mattn_go_sixel/vendor/github.com/mattn/go-sixel \ + mattn:go-tty:523744f04859:mattn_go_tty/vendor/github.com/mattn/go-tty \ + nu7hatch:gouuid:179d4d0c4d8d:nu7hatch_gouuid/vendor/github.com/nu7hatch/gouuid \ + pelletier:go-toml:v1.4.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \ + pkg:errors:v0.8.1:pkg_errors/vendor/github.com/pkg/errors \ + sahilm:fuzzy:v0.1.0:sahilm_fuzzy/vendor/github.com/sahilm/fuzzy \ + soniakeys:quant:v1.0.0:soniakeys_quant/vendor/github.com/soniakeys/quant \ + stevenroose:gonfig:v0.1.4:stevenroose_gonfig/vendor/github.com/stevenroose/gonfig \ + tadvi:systray:11a2b8fa57af:tadvi_systray/vendor/github.com/tadvi/systray \ + valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool \ + valyala:fasttemplate:v1.0.1:valyala_fasttemplate/vendor/github.com/valyala/fasttemplate \ + zalando:go-keyring:02404fc6afd1:zalando_go_keyring/vendor/github.com/zalando/go-keyring + +SUB_FILES= pkg-message + +PLIST_FILES= bin/${PORTNAME} + +PORTDOCS= README.md +PORTEXAMPLES= 6cord.toml + +OPTIONS_DEFINE= DOCS EXAMPLES + +EXAMPLES_DESC= Install example 6cord configuration file + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} \ + ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} \ + ${STAGEDIR}${EXAMPLESDIR} + +.include Index: net-im/6cord/distinfo =================================================================== --- /dev/null +++ net-im/6cord/distinfo @@ -0,0 +1,103 @@ +TIMESTAMP = 1572016866 +SHA256 (BurntSushi-freetype-go-b763ddbfe298_GH0.tar.gz) = 0c24b0d8afa6970de8a4550e71d0facb6bf29d0a5bda5e8ca471436d3b82e20e +SIZE (BurntSushi-freetype-go-b763ddbfe298_GH0.tar.gz) = 397398 +SHA256 (BurntSushi-graphics-go-b43f31a4a966_GH0.tar.gz) = c56fddcf47ce0ceb235ed4c197440767ff0ef22d5ca2e36286c277b51ce472c1 +SIZE (BurntSushi-graphics-go-b43f31a4a966_GH0.tar.gz) = 1862315 +SHA256 (BurntSushi-xgb-27f122750802_GH0.tar.gz) = 648bec25f6f211ff8e990052fb11c3b5cb47766b5510c1c8e2e961791a74970a +SIZE (BurntSushi-xgb-27f122750802_GH0.tar.gz) = 205066 +SHA256 (BurntSushi-xgbutil-f7c97cef3b4e_GH0.tar.gz) = ad5ea770e8b38b1a5e921e186c402663c2f3df1908f3f0b14dd84d06605b771c +SIZE (BurntSushi-xgbutil-f7c97cef3b4e_GH0.tar.gz) = 194341 +SHA256 (alecthomas-chroma-v0.6.3_GH0.tar.gz) = 4f60270c67a7e5327075b909f2fb0a0f3a8479941ef4257f346b6b2db9f38175 +SIZE (alecthomas-chroma-v0.6.3_GH0.tar.gz) = 359394 +SHA256 (atotto-clipboard-v0.1.2_GH0.tar.gz) = 84704a60eb4de90eaebe6e8cbfab30bb53d103c26c25560d67d13469fd17934e +SIZE (atotto-clipboard-v0.1.2_GH0.tar.gz) = 4478 +SHA256 (danieljoos-wincred-v1.0.2_GH0.tar.gz) = f97d313ccb14d292a4446c66762f257115edc1c26f68f5395bb3f242d26cf7f3 +SIZE (danieljoos-wincred-v1.0.2_GH0.tar.gz) = 8485 +SHA256 (danwakefield-fnmatch-cbb64ac3d964_GH0.tar.gz) = 7ebff38d382142f9220d2cfcb4731d0ae90cdef71238c94a15c35f8aa746007f +SIZE (danwakefield-fnmatch-cbb64ac3d964_GH0.tar.gz) = 4955 +SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e +SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152 +SHA256 (diamondburned-discordgo-v1.2.1_GH0.tar.gz) = 9d5cd7764449f654c116bac532c83c6bfc1e0528589236af19c4222f36121d5e +SIZE (diamondburned-discordgo-v1.2.1_GH0.tar.gz) = 144915 +SHA256 (diamondburned-go-colorful-238d3721526c_GH0.tar.gz) = a08f2ee4892cab80615a570ab218fc95262ae5a9d5dfc1bcd30f61fd9df94aab +SIZE (diamondburned-go-colorful-238d3721526c_GH0.tar.gz) = 430467 +SHA256 (diamondburned-tcell-v1.1.8_GH0.tar.gz) = 7c99b8f1eccca3bc19a876bfa9905da0ec87b9267efc918aff4e7631a32c1965 +SIZE (diamondburned-tcell-v1.1.8_GH0.tar.gz) = 875459 +SHA256 (diamondburned-tview-v2.3.1_GH0.tar.gz) = e2604f721acabd160df81fd6a46778ad3de3a65885a73c77d1aac6fce029bb8e +SIZE (diamondburned-tview-v2.3.1_GH0.tar.gz) = 2269115 +SHA256 (disintegration-imaging-v1.6.0_GH0.tar.gz) = 4514ecf9c7a6d5a543319cea42fa2bddd7a30d2ac3f37ed05819dbaa632b1cd9 +SIZE (disintegration-imaging-v1.6.0_GH0.tar.gz) = 2211528 +SHA256 (dlclark-regexp2-v1.1.6_GH0.tar.gz) = 81ede5b49ff46bd1c686416c52605aa4698b9dce07d011581c49a1d35b8a5239 +SIZE (dlclark-regexp2-v1.1.6_GH0.tar.gz) = 203691 +SHA256 (gdamore-encoding-v1.0.0_GH0.tar.gz) = 8fb8593a69cd86f16233d63dd6d74181136ec8f22900c509e961a25eb4b2e013 +SIZE (gdamore-encoding-v1.0.0_GH0.tar.gz) = 10886 +SHA256 (gen2brain-beeep-07ff5e574111_GH0.tar.gz) = e0e5adc0f0c69ccb8dafc0a9842d074f61bb374894efcdf9aa09a7d37ea76edc +SIZE (gen2brain-beeep-07ff5e574111_GH0.tar.gz) = 19106 +SHA256 (go-test-deep-v1.0.3_GH0.tar.gz) = f480aa35e92d4a400aef6fab74a8b8a1cb726efefd8ec520a8e1fd1ef7b3c659 +SIZE (go-test-deep-v1.0.3_GH0.tar.gz) = 8627 +SHA256 (go-toast-toast-0a84660828b2_GH0.tar.gz) = 94f9c0b43794aa2adb134fb886d39e6aa0209d0f6fda6cdb0573828711a3bdf2 +SIZE (go-toast-toast-0a84660828b2_GH0.tar.gz) = 213479 +SHA256 (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 42c3e4ef9eca2860d22b3c6c5582c6c13fb4b417e5ebc1acc56ee5e2c4ddcaff +SIZE (go-yaml-yaml-v2.2.2_GH0.tar.gz) = 70656 +SHA256 (gobwas-httphead-2c6c146eadee_GH0.tar.gz) = 3c53d16746cb6f420a3f3f5bf1bb62afcd3f67df78b974bf9180ba488a9dd7bf +SIZE (gobwas-httphead-2c6c146eadee_GH0.tar.gz) = 17105 +SHA256 (gobwas-pool-v0.2.0_GH0.tar.gz) = 6c4f7ab93586a9a8ca28dc3dcf7cb5bfeaf8580274d7077897800c3b00c6fa2a +SIZE (gobwas-pool-v0.2.0_GH0.tar.gz) = 7309 +SHA256 (gobwas-ws-v1.0.2_GH0.tar.gz) = 955f8d943c3b6c29daf04f980818ad7a1a75e03d483cb2cef885148d44203a32 +SIZE (gobwas-ws-v1.0.2_GH0.tar.gz) = 69975 +SHA256 (godbus-dbus-v4.1.0_GH0.tar.gz) = e35dd6031febb2b550b765da602a6e8eaa6a45c501af7370f66d7710a23c501d +SIZE (godbus-dbus-v4.1.0_GH0.tar.gz) = 53466 +SHA256 (golang-crypto-4def268fd1a4_GH0.tar.gz) = eaf2ba9df95911f41a340478d1fbb540d7bc21939e4688273995dabf58e8c7b0 +SIZE (golang-crypto-4def268fd1a4_GH0.tar.gz) = 1693117 +SHA256 (golang-image-cff245a6509b_GH0.tar.gz) = 64f955420f902c965e3bbe0ed3bfc66357294882de5fb1ebd5ecb7f406fc4844 +SIZE (golang-image-cff245a6509b_GH0.tar.gz) = 4891322 +SHA256 (golang-sys-fde4db37ae7a_GH0.tar.gz) = b6aab4e92d5d8fe85ca0dd229bfb75c91290951a3bf3b95087459e5a4eae86a4 +SIZE (golang-sys-fde4db37ae7a_GH0.tar.gz) = 1455218 +SHA256 (golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22 +SIZE (golang-text-v0.3.2_GH0.tar.gz) = 7168069 +SHA256 (gopherjs-gopherjs-3e4dfb77656c_GH0.tar.gz) = f3c02884bbe2ea73888c8de404d10054d3587dcdf72a271f61e8e1eb0054a1b0 +SIZE (gopherjs-gopherjs-3e4dfb77656c_GH0.tar.gz) = 228261 +SHA256 (gopherjs-gopherwasm-v1.1.0_GH0.tar.gz) = 40abdf209f724d241f78c0779cbe6b924992997359f98abfcabab82aa1d65e1d +SIZE (gopherjs-gopherwasm-v1.1.0_GH0.tar.gz) = 5943 +SHA256 (gorilla-websocket-v1.4.0_GH0.tar.gz) = 2b5743c72bd0930c5a80e49c0138b5b7d27fa7c085efd0c86805cccfa7220c9d +SIZE (gorilla-websocket-v1.4.0_GH0.tar.gz) = 50228 +SHA256 (hashicorp-go-cleanhttp-v0.5.1_GH0.tar.gz) = 24dedefe5edc4698dfa7e15a472369078a3447e8096e6d856549341c873c4a0b +SIZE (hashicorp-go-cleanhttp-v0.5.1_GH0.tar.gz) = 8069 +SHA256 (hashicorp-go-retryablehttp-v0.5.4_GH0.tar.gz) = 78e41c14e041a83878fc57d4d90e3642f91ea8031cbba348bd07f656085be69e +SIZE (hashicorp-go-retryablehttp-v0.5.4_GH0.tar.gz) = 15129 +SHA256 (jonas747-gojay-9081ac11e06c_GH0.tar.gz) = f9941be650284865a1a52418b1e0870d752cb2199d87bac976c12b7ef6236ffc +SIZE (jonas747-gojay-9081ac11e06c_GH0.tar.gz) = 151980 +SHA256 (mattn-go-isatty-v0.0.9_GH0.tar.gz) = 71d57a3fb3f990a5a5d1e190ae5112a8aca2fcdda9eb42770bd524076e8f371f +SIZE (mattn-go-isatty-v0.0.9_GH0.tar.gz) = 3904 +SHA256 (mattn-go-runewidth-v0.0.4_GH0.tar.gz) = 1973c2de25bc69c3786a00e8118f4d22aa0d040bdfe46c8c8c30419b23e53dfe +SIZE (mattn-go-runewidth-v0.0.4_GH0.tar.gz) = 19827 +SHA256 (mattn-go-sixel-a8fac8fa7d81_GH0.tar.gz) = 6db6901f7709ed37d54e4585f2e52800b1ba1b4cae3322c407b51c52eb3a63e6 +SIZE (mattn-go-sixel-a8fac8fa7d81_GH0.tar.gz) = 38289 +SHA256 (mattn-go-tty-523744f04859_GH0.tar.gz) = 6783bd96beb1e52a515eb05f0db4354f33588b6d19e4abad00a7d826658d4a19 +SIZE (mattn-go-tty-523744f04859_GH0.tar.gz) = 6917 +SHA256 (nu7hatch-gouuid-179d4d0c4d8d_GH0.tar.gz) = 2ead616e5bb23c0c669a1485cb45f083d8d6752acc5faa5f668521b7e99ec2e1 +SIZE (nu7hatch-gouuid-179d4d0c4d8d_GH0.tar.gz) = 3733 +SHA256 (pelletier-go-toml-v1.4.0_GH0.tar.gz) = 04fb4855a64495c0c055c83b8a3446cabc6bfa4830eb458816370db38c0e67b0 +SIZE (pelletier-go-toml-v1.4.0_GH0.tar.gz) = 73274 +SHA256 (pkg-errors-v0.8.1_GH0.tar.gz) = 7a428967c6fc2e80cd84a0d9469ab6bd4dbe6b13493ba6294322a933a5a7e356 +SIZE (pkg-errors-v0.8.1_GH0.tar.gz) = 11009 +SHA256 (sahilm-fuzzy-v0.1.0_GH0.tar.gz) = c3746896798d2cee59991f452f1d634f95eb79332bf6e8417a68caf6692ec2ce +SIZE (sahilm-fuzzy-v0.1.0_GH0.tar.gz) = 3353310 +SHA256 (soniakeys-quant-v1.0.0_GH0.tar.gz) = 6656199c1599fa8b334dde6ddcf09d4147aadd52ec26668130c8fdd11f8d78eb +SIZE (soniakeys-quant-v1.0.0_GH0.tar.gz) = 11246 +SHA256 (stevenroose-gonfig-v0.1.4_GH0.tar.gz) = b3802e16d3ad782c82b7ca367785633fcb61a615cdbcfa8f13e5aaed83d2ff38 +SIZE (stevenroose-gonfig-v0.1.4_GH0.tar.gz) = 21226 +SHA256 (tadvi-systray-11a2b8fa57af_GH0.tar.gz) = c7a2e5733693597e643460a6d30f1680c5d294b84a6133ede577e1fa73e176e3 +SIZE (tadvi-systray-11a2b8fa57af_GH0.tar.gz) = 25788 +SHA256 (valyala-bytebufferpool-v1.0.0_GH0.tar.gz) = 089013e3429ebe7fd2bc3527f003bf3f3f639891e5d8ba6a56010e3671465e1f +SIZE (valyala-bytebufferpool-v1.0.0_GH0.tar.gz) = 5025 +SHA256 (valyala-fasttemplate-v1.0.1_GH0.tar.gz) = dd596785cb9b68280cc4fa0ff0e7d2ffc164cd13553afa656a8977b8ef342196 +SIZE (valyala-fasttemplate-v1.0.1_GH0.tar.gz) = 11813 +SHA256 (zalando-go-keyring-02404fc6afd1_GH0.tar.gz) = c02e935d150e8dd8c232d2b772f96abf359b564ed82fe63103bd511ba5635892 +SIZE (zalando-go-keyring-02404fc6afd1_GH0.tar.gz) = 8635 +SHA256 (diamondburned-6cord-9bbca67ccee21445df72b2f734941abc7d09a0c9_GL0.tar.gz) = 14c3f53ec7cc8d05953e705c98d84802635057115b41a5099257542d9415ab62 +SIZE (diamondburned-6cord-9bbca67ccee21445df72b2f734941abc7d09a0c9_GL0.tar.gz) = 549305 +SHA256 (diamondburned-go-w3m-1b390b8a3d1fd142bcaf77a949223cb36ef84cbc_GL0.tar.gz) = a6954be27d42948b778e6dd292d15b3c37f48add69046f4015d5c336fcf4f076 +SIZE (diamondburned-go-w3m-1b390b8a3d1fd142bcaf77a949223cb36ef84cbc_GL0.tar.gz) = 538561 +SHA256 (diamondburned-ueberzug-go-7c15a5f63b064530b92411f2850d0fc7fe9059ea_GL0.tar.gz) = dcf62f5f0a8c3e68e3f197d0781a8c35644f996c5f9dd90a4f3f429874ca2607 +SIZE (diamondburned-ueberzug-go-7c15a5f63b064530b92411f2850d0fc7fe9059ea_GL0.tar.gz) = 32901 Index: net-im/6cord/files/patch-main.go =================================================================== --- /dev/null +++ net-im/6cord/files/patch-main.go @@ -0,0 +1,15 @@ +Fixed 6cord bleeding DEBUG info. + +See: https://gitlab.com/diamondburned/6cord/commit/ef4509cd6441c4b916207210ec54fc0f5c71d09a#0607f785dfa3c3861b3239f6723eb276d8056461 +--- main.go.orig 2019-08-19 07:18:48 UTC ++++ main.go +@@ -378,6 +378,9 @@ func main() { + } + } + ++ // Silent logger ++ d.Client.Logger = nil ++ + d.AddHandler(onReady) + d.AddHandler(messageCreate) + d.AddHandler(messageUpdate) Index: net-im/6cord/files/pkg-message.in =================================================================== --- /dev/null +++ net-im/6cord/files/pkg-message.in @@ -0,0 +1,32 @@ +[ +{ type: install + message: <