all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59316] [PATCH v1 1/2] gnu: Add libosmocore
@ 2022-11-16 18:07 Denis 'GNUtoo' Carikli
  2022-11-16 18:07 ` [bug#59315] [PATCH v1 2/2] gnu: Add xgoldmon Denis 'GNUtoo' Carikli
  0 siblings, 1 reply; 4+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-11-16 18:07 UTC (permalink / raw)
  To: 59316; +Cc: Denis 'GNUtoo' Carikli

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

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

diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 13feedbb2e..2f508f4bdd 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -67,6 +67,7 @@ (define-module (gnu packages telephony)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libcanberra)
+  #:use-module (gnu packages libusb)
   #:use-module (gnu packages linphone)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages multiprecision)
@@ -79,6 +80,8 @@ (define-module (gnu packages telephony)
   #:use-module (gnu packages pulseaudio)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
+  #:use-module (gnu packages samba)
+  #:use-module (gnu packages security-token)
   #:use-module (gnu packages serialization)
   #:use-module (gnu packages speech)
   #:use-module (gnu packages tls)
@@ -926,3 +929,53 @@ (define-public coturn
 TURN (Traversal Using Relays around NAT) server protocols.")
     (home-page "https://github.com/coturn/coturn")
     (license license:bsd-3)))
+
+(define-public libosmocore
+  (package
+    (name "libosmocore")
+    (version "1.7.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitea.osmocom.org/osmocom/libosmocore.git")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "147ld3xwb9k6vb56hk8q8jkcb5ahxl66v87vdhazb6rxj3frsjqf"))))
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (add-after 'unpack 'patch-bin-sh
+                          (lambda _
+                            (substitute* '("git-version-gen" "src/exec.c")
+                              (("/bin/sh")
+                               (which "sh"))))))))
+    (inputs (list gnutls
+                  libmnl
+                  libusb
+                  lksctp-tools
+                  pcsc-lite
+                  talloc))
+    (native-inputs (list autoconf
+                         automake
+                         coreutils
+                         doxygen
+                         libtool
+                         pkg-config
+                         python))
+    (build-system gnu-build-system)
+    (synopsis "Libraries for sharing common code between osmocom projects")
+    (description
+     "Libosmocore includes several libraries:
+@itemize
+@item libosmocore: general-purpose functions
+@item libosmovty: interactive VTY command-line interface
+@item libosmogsm: definitions and helper code related to GSM protocols
+@item libosmoctrl: shared implementation of the Osmocom control interface
+@item libosmogb: implementation of the Gb interface with its NS/BSSGP protocols
+@item libosmocodec: implementation of GSM voice codecs
+@item libosmocoding: implementation of GSM 05.03 burst transcoding functions
+@item libosmosim: infrastructure to interface with SIM/UICC/USIM cards
+@end itemize")
+    (home-page "https://osmocom.org/projects/libosmocore/wiki/Libosmocore")
+    (license license:gpl2+)))

base-commit: 2757de2e2b271d87f6f72ba4161c2225fbdc9e78
-- 
2.38.1





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

* [bug#59315] [PATCH v1 2/2] gnu: Add xgoldmon
  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
  2022-11-27  0:39   ` Denis 'GNUtoo' Carikli
  2022-12-04 21:22   ` bug#59315: " Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-11-16 18:07 UTC (permalink / raw)
  To: 59315; +Cc: Denis 'GNUtoo' Carikli

* 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





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

* [bug#59315] [PATCH v1 2/2] gnu: Add xgoldmon
  2022-11-16 18:07 ` [bug#59315] [PATCH v1 2/2] gnu: Add xgoldmon Denis 'GNUtoo' Carikli
@ 2022-11-27  0:39   ` Denis 'GNUtoo' Carikli
  2022-12-04 21:22   ` bug#59315: " Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Denis 'GNUtoo' Carikli @ 2022-11-27  0:39 UTC (permalink / raw)
  To: 59315

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

merge 59315 59316

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#59315: [PATCH v1 2/2] gnu: Add xgoldmon
  2022-11-16 18:07 ` [bug#59315] [PATCH v1 2/2] gnu: Add xgoldmon Denis 'GNUtoo' Carikli
  2022-11-27  0:39   ` Denis 'GNUtoo' Carikli
@ 2022-12-04 21:22   ` Ludovic Courtès
  1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2022-12-04 21:22 UTC (permalink / raw)
  To: Denis 'GNUtoo' Carikli; +Cc: 59315-done

Hi GNUtoo,

Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> skribis:

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

Applied this one and the previous one, thanks!

Ludo’.




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

end of thread, other threads:[~2022-12-04 21:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-16 18:07 [bug#59316] [PATCH v1 1/2] gnu: Add libosmocore Denis 'GNUtoo' Carikli
2022-11-16 18:07 ` [bug#59315] [PATCH v1 2/2] gnu: Add xgoldmon Denis 'GNUtoo' Carikli
2022-11-27  0:39   ` Denis 'GNUtoo' Carikli
2022-12-04 21:22   ` bug#59315: " Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.