From 9d34e429c23055c63d10cf0d788dc29ad9a99902 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Tue, 5 May 2026 21:01:42 +0200 Subject: [PATCH 1/2] nixos/xtreemfs: drop xtreemfs has been broken since October 2025 [1] and has seen no upstream changes since October 2024 [2]. [1] https://hydra.nixos.org/job/nixpkgs/unstable/xtreemfs.x86_64-linux/all [2] https://github.com/xtreemfs/xtreemfs --- .../manual/release-notes/rl-2605.section.md | 2 + nixos/modules/misc/ids.nix | 4 +- nixos/modules/module-list.nix | 1 - nixos/modules/rename.nix | 3 + .../services/network-filesystems/xtreemfs.nix | 516 ------------------ 5 files changed, 7 insertions(+), 519 deletions(-) delete mode 100644 nixos/modules/services/network-filesystems/xtreemfs.nix diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index e2eff27bc5ec..c3a7986810e5 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -339,6 +339,8 @@ See . - `xfsprogs` was updated to version 6.18.0, which enables parent pointers and exchange-range by default. Upstream recommends not to use these features with kernels older than 6.18. GRUB2 is likely unable to boot from filesystems with these features enabled. +- `services.xtreemfs` has been removed as the `xtreemfs` package was broken and unmaintained upstream. + - `lunarvim` package has been removed, as it was abandoned upstream and relied on an old version of `neovim` to work properly. - `opengfw` package and `services.opengfw` module have been removed as the upstream GitHub repository and website have been shut down. diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index 346fe03471eb..30278aa4fc41 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -250,7 +250,7 @@ in namecoin = 208; #lxd = 210; # unused #kibana = 211;# dynamically allocated as of 2021-09-03 - xtreemfs = 212; + # xtreemfs = 212; # dropped in 26.05 calibre-server = 213; #heapster = 214; #dynamically allocated as of 2021-09-17 bepasty = 215; @@ -585,7 +585,7 @@ in #gateone = 207; #removed 2025-08-21 namecoin = 208; #kibana = 211; - xtreemfs = 212; + # xtreemfs = 212; # dropped in 26.05 calibre-server = 213; bepasty = 215; # pumpio = 216; # unused, removed 2018-02-24 diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 74d4753a913b..89b73361539c 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -1116,7 +1116,6 @@ ./services/network-filesystems/u9fs.nix ./services/network-filesystems/webdav-server-rs.nix ./services/network-filesystems/webdav.nix - ./services/network-filesystems/xtreemfs.nix ./services/network-filesystems/yandex-disk.nix ./services/networking/3proxy.nix ./services/networking/acme-dns.nix diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix index 352cdf9b7f7f..a66a9bd5b929 100644 --- a/nixos/modules/rename.nix +++ b/nixos/modules/rename.nix @@ -507,6 +507,9 @@ in (mkRemovedOptionModule [ "services" "pyload" ] '' services.pyload has been removed since the pyload-ng package had vulnerabilities and was unmaintained in nixpkgs. '') + (mkRemovedOptionModule [ "services" "xtreemfs" ] '' + services.xtreemfs has been removed as it was broken and unmaintained upstream + '') # Do NOT add any option renames here, see top of the file ]; } diff --git a/nixos/modules/services/network-filesystems/xtreemfs.nix b/nixos/modules/services/network-filesystems/xtreemfs.nix deleted file mode 100644 index e5c472740e9e..000000000000 --- a/nixos/modules/services/network-filesystems/xtreemfs.nix +++ /dev/null @@ -1,516 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -let - - cfg = config.services.xtreemfs; - - xtreemfs = pkgs.xtreemfs; - - home = cfg.homeDir; - - startupScript = - class: configPath: - pkgs.writeScript "xtreemfs-osd.sh" '' - #! ${pkgs.runtimeShell} - JAVA_HOME="${pkgs.jdk}" - JAVADIR="${xtreemfs}/share/java" - JAVA_CALL="$JAVA_HOME/bin/java -ea -cp $JAVADIR/XtreemFS.jar:$JAVADIR/BabuDB.jar:$JAVADIR/Flease.jar:$JAVADIR/protobuf-java-2.5.0.jar:$JAVADIR/Foundation.jar:$JAVADIR/jdmkrt.jar:$JAVADIR/jdmktk.jar:$JAVADIR/commons-codec-1.3.jar" - $JAVA_CALL ${class} ${configPath} - ''; - - dirReplicationConfig = pkgs.writeText "xtreemfs-dir-replication-plugin.properties" '' - babudb.repl.backupDir = ${home}/server-repl-dir - plugin.jar = ${xtreemfs}/share/java/BabuDB_replication_plugin.jar - babudb.repl.dependency.0 = ${xtreemfs}/share/java/Flease.jar - - ${cfg.dir.replication.extraConfig} - ''; - - dirConfig = pkgs.writeText "xtreemfs-dir-config.properties" '' - uuid = ${cfg.dir.uuid} - listen.port = ${toString cfg.dir.port} - ${lib.optionalString (cfg.dir.address != "") "listen.address = ${cfg.dir.address}"} - http_port = ${toString cfg.dir.httpPort} - babudb.baseDir = ${home}/dir/database - babudb.logDir = ${home}/dir/db-log - babudb.sync = ${if cfg.dir.replication.enable then "FDATASYNC" else cfg.dir.syncMode} - - ${lib.optionalString cfg.dir.replication.enable "babudb.plugin.0 = ${dirReplicationConfig}"} - - ${cfg.dir.extraConfig} - ''; - - mrcReplicationConfig = pkgs.writeText "xtreemfs-mrc-replication-plugin.properties" '' - babudb.repl.backupDir = ${home}/server-repl-mrc - plugin.jar = ${xtreemfs}/share/java/BabuDB_replication_plugin.jar - babudb.repl.dependency.0 = ${xtreemfs}/share/java/Flease.jar - - ${cfg.mrc.replication.extraConfig} - ''; - - mrcConfig = pkgs.writeText "xtreemfs-mrc-config.properties" '' - uuid = ${cfg.mrc.uuid} - listen.port = ${toString cfg.mrc.port} - ${lib.optionalString (cfg.mrc.address != "") "listen.address = ${cfg.mrc.address}"} - http_port = ${toString cfg.mrc.httpPort} - babudb.baseDir = ${home}/mrc/database - babudb.logDir = ${home}/mrc/db-log - babudb.sync = ${if cfg.mrc.replication.enable then "FDATASYNC" else cfg.mrc.syncMode} - - ${lib.optionalString cfg.mrc.replication.enable "babudb.plugin.0 = ${mrcReplicationConfig}"} - - ${cfg.mrc.extraConfig} - ''; - - osdConfig = pkgs.writeText "xtreemfs-osd-config.properties" '' - uuid = ${cfg.osd.uuid} - listen.port = ${toString cfg.osd.port} - ${lib.optionalString (cfg.osd.address != "") "listen.address = ${cfg.osd.address}"} - http_port = ${toString cfg.osd.httpPort} - object_dir = ${home}/osd/ - - ${cfg.osd.extraConfig} - ''; - - optionalDir = lib.optionals cfg.dir.enable [ "xtreemfs-dir.service" ]; - - systemdOptionalDependencies = { - after = [ "network.target" ] ++ optionalDir; - wantedBy = [ "multi-user.target" ] ++ optionalDir; - }; - -in - -{ - - ###### interface - - options = { - - services.xtreemfs = { - - enable = lib.mkEnableOption "XtreemFS"; - - homeDir = lib.mkOption { - type = lib.types.path; - default = "/var/lib/xtreemfs"; - description = '' - XtreemFS home dir for the xtreemfs user. - ''; - }; - - dir = { - enable = lib.mkOption { - type = lib.types.bool; - default = true; - description = '' - Whether to enable XtreemFS DIR service. - ''; - }; - - uuid = lib.mkOption { - example = "eacb6bab-f444-4ebf-a06a-3f72d7465e40"; - type = lib.types.str; - description = '' - Must be set to a unique identifier, preferably a UUID according to - RFC 4122. UUIDs can be generated with `uuidgen` command, found in - the `util-linux` package. - ''; - }; - port = lib.mkOption { - default = 32638; - type = lib.types.port; - description = '' - The port to listen on for incoming connections (TCP). - ''; - }; - address = lib.mkOption { - type = lib.types.str; - example = "127.0.0.1"; - default = ""; - description = '' - If specified, it defines the interface to listen on. If not - specified, the service will listen on all interfaces (any). - ''; - }; - httpPort = lib.mkOption { - default = 30638; - type = lib.types.port; - description = '' - Specifies the listen port for the HTTP service that returns the - status page. - ''; - }; - syncMode = lib.mkOption { - type = lib.types.enum [ - "ASYNC" - "SYNC_WRITE_METADATA" - "SYNC_WRITE" - "FDATASYNC" - "FSYNC" - ]; - default = "FSYNC"; - example = "FDATASYNC"; - description = '' - The sync mode influences how operations are committed to the disk - log before the operation is acknowledged to the caller. - - -ASYNC mode the writes to the disk log are buffered in memory by the operating system. This is the fastest mode but will lead to data loss in case of a crash, kernel panic or power failure. - -SYNC_WRITE_METADATA opens the file with O_SYNC, the system will not buffer any writes. The operation will be acknowledged when data has been safely written to disk. This mode is slow but offers maximum data safety. However, BabuDB cannot influence the disk drive caches, this depends on the OS and hard disk model. - -SYNC_WRITE similar to SYNC_WRITE_METADATA but opens file with O_DSYNC which means that only the data is commit to disk. This can lead to some data loss depending on the implementation of the underlying file system. Linux does not implement this mode. - -FDATASYNC is similar to SYNC_WRITE but opens the file in asynchronous mode and calls fdatasync() after writing the data to disk. - -FSYNC is similar to SYNC_WRITE_METADATA but opens the file in asynchronous mode and calls fsync() after writing the data to disk. - - For best throughput use ASYNC, for maximum data safety use FSYNC. - - (If xtreemfs.dir.replication.enable is true then FDATASYNC is forced) - ''; - }; - extraConfig = lib.mkOption { - type = lib.types.lines; - default = ""; - example = '' - # specify whether SSL is required - ssl.enabled = true - ssl.service_creds.pw = passphrase - ssl.service_creds.container = pkcs12 - ssl.service_creds = /etc/xos/xtreemfs/truststore/certs/dir.p12 - ssl.trusted_certs = /etc/xos/xtreemfs/truststore/certs/trusted.jks - ssl.trusted_certs.pw = jks_passphrase - ssl.trusted_certs.container = jks - ''; - description = '' - Configuration of XtreemFS DIR service. - WARNING: configuration is saved as plaintext inside nix store. - For more options: - ''; - }; - replication = { - enable = lib.mkEnableOption "XtreemFS DIR replication plugin"; - extraConfig = lib.mkOption { - type = lib.types.lines; - example = '' - # participants of the replication including this replica - babudb.repl.participant.0 = 192.168.0.10 - babudb.repl.participant.0.port = 35676 - babudb.repl.participant.1 = 192.168.0.11 - babudb.repl.participant.1.port = 35676 - babudb.repl.participant.2 = 192.168.0.12 - babudb.repl.participant.2.port = 35676 - - # number of servers that at least have to be up to date - # To have a fault-tolerant system, this value has to be set to the - # majority of nodes i.e., if you have three replicas, set this to 2 - # Please note that a setup with two nodes provides no fault-tolerance. - babudb.repl.sync.n = 2 - - # specify whether SSL is required - babudb.ssl.enabled = true - - babudb.ssl.protocol = tlsv12 - - # server credentials for SSL handshakes - babudb.ssl.service_creds = /etc/xos/xtreemfs/truststore/certs/osd.p12 - babudb.ssl.service_creds.pw = passphrase - babudb.ssl.service_creds.container = pkcs12 - - # trusted certificates for SSL handshakes - babudb.ssl.trusted_certs = /etc/xos/xtreemfs/truststore/certs/trusted.jks - babudb.ssl.trusted_certs.pw = jks_passphrase - babudb.ssl.trusted_certs.container = jks - - babudb.ssl.authenticationWithoutEncryption = false - ''; - description = '' - Configuration of XtreemFS DIR replication plugin. - WARNING: configuration is saved as plaintext inside nix store. - For more options: - ''; - }; - }; - }; - - mrc = { - enable = lib.mkOption { - type = lib.types.bool; - default = true; - description = '' - Whether to enable XtreemFS MRC service. - ''; - }; - - uuid = lib.mkOption { - example = "eacb6bab-f444-4ebf-a06a-3f72d7465e41"; - type = lib.types.str; - description = '' - Must be set to a unique identifier, preferably a UUID according to - RFC 4122. UUIDs can be generated with `uuidgen` command, found in - the `util-linux` package. - ''; - }; - port = lib.mkOption { - default = 32636; - type = lib.types.port; - description = '' - The port to listen on for incoming connections (TCP). - ''; - }; - address = lib.mkOption { - example = "127.0.0.1"; - type = lib.types.str; - default = ""; - description = '' - If specified, it defines the interface to listen on. If not - specified, the service will listen on all interfaces (any). - ''; - }; - httpPort = lib.mkOption { - default = 30636; - type = lib.types.port; - description = '' - Specifies the listen port for the HTTP service that returns the - status page. - ''; - }; - syncMode = lib.mkOption { - default = "FSYNC"; - type = lib.types.enum [ - "ASYNC" - "SYNC_WRITE_METADATA" - "SYNC_WRITE" - "FDATASYNC" - "FSYNC" - ]; - example = "FDATASYNC"; - description = '' - The sync mode influences how operations are committed to the disk - log before the operation is acknowledged to the caller. - - -ASYNC mode the writes to the disk log are buffered in memory by the operating system. This is the fastest mode but will lead to data loss in case of a crash, kernel panic or power failure. - -SYNC_WRITE_METADATA opens the file with O_SYNC, the system will not buffer any writes. The operation will be acknowledged when data has been safely written to disk. This mode is slow but offers maximum data safety. However, BabuDB cannot influence the disk drive caches, this depends on the OS and hard disk model. - -SYNC_WRITE similar to SYNC_WRITE_METADATA but opens file with O_DSYNC which means that only the data is commit to disk. This can lead to some data loss depending on the implementation of the underlying file system. Linux does not implement this mode. - -FDATASYNC is similar to SYNC_WRITE but opens the file in asynchronous mode and calls fdatasync() after writing the data to disk. - -FSYNC is similar to SYNC_WRITE_METADATA but opens the file in asynchronous mode and calls fsync() after writing the data to disk. - - For best throughput use ASYNC, for maximum data safety use FSYNC. - - (If xtreemfs.mrc.replication.enable is true then FDATASYNC is forced) - ''; - }; - extraConfig = lib.mkOption { - type = lib.types.lines; - example = '' - osd_check_interval = 300 - no_atime = true - local_clock_renewal = 0 - remote_time_sync = 30000 - authentication_provider = org.xtreemfs.common.auth.NullAuthProvider - - # shared secret between the MRC and all OSDs - capability_secret = iNG8UuQJrJ6XVDTe - - dir_service.host = 192.168.0.10 - dir_service.port = 32638 - - # if replication is enabled - dir_service.1.host = 192.168.0.11 - dir_service.1.port = 32638 - dir_service.2.host = 192.168.0.12 - dir_service.2.port = 32638 - - # specify whether SSL is required - ssl.enabled = true - ssl.protocol = tlsv12 - ssl.service_creds.pw = passphrase - ssl.service_creds.container = pkcs12 - ssl.service_creds = /etc/xos/xtreemfs/truststore/certs/mrc.p12 - ssl.trusted_certs = /etc/xos/xtreemfs/truststore/certs/trusted.jks - ssl.trusted_certs.pw = jks_passphrase - ssl.trusted_certs.container = jks - ''; - description = '' - Configuration of XtreemFS MRC service. - WARNING: configuration is saved as plaintext inside nix store. - For more options: - ''; - }; - replication = { - enable = lib.mkEnableOption "XtreemFS MRC replication plugin"; - extraConfig = lib.mkOption { - type = lib.types.lines; - example = '' - # participants of the replication including this replica - babudb.repl.participant.0 = 192.168.0.10 - babudb.repl.participant.0.port = 35678 - babudb.repl.participant.1 = 192.168.0.11 - babudb.repl.participant.1.port = 35678 - babudb.repl.participant.2 = 192.168.0.12 - babudb.repl.participant.2.port = 35678 - - # number of servers that at least have to be up to date - # To have a fault-tolerant system, this value has to be set to the - # majority of nodes i.e., if you have three replicas, set this to 2 - # Please note that a setup with two nodes provides no fault-tolerance. - babudb.repl.sync.n = 2 - - # specify whether SSL is required - babudb.ssl.enabled = true - - babudb.ssl.protocol = tlsv12 - - # server credentials for SSL handshakes - babudb.ssl.service_creds = /etc/xos/xtreemfs/truststore/certs/osd.p12 - babudb.ssl.service_creds.pw = passphrase - babudb.ssl.service_creds.container = pkcs12 - - # trusted certificates for SSL handshakes - babudb.ssl.trusted_certs = /etc/xos/xtreemfs/truststore/certs/trusted.jks - babudb.ssl.trusted_certs.pw = jks_passphrase - babudb.ssl.trusted_certs.container = jks - - babudb.ssl.authenticationWithoutEncryption = false - ''; - description = '' - Configuration of XtreemFS MRC replication plugin. - WARNING: configuration is saved as plaintext inside nix store. - For more options: - ''; - }; - }; - }; - - osd = { - enable = lib.mkOption { - type = lib.types.bool; - default = true; - description = '' - Whether to enable XtreemFS OSD service. - ''; - }; - - uuid = lib.mkOption { - example = "eacb6bab-f444-4ebf-a06a-3f72d7465e42"; - type = lib.types.str; - description = '' - Must be set to a unique identifier, preferably a UUID according to - RFC 4122. UUIDs can be generated with `uuidgen` command, found in - the `util-linux` package. - ''; - }; - port = lib.mkOption { - default = 32640; - type = lib.types.port; - description = '' - The port to listen on for incoming connections (TCP and UDP). - ''; - }; - address = lib.mkOption { - example = "127.0.0.1"; - type = lib.types.str; - default = ""; - description = '' - If specified, it defines the interface to listen on. If not - specified, the service will listen on all interfaces (any). - ''; - }; - httpPort = lib.mkOption { - default = 30640; - type = lib.types.port; - description = '' - Specifies the listen port for the HTTP service that returns the - status page. - ''; - }; - extraConfig = lib.mkOption { - type = lib.types.lines; - example = '' - local_clock_renewal = 0 - remote_time_sync = 30000 - report_free_space = true - capability_secret = iNG8UuQJrJ6XVDTe - - dir_service.host = 192.168.0.10 - dir_service.port = 32638 - - # if replication is used - dir_service.1.host = 192.168.0.11 - dir_service.1.port = 32638 - dir_service.2.host = 192.168.0.12 - dir_service.2.port = 32638 - - # specify whether SSL is required - ssl.enabled = true - ssl.service_creds.pw = passphrase - ssl.service_creds.container = pkcs12 - ssl.service_creds = /etc/xos/xtreemfs/truststore/certs/osd.p12 - ssl.trusted_certs = /etc/xos/xtreemfs/truststore/certs/trusted.jks - ssl.trusted_certs.pw = jks_passphrase - ssl.trusted_certs.container = jks - ''; - description = '' - Configuration of XtreemFS OSD service. - WARNING: configuration is saved as plaintext inside nix store. - For more options: - ''; - }; - }; - }; - - }; - - ###### implementation - - config = lib.mkIf cfg.enable { - - environment.systemPackages = [ xtreemfs ]; - - users.users.xtreemfs = { - uid = config.ids.uids.xtreemfs; - description = "XtreemFS user"; - createHome = true; - home = home; - }; - - users.groups.xtreemfs = { - gid = config.ids.gids.xtreemfs; - }; - - systemd.services.xtreemfs-dir = lib.mkIf cfg.dir.enable { - description = "XtreemFS-DIR Server"; - after = [ "network.target" ]; - wantedBy = [ "multi-user.target" ]; - serviceConfig = { - User = "xtreemfs"; - ExecStart = "${startupScript "org.xtreemfs.dir.DIR" dirConfig}"; - }; - }; - - systemd.services.xtreemfs-mrc = lib.mkIf cfg.mrc.enable ( - { - description = "XtreemFS-MRC Server"; - serviceConfig = { - User = "xtreemfs"; - ExecStart = "${startupScript "org.xtreemfs.mrc.MRC" mrcConfig}"; - }; - } - // systemdOptionalDependencies - ); - - systemd.services.xtreemfs-osd = lib.mkIf cfg.osd.enable ( - { - description = "XtreemFS-OSD Server"; - serviceConfig = { - User = "xtreemfs"; - ExecStart = "${startupScript "org.xtreemfs.osd.OSD" osdConfig}"; - }; - } - // systemdOptionalDependencies - ); - - }; - -} From aa508912f3f8fc6160a341f88c855d811c050c76 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Tue, 5 May 2026 21:03:04 +0200 Subject: [PATCH 2/2] xtreemfs: drop xtreemfs has been broken since October 2025 [1] and has seen no upstream changes since October 2024 [2]. [1] https://hydra.nixos.org/job/nixpkgs/unstable/xtreemfs.x86_64-linux/all [2] https://github.com/xtreemfs/xtreemfs --- pkgs/by-name/xt/xtreemfs/package.nix | 129 --------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 129 deletions(-) delete mode 100644 pkgs/by-name/xt/xtreemfs/package.nix diff --git a/pkgs/by-name/xt/xtreemfs/package.nix b/pkgs/by-name/xt/xtreemfs/package.nix deleted file mode 100644 index 7b4cf66786ee..000000000000 --- a/pkgs/by-name/xt/xtreemfs/package.nix +++ /dev/null @@ -1,129 +0,0 @@ -{ - stdenv, - lib, - fetchFromGitHub, - fetchpatch, - makeWrapper, - stripJavaArchivesHook, - ant, - attr, - boost186, - cmake, - file, - fuse, - jdk8, - openssl, - python3, - valgrind, - which, -}: - -let - boost = boost186; -in - -stdenv.mkDerivation { - pname = "XtreemFS"; - # using unstable release because stable (v1.5.1) has broken repl java plugin - version = "unstable-2015-06-17"; - - src = fetchFromGitHub { - rev = "7ddcb081aa125b0cfb008dc98addd260b8353ab3"; - owner = "xtreemfs"; - repo = "xtreemfs"; - sha256 = "1hjmd32pla27zf98ghzz6r5ml8ry86m9dsryv1z01kxv5l95b3m0"; - }; - - nativeBuildInputs = [ - makeWrapper - python3 - stripJavaArchivesHook - which - ]; - buildInputs = [ - attr - ]; - - patches = [ - (fetchpatch { - name = "protobuf-add-arm64-atomicops.patch"; - url = "https://github.com/protocolbuffers/protobuf/commit/2ca19bd8066821a56f193e7fca47139b25c617ad.patch"; - stripLen = 1; - extraPrefix = "cpp/thirdparty/protobuf-2.5.0/"; - sha256 = "sha256-hlL5ZiJhpO3fPpcSTV+yki4zahg/OhFdIZEGF1TNTe0="; - }) - (fetchpatch { - name = "protobuf-add-aarch64-architecture-to-platform-macros.patch"; - url = "https://github.com/protocolbuffers/protobuf/commit/f0b6a5cfeb5f6347c34975446bda08e0c20c9902.patch"; - stripLen = 1; - extraPrefix = "cpp/thirdparty/protobuf-2.5.0/"; - sha256 = "sha256-VRl303x9g5ES/LMODcAdhsPiEmQTq/qXhE/DfvLXF84="; - }) - (fetchpatch { - name = "xtreemfs-fix-for-boost-version-1.66.patch"; - url = "https://github.com/xtreemfs/xtreemfs/commit/aab843cb115ab0739edf7f58fd2d4553a05374a8.patch"; - sha256 = "sha256-y/vXI/PT1TwSy8/73+RKIgKq4pZ9i22MBxr6jo/M5l8="; - }) - (fetchpatch { - name = "xtreemfs-fix-for-openssl_1_1.patch"; - url = "https://github.com/xtreemfs/xtreemfs/commit/ebfdc2fff56c09f310159d92026883941e42a953.patch"; - sha256 = "075w00ad88qm6xpm5679m0gfzkrc53w17sk7ycybf4hzxjs29ygy"; - }) - ]; - - preConfigure = '' - export JAVA_HOME=${jdk8} - export ANT_HOME=${ant} - - export BOOST_INCLUDEDIR=${boost.dev}/include - export BOOST_LIBRARYDIR=${boost.out}/lib - export CMAKE_INCLUDE_PATH=${openssl.dev}/include - export CMAKE_LIBRARY_PATH=${lib.getLib openssl}/lib - - substituteInPlace cpp/cmake/FindValgrind.cmake \ - --replace "/usr/local" "${valgrind}" - - substituteInPlace cpp/CMakeLists.txt \ - --replace '"/lib64" "/usr/lib64"' '"${attr.out}/lib" "${lib.getLib fuse}/lib"' - - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${lib.getDev fuse}/include" - export NIX_CFLAGS_LINK="$NIX_CFLAGS_LINK -L${lib.getLib fuse}/lib" - - export DESTDIR=$out - - substituteInPlace Makefile \ - --replace "/usr/share/" "/share/" \ - --replace 'BIN_DIR=$(DESTDIR)/usr/bin' "BIN_DIR=$out/bin" - - substituteInPlace etc/init.d/generate_initd_scripts.sh \ - --replace "/bin/bash" "${stdenv.shell}" - - substituteInPlace cpp/thirdparty/gtest-1.7.0/configure \ - --replace "/usr/bin/file" "${file}/bin/file" - - substituteInPlace cpp/thirdparty/protobuf-2.5.0/configure \ - --replace "/usr/bin/file" "${file}/bin/file" - - substituteInPlace cpp/thirdparty/protobuf-2.5.0/gtest/configure \ - --replace "/usr/bin/file" "${file}/bin/file" - - # do not put cmake into buildInputs - export PATH="$PATH:${cmake}/bin" - ''; - - doCheck = false; - - postInstall = '' - rm -r $out/sbin - ''; - - meta = { - description = "Distributed filesystem"; - maintainers = with lib.maintainers; [ - raskin - matejc - ]; - platforms = lib.platforms.linux; - license = lib.licenses.bsd3; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index d04309901da9..de766a5981cd 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2542,6 +2542,7 @@ mapAliases { xsw = throw "'xsw' has been removed due to lack of upstream maintenance"; # Added 2025-08-22 xsynth-dssi = throw "'xsynth-dssi' was removed due to lack of upstream maintenance and relying on gtk2"; # Added 2025-12-02 xtrap = throw "XTrap was a proposed X11 extension that hasn't been in Xorg since X11R6 in 1994, it is deprecated and archived upstream."; # added 2025-12-13 + xtreemfs = throw "'xtreemfs' has been removed as it was broken and unmaintained upstream"; # Added 2026-05-05 xulrunner = throw "'xulrunner' has been renamed to/replaced by 'firefox-unwrapped'"; # Converted to throw 2025-10-27 xxgdb = throw "'xxgdb' seems inactive and doesn't compile with glibc 2.42"; # Added 2025-09-28 xxHash = warnAlias "'xxHash' has been renamed to 'xxhash'" xxhash; # Added 2026-02-12