summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-06-26 17:46:10 +0200
committerMarius Bakke <marius@gnu.org>2022-06-26 22:58:34 +0200
commite4496bf373c81d73e4709d2c16048460dbf58866 (patch)
tree29d4f4b82f396e79a6e979737c36de181162ab01 /gnu
parentcac8545b023436bbf31fa74832a6d8954a25eb8f (diff)
gnu: libbsd: Update to 0.11.6.
* gnu/packages/libbsd.scm (libbsd): Update to 0.11.6. [arguments]: Add #:phases. [inputs]: Add LIBMD.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/libbsd.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/libbsd.scm b/gnu/packages/libbsd.scm
index 16a7e8fd895..9759d1b5adb 100644
--- a/gnu/packages/libbsd.scm
+++ b/gnu/packages/libbsd.scm
@@ -1,5 +1,6 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 Leo Famulari <leo@famulari.name> 2;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
3;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
3;;; 4;;;
4;;; This file is part of GNU Guix. 5;;; This file is part of GNU Guix.
5;;; 6;;;
@@ -20,22 +21,35 @@
20 #:use-module (guix build-system gnu) 21 #:use-module (guix build-system gnu)
21 #:use-module (guix download) 22 #:use-module (guix download)
22 #:use-module (guix licenses) 23 #:use-module (guix licenses)
23 #:use-module (guix packages)) 24 #:use-module (guix packages)
25 #:use-module (guix gexp)
26 #:use-module (gnu packages crypto))
24 27
25(define-public libbsd 28(define-public libbsd
26 (package 29 (package
27 (name "libbsd") 30 (name "libbsd")
28 (version "0.10.0") 31 (version "0.11.6")
29 (source (origin 32 (source (origin
30 (method url-fetch) 33 (method url-fetch)
31 (uri (string-append "https://libbsd.freedesktop.org/releases/" 34 (uri (string-append "https://libbsd.freedesktop.org/releases/"
32 "libbsd-" version ".tar.xz")) 35 "libbsd-" version ".tar.xz"))
33 (sha256 36 (sha256
34 (base32 37 (base32
35 "11x8q45jvjvf2dvgclds64mscyg10lva33qinf2hwgc84v3svf1l")))) 38 "1pxmk42brddk43bj8lp4a64f9iwhc5ii91y6w7k97xpaf8qqzcqr"))))
36 (build-system gnu-build-system) 39 (build-system gnu-build-system)
37 (arguments 40 (arguments
38 '(#:configure-flags '("--disable-static"))) 41 (list #:configure-flags #~'("--disable-static")
42 #:phases #~(modify-phases %standard-phases
43 (add-before 'check 'disable-pwcache-test
44 (lambda _
45 ;; This test expects the presence of a root
46 ;; user and group, which do not exist in the
47 ;; build container.
48 (substitute* "test/Makefile"
49 (("pwcache\\$\\(EXEEXT\\) ")
50 "")))))))
51 (inputs
52 (list libmd))
39 (synopsis "Utility functions from BSD systems") 53 (synopsis "Utility functions from BSD systems")
40 (description "This library provides useful functions commonly found on BSD 54 (description "This library provides useful functions commonly found on BSD
41systems, and lacking on others like GNU systems, thus making it easier to port 55systems, and lacking on others like GNU systems, thus making it easier to port