aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorB. Wilson <elaexuotee@wilsonb.com>2021-04-20 11:49:26 +0900
committerLeo Famulari <leo@famulari.name>2021-04-24 12:30:01 -0400
commit794e26fda7c61d61fffe2ae778fdd3953bea3c60 (patch)
treea8de906a31991d09e63d0faf0b9bff3cc0451d40 /gnu/packages
parent7600bad639129b845335e978f75936995a20a991 (diff)
downloadguix-794e26fda7c61d61fffe2ae778fdd3953bea3c60.tar.gz
guix-794e26fda7c61d61fffe2ae778fdd3953bea3c60.zip
gnu: Add rasdaemon.
* gnu/packages/linux.scm (rasdaemon): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/linux.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 95ffd14e7f..080ffab527 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -53,6 +53,7 @@
;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
;;; Copyright © 2020 David Dashyan <mail@davie.li>
;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
+;;; Copyright © 2021 B. Wilson <elaexuotee@wilsonb.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -130,6 +131,7 @@
#:use-module (gnu packages sdl)
#:use-module (gnu packages serialization)
#:use-module (gnu packages slang)
+ #:use-module (gnu packages sqlite)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
@@ -8037,3 +8039,46 @@ kernel side implementation.")
read-only file system optimized for resource-scarce devices. This package
provides user-space tools for creating EROFS file systems.")
(license license:gpl2+)))
+
+(define-public rasdaemon
+ (package
+ (name "rasdaemon")
+ (version "0.6.6")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mchehab/rasdaemon")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "13g39x19lfjf9izdcb0nlyfjrgpliivhv4nw3ndgyzi59l3yqc0v"))))
+ (native-inputs `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)))
+ (inputs `(("sqlite" ,sqlite)))
+ (arguments
+ `(#:configure-flags '("--enable-all"
+ "--localstatedir=/var")
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'munge-autotools
+ (lambda _
+ ;; For some reason upstream forces sysconfdir=/etc. This results
+ ;; in EPERM during the install phase. Removing the offending
+ ;; line lets sysconfdir correctly pick up DESTDIR.
+ (substitute* "configure.ac"
+ (("^test .* sysconfdir=/etc\n$") ""))
+ ;; Upstream tries to create /var/lib/rasdaemon at install time.
+ ;; This results in EPERM on guix. Instead, the service should
+ ;; create this at activation time.
+ (substitute* "Makefile.am"
+ (("^\\s*\\$\\(install_sh\\) -d .*@RASSTATEDIR@.*$") "")))))))
+ (build-system gnu-build-system)
+ (home-page "https://github.com/mchehab/rasdaemon")
+ (synopsis "Platform Reliability, Availability and Serviceability tools")
+ (description "The @code{rasdaemon} program is a daemon which monitors the
+platform Reliablity, Availability and Serviceability (RAS) reports from the
+Linux kernel trace events. These trace events are logged in
+/sys/kernel/debug/tracing, reporting them via syslog/journald.")
+ (license license:gpl2)))
2017-04-21gnu: fortify-headers: Use @code mark-up....* gnu/packages/suckless.scm (fortify-headers)[description]: Use @code. Tobias Geerinckx-Rice 2017-04-21gnu: Use HTTPS on 2f30.org....* gnu/packages/suckless.scm (spoon, xbattmon, wificurse, skroll, sbm) (prout, noice, fortify-headers, colors)[source, home-page]: Use HTTPS. (human)[home-page]: Likewise. * gnu/packages/version-control.scm (stagit)[source, home-page]: Likewise. Tobias Geerinckx-Rice 2017-04-06gnu: surf: Update to 2.0....* gnu/packages/suckless.scm (surf): Update to 2.0. [inputs]: Replace webkitgtk/gtk+-2 with webkitgtk. Leo Famulari 2017-03-07gnu: Add blind....* gnu/packages/suckless.scm (blind): New package. 宋文武 2017-03-07gnu: surf: Add 'dmenu' and 'xprop' to 'inputs'....'dmenu' and 'xprop' are necessary to open a new URL in surf. * gnu/packages/suckless.scm (surf)[inputs]: Add dmenu and xprop. [arguments]: Add 'set-dmenu-and-xprop-file-name' phase to patch the paths to the 'dmenu' and 'xprop' binaries in surf's configuration file. Signed-off-by: Kei Kebreau <kei@openmailbox.org> Mekeor Melire 2017-01-16gnu: dwm: Add '.desktop' file....Fixes <https://bugs.gnu.org/25438>. * gnu/packages/suckless.scm (dwm)[arguments]: Add 'install-xsession' phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org> ng0 2017-01-16gnu: dwm: Use modify-phases....* gnu/packages/suckless.scm (dwm): Use modify-phases. Signed-off-by: Ludovic Courtès <ludo@gnu.org> ng0 2017-01-13gnu: Add lchat....* gnu/packages/suckless.scm (lchat): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add libutf....* gnu/packages/suckless.scm (libutf): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add colors....* gnu/packages/suckless.scm (colors): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add fortify-headers....* gnu/packages/suckless.scm (fortify-headers): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add human....* gnu/packages/suckless.scm (human): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add noice....* gnu/packages/suckless.scm (noice): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add prout....* gnu/packages/suckless.scm (prout): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add sbm....* gnu/packages/suckless.scm (sbm): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add skroll....* gnu/packages/suckless.scm (skroll): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add spoon....* gnu/packages/suckless.scm (spoon): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add wificurse....* gnu/packages/suckless.scm (wificurse): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-13gnu: Add xbattmon....* gnu/packages/suckless.scm (xbattmon): New variable. Signed-off-by: Leo Famulari <leo@famulari.name> ng0 2017-01-03gnu: dwm: Update to 6.1....* gnu/packages/suckless.scm (dwm): Update to 6.1. [inputs]: Add libxft and freetype. [arguments]: Set FREETYPEINC in #:make-flags. Signed-off-by: Leo Famulari <leo@famulari.name> Alex Griffin 2017-01-03gnu: dmenu: Update to 4.6....* gnu/packages/suckless.scm (dmenu): Update to 4.6. [inputs]: Add libxft and freetype. [arguments]: Set FREETYPEINC in #:make-flags. Signed-off-by: Leo Famulari <leo@famulari.name> Alex Griffin 2017-01-03gnu: slock: Update to 1.4....* gnu/packages/suckless.scm (slock): Update to 1.4. [source] Remove CVE-2016-6866 patch (no longer needed). * gnu/packages/patches/slock-CVE-2016-6866.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. Signed-off-by: Leo Famulari <leo@famulari.name> Alex Griffin 2016-09-06gnu: slock: Fix CVE-2016-6866....* gnu/packages/patches/slock-CVE-2016-6866.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/suckless.scm (slock): Use it. Leo Famulari 2016-09-05gnu: slock: Update to 1.3....* gnu/packages/suckless.scm (slock): Update to 1.3. [inputs]: Add libxrandr. Leo Famulari 2016-08-16gnu: Add sent....* gnu/packages/suckless.scm (sent): New variable. Co-authored-by: Leo Famulari <leo@famulari.name> Co-authored-by: Eric Bavier <bavier@member.fsf.org> Dmitry Bogatov 2016-08-12gnu: st: Remove unnecessary inputs....* gnu/packages/suckless.scm (st)[inputs]: Remove libxcomposite, compositeproto, xextproto, libxrender and font-liberation. 宋文武 2016-08-12gnu: st: Update to 0.7....* gnu/packages/suckless.scm (st): Update to 0.7. (inputs): Remove libxext. Signed-off-by: 宋文武 <iyzsong@gmail.com> ng0 2016-08-11gnu: dwm: Shorten the description....* gnu/packages/suckless.scm (dwm)[description]: Shorten. Signed-off-by: Alex Kost <alezost@gmail.com> ng0 2016-06-09gnu: st: Update to 0.6...* gnu/packages/suckless.scm (st): Update to 0.6. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> ng0 2016-05-09gnu: Add surf....* gnu/packages/suckless.scm (surf): New variable. Signed-off-by: 宋文武 <iyzsong@gmail.com> Al McElrath