[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: gnu: direvent: Update to 5.1.
From: |
Ludovic Courtès |
Subject: |
04/07: gnu: direvent: Update to 5.1. |
Date: |
Tue, 4 Oct 2016 14:38:27 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit bac67a5a5c272171e650c74391a8877c2f29a9ae
Author: Ludovic Courtès <address@hidden>
Date: Tue Oct 4 16:09:04 2016 +0200
gnu: direvent: Update to 5.1.
* gnu/packages/admin.scm (direvent): Update to 5.1.
[arguments]: Augment 'patch-/bin/sh' phase to patch 'progman.c' and
'testsuite'.
---
gnu/packages/admin.scm | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 6981242..f869284 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1180,14 +1180,14 @@ environment variable is set and output is to tty.")
(define-public direvent
(package
(name "direvent")
- (version "5.0")
+ (version "5.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/direvent/direvent-"
version ".tar.gz"))
(sha256
(base32
- "1i14131y6m8wvirz6piw4zxz2q1kbpl0lniv5kl55rx4k372dg8z"))
+ "1nwvjmx7kb14ni34c0b8x9a3791pc20gvhj7xaj66d8q4h6n0qf4"))
(modules '((guix build utils)))
(snippet '(substitute* "tests/testsuite"
(("#![[:blank:]]?/bin/sh")
@@ -1197,11 +1197,19 @@ environment variable is set and output is to tty.")
'(#:phases (alist-cons-before
'build 'patch-/bin/sh
(lambda* (#:key inputs #:allow-other-keys)
- ;; Use the right shell when executing the watcher.
+ ;; Use the right shell when executing the watcher and
+ ;; user-provided shell commands.
(let ((bash (assoc-ref inputs "bash")))
- (substitute* "src/direvent.c"
+ (substitute* '("src/direvent.c" "src/progman.c")
(("\"/bin/sh\"")
- (string-append "\"" bash "/bin/sh\"")))))
+ (string-append "\"" bash "/bin/sh\"")))
+
+ ;; Adjust the 'shell.at' test accordingly.
+ (substitute* "tests/testsuite"
+ (("SHELL=/bin/sh")
+ (string-append "SHELL=" bash "/bin/sh")))
+
+ #t))
%standard-phases)))
(home-page "http://www.gnu.org/software/direvent/")
(synopsis "Daemon to monitor directories for events such as file removal")
- branch master updated (491dbac -> a9764b7), Ludovic Courtès, 2016/10/04
- 05/07: gnu: gsl: Update to 2.2.1., Ludovic Courtès, 2016/10/04
- 01/07: Set Emacs config variable sentence-end-double-space., Ludovic Courtès, 2016/10/04
- 03/07: gnu: gnu-c-manual: Update to 0.2.5., Ludovic Courtès, 2016/10/04
- 07/07: gnu: pies: Update to 1.3., Ludovic Courtès, 2016/10/04
- 06/07: gnu: global: Update to 6.5.5., Ludovic Courtès, 2016/10/04
- 02/07: gnu: rush: Update to 1.8., Ludovic Courtès, 2016/10/04
- 04/07: gnu: direvent: Update to 5.1.,
Ludovic Courtès <=