diff options
author | Alexey Abramov <levenson@mmer.org> | 2024-04-19 08:30:38 +0200 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-05-13 19:31:20 +0100 |
commit | 7d6d54202ab609877b14490e487a1df106072b7d (patch) | |
tree | 90a02a12cd5216ff3cc7407ef2d3e4c3bd24dbc0 /gnu/packages | |
parent | b1de64812a0a9e30507fb1ea44611779149c32cc (diff) | |
download | guix-7d6d54202ab609877b14490e487a1df106072b7d.tar.gz guix-7d6d54202ab609877b14490e487a1df106072b7d.zip |
gnu: isc-dhcp: Add debianutils as an input.
dhclient provides a hook mechanism for users. In order to run these hooks,
dhclient-script uses run-parts to run all the executable files found in
requested directory. run-parts is part of debianutils packages.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Add "debianutils" to provide
access to run-parts.
Signed-off-by: Christopher Baines <mail@cbaines.net>
Change-Id: I2057881da57a6065d65d1de95e51ed1c8b19e15f
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/admin.scm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 46b4e78a39..22a2c12244 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -122,6 +122,7 @@ #:use-module (gnu packages curl) #:use-module (gnu packages cyrus-sasl) #:use-module (gnu packages datastructures) + #:use-module (gnu packages debian) #:use-module (gnu packages dns) #:use-module (gnu packages elf) #:use-module (gnu packages file) @@ -1563,7 +1564,8 @@ connection alive.") (coreutils (assoc-ref inputs "coreutils*")) (inetutils (assoc-ref inputs "inetutils")) (grep (assoc-ref inputs "grep*")) - (sed (assoc-ref inputs "sed*"))) + (sed (assoc-ref inputs "sed*")) + (debianutils (assoc-ref inputs "debianutils"))) (substitute* "client/scripts/linux" (("/sbin/ip") (search-input-file inputs "/sbin/ip"))) @@ -1578,7 +1580,7 @@ connection alive.") ,(map (lambda (dir) (string-append dir "/bin:" dir "/sbin")) - (list inetutils coreutils grep sed)))))))))) + (list inetutils coreutils grep sed debianutils)))))))))) (native-inputs (list config perl file)) @@ -1589,6 +1591,10 @@ connection alive.") '() `(("iproute" ,iproute))) + ;; dhclient-script provides hooks to users and uses run-parts in + ;; order to list users defined hooks. + ("debianutils" ,debianutils) + ;; isc-dhcp bundles a copy of BIND, which has proved vulnerable ;; in the past. Use a BIND-VERSION of our choosing instead. ("bind-source-tarball" |