From 6f4343f71631ab45bb2682d035ad77723b17a3cf Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 31 May 2026 22:37:03 +0200 Subject: [PATCH] mhddfs: rip contributes to #526161 , it has not been tested if the package builds with fuse3 --- .../mh/mhddfs/fix-format-security-error.patch | 12 ----- pkgs/by-name/mh/mhddfs/package.nix | 48 ------------------- pkgs/top-level/aliases.nix | 1 + 3 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 pkgs/by-name/mh/mhddfs/fix-format-security-error.patch delete mode 100644 pkgs/by-name/mh/mhddfs/package.nix diff --git a/pkgs/by-name/mh/mhddfs/fix-format-security-error.patch b/pkgs/by-name/mh/mhddfs/fix-format-security-error.patch deleted file mode 100644 index 35e58cf0ce9e..000000000000 --- a/pkgs/by-name/mh/mhddfs/fix-format-security-error.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- mhddfs-0.1.39/src/usage.c.old 2017-02-28 15:00:25.435438622 +0100 -+++ mhddfs-0.1.39/src/usage.c 2017-02-28 15:00:33.847454958 +0100 -@@ -43,7 +43,7 @@ - "\n" - " see fusermount(1) for information about other options\n" - ""; -- fprintf(to, usage); -+ fputs(usage, to); - if (to==stdout) exit(0); - exit(-1); - } - diff --git a/pkgs/by-name/mh/mhddfs/package.nix b/pkgs/by-name/mh/mhddfs/package.nix deleted file mode 100644 index 702c8157f35c..000000000000 --- a/pkgs/by-name/mh/mhddfs/package.nix +++ /dev/null @@ -1,48 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - fuse, - pkg-config, - attr, - uthash, -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "mhddfs"; - version = "0.1.39"; - - src = fetchurl { - url = "https://mhddfs.uvw.ru/downloads/mhddfs_${finalAttrs.version}.tar.gz"; - sha256 = "14ggmh91vv69fp2qpz0nxp0hprlw2wsijss2k2485hb0ci4cabvh"; - }; - - nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - fuse - attr - uthash - ]; - - patches = [ - ./fix-format-security-error.patch - ]; - - postPatch = '' - substituteInPlace src/main.c --replace "attr/xattr.h" "sys/xattr.h" - substituteInPlace src/tools.c --replace "attr/xattr.h" "sys/xattr.h" - ''; - - installPhase = '' - mkdir -p $out/bin - cp mhddfs $out/bin/ - ''; - - meta = { - homepage = "https://mhddfs.uvw.ru/"; - description = "Combines a several mount points into the single one"; - license = lib.licenses.gpl3; - maintainers = [ lib.maintainers.makefu ]; - mainProgram = "mhddfs"; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 6d6659140d42..9a512e154b34 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -1431,6 +1431,7 @@ mapAliases { metaBuildEnv = throw "'metaBuildEnv' has been removed, due to it being ancient unmaintained software"; # Added 2026-02-11 meteo = throw "'meteo' has been removed as it was unmaintained and depends on deprecated webkitgtk_4_0"; # Added 2025-10-09 metersLv2 = warnAlias "'metersLv2' has been renamed to 'meters-lv2'" meters-lv2; # Added 2026-02-08 + mhddfs = throw "'mhddfs' has been removed because upstream marked it as unmaintained on 2015-03-17. Consider using 'mergerfs' as potential alternative"; # Added 2026-05-31 microcodeAmd = throw "'microcodeAmd' has been renamed to/replaced by 'microcode-amd'"; # Converted to throw 2025-10-27 microcodeIntel = throw "'microcodeIntel' has been renamed to/replaced by 'microcode-intel'"; # Converted to throw 2025-10-27 microsoft_gsl = throw "'microsoft_gsl' has been renamed to/replaced by 'microsoft-gsl'"; # Converted to throw 2025-10-27