* [bug#57198] [PATCH] gnu: usbguard: Update to 1.1.1 [fixes CVE-2019-25058].
@ 2022-08-14 4:36 kiasoc5 via Guix-patches via
2022-08-14 13:03 ` [bug#57198] [PATCH] gnu: usbguard: Use new package style kiasoc5 via Guix-patches via
2022-08-14 13:48 ` bug#57198: [PATCH] gnu: usbguard: Update to 1.1.1 [fixes CVE-2019-25058] Tobias Geerinckx-Rice via Guix-patches via
0 siblings, 2 replies; 3+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-08-14 4:36 UTC (permalink / raw)
To: 57198; +Cc: kiasoc5
* gnu/packages/hardware.scm (usbguard): Update to 1.1.1.
---
gnu/packages/hardware.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 68c4667662..cfd667d757 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -1149,7 +1149,7 @@ (define-public usbguard
(name "usbguard")
;; Note: Use a recent snapshot to get compatibility with newer system
;; libraries.
- (version "1.0.0-55-g466f1f0")
+ (version "1.1.1")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -1157,7 +1157,7 @@ (define-public usbguard
(commit (string-append "usbguard-" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0rc0213qsfap3sgx9m3m1kppxbjl2fdwmzlbn5rbmn1i33125dfi"))))
+ (base32 "0lpyhkz5nr0c9mq57mgcvam5c8qfqqwjc4xd46n2ldqc9vhfsask"))))
(build-system gnu-build-system)
(arguments
'(#:phases
--
2.37.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#57198] [PATCH] gnu: usbguard: Use new package style.
2022-08-14 4:36 [bug#57198] [PATCH] gnu: usbguard: Update to 1.1.1 [fixes CVE-2019-25058] kiasoc5 via Guix-patches via
@ 2022-08-14 13:03 ` kiasoc5 via Guix-patches via
2022-08-14 13:48 ` bug#57198: [PATCH] gnu: usbguard: Update to 1.1.1 [fixes CVE-2019-25058] Tobias Geerinckx-Rice via Guix-patches via
1 sibling, 0 replies; 3+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-08-14 13:03 UTC (permalink / raw)
To: 57198; +Cc: kiasoc5
Use G-exps and #$output while we're at it.
* gnu/packages/hardware.scm (usbguard)[arguments]: Use G-expressions.
<#:phases>: Use '#$output' instead of 'assoc-ref'
---
gnu/packages/hardware.scm | 84 +++++++++++++++++++--------------------
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index cfd667d757..8d06920b79 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -1160,48 +1160,48 @@ (define-public usbguard
(base32 "0lpyhkz5nr0c9mq57mgcvam5c8qfqqwjc4xd46n2ldqc9vhfsask"))))
(build-system gnu-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'patch-bootstrap-script
- (lambda _
- ;; Don't attempt to fetch git submodules.
- (substitute* "autogen.sh"
- (("^git submodule.*")
- ""))))
- (add-after 'bootstrap 'patch-build-scripts
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "configure"
- (("/usr/include/catch")
- (dirname (search-input-file inputs "include/catch.hpp"))))
- ;; Do not create log directory.
- (substitute* "Makefile.in" ((".*/log/usbguard.*") ""))
- ;; Disable LDAP tests: they use 'sudo'.
- (substitute* "src/Tests/Makefile.in"
- (("\\$\\(am__append_2\\)") ""))))
- (add-after 'install 'delete-static-library
- (lambda* (#:key outputs #:allow-other-keys)
- ;; It can't be direclty disabled since it's needed for the tests.
- (delete-file (string-append (assoc-ref outputs "out")
- "/lib/libusbguard.a"))))
- (add-after 'install 'install-zsh-completion
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (site-functions
- (string-append out "/share/zsh/site-functions")))
- (mkdir-p site-functions)
- (copy-file "scripts/usbguard-zsh-completion"
- (string-append site-functions "/_usbguard"))))))
- #:make-flags
- (list (string-append "BASH_COMPLETION_DIR="
- (assoc-ref %outputs "out")
- "/etc/bash_completion.d"))
- #:configure-flags
- (list
- "--localstatedir=/var"
- "--enable-systemd=no"
- "--with-ldap"
- "--with-dbus"
- "--with-polkit")))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-bootstrap-script
+ (lambda _
+ ;; Don't attempt to fetch git submodules.
+ (substitute* "autogen.sh"
+ (("^git submodule.*")
+ ""))))
+ (add-after 'bootstrap 'patch-build-scripts
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "configure"
+ (("/usr/include/catch")
+ (dirname (search-input-file inputs "include/catch.hpp"))))
+ ;; Do not create log directory.
+ (substitute* "Makefile.in" ((".*/log/usbguard.*") ""))
+ ;; Disable LDAP tests: they use 'sudo'.
+ (substitute* "src/Tests/Makefile.in"
+ (("\\$\\(am__append_2\\)") ""))))
+ (add-after 'install 'delete-static-library
+ (lambda args
+ ;; It can't be directly disabled since it's needed for the tests.
+ (delete-file (string-append #$output
+ "/lib/libusbguard.a"))))
+ (add-after 'install 'install-zsh-completion
+ (lambda args
+ (let ((site-functions
+ (string-append #$output "/share/zsh/site-functions")))
+ (mkdir-p site-functions)
+ (copy-file "scripts/usbguard-zsh-completion"
+ (string-append site-functions "/_usbguard"))))))
+ #:make-flags
+ #~(list (string-append "BASH_COMPLETION_DIR="
+ #$output
+ "/etc/bash_completion.d"))
+ #:configure-flags
+ #~(list
+ "--localstatedir=/var"
+ "--enable-systemd=no"
+ "--with-ldap"
+ "--with-dbus"
+ "--with-polkit")))
(inputs
(list audit
catch-framework
--
2.37.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#57198: [PATCH] gnu: usbguard: Update to 1.1.1 [fixes CVE-2019-25058].
2022-08-14 4:36 [bug#57198] [PATCH] gnu: usbguard: Update to 1.1.1 [fixes CVE-2019-25058] kiasoc5 via Guix-patches via
2022-08-14 13:03 ` [bug#57198] [PATCH] gnu: usbguard: Use new package style kiasoc5 via Guix-patches via
@ 2022-08-14 13:48 ` Tobias Geerinckx-Rice via Guix-patches via
1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice via Guix-patches via @ 2022-08-14 13:48 UTC (permalink / raw)
To: kiasoc5; +Cc: 57198-done, guix-patches
[-- Attachment #1: Type: text/plain, Size: 367 bytes --]
Hi,
kiasoc5 via Guix-patches via 写道:
> * gnu/packages/hardware.scm (usbguard): Update to 1.1.1.
Thanks!
> ;; Note: Use a recent snapshot to get compatibility with
> newer system
> ;; libraries.
This comment is now no longer true, so it should be removed.
Done in ca4ab89ddd4bbc46c54bcac160fd5a28b979edc3.
Closing,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-14 16:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-14 4:36 [bug#57198] [PATCH] gnu: usbguard: Update to 1.1.1 [fixes CVE-2019-25058] kiasoc5 via Guix-patches via
2022-08-14 13:03 ` [bug#57198] [PATCH] gnu: usbguard: Use new package style kiasoc5 via Guix-patches via
2022-08-14 13:48 ` bug#57198: [PATCH] gnu: usbguard: Update to 1.1.1 [fixes CVE-2019-25058] Tobias Geerinckx-Rice via Guix-patches via
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).