mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: inetutils: Support for the Hurd.
* gnu/packages/linux.scm (net-tools)[supported-systems]: Remove the Hurd. * gnu/packages/patches/inetutils-hurd.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/admin.scm (inetutils): Use it. Disable some features on the Hurd. [native-inputs]: Include net-tools only on supported systems
This commit is contained in:
parent
c0a5cd1be3
commit
3d3ca76f1c
4 changed files with 601 additions and 1 deletions
|
@ -438,6 +438,7 @@ re-executing them as necessary.")
|
|||
(method url-fetch)
|
||||
(uri (string-append "mirror://gnu/inetutils/inetutils-"
|
||||
version ".tar.gz"))
|
||||
(patches (search-patches "inetutils-hurd.patch"))
|
||||
(sha256
|
||||
(base32
|
||||
"05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"))))
|
||||
|
@ -449,13 +450,27 @@ re-executing them as necessary.")
|
|||
;; cross-compiling (by default it does not.)
|
||||
,@(if (%current-target-system)
|
||||
'("--with-path-procnet-dev=/proc/net/dev")
|
||||
'())
|
||||
,@(if (hurd-target?)
|
||||
'("--disable-rcp"
|
||||
"--disable-rexec"
|
||||
"--disable-rexecd"
|
||||
"--disable-rlogin"
|
||||
"--disable-rlogind"
|
||||
"--disable-rsh"
|
||||
"--disable-rshd"
|
||||
"--disable-uucpd"
|
||||
"--disable-whois")
|
||||
'()))
|
||||
;; On some systems, 'libls.sh' may fail with an error such as:
|
||||
;; "Failed to tell switch -a apart from -A".
|
||||
#:parallel-tests? #f))
|
||||
(inputs `(("ncurses" ,ncurses)
|
||||
("readline" ,readline))) ;for 'ftp'
|
||||
(native-inputs `(("netstat" ,net-tools))) ;for tests
|
||||
(native-inputs (if (member (%current-system)
|
||||
(package-supported-systems net-tools))
|
||||
`(("netstat" ,net-tools)) ;for tests
|
||||
'()))
|
||||
(home-page "https://www.gnu.org/software/inetutils/")
|
||||
(synopsis "Basic networking utilities")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue