aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/pth.scm
blob: 8efede068c3acc1233b12e8bb1d351e2c745b45e (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
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Thiago Jung Bauermann <bauermann@kolabnow.com>
;;;
;;; 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 pth)
  #:use-module (gnu packages autotools)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu))

(define-public pth
  (package
    (name "pth")
    (version "2.0.7")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "mirror://gnu/pth/pth-" version
                          ".tar.gz"))
      (sha256
       (base32
        "0ckjqw5kz5m30srqi87idj7xhpw6bpki43mj07bazjm2qmh3cdbj"))))
    (build-system gnu-build-system)
    (arguments
     '(#:parallel-build? #f
       #:phases
       (modify-phases %standard-phases
         (add-after 'unpack 'update-config-scripts
           (lambda* (#:key inputs native-inputs #:allow-other-keys)
             ;; Replace outdated config.guess and config.sub.
             (for-each (lambda (file)
                         (install-file
                          (search-input-file
                           (or native-inputs inputs)
                           (string-append "/bin/" file)) "."))
                       '("config.guess" "config.sub")))))))
    (native-inputs
     (list config))
    (home-page "https://www.gnu.org/software/pth/")
    (synopsis "Portable thread library")
    (description
     "GNU Pth is a portable library providing non-preemptive, priority-based
scheduling for multiple execution threads.  Each thread has its own
program-counter, run-time stack, signal mask and errno variable.  Threads are
scheduled in a cooperative way, rather than in the standard preemptive way,
such that they are managed according to priority and events.  However, Pth
also features emulation of POSIX.1c threads (\"pthreads\") for backwards
compatibility.")
    (license lgpl2.1+)))
span title='2024-02-13 14:19:05 +0000'>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-01-23gnu: trurl: Update to 0.9....* gnu/packages/curl.scm (trurl): Update to 0.9. Change-Id: Ieb0f19e6d48897dceb32e317613a301f521c9b94 Sharlatan Hellseher 2023-12-25gnu: curl: Fix test suite on arm platforms....* gnu/packages/curl.scm (curl)[arguments]: Adjust the flags in the custom 'check phase to skip a test instead of ignoring the test result. Change-Id: Ib2098137b04766988507d2f86832871150cd0af7 Efraim Flashner 2023-12-17gnu: curl: Update to 8.5.0 [security fixes]....Fixes CVE-2023-46218 and CVE-2023-46219. See <https://curl.se/docs/CVE-2023-46218.html> and <https://curl.se/docs/CVE-2023-46219.html> respectively. * gnu/packages/curl.scm (curl): Update to 8.5.0. * gnu/packages/patches/curl-use-ssl-cert-env.patch: Update patch. Change-Id: Iaa6aa5de0f45576dc06bf5eca1eec502e5c83332 John Kehayias 2023-11-30gnu: curl: Skip failing test on the Hurd....* gnu/packages/curl.scm (curl)[arguments]: When building natively on the Hurd, also skip test 564. Change-Id: I265049b70c6255f075a98b1a385d40d9dd84badf Janneke Nieuwenhuizen 2023-11-15gnu: curl: Skip failing test on arm machines....* gnu/packages/curl.scm (curl)[arguments]: Adjust custom 'check phase to skip a test on armhf-linux and aarch64-linux. Change-Id: I26fcb8c911a412c9196b759caefb6a003a241b6b Efraim Flashner 2023-11-05gnu: curl: Run tests in parallel....* gnu/packages/curl.scm (curl)[arguments]: Respect PARALLEL-TESTS? in check phase, by setting TFLAGS (curl's test flags). Change-Id: I54dfe32b757824fd3d2b89d10b88315c7e8b8d2a John Kehayias 2023-11-05gnu: curl: Ungraft....* gnu/packages/curl.scm (curl): Update to 8.4.0 from graft, preserving... [arguments]<#:phases>: ... check phase to skip failing test on Hurd. [replacement]: Remove. (curl/fixed): Remove variable. Change-Id: I9243d6b3a9084d9c24884e755f2f42ffafca4205 John Kehayias 2023-10-25gnu: curlie: Update to 1.7.2....* gnu/packages/curl.scm (curlie): Update to 1.7.2. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Change-Id: Ic54bb5c1975fe8b954b4ab4b72ca5748c0924b7a Imran Iqbal 2023-10-11gnu: curl/fixed: Fix version....This is a followup to d6d706a58b8159748d3a46fa97cae18850487c8a. The version string is set separately to have the same length as curl for grafting and was forgotten in the previous commit. * gnu/packages/curl.scm (curl/fixed)[version]: Set to "8.4.0a" to match actual version and length needed for grafting. John Kehayias 2023-10-11gnu: curl/fixed: Update to 8.4.0 [security fixes]....Fixes CVE-2023-38545 and CVE-2023-38546. See <https://curl.se/docs/CVE-2023-38545.html> and <https://curl.se/docs/CVE-2023-38546.html> for details. * gnu/packages/curl.scm (curl/fixed): Update to 8.4.0. John Kehayias 2023-10-10gnu: curl/fixed: Skip failing test on the Hurd....* gnu/packages/curl.scm (curl/fixed)[arguments]: When building on the Hurd, replace `check' phase to skip test 1474. Janneke Nieuwenhuizen 2023-10-05gnu: curl: Update to 8.3.0....According to upstream, the current version has 19 security issues. See also <https://curl.se/docs/vuln-7.85.0.html>. * gnu/packages/curl.scm (curl/fixed): New variable. (curl): Use it as replacement. Liliana Marie Prikler