unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
To: 59315@debbugs.gnu.org
Cc: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Subject: [bug#59315] [PATCH v1 2/2] gnu: Add xgoldmon
Date: Wed, 16 Nov 2022 19:07:09 +0100	[thread overview]
Message-ID: <20221116180709.5005-2-GNUtoo@cyberdimension.org> (raw)
In-Reply-To: <20221116180709.5005-1-GNUtoo@cyberdimension.org>

* gnu/packages/telephony.scm (xgoldmon): New variable.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 gnu/packages/telephony.scm | 55 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 2f508f4bdd..74af9acd47 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -979,3 +979,58 @@ (define-public libosmocore
 @end itemize")
     (home-page "https://osmocom.org/projects/libosmocore/wiki/Libosmocore")
     (license license:gpl2+)))
+
+(define-public xgoldmon
+  ;; There are no releases nor tags.
+  (let ((revision "1")
+        (commit "f2d5372acee4e492f31f6ba8b850cfb48fbbe478"))
+    (package
+     (name "xgoldmon")
+     (version (git-version "1.0" revision commit))
+     (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/2b-as/xgoldmon")
+                    (commit commit)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0dvgagqsbwq1sd5qjzk0hd9rxnv2vnmhazvv5mz4pj7v467amgdz"))))
+    (arguments
+     (list
+      #:tests? #f ;; No tests
+      #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
+      #:phases #~(modify-phases
+                  %standard-phases
+                  (delete 'configure)
+                  ;; No install target
+                  (replace
+                   'install
+                   (lambda _
+                     (let ((bin (string-append #$output "/bin"))
+                           (doc (string-append #$output "/share/doc")))
+                       (install-file "xgoldmon" bin)
+                       (install-file "README" doc)
+                       (install-file
+                        "screenshot-mtsms-while-in-a-call.png" doc)))))))
+    (inputs (list libosmocore
+                  lksctp-tools
+                  talloc))
+    (native-inputs (list pkg-config))
+    (build-system gnu-build-system)
+    (synopsis "Displays cellular network protocol traces in Wireshark")
+    (description "xgoldmon is an utility that converts the USB logging mode
+messages that various Intel/Infineon XGold modems send to the USB port to
+gsmtap.  It then then sends them to a given IP address to enable users
+to view cellular network protocol traces in Wireshark.
+
+It supports the following smartphones:
+@itemize
+@item Samsung Galaxy S4, GT-I9500 variant
+@item Samsung Galaxy SIII, GT-I9300 variant
+@item Samsung Galaxy Nexus, GT-I9250 variant
+@item Samsung Galaxy SII, GT-I9100 variant
+@item Samsung Galaxy Note II, GT-N7100 variant
+@end itemize")
+    (home-page "https://github.com/2b-as/xgoldmon")
+    (license license:gpl2+))))
-- 
2.38.1





  reply	other threads:[~2022-11-16 18:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-16 18:07 [bug#59316] [PATCH v1 1/2] gnu: Add libosmocore Denis 'GNUtoo' Carikli
2022-11-16 18:07 ` Denis 'GNUtoo' Carikli [this message]
2022-11-27  0:39   ` [bug#59315] [PATCH v1 2/2] gnu: Add xgoldmon Denis 'GNUtoo' Carikli
2022-12-04 21:22   ` bug#59315: " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221116180709.5005-2-GNUtoo@cyberdimension.org \
    --to=gnutoo@cyberdimension.org \
    --cc=59315@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).