about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2023-08-16 17:07:47 +0200
committeraszlig <aszlig@nix.build>2023-08-17 19:54:27 +0200
commit9fd74d2f9ad8fe26dcaa0a2e0210f6320787390a (patch)
treeec24750fc0d7dbd64bfc77bf6d708f88daac2b3a
parent2c5cd54460ec4460a31c4ce125f355142e6b3f7c (diff)
ip2unix: 2.1.4 -> 2.2.0
Upstream changes:

  * Unlink socket file before bind if SO_REUSEADDR is used.
  * Add support for Linux abstract sockets.
  * Add support for matching an existing Unix domain socket or abstract
    socket.
  * Add stream/datagram aliases for tcp/udp socket types.
  * Add flag to prevent unlinking of socket files when closing sockets.
  * Fix missing header files for newer GCC versions, thanks to Varun
    Madiath.
  * Fix use-after-free of blackhole working directory path.
  * Fix a few compiler warnings on unnecessary allocation of string
    literals.
  * Add deprecation warnings if rules are specified in YAML format.
  * Rule files (-f) are now just a list of newline-separated rule (-r)
    arguments instead of YAML files.
  * Improve serializer to be more robust in end-of-stream conditions.
  * Bump requirements to require at least GCC version 9.
  * No longer prefer C library path over using RTLD_NEXT.

The missing include added via postPatch is no longer needed as it has
been fixed upstream.

Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r--pkgs/tools/networking/ip2unix/default.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/tools/networking/ip2unix/default.nix b/pkgs/tools/networking/ip2unix/default.nix
index fabbbb40e7a70..93bd2507bf6f3 100644
--- a/pkgs/tools/networking/ip2unix/default.nix
+++ b/pkgs/tools/networking/ip2unix/default.nix
@@ -5,19 +5,15 @@
 
 stdenv.mkDerivation rec {
   pname = "ip2unix";
-  version = "2.1.4";
+  version = "2.2.0";
 
   src = fetchFromGitHub {
     owner = "nixcloud";
     repo = "ip2unix";
     rev = "v${version}";
-    sha256 = "1pl8ayadxb0zzh5s26yschkjhr1xffbzzv347m88f9y0jv34d24r";
+    hash = "sha256-7Q2s7wBkt5OTbQnx7Q5mGRWBOtr6yRsFBh+CUu8CmMQ";
   };
 
-  postPatch = ''
-    sed '1i#include <array>' -i src/dynports/dynports.cc # gcc12
-  '';
-
   nativeBuildInputs = [
     meson ninja pkg-config asciidoc libxslt.bin docbook_xml_dtd_45 docbook_xsl
     libxml2.bin docbook5 python3Packages.pytest python3Packages.pytest-timeout