iputils: 20210722 -> 20211215

The tools "tftpd" and "traceroute6" were removed. See [0] for more details.

[0]: https://github.com/iputils/iputils/releases/tag/20211215
This commit is contained in:
Michael Weiss 2021-12-19 12:01:43 +01:00
parent 2510939212
commit 2c82929645
No known key found for this signature in database
GPG key ID: 5BE487C4D4771D83
4 changed files with 23 additions and 12 deletions

View file

@ -163,6 +163,19 @@
~100MB for python itself).
</para>
</listitem>
<listitem>
<para>
The iputils package, which is installed by default, no longer
provides the legacy tools <literal>tftpd</literal> and
<literal>traceroute6</literal>. More tools
(<literal>ninfod</literal>, <literal>rarpd</literal>, and
<literal>rdisc</literal>) are going to be removed in the next
release. See
<link xlink:href="https://github.com/iputils/iputils/releases/tag/20211215">upstreams
release notes</link> for more details and available
replacements.
</para>
</listitem>
</itemizedlist>
</section>
<section xml:id="sec-release-22.05-notable-changes">

View file

@ -60,6 +60,12 @@ In addition to numerous new and upgraded packages, this release has the followin
This has the added benefit to reduce the closure size of `ipython` from ~400MB to ~160MB
(including ~100MB for python itself).
- The iputils package, which is installed by default, no longer provides the
legacy tools `tftpd` and `traceroute6`. More tools (`ninfod`, `rarpd`, and
`rdisc`) are going to be removed in the next release. See
[upstream's release notes](https://github.com/iputils/iputils/releases/tag/20211215)
for more details and available replacements.
## Other Notable Changes {#sec-release-22.05-notable-changes}
- The option [services.redis.servers](#opt-services.redis.servers) was added

View file

@ -6,7 +6,7 @@
}:
let
version = "20210722";
version = "20211215";
sunAsIsLicense = {
fullName = "AS-IS, SUN MICROSYSTEMS license";
url = "https://github.com/iputils/iputils/blob/s${version}/rdisc.c";
@ -19,14 +19,9 @@ in stdenv.mkDerivation rec {
owner = pname;
repo = pname;
rev = version;
sha256 = "139fyifsjm0i012rhcx3ra3pxx2wxh77dfd551d8lgiv2mqd742j";
sha256 = "1vzdch1xi2x2j8mvnsr4wwwh7kdkgf926xafw5kkb74yy1wac5qv";
};
postPatch = lib.optionalString (!doCheck) ''
# There isn't a Meson option for this yet:
sed -i '/##### TESTS #####/q' ping/meson.build
'';
outputs = ["out" "apparmor"];
# We don't have the required permissions inside the build sandbox:
@ -35,11 +30,10 @@ in stdenv.mkDerivation rec {
mesonFlags = [
"-DBUILD_RARPD=true"
"-DBUILD_TRACEROUTE6=true"
"-DBUILD_TFTPD=true"
"-DNO_SETCAP_OR_SUID=true"
"-Dsystemdunitdir=etc/systemd/system"
"-DINSTALL_SYSTEMD_UNITS=true"
"-DSKIP_TESTS=${lib.boolToString (!doCheck)}"
]
# Disable idn usage w/musl (https://github.com/iputils/iputils/pull/111):
++ lib.optional stdenv.hostPlatform.isMusl "-DUSE_IDN=false";
@ -87,9 +81,7 @@ in stdenv.mkDerivation rec {
ping
rarpd
rdisc
tftpd
tracepath
traceroute6
'';
};
}

View file

@ -22294,7 +22294,7 @@ with pkgs;
iproute_mptcp = callPackage ../os-specific/linux/iproute/mptcp.nix { };
iputils = hiPrio (callPackage ../os-specific/linux/iputils { });
# hiPrio for collisions with inetutils (ping and tftpd.8.gz)
# hiPrio for collisions with inetutils (ping)
iptables = callPackage ../os-specific/linux/iptables { };
iptables-legacy = callPackage ../os-specific/linux/iptables { nftablesCompat = false; };