From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IEl+O9AcqGQrXAAASxT56A (envelope-from ) for ; Fri, 07 Jul 2023 16:10:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ANNgOtAcqGTfowAAG6o9tA (envelope-from ) for ; Fri, 07 Jul 2023 16:10:24 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B35D3ED0D for ; Fri, 7 Jul 2023 16:10:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688739024; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=mdjMUjheOjKCCubo6iTAXWkPeAKh2rgKGJLgaTP8Jbo=; b=jlveqTAD3t+AaOztT1IeKAo98xaypUXrbr7Aipq9K+4cmcj0WyDG6YoeqDkXqHNyMbonhs YdVlCJmUOhef0HwczYUSpFztBCQG6Ffey/f0CSJ6W6ZBnmdVUovbuKR14vkOkH7ZoDshT9 4vPm8xyTcuMimXdn6LPPJGNG6aNN83EsKN6Wu1VHtoayt1wx9KxsZW16ErME6EhzIhmHOC x2/I0x2OgfMO7TtfUqQpJ3+35yci9iVi3gfA/IIgz9QO/6IXSxnED22obPpBNiYLcDBRWG H+CV8tGoAg+gjM/xEBiRXq/4FWz4JZhblZIg6XxboD/4ChyMlLK8aMbYrGVePQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688739024; a=rsa-sha256; cv=none; b=bBJLlWXyr1J1oHfN9kw9sRF5otEgS7afTNR/s8MvPZ5q6fL4y8ZxcLdtv6cQYqv5plyO6X WpuIsgKlMB3Z5kypNRnq7WUOM2v7/ewVCrcxADinVhX3cR7oB+scdH3KmvT7rPL1+v7hKf xp6Se3Icy+bh5x4TokVFQwBLIDsQ0fBFU+Ba50ldYwROnohkWcIFvIb0a7Fb+AYAPdhcWG 75hKgdZaALZZf4OUX5BOHf3RO3Y36d0TzojrELIyEf8ken9DpI+3zwrWdcOlxkzaPGqPeq mNE2ASOo9gub2sqYvaNR37K1r4jVWZjJhd2e0vZbJzT5tD1S16NGVmh/l/D9sQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHm9u-0007Lo-V6; Fri, 07 Jul 2023 10:10:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHm9r-0007FD-97 for guix-patches@gnu.org; Fri, 07 Jul 2023 10:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHm9r-0002oz-0t for guix-patches@gnu.org; Fri, 07 Jul 2023 10:10:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qHm9q-0005pc-67 for guix-patches@gnu.org; Fri, 07 Jul 2023 10:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64510] [PATCH v1] gnu: Add simtrace-1 Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Fri, 07 Jul 2023 14:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64510 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64510@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli , ( , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: ( , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart Received: via spool by submit@debbugs.gnu.org id=B.168873899522395 (code B ref -1); Fri, 07 Jul 2023 14:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Jul 2023 14:09:55 +0000 Received: from localhost ([127.0.0.1]:43546 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHm9i-0005p9-WC for submit@debbugs.gnu.org; Fri, 07 Jul 2023 10:09:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:36404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qHm9g-0005p0-9h for submit@debbugs.gnu.org; Fri, 07 Jul 2023 10:09:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHm9g-0007Do-3R for guix-patches@gnu.org; Fri, 07 Jul 2023 10:09:52 -0400 Received: from cyberdimension.org ([2001:910:1314:ffff::1] helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1qHm9d-0002jb-Ub for guix-patches@gnu.org; Fri, 07 Jul 2023 10:09:51 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 7bdc1103; Fri, 7 Jul 2023 14:09:45 +0000 (UTC) Received: from localhost.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id d9c4fb02; Fri, 7 Jul 2023 14:09:44 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Fri, 7 Jul 2023 16:09:44 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.47 X-Spam-Score: -3.47 X-Migadu-Queue-Id: 8B35D3ED0D X-Migadu-Scanner: mx2.migadu.com X-TUID: Kom+vgqFGP/f * gnu/packages/telephony.scm (simtrace-1): New variable. Signed-off-by: Denis 'GNUtoo' Carikli --- gnu/packages/telephony.scm | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index aa65c4eaad..b00a2971c7 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -87,6 +87,7 @@ (define-module (gnu packages telephony) #:use-module (gnu packages security-token) #:use-module (gnu packages serialization) #:use-module (gnu packages speech) + #:use-module (gnu packages tex) #:use-module (gnu packages tls) #:use-module (gnu packages upnp) #:use-module (gnu packages video) @@ -989,6 +990,77 @@ (define-public libosmocore (home-page "https://osmocom.org/projects/libosmocore/wiki/Libosmocore") (license license:gpl2+))) +(define-public simtrace-1 + (package + (name "simtrace-1") + (version "1.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitea.osmocom.org/sim-card/simtrace") + (commit (string-append "v" version)))) + (sha256 + (base32 + "03wjdavp7fbr7jzzhqx6di9v87yvfi19i3kpn798vlpbw7iwkjry")))) + (arguments + (list #:tests? #f ;no tests + #:make-flags #~(list (string-append "CC=" + #$(cc-for-target)) + (string-append "DESTDIR=" + #$output)) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "host"))) + (add-after 'chdir 'fix-makefile + (lambda _ + (substitute* "Makefile" + (("/usr") + "")))) + (delete 'configure) + (add-after 'build 'build-usermanual + (lambda* (#:key inputs native-inputs + #:allow-other-keys) + (substitute* "../docs/usermanual.xml" + (("http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd") + (string-append (assoc-ref inputs "docbook-xml") + "/xml/dtd/docbook/docbookx.dtd"))) + ;; At the beginning of the document, a table is + ;; constructed with the build time in it. This + ;; comes from '\newcommand{\DBKdate}{\today}' in + ;; share/dblatex/latex/contrib/db2latex/db2latex.sty + ;; in /gnu/store/[...]-dblatex-[...]. We used the + ;; commit time for the date instead. + (invoke (which "faketime") "2019-10-01" + (which "dblatex") "../docs/usermanual.xml"))) + (add-after 'build-usermanual 'install-usermanual + (lambda _ + (install-file "../docs/usermanual.pdf" + (string-append #$output + "/share/doc/simtrace-1/")))) + (add-after 'install 'install-man + (lambda _ + (install-file "simtrace.1" + (string-append #$output "/man/man1/"))))))) + (build-system gnu-build-system) + (native-inputs (list dblatex docbook-xml-4.2 libfaketime pkg-config + texlive)) + (inputs (list libosmocore libusb lksctp-tools talloc)) + (synopsis + "Sniff the communication between phones and SIM cards with SIMtrace 1") + (description + "This contains the simtrace utility. +It is compatible with the SIMtrace 1 hardware that contains an Atmel AT91SAM7S +micro-controller. It is not compatible with the SIMtrace 2 hardware that uses +an Atmel ATSAM3S micro-controller instead. The simtrace utility can display +the SIM PDUs directly and/or send them to a given IP address to enable users +to view SIM PDUs in Wireshark. It also contains a complete user manual for +the SIMtrace 1 hardware.") + (home-page "https://osmocom.org/projects/simtrace/wiki/SIMtrace") + ;; The utility is GPLv2-only according to the source files headers, and the + ;; manual is under the cc-by-sa 3.0 + (license (list license:gpl2 license:cc-by-sa3.0)))) + (define-public xgoldmon ;; There are no releases nor tags. (let ((revision "1") base-commit: 961ffca1c75141cbb351d143b22b673638e9659d -- 2.40.1