From c06d8ba5ee60427af4273b8ca1e02f4447b0db37 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 10 Nov 2017 09:07:34 +0200 Subject: gnu: net-tools-for-tests: Remove variable. * gnu/packages/linux.scm (net-tools-for-tests): Remove variable. * gnu/packages/tls.scm (gnutls)[native-inputs]: Replace net-tools-for-tests with net-tools. [disallowed-references]: Remove field. --- gnu/packages/linux.scm | 14 -------------- gnu/packages/tls.scm | 5 ++--- 2 files changed, 2 insertions(+), 17 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 17dd0daafd..a16c488d9f 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1185,17 +1185,6 @@ primary network configuration tools, but ifconfig is known to behave inadequately in modern network environments, and both should be deprecated.") (license license:gpl2+))) -;; There are two packages for net-tools. The first, net-tools, can be used -;; directly on the command-line or when it will be referenced by a built -;; package. The second, net-tools-for-tests, can be used in package test suites -;; if it is not referred to by the built package. Net-tools-for-tests may be -;; relatively old and buggy. It should never be referred to by a built package. -;; Use #:disallowed-references to enforce this. -;; -;; When we are able to rebuild many packages (i.e. core-updates), we can update -;; net-tools-for-tests if appropriate. -;; -;; See for more information. (define-public net-tools ;; XXX: This package is basically unmaintained, but it provides a few ;; commands not yet provided by Inetutils, such as 'route', so we have to @@ -1271,9 +1260,6 @@ network hardware types (plipconfig, slattach) and advanced aspects of IP configuration (iptunnel, ipmaddr).") (license license:gpl2+)))) -(define-public net-tools-for-tests - (hidden-package (package (inherit net-tools)))) - (define-public libcap (package (name "libcap") diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 9eba717e60..e87149a595 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -153,8 +153,7 @@ living in the same process.") "15ihq6p0hnnhs8cnjrkj40dmlcaa1jjg8xg0g2ydbnlqs454ixbr")))) (build-system gnu-build-system) (arguments - '(#:disallowed-references ,(net-tools-for-tests) - #:configure-flags + '(#:configure-flags (list ;; GnuTLS doesn't consult any environment variables to specify ;; the location of the system-wide trust store. Instead it has a @@ -188,7 +187,7 @@ living in the same process.") "debug" "doc")) ;4.1 MiB of man pages (native-inputs - `(("net-tools" ,net-tools-for-tests) + `(("net-tools" ,net-tools) ("pkg-config" ,pkg-config) ("which" ,which))) (inputs -- cgit v1.2.3