;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2018 Ludovic Courtès ;;; Copyright © 2017 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages libsigsegv) #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu)) (define-public libsigsegv (package (name "libsigsegv") (version "2.13") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/libsigsegv/libsigsegv-" version ".tar.gz")) (sha256 (base32 "06c1qjiv69hjvbq06mcxdi5hzfadhy28sa83zxspqpxhfr0ywy5y")))) (build-system gnu-build-system) (home-page "https://www.gnu.org/software/libsigsegv/") (synopsis "Library for handling page faults") (arguments `(;; The shared library isn't built by default but some packages need it. #:configure-flags '("--enable-shared") ;; On MIPS, work around this error: ;; ;; In file included from fault-linux-mips-old.h:18:0, ;; [...] ;; linux-libre-headers-cross-mips64el-linux-gnu-3.3.8/include/asm/sigcontext.h:57:8: error: redefinition of 'struct sigcontext' ,@(if (string-contains (or (%current-target-system) (%current-system)) "mips64el") `(#:phases (modify-phases %standard-phases (add-before 'configure 'patch-mips-old-h (lambda _ (substitute* "src/fault-linux-mips-old.h" (("#include ") "")) #t)))) '()))) (description "GNU libsigsegv is a library to handle page faults, which occur when a program tries to access an unavailable region of memory, in user mode. By catching and handling page faults, the program can implement pageable virtual memory, stack overflow handlers, and so on.") (license gpl2+))) ef='/guix/commit/gnu/system/pam.scm?id=dd0804c67e99914eecc471fdb92f4220425a1cbc'>services: Add descriptions....Ludovic Courtès 2019-05-09system: pam: Add #:login-uid? parameter to 'unix-pam-service'....Ludovic Courtès 2017-09-22services: Move 'session-environment-service-type' to pam.scm....Ludovic Courtès 2017-05-08system: Allow root to run "su" without password....Ricardo Wurmus 2016-11-06gnu: Remove comment which is factually incorrect....John Darrington 2016-07-19services: Add pam-limits-service....Ricardo Wurmus 2016-02-06system: pam: 'pam-root-service-type' can be extended with transformations....Ludovic Courtès 2016-02-06system: pam: Export accessors....Ludovic Courtès 2015-12-05system: pam: Honor /etc/environment....宋文武 2015-11-03system: Rename (gnu system linux) to (gnu system pam)....Ludovic Courtès