From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 6zPlCuLSoGWisAAAkFu2QA (envelope-from ) for ; Fri, 12 Jan 2024 06:49:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GJzxBOLSoGVtQQAAqHPOHw (envelope-from ) for ; Fri, 12 Jan 2024 06:49:22 +0100 X-Envelope-To: larch@yhetil.org 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=1705038562; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=dA3i05UP12CiososwxaaOFi3rc0WCZ1aNFzrkv//A4c=; b=QY3yHtyMST3cpfLxMQtSvqY4o0T6gvRtHTU7YYo35kuHPCYxQBc01bA3WjffuptNstMff7 a751mf7cOgfiTGiJ91uMRRFF1RBALKupL/bszV3Qc4ED1OGS0n5bwkk1+e8FeQ19RKCMYN mNua7urg5d8Y1ydKrd80LMa9kZBZCbryMDBxXHtmN3ArX6i+jMHoSCCHQ93R5Feyu/jOc5 hjqG43ivPoQ1lnJRR8OdJXgdv30bk4pLnWXoQxGZSzszYl0tU9Kxf+miqPRNMeLHeI6Pux KhCUlQ58/D3Hz1QDLs8BjgYm6zNgnB8yFT6nJ5SJaY2Ctn8bZqRgT4jyuTMfiQ== 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705038562; a=rsa-sha256; cv=none; b=MyX31NamMs0fczaXAquvCq5Aki3KHCjViEChNzpyji6FgZ920xO7GwgHtli1uZYCstSy3G lBab9pi++uZgyEbu/HtTxKHjGZY+v6DXPZ6GsIRJAiQb+rbcnwe9tS1pZT1I5TdAGmw7rX uOfAWuiSFKIcdNz01hrkcNXQIl0/+Mw2DceiiB+nnnkV6kB/YaTYZTypmr8k4GTt8XSZNW aENcAWfwN2TOyomxkLwj1VcR07VZHVRGnztP4i1xcus7yZQqTKOa9I5j5XNlVfxnZC65/j TEozxOu+U+/5TvkQS8fPZM8aDVKxId7jH8T9B8CrTIGrYOSc7dbVg/GgaRlyig== 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 5C4895AF5C for ; Fri, 12 Jan 2024 06:49:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOAPk-0002eM-F9; Fri, 12 Jan 2024 00:49:08 -0500 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 1rOAPg-0002dg-A7 for guix-patches@gnu.org; Fri, 12 Jan 2024 00:49:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOAPg-0003Ql-2J for guix-patches@gnu.org; Fri, 12 Jan 2024 00:49:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOAPd-0007a0-R6; Fri, 12 Jan 2024 00:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64510] [PATCH v3] gnu: Add simtrace-1 References: In-Reply-To: Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 12 Jan 2024 05:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64510 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 64510@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli , Maxim Cournoyer X-Debbugs-Original-Xcc: Maxim Cournoyer Received: via spool by 64510-submit@debbugs.gnu.org id=B64510.170503851129050 (code B ref 64510); Fri, 12 Jan 2024 05:49:01 +0000 Received: (at 64510) by debbugs.gnu.org; 12 Jan 2024 05:48:31 +0000 Received: from localhost ([127.0.0.1]:34620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOAP8-0007YR-K7 for submit@debbugs.gnu.org; Fri, 12 Jan 2024 00:48:31 -0500 Received: from cyberdimension.org ([80.67.179.20]:49098 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOAP4-0007Xn-CW for 64510@debbugs.gnu.org; Fri, 12 Jan 2024 00:48:30 -0500 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 17035e0e; Fri, 12 Jan 2024 05:48:06 +0000 (UTC) Received: from localhost.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id a10ca6ef; Fri, 12 Jan 2024 05:48:06 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Fri, 12 Jan 2024 06:47:53 +0100 Message-ID: <988cdb8a1f4374b6adde2ecd9755f32ae046250d.1705038349.git.GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.19 X-Spam-Score: -5.19 X-Migadu-Queue-Id: 5C4895AF5C X-Migadu-Scanner: mx11.migadu.com X-TUID: 70U59W7QQtzD * gnu/packages/telephony.scm (simtrace-1): New variable. Signed-off-by: Denis 'GNUtoo' Carikli Change-Id: I7e415cd43ea1df5d5ea4ea7cfb814951aa570313 --- ChangeLog v2->v3: - Replaced texlive by texlive-* packages. --- gnu/packages/telephony.scm | 92 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm index 41e83384ec..9771bdbb67 100644 --- a/gnu/packages/telephony.scm +++ b/gnu/packages/telephony.scm @@ -78,6 +78,7 @@ (define-module (gnu packages telephony) #:use-module (gnu packages samba) #:use-module (gnu packages security-token) #:use-module (gnu packages speech) + #:use-module (gnu packages tex) #:use-module (gnu packages tls) #:use-module (gnu packages xiph) #:use-module (gnu packages xorg) @@ -1046,6 +1047,97 @@ (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)))) + (file-name (git-file-name name 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-updmap.cfg + (list texlive-appendix + texlive-changebar + texlive-courier + texlive-eepic + texlive-fancybox + texlive-fancyvrb + texlive-float + texlive-footmisc + texlive-helvetic + texlive-jknapltx + texlive-listings + texlive-multirow + texlive-overpic + texlive-pdflscape + texlive-pdfpages + texlive-rsfs + texlive-subfigure + texlive-times + texlive-titlesec)))) + (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: 40f5a3ce437083e4f259878735c2c55f41708e81 -- 2.41.0