Commit Graph

15 Commits

Author SHA1 Message Date
Henrik Grimler 8dd7f161b6
termshark: bump to restart build 2022-04-18 14:31:57 +05:30
Henrik Grimler a8523b3af0
termshark: git clone instead of downloading archive
And reset TERMUX_PKG_REVISION.
2022-04-18 14:31:57 +05:30
Graham Clark 6d8c20f82d
Upgrade the official termshark termux package to v2.3.0
As of Go 1.17, termshark can't be installed in a single go get/go
install command because termshark uses replace directives in its
go.mod

$ go install github.com/gcla/termshark/v2/cmd/termshark@latest
go install: github.com/gcla/termshark/v2/cmd/termshark@latest (in github.com/gcla/termshark/v2@v2.3.0):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

This is discussed here: https://github.com/golang/go/issues/40276

Longer-term, I need to remove these directives, or wait for a Go
release that makes it possible to use them with go install. Even though
termux may not yet be using Go 1.17, I decided to git-clone and build
inside the source directory instead.
2022-04-18 14:31:57 +05:30
Henrik Grimler 5359f9594d
Set TERMUX_PKG_MAINTAINER for all packages 2022-04-18 14:31:51 +05:30
Henrik Grimler 22d436ca93
termshark: update to 2.2.0 2022-04-18 14:31:42 +05:30
Henrik Grimler 6767358397
termshark: fix build 2022-04-18 14:31:37 +05:30
Henrik Grimler 0e16a543f4
termshark: bump to include LICENSE file in package 2022-04-18 14:31:33 +05:30
Graham Clark c736168f34
termshark: update to 2.1.1 2022-04-18 14:31:23 +05:30
Henrik Grimler af5f0672f0
termshark: update to 2.0.3 2022-04-18 14:31:20 +05:30
Henrik Grimler 7c5a0989cb
termshark: minor format change to build.sh
TERMUX_PKG_REVISION is not needed when update is bumped
2022-04-18 14:31:18 +05:30
Graham Clark a481d29d5a
Make termshark for termux build on all supported platforms... 2022-04-18 14:31:18 +05:30
Graham Clark 72ec5a97b4
Fix the sha256sum for termshark's source archive. 2022-04-18 14:31:17 +05:30
Graham Clark c52479b830
termshark: update to 2.0.2 2022-04-18 14:31:17 +05:30
Leonid Plyushch d3ae54529f
termshark: bump revision
Should be rebuilt with Go 1.13.
2022-04-18 14:31:15 +05:30
Graham Clark e158ade642
Add termshark
Termshark is a terminal UI for tshark. It's written in golang and as such
consists of one binary. This is a minimal termux build script to make
termshark available.

I originally made this PR at termux-packages -
https://github.com/termux/termux-packages/pull/3931 - but the recommendation
from that discussion was to submit against root packages instead. Termshark
needs tshark at runtime, and tshark could come from either
x11-repo:wireshark-gtk or root-repo:tshark.

More info on termshark is available at https://github.com/gcla/termshark.
2022-04-18 14:31:04 +05:30