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 1 { stdenv, fetchurl, gettext, coreutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "sharutils-4.11.1"; 4 + name = "sharutils-4.15.2"; 5 5 6 6 src = fetchurl { 7 - url = "mirror://gnu/sharutils/${name}.tar.bz2"; 8 - sha256 = "1mallg1gprimlggdisfzdmh1xi676jsfdlfyvanlcw72ny8fsj3g"; 7 + url = "mirror://gnu/sharutils/${name}.tar.xz"; 8 + sha256 = "16isapn8f39lnffc3dp4dan05b7x6mnc76v6q5nn8ysxvvvwy19b"; 9 9 }; 10 10 11 11 hardeningDisable = [ "format" ]; 12 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 13 # GNU Gettext is needed on non-GNU platforms. 20 - buildInputs = [ gettext coreutils ]; 14 + buildInputs = [ coreutils gettext ]; 21 15 22 16 doCheck = true; 23 17 ··· 25 19 patches = [ ./sharutils-4.11.1-cross-binary-mode-popen.patch ]; 26 20 }; 27 21 28 - meta = { 22 + meta = with stdenv.lib; { 29 23 description = "Tools for remote synchronization and `shell archives'"; 30 24 longDescription = 31 25 '' GNU shar makes so-called shell archives out of many files, preparing ··· 44 38 concatenated shell archives. 45 39 ''; 46 40 homepage = http://www.gnu.org/software/sharutils/; 47 - license = stdenv.lib.licenses.gpl3Plus; 48 - maintainers = [ ]; 49 - platforms = stdenv.lib.platforms.all; 41 + license = licenses.gpl3Plus; 42 + maintainers = [ maintainers.ndowens ]; 43 + platforms = platforms.all; 50 44 }; 51 45 }