From 544eaaa52b59a81195b3ef40a2dd091f81eb0fb4 Mon Sep 17 00:00:00 2001 From: Christian Kauhaus Date: Fri, 21 Sep 2018 15:54:48 +0200 Subject: lua: remove lua4 and lua5_0 Both versions are not maintained anymore upstream and have open security issues, e.g. https://nvd.nist.gov/vuln/detail/CVE-2014-5461. The same holds for lua5_1 but that seems to be in use in some places. Re #47122 Re #47123 --- pkgs/development/interpreters/lua-4/default.nix | 32 ------------------------- pkgs/development/interpreters/lua-5/5.0.3.nix | 32 ------------------------- pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 66 deletions(-) delete mode 100644 pkgs/development/interpreters/lua-4/default.nix delete mode 100644 pkgs/development/interpreters/lua-5/5.0.3.nix (limited to 'pkgs') diff --git a/pkgs/development/interpreters/lua-4/default.nix b/pkgs/development/interpreters/lua-4/default.nix deleted file mode 100644 index be49d2dd9215..000000000000 --- a/pkgs/development/interpreters/lua-4/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{stdenv, fetchurl}: - -stdenv.mkDerivation { - name = "lua-4.0.1"; - - src = fetchurl { - url = https://www.lua.org/ftp/lua-4.0.1.tar.gz; - sha256 = "0ajd906hasii365xdihv9mdmi3cixq758blx0289x4znkha6wx6z"; - }; - - configurePhase = "sed -i -e 's/CFLAGS= -O2/CFLAGS = -O3 -fPIC/' config"; - buildFlags = "all so sobin"; - installFlags = "INSTALL_ROOT=$$out"; - - hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector"; - - meta = { - homepage = http://www.lua.org; - description = "Powerful, fast, lightweight, embeddable scripting language"; - longDescription = '' - Lua combines simple procedural syntax with powerful data - description constructs based on associative arrays and extensible - semantics. Lua is dynamically typed, runs by interpreting bytecode - for a register-based virtual machine, and has automatic memory - management with incremental garbage collection, making it ideal - for configuration, scripting, and rapid prototyping. - ''; - license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.linux; - branch = "4"; - }; -} diff --git a/pkgs/development/interpreters/lua-5/5.0.3.nix b/pkgs/development/interpreters/lua-5/5.0.3.nix deleted file mode 100644 index d343ec6c63b1..000000000000 --- a/pkgs/development/interpreters/lua-5/5.0.3.nix +++ /dev/null @@ -1,32 +0,0 @@ -{stdenv, fetchurl}: - -stdenv.mkDerivation { - name = "lua-5.0.3"; - - src = fetchurl { - url = https://www.lua.org/ftp/lua-5.0.3.tar.gz; - sha256 = "1193a61b0e08acaa6eee0eecf29709179ee49c71baebc59b682a25c3b5a45671"; - }; - - hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector"; - - configurePhase = "sed -i -e 's/MYCFLAGS=.*/MYCFLAGS=-O3 -fomit-frame-pointer -fPIC/' config"; - buildFlags = "all so sobin"; - installFlags = "INSTALL_ROOT=$$out"; - installTargets = "install soinstall"; - - meta = { - homepage = http://www.lua.org; - description = "Powerful, fast, lightweight, embeddable scripting language"; - longDescription = '' - Lua combines simple procedural syntax with powerful data - description constructs based on associative arrays and extensible - semantics. Lua is dynamically typed, runs by interpreting bytecode - for a register-based virtual machine, and has automatic memory - management with incremental garbage collection, making it ideal - for configuration, scripting, and rapid prototyping. - ''; - license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.linux; - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ad0625a66091..c6448a0b4bd6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7501,8 +7501,6 @@ with pkgs; ### LUA MODULES - lua4 = callPackage ../development/interpreters/lua-4 { }; - lua5_0 = callPackage ../development/interpreters/lua-5/5.0.3.nix { }; lua5_1 = callPackage ../development/interpreters/lua-5/5.1.nix { }; lua5_2 = callPackage ../development/interpreters/lua-5/5.2.nix { }; lua5_2_compat = callPackage ../development/interpreters/lua-5/5.2.nix { -- cgit 1.4.1