35 Commits
Author SHA1 Message Date
Doron Behar 93f712baa4 net-tools: split man output 2026-01-22 15:57:34 +02:00
Thomas Gerbet bd5e71fad8 nettools: apply patch for CVE-2025-46836
https://github.com/ecki/net-tools/security/advisories/GHSA-pfwf-h6m3-63wf
2025-05-16 02:06:15 +02:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Damien DiederenandGitHub b5213d5b0f treewide: fix invalid gentoo/distfiles urls (#257808)
* nettools: fix url; avoid gentoo/distfiles which now uses hashed directories

* pax-utils: fix url; avoid gentoo/distfiles which now uses hashed directories

The project doesn't seem to publish the exact tarball which was relied
on, but we can fetch the sources from the original repository.  (This
implies some rebuilds.)

* mtx: fix url; avoid gentoo/distfiles which now uses hashed directories

* vlan: fix url; avoid gentoo/distfiles which now uses hashed directories
2023-09-28 20:54:54 +02:00
Matthieu CoudronandMatthieu Coudron a3f854aef3 linux_mptcp,linux_mptcp_95: remove out-of-tree mptcp kernel
Multipath tcp (mptcp) is now part of the official linux kernel. The
official kernel still lacks features compared to this out of tree ones
but considering the userbase, I dont see any compelling reason.
I keep using that kernel and those utilities so they will stay packaged
at https://github.com/teto/mptcp-flake where they wont annoy the whole
nixpkgs crowd that doesn't care about it.
2022-10-07 23:14:30 +02:00
Felix Buehler 6cbf83ba01 treewide: rename name to pname&version 2022-01-17 20:52:59 +01:00
Christian Kögler 370a25c0ee nettools: Add mii-tool 2021-07-10 12:38:19 +02:00
R. RyanTMandtomberek 103d77e02f nettools: 1.60_p20180626073013 -> 2.10 2021-02-27 01:39:02 -05:00
Pavol Rusnak a6ce00c50c treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Ben Siraphob 16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael ReillyandJörg Thalheim 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Scott WorleyandAlyssa Ross 619a350e4a 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/
2020-03-14 01:37:38 +00:00
volthandJörg Thalheim 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Matthieu Coudron 1046fc2728 nettools_mptcp: init at 0.95
Adds an -m flag to track MPTCP connection.
2019-06-27 12:00:17 +09:00
Ben GamariandJohn Ericson edd92f9182 net-tools: Enable cross-compilation 2018-05-03 17:04:50 -04:00
Will DietzandFranz Pletz 192f30f06a nettools: 1.60_p20161110235919 -> 1.60_p20170221182432
Nothing critical, here's the highlights:

* ROSE fixes
* arp scanf/output fix
* linux header compat:
  https://sourceforge.net/p/net-tools/code/ci/ea3935bd7c0f36c86c40e5785326698fa3336c6a/

Commit log (short):
https://sourceforge.net/p/net-tools/code/ci/479bb4a7e11a4084e2935c0a576388f92469225b/log/
2018-01-28 21:22:37 +00:00
Franz Pletz 9a219a7ec0 nettools: 1.60_p20120127084908 -> 1.60_p20161110235919
Some tools now need to be explcitely enabled. This version ships the same
executables as the previous one.
2017-07-10 09:36:04 +02:00
David Rusu c46ffb05ff update net-tools home page
Previous domain had expired
2015-11-18 00:35:28 -05:00
Mateusz KowalczykandPeter Simons 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Lluís Batlle i Rossell 11eb687e57 Fixing nettools with headers >=3.6 (no more strip)
I remove the strip (Metricom radio) support
2013-01-05 21:52:44 +00:00
Eelco Dolstra ca298b5fe6 net-tools: Update to 1.60_p20120127084908
Apparently token ring support is gone in the kernel.

http://hydra.nixos.org/build/3081969
2012-10-16 14:29:31 -04:00
Eelco Dolstra 257ffc8e73 * Fix broken meta attributes.
svn path=/nixpkgs/trunk/; revision=17773
2009-10-13 09:39:27 +00:00
Eelco Dolstra 176c0e32b1 * net-tools: install the manpages in $out/share/man/manN instead of
$out/share/manN.  Cleaned up the expression at the same time.

svn path=/nixpkgs/trunk/; revision=17509
2009-09-29 15:33:03 +00:00
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Michael Raskin e1a6bab3ff Turned IPv6 on in net-tools.
svn path=/nixpkgs/trunk/; revision=8902
2007-06-20 11:49:17 +00:00
Eelco Dolstra 82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Eelco Dolstra 454707da23 * catamaran.labs.cs.uu.nl -> nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=3660
2005-08-22 08:39:27 +00:00
Eelco Dolstra e6744d0f89 * Merge diff between trunk/pkgs@1646 and branches/nixos-pkgs@2256;
this contains mostly Armijn's pure stdenv-linux.

* After unpacking the statically linked GCC, patch all store paths to
  /nix/store/ffffffffffffffffffffffffffffffff.  Ugly hack to prevent
  undeclared references but it works.

* We don't need Glib's dynamic libraries in the first bootstrap stage;
  delete them.  Actually the downloaded Glibc binary is only needed
  for building Glibc, since GCC needs a C compiler to build some
  programs in `configure'.  So static linking is fine for that.  Maybe
  it would be better to patch `configure' so that we don't need a
  pre-built Glibc at all.

* Set the svn:executable property on `cp' and `patchelf'.

* In Glibc, revert to LinuxThreads.  Maybe NPTL will work, but TLS
  support is a problem.

* Delete most Glibc patches; they're no longer needed since the branch
  updated it to 20050110.
  
* Some cleanups.

svn path=/nixpkgs/trunk/; revision=2258
2005-02-21 16:03:34 +00:00
Eelco Dolstra e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Armijn Hemel 66ea9ba4e7 patch net-tools to make it work nicely with gcc-3.4
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1898
2004-12-17 13:49:04 +00:00
Armijn Hemel dbecea0365 gcc-3.4 doesn't like empty labels in a switch statement...
svn path=/nixpkgs/trunk/; revision=1722
2004-11-08 14:30:56 +00:00
Eelco Dolstra 12ae5363ea * Remove trivial builders.
* Make builders unexecutable by removing the hash-bang line and
  execute permission.
* Convert calls to `derivation' to `mkDerivation'.
* Remove `system' and `stdenv' attributes from calls to
  `mkDerivation'.  These transformations were all done automatically,
  so it is quite possible I broke stuff.
* Put the `mkDerivation' function in stdenv/generic.

svn path=/nixpkgs/trunk/; revision=874
2004-03-29 17:23:01 +00:00
Eelco Dolstra e5fd37f35d * Added net-tools (for ifconfig, route, hostname).
svn path=/nixpkgs/trunk/; revision=805
2004-02-19 12:46:35 +00:00