#!/bin/sh # aside from this initial boilerplate, this is actually -*- scheme -*- code prefix="@prefix@" datarootdir="@datarootdir@" GUILE_LOAD_COMPILED_PATH="@guilemoduledir@:$GUILE_LOAD_COMPILED_PATH" export GUILE_LOAD_COMPILED_PATH main='(module-ref (resolve-interface '\''(guix-build)) '\'guix-build')' exec ${GUILE-@GUILE@} -L "@guilemoduledir@" -l "$0" \ -c "(apply $main (cdr (command-line)))" "$@" !# ;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*- ;;; Copyright (C) 2012 Ludovic Courtès ;;; ;;; This file is part of Guix. ;;; ;;; 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. ;;; ;;; 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
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cppi.scm
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2024-02-28 14:49:08 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2024-02-28 15:37:32 -0500
commitcd879a28947ef5b90b15f261b45ccb269547afa6 (patch)
tree56b442557d577df5d7399e02148bae971f9a41a2 /gnu/packages/cppi.scm
parent3013773366df063fcb81f0bc8b672451e60f19ca (diff)
downloadguix-cd879a28947ef5b90b15f261b45ccb269547afa6.tar.gz
guix-cd879a28947ef5b90b15f261b45ccb269547afa6.zip
gnu: unbound: Update to 1.19.1 [security fixes].
Fixes CVE-2023-50387 and CVE-2023-50868 * gnu/packages/dns.scm (unbound): Update to 1.19.1. Change-Id: I25f87ce60c87d1ed9dfbb41983039440fb396191 Reported-by: Felix Lechner <felix.lechner@lease-up.com> Change-Id: If6bb9b782d775dfacbc6d4c6dedc3e6cfeb2b6b3
Diffstat (limited to 'gnu/packages/cppi.scm')
0 files changed, 0 insertions, 0 deletions
(match outputs* ((output) (symlink output root) (add-indirect-root %store root)) ((outputs ...) (fold (lambda (output count) (let ((root (string-append root "-" (number->string count)))) (symlink output root) (add-indirect-root %store root)) (+ 1 count)) 0 outputs)))) (lambda args (format (current-error-port) (_ "failed to create GC root `~a': ~a~%") root (strerror (system-error-errno args))) (exit 1))))) (setlocale LC_ALL "") (textdomain "guix") (setvbuf (current-output-port) _IOLBF) (setvbuf (current-error-port) _IOLBF) (with-error-handling (let* ((opts (parse-options)) (src? (assoc-ref opts 'source?)) (sys (assoc-ref opts 'system)) (drv (filter-map (match-lambda (('expression . exp) (derivations-from-package-expressions exp sys src?)) (('argument . (? derivation-path? drv)) drv) (('argument . (? string? x)) (match (find-packages-by-name x) ((p _ ...) (if src? (let ((s (package-source p))) (package-source-derivation %store s)) (package-derivation %store p sys))) (_ (leave (_ "~A: unknown package~%") x)))) (_ #f)) opts)) (req (append-map (lambda (drv-path) (let ((d (call-with-input-file drv-path read-derivation))) (derivation-prerequisites-to-build %store d))) drv)) (req* (delete-duplicates (append (remove (compose (cut valid-path? %store <>) derivation-path->output-path) drv) (map derivation-input-path req))))) (if (assoc-ref opts 'dry-run?) (format (current-error-port) (N_ "~:[the following derivation would be built:~%~{ ~a~%~}~;~]" "~:[the following derivations would be built:~%~{ ~a~%~}~;~]" (length req*)) (null? req*) req*) (format (current-error-port) (N_ "~:[the following derivation will be built:~%~{ ~a~%~}~;~]" "~:[the following derivations will be built:~%~{ ~a~%~}~;~]" (length req*)) (null? req*) req*)) ;; TODO: Add more options. (set-build-options %store #:keep-failed? (assoc-ref opts 'keep-failed?) #:build-cores (or (assoc-ref opts 'cores) 0) #:use-substitutes? (assoc-ref opts 'substitutes?)) (if (assoc-ref opts 'derivations-only?) (format #t "~{~a~%~}" drv) (or (assoc-ref opts 'dry-run?) (and (build-derivations %store drv) (for-each (lambda (d) (let ((drv (call-with-input-file d read-derivation))) (format #t "~{~a~%~}" (map (match-lambda ((out-name . out) (derivation-path->output-path d out-name))) (derivation-outputs drv))))) drv) (let ((roots (filter-map (match-lambda (('gc-root . root) root) (_ #f)) opts))) (when roots (for-each (cut register-root <> <>) drv roots) #t)))))))) ;; Local Variables: ;; eval: (put 'guard 'scheme-indent-function 1) ;; End: