sharutils: 4.11.1 -> 4.15.2 (#24305)

authored by ndowens and committed by Vladimír Čunát d455cdd3 b83d2970

+8 -14
+8 -14
pkgs/tools/archivers/sharutils/default.nix
··· 1 { stdenv, fetchurl, gettext, coreutils }: 2 3 stdenv.mkDerivation rec { 4 - name = "sharutils-4.11.1"; 5 6 src = fetchurl { 7 - url = "mirror://gnu/sharutils/${name}.tar.bz2"; 8 - sha256 = "1mallg1gprimlggdisfzdmh1xi676jsfdlfyvanlcw72ny8fsj3g"; 9 }; 10 11 hardeningDisable = [ "format" ]; 12 13 - preConfigure = '' 14 - # Fix for building on Glibc 2.16. Won't be needed once the 15 - # gnulib in sharutils is updated. 16 - sed -i ${stdenv.lib.optionalString (stdenv.isOpenBSD && stdenv.cc.nativeTools) "''"} '/gets is a security hole/d' lib/stdio.in.h 17 - ''; 18 - 19 # GNU Gettext is needed on non-GNU platforms. 20 - buildInputs = [ gettext coreutils ]; 21 22 doCheck = true; 23 ··· 25 patches = [ ./sharutils-4.11.1-cross-binary-mode-popen.patch ]; 26 }; 27 28 - meta = { 29 description = "Tools for remote synchronization and `shell archives'"; 30 longDescription = 31 '' GNU shar makes so-called shell archives out of many files, preparing ··· 44 concatenated shell archives. 45 ''; 46 homepage = http://www.gnu.org/software/sharutils/; 47 - license = stdenv.lib.licenses.gpl3Plus; 48 - maintainers = [ ]; 49 - platforms = stdenv.lib.platforms.all; 50 }; 51 }
··· 1 { stdenv, fetchurl, gettext, coreutils }: 2 3 stdenv.mkDerivation rec { 4 + name = "sharutils-4.15.2"; 5 6 src = fetchurl { 7 + url = "mirror://gnu/sharutils/${name}.tar.xz"; 8 + sha256 = "16isapn8f39lnffc3dp4dan05b7x6mnc76v6q5nn8ysxvvvwy19b"; 9 }; 10 11 hardeningDisable = [ "format" ]; 12 13 # GNU Gettext is needed on non-GNU platforms. 14 + buildInputs = [ coreutils gettext ]; 15 16 doCheck = true; 17 ··· 19 patches = [ ./sharutils-4.11.1-cross-binary-mode-popen.patch ]; 20 }; 21 22 + meta = with stdenv.lib; { 23 description = "Tools for remote synchronization and `shell archives'"; 24 longDescription = 25 '' GNU shar makes so-called shell archives out of many files, preparing ··· 38 concatenated shell archives. 39 ''; 40 homepage = http://www.gnu.org/software/sharutils/; 41 + license = licenses.gpl3Plus; 42 + maintainers = [ maintainers.ndowens ]; 43 + platforms = platforms.all; 44 }; 45 }