View | Details | Raw Unified | Return to bug 246504
Collapse All | Expand All

(-)irc/komanda-cli/Makefile (+53 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	komanda-cli
4
DISTVERSION=	g20190920
5
CATEGORIES=	irc
6
7
MAINTAINER=	vulcan@wired.sh
8
COMMENT=	Komanda command-line IRC client
9
10
LICENSE=	BSD3CLAUSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
USES=		go:modules
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	mephux
16
GH_TAGNAME=	b5ba03b
17
GH_TUPLE=	0xAX:notificator:d81462e38c21:0xax_notificator/vendor/github.com/0xAX/notificator \
18
		BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
19
		alecthomas:kingpin:v2.2.6:alecthomas_kingpin/vendor/gopkg.in/alecthomas/kingpin.v2 \
20
		alecthomas:template:fb15b899a751:alecthomas_template/vendor/github.com/alecthomas/template \
21
		alecthomas:units:c3de453c63f4:alecthomas_units/vendor/github.com/alecthomas/units \
22
		davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
23
		fluffle:goirc:v1.0.1:fluffle_goirc/vendor/github.com/fluffle/goirc \
24
		golang:mock:v1.1.1:golang_mock/vendor/github.com/golang/mock \
25
		golang:net:3b0461eec859:golang_net/vendor/golang.org/x/net \
26
		golang:sys:953cdadca894:golang_sys/vendor/golang.org/x/sys \
27
		hectane:go-nonblockingchan:v0.1.0:hectane_go_nonblockingchan/vendor/github.com/hectane/go-nonblockingchan \
28
		jroimartin:gocui:v0.4.0:jroimartin_gocui/vendor/github.com/jroimartin/gocui \
29
		konsorten:go-windows-terminal-sequences:v1.0.1:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \
30
		mattn:go-runewidth:v0.0.4:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
31
		mephux:common:c3a670c8b76e:mephux_common/vendor/github.com/mephux/common \
32
		nsf:termbox-go:93860e161317:nsf_termbox_go/vendor/github.com/nsf/termbox-go \
33
		sirupsen:logrus:v1.4.2:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
34
		worg:merger:94181de72ed1:worg_merger/vendor/github.com/worg/merger
35
36
_BUILD_SHA=	${GH_TAGNAME}
37
_BUILD_COUNT=	138
38
_BUILD_TAG=	${_BUILD_COUNT}.${_BUILD_SHA}
39
40
GO_BUILDFLAGS=	-ldflags "\
41
		-s -w \
42
		-X main.Build=${_BUILD_TAG}"
43
44
PLIST_FILES=	bin/${PORTNAME}
45
PORTDOCS=	README.md
46
47
OPTIONS_DEFINE=	DOCS
48
49
post-install-DOCS-on:
50
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
51
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
52
53
.include <bsd.port.mk>
(-)irc/komanda-cli/distinfo (+39 lines)
Line 0 Link Here
1
TIMESTAMP = 1589640002
2
SHA256 (mephux-komanda-cli-g20190920-b5ba03b_GH0.tar.gz) = 73900ce20eb9cbb0ef50cf3b37fffdda902ddaeac549e8b8a7222513d28cd7de
3
SIZE (mephux-komanda-cli-g20190920-b5ba03b_GH0.tar.gz) = 1393222
4
SHA256 (0xAX-notificator-d81462e38c21_GH0.tar.gz) = 2f2ee6603a02f87aacd20a5fd47201572caeb5bd24cf27807e34fdff28d69ecd
5
SIZE (0xAX-notificator-d81462e38c21_GH0.tar.gz) = 39778
6
SHA256 (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f
7
SIZE (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077
8
SHA256 (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 4624eae43489de8a71ea60efaf6744c581b6bd62909f7514c484c1ea0efaba5a
9
SIZE (alecthomas-kingpin-v2.2.6_GH0.tar.gz) = 44383
10
SHA256 (alecthomas-template-fb15b899a751_GH0.tar.gz) = 2e2a44375eca48ce941182504b5d13aa98182b9a3f64ace33bfda52208bd0f5e
11
SIZE (alecthomas-template-fb15b899a751_GH0.tar.gz) = 55339
12
SHA256 (alecthomas-units-c3de453c63f4_GH0.tar.gz) = b2eb77de46e677edb150bb4bf81d213416a477525980e315264cbd70b22d0ece
13
SIZE (alecthomas-units-c3de453c63f4_GH0.tar.gz) = 3485
14
SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
15
SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
16
SHA256 (fluffle-goirc-v1.0.1_GH0.tar.gz) = 05e1d03714c827dc88b4d04bb9380d37dc2d83f350dcee015fe8d4f1ba24493b
17
SIZE (fluffle-goirc-v1.0.1_GH0.tar.gz) = 141321
18
SHA256 (golang-mock-v1.1.1_GH0.tar.gz) = c705c0239c4ca21bdacf5e9391f9012937f6becfd97926ce28408ae53165122d
19
SIZE (golang-mock-v1.1.1_GH0.tar.gz) = 43394
20
SHA256 (golang-net-3b0461eec859_GH0.tar.gz) = a22a8864fdc90a79d953afad48ec799386daee4bfe93ecc50ccca4b77c2a9329
21
SIZE (golang-net-3b0461eec859_GH0.tar.gz) = 1099281
22
SHA256 (golang-sys-953cdadca894_GH0.tar.gz) = fb56f244784dac7e7f66fc0ff9f5ff6adbd49ccb8f3625285e6e39254b64c12f
23
SIZE (golang-sys-953cdadca894_GH0.tar.gz) = 1353286
24
SHA256 (hectane-go-nonblockingchan-v0.1.0_GH0.tar.gz) = f74986ddebd4a74687f8638f26e2ce7822c6f4d99dc786ffa05489a20e4936ec
25
SIZE (hectane-go-nonblockingchan-v0.1.0_GH0.tar.gz) = 2473
26
SHA256 (jroimartin-gocui-v0.4.0_GH0.tar.gz) = 7dbb46356f9eee2d52c68cf664f9527cb7b84e746e61cc9000566a0b9eec8dec
27
SIZE (jroimartin-gocui-v0.4.0_GH0.tar.gz) = 28376
28
SHA256 (konsorten-go-windows-terminal-sequences-v1.0.1_GH0.tar.gz) = e36c5a5de388bf72db3037b47f025b09e574be8d0bc74b3e44c960cba0880e87
29
SIZE (konsorten-go-windows-terminal-sequences-v1.0.1_GH0.tar.gz) = 1909
30
SHA256 (mattn-go-runewidth-v0.0.4_GH0.tar.gz) = 1973c2de25bc69c3786a00e8118f4d22aa0d040bdfe46c8c8c30419b23e53dfe
31
SIZE (mattn-go-runewidth-v0.0.4_GH0.tar.gz) = 19827
32
SHA256 (mephux-common-c3a670c8b76e_GH0.tar.gz) = 91652b403c66353031a2df078d87cdf872b44e5df5c15e95e08419bd58de3711
33
SIZE (mephux-common-c3a670c8b76e_GH0.tar.gz) = 12294
34
SHA256 (nsf-termbox-go-93860e161317_GH0.tar.gz) = b6b53b3ddc63fad46434f5eb173642898e320fca00ee264b6e7275eb81f5b2e4
35
SIZE (nsf-termbox-go-93860e161317_GH0.tar.gz) = 32772
36
SHA256 (sirupsen-logrus-v1.4.2_GH0.tar.gz) = 67f2ddf467b7e63d2d2529d227946a331e245aeef7e2e4521ae82647b5ef84d9
37
SIZE (sirupsen-logrus-v1.4.2_GH0.tar.gz) = 41373
38
SHA256 (worg-merger-94181de72ed1_GH0.tar.gz) = 04f760ec1d07264738553ccc4e77754382aaa43d803b52e43210ef99175c931f
39
SIZE (worg-merger-94181de72ed1_GH0.tar.gz) = 4563
(-)irc/komanda-cli/files/patch-komanda_ui_layout.go (+11 lines)
Line 0 Link Here
1
--- komanda/ui/layout.go.orig	2020-05-15 19:20:57 UTC
2
+++ komanda/ui/layout.go
3
@@ -63,7 +63,7 @@ func Layout(g *gocui.Gui) error {
4
 				fmt.Fprintln(view, version.ColorLogo())
5
 				fmt.Fprintln(view, color.String(
6
 					config.C.Color.Green,
7
-					fmt.Sprintf("  Version: %s%s  Source Code: %s\n",
8
+					fmt.Sprintf("  Version: %s.%s  Source Code: %s\n",
9
 						version.Version, version.Build, version.Website),
10
 				),
11
 				)
(-)irc/komanda-cli/files/patch-vendor_github.com_nsf_termbox-go_api.go (+11 lines)
Line 0 Link Here
1
--- vendor/github.com/nsf/termbox-go/api.go.orig	2020-05-15 19:17:07 UTC
2
+++ vendor/github.com/nsf/termbox-go/api.go
3
@@ -24,7 +24,7 @@ import "time"
4
 func Init() error {
5
 	var err error
6
 
7
-	if runtime.GOOS == "openbsd" {
8
+	if runtime.GOOS == "openbsd" || runtime.GOOS == "freebsd" {
9
 		out, err = os.OpenFile("/dev/tty", os.O_RDWR, 0)
10
 		if err != nil {
11
 			return err
(-)irc/komanda-cli/pkg-descr (+4 lines)
Line 0 Link Here
1
Sister app of komanda.io, an IRC
2
client for developers built in go.
3
4
WWW: https://github.com/mephux/komanda-cli

Return to bug 246504