diff options
Diffstat (limited to 'system/curlftpfs/curlftpfs.SlackBuild')
-rw-r--r-- | system/curlftpfs/curlftpfs.SlackBuild | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/system/curlftpfs/curlftpfs.SlackBuild b/system/curlftpfs/curlftpfs.SlackBuild index a9bc8c18f4..8d3fd9e58e 100644 --- a/system/curlftpfs/curlftpfs.SlackBuild +++ b/system/curlftpfs/curlftpfs.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for curlftpfs -# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2022 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=curlftpfs VERSION=${VERSION:-0.9.2} -BUILD=${BUILD:-2} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,6 +79,34 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ +# Apply patch from Gentoo + +# https://sourceforge.net/p/curlftpfs/bugs/65/ +# May also fix these: +# https://sourceforge.net/p/curlftpfs/bugs/34/ +# https://sourceforge.net/p/curlftpfs/bugs/74/ +patch -p1 -i $CWD/patches/curlftpfs-0.9.2-fix-escaping.patch + +# Apply patches from Fedora + +# https://bugzilla.redhat.com/show_bug.cgi?id=962015 +patch -p1 -i $CWD/patches/curlftpfs-0.9.2-create-fix.patch + +# https://sourceforge.net/p/curlftpfs/bugs/52/ +patch -p1 -i $CWD/patches/curlftpfs-0.9.2-memleak-591298.patch + +# https://sourceforge.net/p/curlftpfs/bugs/58/ +patch -p1 -i $CWD/patches/curlftpfs-0.9.2-memleak-cached-591299.patch + +# https://sourceforge.net/p/curlftpfs/bugs/50/ +patch -p1 -i $CWD/patches/curlftpfs-0.9.2-offset_64_another.patch + +# Apply patch from Arch + +# https://bugs.archlinux.org/task/47906 +# https://sourceforge.net/p/curlftpfs/bugs/67/ +patch -p1 -i $CWD/patches/no-verify-hostname.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |