diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2022-07-03 16:40:52 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 10:06:22 +0700 |
commit | aadbdc2d708c44ef2614672ae58777fca6cf3bb5 (patch) | |
tree | 9fe09a8ec8bf3d086ecb072ea2a6ba039ea1ac8a /system/curlftpfs/curlftpfs.SlackBuild | |
parent | 39a47007383ae4c3a8b9ba92006298e5157c4c3b (diff) |
system/curlftpfs: Add patches from other distros
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \ |