ntfs3g: remove obsolete CVE-2017-0358 patch

* ntfs-3g: remove patch as it been fixed  (#60697)

* ntfs3g: fetchpatch is unused
This commit is contained in:
Markus Schmidl 2019-05-02 16:30:58 +02:00 committed by Renaud
parent 676d292cef
commit 3e5a0bea6e

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, fetchpatch, utillinux, libuuid
{stdenv, fetchurl, utillinux, libuuid
, crypto ? false, libgcrypt, gnutls, pkgconfig}:
stdenv.mkDerivation rec {
@ -12,17 +12,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = stdenv.lib.optional crypto pkgconfig;
src = fetchurl {
url = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${version}.tgz";
url = "https://tuxera.com/opensource/ntfs-3g_ntfsprogs-${version}.tgz";
sha256 = "1mb228p80hv97pgk3myyvgp975r9mxq56c6bdn1n24kngcfh4niy";
};
patches = [
(fetchpatch {
url = "https://sources.debian.org/data/main/n/ntfs-3g/1:2016.2.22AR.1+dfsg-1/debian/patches/0003-CVE-2017-0358.patch";
sha256 = "0hd05q9q06r18k8pmppvch1sslzqln5fvqj51d5r72g4mnpavpj3";
})
];
patchPhase = ''
substituteInPlace src/Makefile.in --replace /sbin '@sbindir@'
substituteInPlace ntfsprogs/Makefile.in --replace /sbin '@sbindir@'