gnu: isc-dhcp: Remove unused net-tools input.

* gnu/packages/admin.scm (isc-dhcp)[arguments]:
Don't wrap the ‘dhclient-script’ PATH with net-tools.
[inputs]: Remove net-tools altogether.
This commit is contained in:
Tobias Geerinckx-Rice 2023-09-24 02:00:00 +02:00
parent a36e595eec
commit 3145968e38
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1553,7 +1553,6 @@ (define-public isc-dhcp
(coreutils (assoc-ref inputs "coreutils*"))
(inetutils (assoc-ref inputs "inetutils"))
(grep (assoc-ref inputs "grep*"))
(net-tools (assoc-ref inputs "net-tools"))
(sed (assoc-ref inputs "sed*")))
(substitute* "client/scripts/linux"
(("/sbin/ip")
@ -1569,16 +1568,16 @@ (define-public isc-dhcp
,(map (lambda (dir)
(string-append dir "/bin:"
dir "/sbin"))
(list inetutils net-tools coreutils grep sed))))))))))
(list inetutils coreutils grep sed))))))))))
(native-inputs
(list config perl file))
(inputs `(("inetutils" ,inetutils)
("bash" ,bash-minimal)
,@(if (target-hurd?) '()
`(("net-tools" ,net-tools)
("iproute" ,iproute)))
,@(if (target-hurd?)
'()
`(("iproute" ,iproute)))
;; isc-dhcp bundles a copy of BIND, which has proved vulnerable
;; in the past. Use a BIND-VERSION of our choosing instead.