* [bug#70469] [PATCH] gnu: isc-dhcp: Make dhclien-script hooks work.
@ 2024-04-19 6:30 Alexey Abramov via Guix-patches via
2024-05-13 12:18 ` [bug#70469] QA review for 70469 Nicolas Graves via Guix-patches via
2024-05-13 20:45 ` bug#70469: [PATCH] gnu: isc-dhcp: Make dhclien-script hooks work Christopher Baines
0 siblings, 2 replies; 3+ messages in thread
From: Alexey Abramov via Guix-patches via @ 2024-04-19 6:30 UTC (permalink / raw)
To: 70469
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.
---
gnu/packages/admin.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index b60857b264..0bf96af835 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -122,6 +122,7 @@ (define-module (gnu packages admin)
#: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 @@ (define-public isc-dhcp
(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 @@ (define-public isc-dhcp
,(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 @@ (define-public isc-dhcp
'()
`(("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"
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#70469] QA review for 70469
2024-04-19 6:30 [bug#70469] [PATCH] gnu: isc-dhcp: Make dhclien-script hooks work Alexey Abramov via Guix-patches via
@ 2024-05-13 12:18 ` Nicolas Graves via Guix-patches via
2024-05-13 20:45 ` bug#70469: [PATCH] gnu: isc-dhcp: Make dhclien-script hooks work Christopher Baines
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-05-13 12:18 UTC (permalink / raw)
To: control, 70469
user guix
usertag 70469 + reviewed-looks-good
thanks
Guix QA review form submission:
LGTM.
Items marked as checked: Lint warnings, Package builds, Commit messages
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#70469: [PATCH] gnu: isc-dhcp: Make dhclien-script hooks work.
2024-04-19 6:30 [bug#70469] [PATCH] gnu: isc-dhcp: Make dhclien-script hooks work Alexey Abramov via Guix-patches via
2024-05-13 12:18 ` [bug#70469] QA review for 70469 Nicolas Graves via Guix-patches via
@ 2024-05-13 20:45 ` Christopher Baines
1 sibling, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2024-05-13 20:45 UTC (permalink / raw)
To: Alexey Abramov via Guix-patches via; +Cc: 70469-done, Alexey Abramov
[-- Attachment #1: Type: text/plain, Size: 580 bytes --]
Alexey Abramov via Guix-patches via <guix-patches@gnu.org> writes:
> 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.
> ---
> gnu/packages/admin.scm | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
Thanks both, I've pushed this to master as
7d6d54202ab609877b14490e487a1df106072b7d.
Chris
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-13 20:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-19 6:30 [bug#70469] [PATCH] gnu: isc-dhcp: Make dhclien-script hooks work Alexey Abramov via Guix-patches via
2024-05-13 12:18 ` [bug#70469] QA review for 70469 Nicolas Graves via Guix-patches via
2024-05-13 20:45 ` bug#70469: [PATCH] gnu: isc-dhcp: Make dhclien-script hooks work Christopher Baines
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).