Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] termshark: update to 2.0.0.
@ 2019-11-12  9:42 voidlinux-github
  2019-11-12 10:40 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-11-12  9:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 316 bytes --]

There is a new pull request by 0x0f0f0f against master on the void-packages repository

https://github.com/0x0f0f0f/void-packages termshark
https://github.com/void-linux/void-packages/pull/16408

termshark: update to 2.0.0.


A patch file from https://github.com/void-linux/void-packages/pull/16408.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-termshark-16408.patch --]
[-- Type: text/x-diff, Size: 4771 bytes --]

From 4dc9e76651809c811a73eca9dc9e80a66ef5b2b2 Mon Sep 17 00:00:00 2001
From: 0x0f0f0f <sudo-woodo3@protonmail.com>
Date: Tue, 12 Nov 2019 10:38:31 +0100
Subject: [PATCH] termshark: update to 2.0.0.

---
 .../termshark/patches/default-interface.patch | 27 ------------
 srcpkgs/termshark/patches/license.patch       | 41 -------------------
 srcpkgs/termshark/template                    |  8 +---
 3 files changed, 2 insertions(+), 74 deletions(-)
 delete mode 100644 srcpkgs/termshark/patches/default-interface.patch
 delete mode 100644 srcpkgs/termshark/patches/license.patch

diff --git a/srcpkgs/termshark/patches/default-interface.patch b/srcpkgs/termshark/patches/default-interface.patch
deleted file mode 100644
index 0ed3fec5527..00000000000
--- a/srcpkgs/termshark/patches/default-interface.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-# reason: default to first interface if no args are given
-# source: https://github.com/gcla/termshark/commit/99241799288932a26d92a9a72a69e01829906054
-
-From 99241799288932a26d92a9a72a69e01829906054 Mon Sep 17 00:00:00 2001
-From: Ross Jacobs <rj@swit.sh>
-Date: Tue, 23 Apr 2019 22:34:20 +0100
-Subject: [PATCH] Fixes #5, fixes #8
-
----
- cmd/termshark/termshark.go | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/cmd/termshark/termshark.go b/cmd/termshark/termshark.go
-index 16ed5d2..b268f5d 100644
---- cmd/termshark/termshark.go
-+++ cmd/termshark/termshark.go
-@@ -2230,6 +2230,10 @@ func cmain() int {
- 	// argument is a pcap file e.g. termshark foo.pcap
- 	if pcapf == "" && opts.Iface == "" {
- 		pcapf = string(opts.Args.FilterOrFile)
-+		// `termshark` => `termshark -i 1` (livecapture on default interface if no args)
-+		if pcapf == "" {
-+			opts.Iface = "1"
-+		}
- 	} else {
- 		// Add it to filter args. Figure out later if they're capture or display.
- 		filterArgs = append(filterArgs, opts.Args.FilterOrFile)
diff --git a/srcpkgs/termshark/patches/license.patch b/srcpkgs/termshark/patches/license.patch
deleted file mode 100644
index 5c859cdfd79..00000000000
--- a/srcpkgs/termshark/patches/license.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-# reason: add MIT license (+1 commit after 1.0.0 release)
-# source: https://github.com/gcla/termshark/commit/b0f047255ce8c9023dd4e9aa16276deaa79fce89
-
-From b0f047255ce8c9023dd4e9aa16276deaa79fce89 Mon Sep 17 00:00:00 2001
-From: Graham Clark <grclark@gmail.com>
-Date: Mon, 22 Apr 2019 22:27:08 -0400
-Subject: [PATCH] Fix the license - thanks to Andrew Benson for reporting this.
-
----
- LICENSE | 22 ++++++++++++++++++++++
- 1 file changed, 22 insertions(+)
- create mode 100644 LICENSE
-
-diff --git a/LICENSE b/LICENSE
-new file mode 100644
-index 0000000..b34611b
---- /dev/null
-+++ LICENSE
-@@ -0,0 +1,22 @@
-+The MIT License (MIT)
-+
-+Copyright (c) 2019 Graham Clark
-+
-+Permission is hereby granted, free of charge, to any person obtaining a copy
-+of this software and associated documentation files (the "Software"), to deal
-+in the Software without restriction, including without limitation the rights
-+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-+copies of the Software, and to permit persons to whom the Software is
-+furnished to do so, subject to the following conditions:
-+
-+The above copyright notice and this permission notice shall be included in all
-+copies or substantial portions of the Software.
-+
-+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-+SOFTWARE.
-+
diff --git a/srcpkgs/termshark/template b/srcpkgs/termshark/template
index 62634c6da59..76b79d28132 100644
--- a/srcpkgs/termshark/template
+++ b/srcpkgs/termshark/template
@@ -1,6 +1,6 @@
 # Template file for 'termshark'
 pkgname=termshark
-version=1.0.0
+version=2.0.0
 revision=1
 build_style=go
 go_import_path="github.com/gcla/termshark"
@@ -12,11 +12,7 @@ maintainer="Piraty <piraty1@inbox.ru>"
 license="MIT"
 homepage="https://github.com/gcla/termshark"
 distfiles="https://github.com/gcla/termshark/archive/v${version}.tar.gz"
-checksum=669bba0e8dd7df54ade6321a5c7d2ec20563ffd777f7b3b0394a11f88da64698
-
-# should be obsolete by next release, see:
-# https://github.com/gcla/termshark/commit/cd358de177ba07c31a084ad4dbb3cf45aa6c7ffd
-go_ldflags="-X github.com/gcla/termshark.Version=${version}"
+checksum=37129758921aad149f96a0c22cb561a223afb5b16c2a5adc6bc40c0e313e3a08
 
 post_install() {
 	vlicense LICENSE

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: termshark: update to 2.0.0.
  2019-11-12  9:42 [PR PATCH] termshark: update to 2.0.0 voidlinux-github
@ 2019-11-12 10:40 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-11-12 10:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

There's a merged pull request on the void-packages repository

termshark: update to 2.0.0.
https://github.com/void-linux/void-packages/pull/16408

Description:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-12 10:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12  9:42 [PR PATCH] termshark: update to 2.0.0 voidlinux-github
2019-11-12 10:40 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).