Merge pull request #151299 from primeos/iputils

iputils: 20210722 -> 20211215

authored by Michael Weiss and committed by GitHub 65a31319 25109392

+23 -12
+13
nixos/doc/manual/from_md/release-notes/rl-2205.section.xml
··· 163 163 ~100MB for python itself). 164 164 </para> 165 165 </listitem> 166 + <listitem> 167 + <para> 168 + The iputils package, which is installed by default, no longer 169 + provides the legacy tools <literal>tftpd</literal> and 170 + <literal>traceroute6</literal>. More tools 171 + (<literal>ninfod</literal>, <literal>rarpd</literal>, and 172 + <literal>rdisc</literal>) are going to be removed in the next 173 + release. See 174 + <link xlink:href="https://github.com/iputils/iputils/releases/tag/20211215">upstream’s 175 + release notes</link> for more details and available 176 + replacements. 177 + </para> 178 + </listitem> 166 179 </itemizedlist> 167 180 </section> 168 181 <section xml:id="sec-release-22.05-notable-changes">
+6
nixos/doc/manual/release-notes/rl-2205.section.md
··· 60 60 This has the added benefit to reduce the closure size of `ipython` from ~400MB to ~160MB 61 61 (including ~100MB for python itself). 62 62 63 + - The iputils package, which is installed by default, no longer provides the 64 + legacy tools `tftpd` and `traceroute6`. More tools (`ninfod`, `rarpd`, and 65 + `rdisc`) are going to be removed in the next release. See 66 + [upstream's release notes](https://github.com/iputils/iputils/releases/tag/20211215) 67 + for more details and available replacements. 68 + 63 69 ## Other Notable Changes {#sec-release-22.05-notable-changes} 64 70 65 71 - The option [services.redis.servers](#opt-services.redis.servers) was added
+3 -11
pkgs/os-specific/linux/iputils/default.nix
··· 6 6 }: 7 7 8 8 let 9 - version = "20210722"; 9 + version = "20211215"; 10 10 sunAsIsLicense = { 11 11 fullName = "AS-IS, SUN MICROSYSTEMS license"; 12 12 url = "https://github.com/iputils/iputils/blob/s${version}/rdisc.c"; ··· 19 19 owner = pname; 20 20 repo = pname; 21 21 rev = version; 22 - sha256 = "139fyifsjm0i012rhcx3ra3pxx2wxh77dfd551d8lgiv2mqd742j"; 22 + sha256 = "1vzdch1xi2x2j8mvnsr4wwwh7kdkgf926xafw5kkb74yy1wac5qv"; 23 23 }; 24 24 25 - postPatch = lib.optionalString (!doCheck) '' 26 - # There isn't a Meson option for this yet: 27 - sed -i '/##### TESTS #####/q' ping/meson.build 28 - ''; 29 - 30 25 outputs = ["out" "apparmor"]; 31 26 32 27 # We don't have the required permissions inside the build sandbox: ··· 35 30 36 31 mesonFlags = [ 37 32 "-DBUILD_RARPD=true" 38 - "-DBUILD_TRACEROUTE6=true" 39 - "-DBUILD_TFTPD=true" 40 33 "-DNO_SETCAP_OR_SUID=true" 41 34 "-Dsystemdunitdir=etc/systemd/system" 42 35 "-DINSTALL_SYSTEMD_UNITS=true" 36 + "-DSKIP_TESTS=${lib.boolToString (!doCheck)}" 43 37 ] 44 38 # Disable idn usage w/musl (https://github.com/iputils/iputils/pull/111): 45 39 ++ lib.optional stdenv.hostPlatform.isMusl "-DUSE_IDN=false"; ··· 87 81 ping 88 82 rarpd 89 83 rdisc 90 - tftpd 91 84 tracepath 92 - traceroute6 93 85 ''; 94 86 }; 95 87 }
+1 -1
pkgs/top-level/all-packages.nix
··· 22294 22294 iproute_mptcp = callPackage ../os-specific/linux/iproute/mptcp.nix { }; 22295 22295 22296 22296 iputils = hiPrio (callPackage ../os-specific/linux/iputils { }); 22297 - # hiPrio for collisions with inetutils (ping and tftpd.8.gz) 22297 + # hiPrio for collisions with inetutils (ping) 22298 22298 22299 22299 iptables = callPackage ../os-specific/linux/iptables { }; 22300 22300 iptables-legacy = callPackage ../os-specific/linux/iptables { nftablesCompat = false; };