From 15b96a83e6b651234054aad58a46392129dc3e79 Mon Sep 17 00:00:00 2001 From: "Douglas R. Reno" Date: Sun, 5 Feb 2017 21:27:47 +0000 Subject: [PATCH] Add ntfs-3g security patch git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18259 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- introduction/welcome/changelog.xml | 4 ++++ postlfs/filesystems/ntfs-3g.xml | 19 ++++++++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 888fbeb87b..90377565f8 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -45,6 +45,10 @@ February 5th, 2017 + + [renodr] - Add a security patch from upstream to ntfs-3g. Fixes + #8851. + [bdubbs] - Update to shadow-4.4. diff --git a/postlfs/filesystems/ntfs-3g.xml b/postlfs/filesystems/ntfs-3g.xml index f7816f7a53..9dc24d364d 100644 --- a/postlfs/filesystems/ntfs-3g.xml +++ b/postlfs/filesystems/ntfs-3g.xml @@ -78,6 +78,16 @@ + Additional Downloads + + + + Required patch: + + + + + Ntfs-3g Dependencies Recommended @@ -114,7 +124,8 @@ commands: -./configure --prefix=/usr --disable-static --with-fuse=external && +patch -Np1 -i ../ntfs-3g-&ntfs-3g-version;-security_fix-1.patch && +./configure --prefix=/usr --disable-static --with-fuse=external && make @@ -146,6 +157,12 @@ ln -sv ntfs-3g.8 /usr/share/man/man8/mount.ntfs.8 + + patch -Np1 -i ...: This command applies a security + patch from upstream to fix ntfs-3g on systems that use setuid for the + executable. + + --with-fuse=external: This switch dynamically links lowntfs-3g and ntfs-3g to