Loading pkgs/by-name/xj/xjump/darwin.patchdeleted 100644 → 0 +0 −21 Original line number Diff line number Diff line --- xjump/src/main.c 2018-02-20 09:15:15.608807657 +0100 +++ xjump-patched/src/main.c 2018-02-20 09:15:34.148949100 +0100 @@ -604,18 +604,6 @@ * optimistic privilege dropping function. */ setgroups(0, NULL); - if (setresgid(-1, realgid, realgid) != 0) { - perror("Could not drop setgid privileges. Aborting."); - exit(1); - } - - /* Dropping user privileges must come last. - * Otherwise we won't be able to drop group privileges anymore */ - if (setresuid(-1, realuid, realuid) != 0) { - perror("Could not drop setuid privileges. Aborting."); - exit(1); - } - /* From now on we run with regular user privileges */ static XtActionsRec a_table[] = { pkgs/by-name/xj/xjump/package.nixdeleted 100644 → 0 +0 −43 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, autoconf, automake, libX11, libXt, libXpm, libXaw, localStateDir ? null, }: stdenv.mkDerivation { pname = "xjump"; version = "2.9.3"; src = fetchFromGitHub { owner = "hugomg"; repo = "xjump"; rev = "e7f20fb8c2c456bed70abb046c1a966462192b80"; sha256 = "0hq4739cvi5a47pxdc0wwkj2lmlqbf1xigq0v85qs5bq3ixmq2f7"; }; nativeBuildInputs = [ autoconf automake ]; buildInputs = [ libX11 libXt libXpm libXaw ]; preConfigure = "autoreconf --install"; patches = lib.optionals stdenv.buildPlatform.isDarwin [ ./darwin.patch ]; configureFlags = lib.optionals (localStateDir != null) [ "--localstatedir=${localStateDir}" ]; meta = with lib; { description = "Falling tower game"; mainProgram = "xjump"; license = licenses.gpl2Plus; maintainers = with maintainers; [ pmeunier ]; }; } pkgs/top-level/aliases.nix +1 −0 Original line number Diff line number Diff line Loading @@ -2461,6 +2461,7 @@ mapAliases { xflux = throw "'xflux' has been removed as it was unmaintained"; # Added 2025-08-22 xineLib = throw "'xineLib' has been renamed to/replaced by 'xine-lib'"; # Converted to throw 2024-10-17 xineUI = throw "'xineUI' has been renamed to/replaced by 'xine-ui'"; # Converted to throw 2024-10-17 xjump = throw "'xjump' has been removed as it is unmaintained"; # Added 2025-08-22 xlsxgrep = throw "'xlsxgrep' has been dropped due to lack of maintenance."; # Added 2024-11-01 xmlada = gnatPackages.xmlada; # Added 2024-02-25 xmlroff = throw "'xmlroff' has been removed as it is unmaintained and broken"; # Added 2025-05-18 Loading Loading
pkgs/by-name/xj/xjump/darwin.patchdeleted 100644 → 0 +0 −21 Original line number Diff line number Diff line --- xjump/src/main.c 2018-02-20 09:15:15.608807657 +0100 +++ xjump-patched/src/main.c 2018-02-20 09:15:34.148949100 +0100 @@ -604,18 +604,6 @@ * optimistic privilege dropping function. */ setgroups(0, NULL); - if (setresgid(-1, realgid, realgid) != 0) { - perror("Could not drop setgid privileges. Aborting."); - exit(1); - } - - /* Dropping user privileges must come last. - * Otherwise we won't be able to drop group privileges anymore */ - if (setresuid(-1, realuid, realuid) != 0) { - perror("Could not drop setuid privileges. Aborting."); - exit(1); - } - /* From now on we run with regular user privileges */ static XtActionsRec a_table[] = {
pkgs/by-name/xj/xjump/package.nixdeleted 100644 → 0 +0 −43 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, autoconf, automake, libX11, libXt, libXpm, libXaw, localStateDir ? null, }: stdenv.mkDerivation { pname = "xjump"; version = "2.9.3"; src = fetchFromGitHub { owner = "hugomg"; repo = "xjump"; rev = "e7f20fb8c2c456bed70abb046c1a966462192b80"; sha256 = "0hq4739cvi5a47pxdc0wwkj2lmlqbf1xigq0v85qs5bq3ixmq2f7"; }; nativeBuildInputs = [ autoconf automake ]; buildInputs = [ libX11 libXt libXpm libXaw ]; preConfigure = "autoreconf --install"; patches = lib.optionals stdenv.buildPlatform.isDarwin [ ./darwin.patch ]; configureFlags = lib.optionals (localStateDir != null) [ "--localstatedir=${localStateDir}" ]; meta = with lib; { description = "Falling tower game"; mainProgram = "xjump"; license = licenses.gpl2Plus; maintainers = with maintainers; [ pmeunier ]; }; }
pkgs/top-level/aliases.nix +1 −0 Original line number Diff line number Diff line Loading @@ -2461,6 +2461,7 @@ mapAliases { xflux = throw "'xflux' has been removed as it was unmaintained"; # Added 2025-08-22 xineLib = throw "'xineLib' has been renamed to/replaced by 'xine-lib'"; # Converted to throw 2024-10-17 xineUI = throw "'xineUI' has been renamed to/replaced by 'xine-ui'"; # Converted to throw 2024-10-17 xjump = throw "'xjump' has been removed as it is unmaintained"; # Added 2025-08-22 xlsxgrep = throw "'xlsxgrep' has been dropped due to lack of maintenance."; # Added 2024-11-01 xmlada = gnatPackages.xmlada; # Added 2024-02-25 xmlroff = throw "'xmlroff' has been removed as it is unmaintained and broken"; # Added 2025-05-18 Loading