aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/m4.scm
blob: 39b50b68001567ce8041f8bc6a5ce3542a2f8386 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages m4)
  #:use-module (guix licenses)
  #:use-module (gnu packages)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (guix utils))

(define-public m4
  (package
   (name "m4")
   (version "1.4.19")
   (source (origin
            (method url-fetch)
            (uri (string-append "mirror://gnu/m4/m4-"
                                version ".tar.xz"))
            (sha256
             (base32
              "15mghcksh11saylpm86h1zkz4in0rbi0pk8i6nqxkdikdmfdxbk3"))))
   (build-system gnu-build-system)
   (arguments
    `(;; Explicitly disable tests when cross-compiling, otherwise 'make check'
      ;; proceeds and fails, unsurprisingly.
      #:tests? ,(not (%current-target-system))
      #:phases
      (modify-phases %standard-phases
        (add-after 'unpack 'disable-test
          (lambda _
            ;; Test 5 raises SIGINT from a child and immediately returns
            ;; code 71, and tests whether the child was killed by a signal.
            ;; Since there is no signal handler for SIGINT in the build
            ;; container, the parent sees the return code, and fails.
            ;; XXX: For some reason adding signal handlers in Guile before
            ;; running tests has no effect.
            (substitute* "tests/test-execute.sh"
              (("4 5 6")
               "4 6"))))
        ,@(if (target-hurd?)
              '((add-after 'unpack 'skip-stack-overflow-tests
                  (lambda _
                    (substitute* '("tests/test-sigsegv-catch-stackoverflow1.c"
                                   "tests/test-sigsegv-catch-stackoverflow2.c")
                      (("(^| )main *\\(.*" all)
                       (string-append all "{\n  exit (77);//"))))))
              '())
        (add-after 'unpack 'configure-shell
          (lambda* (#:key native-inputs inputs #:allow-other-keys)
            (let ((/bin/sh (search-input-file (or native-inputs inputs)
                                              "/bin/sh")))
              ;; Adjust hard-coded /bin/sh for tests.
              (substitute* "lib/config.hin"
                (("\"/bin/sh\"")
                 (format #f "\"~a\"" /bin/sh)))))))))
   (synopsis "Macro processor")
   (description
    "GNU M4 is an implementation of the M4 macro language, which features
some extensions over other implementations, some of which are required by GNU
Autoconf.  It is used as a macro processor, which means it processes text,
expanding macros as it encounters them.  It also has some built-in functions,
for example to run shell commands or to do arithmetic.")
   (license gpl3+)
   (home-page "https://www.gnu.org/software/m4/")))
7 14:16:55 +0100'>2024-03-17gnu: keepassxc: Update to 2.7.7....* gnu/packages/password-utils.scm (keepassxc): Update to 2.7.7. Change-Id: I5fa337184de094fbb105571360a5766dfe3f8f33 Nicolas Goaziou 2024-03-12gnu: ssh-to-age: Update to 1.1.7....* gnu/packages/password-utils.scm (ssh-to-age): Update to 1.1.7. [synopsis]: Remove period at the end of the sentence. Change-Id: Ide1bab2490b52459c31191d578619f9ea1edcbaf Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Giacomo Leidi 2024-03-01gnu: Add bruteforce-salted-openssl....* gnu/packages/password-utils.scm (bruteforce-salted-openssl): New variable. Change-Id: I90e52a6f70333ef14024fd794b6cb55692fdc24e Guillaume Le Vaillant 2024-03-01gnu: bruteforce-luks: Update to 1.4.1....* gnu/packages/password-utils.scm (bruteforce-luks): Update to 1.4.1. [source]: Switch to git-fetch method. [native-inputs]: Remove lzip, add autoconf and automake. Change-Id: Iea339deb9d4331cb0813468fbcd84b7a5112e6bd Guillaume Le Vaillant 2024-02-26gnu: Add pass-coffin...* gnu/packages/password-utils.scm (pass-coffin): New variable. Reviewed-by: Steve George <steve@futurile.net> Change-Id: I2fdf6c755b9b75780c5a3c0304e5b961a15640a4 Signed-off-by: Andreas Enge <andreas@enge.fr> Christian Miller via Guix-patches via 2024-02-13gnu: go-golang-org-x-sys: Move to golang-build....* gnu/packages/golang.scm (go-golang-org-x-sys): Move from here ... * gnu/packages/golang-build.scm: ... to here. * gnu/packages/curl.scm: Add (gnu packages golang-build) module. * gnu/packages/databases.scm: As above. * gnu/packages/docker.scm: As above. * gnu/packages/golang-build.scm: As above. * gnu/packages/golang.scm: As above. * gnu/packages/irc.scm: As above. * gnu/packages/linux.scm: As above. * gnu/packages/password-utils.scm: As above. * gnu/packages/syncthing.scm: As above. * gnu/packages/textutils.scm: As above. * gnu/packages/vpn.scm: As above. * gnu/packages/weather.scm: As above. * gnu/packages/web.scm: As above. Change-Id: I161e89cacb9aa87b4fbb643ecd9ad32cfe49c9d7 Sharlatan Hellseher 2024-02-13gnu: qtpass: Switch to qt-build-system and new package style....* gnu/packages/password-utils.scm (qtpass): Use qt-build-system. [arguments]: Drop 'wrap-qt and 'check-setup phases. Drop the unnecessary 'reset-resource-timestamps phase. Use new package style for remaining phases. [inputs]: Drop qtbase-5. Change-Id: I23a0b8dfd1fdfeca343704d3df084c522b319d30 Signed-off-by: Christopher Baines <mail@cbaines.net> Timotej Lazar 2024-02-13gnu: qtpass: Update to 1.4.0....* gnu/packages/password-utils.scm (qtpass): Update to 1.4.0. Change-Id: Ia0d29a0044b8bfedef692aba337d1ef23c672804 Signed-off-by: Christopher Baines <mail@cbaines.net> Timotej Lazar 2024-01-28gnu: go-filippo-io-edwards25519: Move to (gnu packages golang-crypto)....* gnu/packages/golang.scm (go-filippo-io-edwards25519): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. * gnu/packages/password-utils.scm: Add (gnu packages golang-crypto) to used modules. Change-Id: I11769b8b212bf4cbe98fe10181c0a2a479c599df Sharlatan Hellseher 2023-12-23gnu: argon2: Fix cross-compilation....* gnu/packages/password-utils.scm (argon2): Use `cc-for-target'. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Change-Id: Ia33ad67a2a05d82be036080f1938865daa11cfe9 Leo Nikkilä 2023-12-10gnu: keepassxc: Record file name of ‘xclip’ and ‘wl-copy’....* gnu/packages/password-utils.scm (keepassxc)[arguments]: Add ‘record-clipboard-programs’ phase. [inputs]: Add WL-CLIPBOARD and XCLIP. Change-Id: I3cfe3d8604da575f6bf5e5cf3ce862fbac099ab6 Ludovic Courtès 2023-11-04gnu: password-store: Add missing ‘tail’ input....* gnu/packages/password-utils.scm (password-store)[arguments]: Add “tail” to the list of requisites. [inputs]: Add COREUTILS. Change-Id: I7f59e6c0abfb5396b9548edaec08d3b0a7c0eb23 Clément Lassieur 2023-09-28gnu: keepassxc: Switch to qt-build-system....* gnu/packages/password-utils.scm (keepassxc): Use qt-build-system. [build-system]: Switch to qt-build-system. [arguments]: Drop superfluous phase and modules. [inputs]: Drop qtbase-5. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Timotej Lazar 2023-09-19gnu: keepassxc: Update to 2.7.6....* gnu/packages/password-utils.scm (keepassxc): Update to 2.7.6. Efraim Flashner