Comment 10 for bug 366073

Revision history for this message
mabawsa (mabawsa) wrote :

This is an important bug as it basically stops FTP functionality in Ubuntu!
Anyway, here are the compile options I used to get FTP working:
sudo apt-get build-dep gvfs
apt-get source gvfs
tar -xzvf gvfs_1.2.2.orig.tar.gz
rm gvfs_1.2.2.orig.tar.gz
rm gvfs_1.2.2-0ubuntu2*
sed 's/ftp_connection_send (conn, 0, "OPTS UTF8 ON");/ftp_connection_send (conn, RESPONSE_PASS_500, "OPTS UTF8 ON");/' gvfs-1.2.2/daemon/gvfsbackendftp.c > /tmp/gvfsbackendftp.c
mv /tmp/gvfsbackendftp.c gvfs-1.2.2/daemon/gvfsbackendftp.c
cd gvfs-1.2.2/
./configure
make
sudo make install

I want to put this on a ppa so I tried pbuilder https://wiki.ubuntu.com/PbuilderHowto.
However it all got a bit greasy so if anybody can point me to a tutorial on how to create these multiple debs from one source I will try again.

For now I have FTP capabilities again in Jaunty.