# curlftpfs/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. The source tarball used by this package has been renamed.

#---------------------------------------------------------------------

2. Warning:  "cd" commands in "curlftpfs" may be very slow.  "ls" com-
mands may be a bit faster.

#---------------------------------------------------------------------

3. Additionally, "curlftpfs" releases are often prone to glitches. Ex-
amples:

"curlftpfs"  release 0.8 has a bug that causes lock-ups.  Releases 0.7
and 0.9.1 don't seem to have the bug.

"curlftpfs" 0.7 and 0.9.1 aren't compatible with "curl" 7.16.3. Speci-
fically, if "curl" 7.16.3 is used, "curlftpfs" aborts when "write" op-
erations are  done.  It's not clear if the problem is on "curlftpfs's"
side or "curl's" side.

"curl" 7.17.1 and "curlftpfs" 0.9.1  have been  tested together.  This
combination doesn't demonstrate the "write" problem, but it produces a
different problem  (specifically, intermittent "Permission denied" er-
rors).

If you use "curl" 7.18.2 with "curlftpfs" 0.9.1, "curlftpfs" hangs for
a long time  after it's started.  Additionally, the intermittent "Per-
mission denied" messages still occur.

Resolution:

If  "curl" 7.19.2 or above is used with  "curlftpfs" SVN-0102,  "read"
operations seem to work correctly. "Write" operations don't work,  but
a patch has been constructed.

Note:  The patch isn't perfect.  For example, "cp" commands applied to
a  "curlftpfs"-mounted  filesystem may produce  "File not found" error
messages with  respect to the target  pathname whether or the commands
are successful.

#---------------------------------------------------------------------

4. Sample commands.

To mount an anonymous-FTP site:

      mkdir -p localdir
      curlftpfs ftp://ftp.sunet.se/ localdir
      cd localdir
      ls -l

To mount a private FTP site:

      mkdir -p localdir
      curlftpfs -o user=NAME:PASSWORD ftp://FTPSITE/ localdir
      cd localdir
      ls -l

      # Replace NAME and PASSWORD with account name and password
      # Replace FTPSITE with the appropriate server hostname

To unmount a site:

      fusermount -u localdir
or
      umount localdir

#---------------------------------------------------------------------

[buildtimes]

00.01 hours (or 000.42 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.01 hours (or 000.48 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.02 hours (or 001.00 minutes) - Toshiba Satellite C655 E-300 CPU 4GB
                                  RAM

#---------------------------------------------------------------------

[settings]
amtoac   = yes                  # "actools"-related fix
build    = default
exepack  = yes
fortran  = disabled
license  = See "license*.txt" in installed tree
licfile  = COPYING
pathmax  = yes

dontfind = fuse310
setpaths = fuse209 gtkcore
tmpsize  = 6M

#---------------------------------------------------------------------

[depends]
curl
fusecore
gawk
glib20
grep
gtkcore
openssl
pkgconf
sed

#---------------------------------------------------------------------

[configure]
MANBASE=$PKGDIR_PROD/man
mkdir -p $MANBASE

#if [ ! -f ./configure ]; then
#    aclocal -I .
#    autoheader
#    libtoolize  --automake --copy
#    automake --add-missing --copy
#    autoconf
#fi

autoreconf -fi

bash ./configure \
    --prefix=$PKGDIR_PROD          \
    --build=$LACARCHBUILD          \
    --host=$LACARCHHOST            \
    --disable-dependency-tracking  \
    --enable-shared=yes            \
    --enable-static=no             \
    --mandir=$MANBASE

#---------------------------------------------------------------------

# Original URLs. These URLs were valid at one point, but may have died
# since then. If you download newer versions of tarballs [etc.], don't
# delete  the  original versions,  as you may not  be able  to replace
# them.

[urls]
url_debian  = http://packages.debian.org/unstable/source/curlftpfs
url_home    = http://curlftpfs.sourceforge.net/
url_lfs     = n/a

url_tarball = http://deb.debian.org/debian/pool/main/c/\
curlftpfs/curlftpfs_0.9.2.orig.tar.gz

#---------------------------------------------------------------------

[history]
210702 Added Debian patches