about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/net-tools
diff options
context:
space:
mode:
authorScott Worley <scottworley@scottworley.com>2020-03-13 09:59:43 -0700
committerAlyssa Ross <hi@alyssa.is>2020-03-14 01:37:38 +0000
commit619a350e4ac127e5c439057193c235f09bce1822 (patch)
tree7df5a6e0dab1375f5eadf18b93604d038f377e0e /pkgs/os-specific/linux/net-tools
parent84497cabd167715cbeb5f96a5124b8ba49d32655 (diff)
downloadnixlib-619a350e4ac127e5c439057193c235f09bce1822.tar
nixlib-619a350e4ac127e5c439057193c235f09bce1822.tar.gz
nixlib-619a350e4ac127e5c439057193c235f09bce1822.tar.bz2
nixlib-619a350e4ac127e5c439057193c235f09bce1822.tar.lz
nixlib-619a350e4ac127e5c439057193c235f09bce1822.tar.xz
nixlib-619a350e4ac127e5c439057193c235f09bce1822.tar.zst
nixlib-619a350e4ac127e5c439057193c235f09bce1822.zip
nettools: 1.60_p20170221182432 -> 1.60_p20180626073013
Because _p2017... cannot be fetched: 404.

The change is minimal: Adjusting whether usage messages are printed to
stdout or stderr.

It's hard to find stable source links for nettools and we resort to
fetching patched sources out of other distros' tarball caches because
this package is deprecated:
  https://lwn.net/Articles/710533/
  https://lwn.net/Articles/710535/
  https://wiki.linuxfoundation.org/networking/iproute2

The advice is to switch to iproute2, but NixOS activation scripts use
`domainname` from nettools, for which neither iproute2 nor systemd
offers a replacement.  I inquired about this on iproute2's mailing list:
  https://lore.kernel.org/netdev/CAPwpnyTDpkX2hxiqYLxTuMM38cq+whPSC0yoee-YPLEAwfvqpQ@mail.gmail.com/
Diffstat (limited to 'pkgs/os-specific/linux/net-tools')
-rw-r--r--pkgs/os-specific/linux/net-tools/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/net-tools/default.nix b/pkgs/os-specific/linux/net-tools/default.nix
index 3cd8f224ce46..7b1a0234a4f5 100644
--- a/pkgs/os-specific/linux/net-tools/default.nix
+++ b/pkgs/os-specific/linux/net-tools/default.nix
@@ -2,11 +2,11 @@
 
 stdenv.mkDerivation rec {
   pname = "net-tools";
-  version = "1.60_p20170221182432";
+  version = "1.60_p20180626073013";
 
   src = fetchurl {
     url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
-    sha256 = "08r4r2a24g5bm8jwgfa998gs1fld7fgbdf7pilrpsw1m974xn04a";
+    sha256 = "0mzsjjmz5kn676w2glmxwwd8bj0xy9dhhn21aplb435b767045q4";
   };
 
   preBuild =