git.iko.soy/typeable/nixpkgs
on master help sign in
lftp: 4.6.1 -> 4.6.3a
commit7aa425e541d37edd155cbb6992a9978eae3ac1d2 authorWilliam A. Kennington III <william@wkennington.com> dateThu 18 Jun 2015, 21:39 (11 years ago) parent14792f1
2 files changed+2−19
pkgs/tools/networking/lftp/default.nix+2−4 pkgs/tools/networking/lftp/no-gets.patch−15
pkgs/tools/networking/lftp/default.nix+2−4
@@ -1,18 +1,16 @@
11{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib }:
22
33stdenv.mkDerivation rec {
4− name = "lftp-4.6.1";
4+ name = "lftp-4.6.3a";
55
66 src = fetchurl {
77 urls = [
88 "http://lftp.yar.ru/ftp/${name}.tar.bz2"
99 "http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
1010 ];
11− sha256 = "0w9nb24abqlnjzi30q8s0yv3h0zjxhynliyxwdgnrv0qag0k401s";
11+ sha256 = "0846p1z5v997lxaqanj8n1qkv470s8nlhs420kiby67k4j2zl576";
1212 };
1313
14− patches = [ ./no-gets.patch ];
15−
1614 buildInputs = [ gnutls pkgconfig readline zlib ];
1715
1816 meta = with stdenv.lib; {
pkgs/tools/networking/lftp/no-gets.patchdeleted−15
@@ -1,15 +0,0 @@
1−--- a/lib/stdio.in.h
2−+++ b/lib/stdio.in.h
3−@@ -702,10 +702,12 @@
4− /* It is very rare that the developer ever has full control of stdin,
5− so any use of gets warrants an unconditional warning; besides, C11
6− removed it. */
7−+#ifdef gets
8− #undef gets
9− #if HAVE_RAW_DECL_GETS
10− _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
11− #endif
12−+#endif
13−
14−
15− #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@