[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/14: gnu: crda: Update to 4.15.
From: |
guix-commits |
Subject: |
12/14: gnu: crda: Update to 4.15. |
Date: |
Fri, 7 Jul 2023 17:35:27 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 7629377556d71125dd6d9981b764a23383e6d600
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 2 02:00:03 2023 +0200
gnu: crda: Update to 4.15.
* gnu/packages/linux.scm (crda): Update to 4.15.
[source]: Use GIT-FETCH and GIT-FILE-NAME.
[arguments]: Don't explicitly return #t from phases.
Slightly rename 'set-regulator-db-file-name phase.
---
gnu/packages/linux.scm | 39 +++++++++++++++++----------------------
1 file changed, 17 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1393df0e8b..89ae442e83 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4556,15 +4556,17 @@ interface.")
(define-public crda
(package
(name "crda")
- (version "3.18")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://kernel.org/software/network/crda/"
- "crda-" version ".tar.xz"))
- (sha256
- (base32
- "1gydiqgb08d9gbx4l6gv98zg3pljc984m50hmn3ysxcbkxkvkz23"))
- (patches (search-patches "crda-optional-gcrypt.patch"))))
+ (version "4.15")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ajh8zx84p15y9wawh764zawniwn059iw9m32v56ajvkz9xbnkp2"))
+ (patches (search-patches "crda-optional-gcrypt.patch"))))
(build-system gnu-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
@@ -4572,8 +4574,7 @@ interface.")
(add-after 'unpack 'gzip-determinism
(lambda _
(substitute* "Makefile"
- (("gzip") "gzip --no-name"))
- #t))
+ (("gzip") "gzip --no-name"))))
,@(if (%current-target-system)
'((add-after
'unpack 'fix-pkg-config
@@ -4581,18 +4582,13 @@ interface.")
(substitute*
"Makefile"
(("pkg-config")
- (string-append target "-pkg-config")))
- #t)))
+ (string-append target
"-pkg-config"))))))
'())
- (add-before
- 'build 'no-werror-no-ldconfig
+ (add-before 'build 'patch-Makefile
(lambda _
(substitute* "Makefile"
- (("-Werror") "")
- (("ldconfig") "true"))
- #t))
- (add-before
- 'build 'set-regulator-db-file-name
+ (("ldconfig") "true"))))
+ (add-before 'build 'set-regulatory-db-file-name
(lambda* (#:key native-inputs inputs #:allow-other-keys)
;; Tell CRDA where to find our database.
(let ((regdb (assoc-ref (or native-inputs inputs)
@@ -4600,8 +4596,7 @@ interface.")
(substitute* "crda.c"
(("\"/lib/crda/regulatory.bin\"")
(string-append "\"" regdb
- "/lib/crda/regulatory.bin\"")))
- #t))))
+ "/lib/crda/regulatory.bin\"")))))))
#:test-target "verify"
#:make-flags (let ((out (assoc-ref %outputs "out"))
(regdb (assoc-ref %build-inputs "wireless-regdb")))
- branch master updated (14888e5b25 -> 3db685cb2e), guix-commits, 2023/07/07
- 02/14: gnu: wireless-regdb: Mark up acronyms in description., guix-commits, 2023/07/07
- 05/14: gnu: dpkg: Update to 1.21.22., guix-commits, 2023/07/07
- 06/14: gnu: dpkg: Use the (intended) input perl's version., guix-commits, 2023/07/07
- 04/14: gnu: wcslib: Download source over HTTPS., guix-commits, 2023/07/07
- 07/14: gnu: dpkg: Use G-expressions., guix-commits, 2023/07/07
- 08/14: gnu: lynx: Update to 2.9.0dev.12., guix-commits, 2023/07/07
- 01/14: gnu: wireless-regdb: Update to 2023.05.03., guix-commits, 2023/07/07
- 03/14: gnu: wcslib: Update to 8.1., guix-commits, 2023/07/07
- 12/14: gnu: crda: Update to 4.15.,
guix-commits <=
- 09/14: gnu: lynx: Use G-expressions., guix-commits, 2023/07/07
- 10/14: gnu: lynx: Mark up acronyms in description., guix-commits, 2023/07/07
- 11/14: gnu: smartmontools: Update to 7.3., guix-commits, 2023/07/07
- 13/14: gnu: crda: Use G-expressions., guix-commits, 2023/07/07
- 14/14: gnu: crda: Mark up acronyms in description., guix-commits, 2023/07/07