Comment 27 for bug 1160372

Revision history for this message
Vincent DAVY (vincentdavy) wrote :

Hi all,

Previous messages were sent too fast and I didn't find a way to remove them.
I posted the patched version of vsftpd in both 34 and 32 bits arch : please feel free to download.

Don't forget to remove the previous installed version on your system or dpkg will tell you that the package is already installed :
sudo apt-get remove vsftpd
sudo dpkg -i vsftpd_patched.deb

That's all, and it doesn't remove config files.

If you prefer to compile your own version, here is the procedure :
mkdir vsftpd-patched
cd vsftpd-patched
sudo apt-get build-dep vsftpd
sudo apt-get install fakeroot
apt-get source vsftpd
--> Go on https://build.opensuse.org/package/view_file?file=vsftpd-drop-newpid-from-clone.patch&package=vsftpd&project=openSUSE%3AFactory&rev=3ed24d12e1827ea673331e213ab3d477 and copy/paste the patch in a file (assuming in vsftpd-drop-newpid-from-clone.patch for the rest of this tutorial)
patch -p0 < vsftpd-drop-newpid-from-clone.patch
cd vsftpd-3.0.2/
dpkg-buildpackage -us -uc -nc
cd ../

You'll get the compiled .deb in the directory.
Remove previous installed version of vsftpd on your system and install the brand new patched one.
sudo apt-get remove vsftpd
sudo dpkg -i vsftpd_patched.deb

You can remove the directory where you built the package after installation.