Remove cftp entirely, zomg!

Did you know if you're at the top of a directory listing and press up,
it segfaults immediately, leaving your terminal in a modified state
without a visible cursor, forcing you to know how to fix that kind of
broken terminal state with stty, tput, and/or reset?  Yes!

It is at version 0.12 and it was last touched in 2002.  It has no
manpage, no help screen, and the wrong keypress causes it to randomly
die badly.  This is not a "user friendly" program.  If you want ftp with
arrow keys, use lynx!

We're no longer installing this pile of alpha-quality abandonware.
Don't like it?  Make something good or adopt this program and fix its
bugs, then talk to me.  I just can't justify this thing.
This commit is contained in:
T. Joseph Carter 2018-04-30 18:01:41 -07:00
parent 41f829e4dd
commit 238db84c78

View File

@ -56,37 +56,6 @@ install_ftp() {
fi
}
install_cftp() {
if ! hash cftp 2> /dev/null; then
### CommTools: Install cftp
echo "A2CLOUD: Installing cftp..."
local cftpWork="$(mktemp -d /tmp/nulib.XXXXXXXXXXXX)"
pushd "$cftpWork" >/dev/null
if [[ $downloadBinaries ]]; then
wget -qO- "${a2cBinaryURL}/picopkg/cftp-${ras2_os}_${ras2_arch}.tgz" | sudo tar Pzx
fi
if ! hash cftp 2> /dev/null; then
sudo apt-get -y install build-essential
sudo apt-get -y install ncurses-dev
sudo apt-get -y clean
wget -q -O cftp-0.12.tar.gz http://nih.at/cftp/cftp-0.12.tar.gz
tar zxf cftp-0.12.tar.gz
cd cftp-0.12
./configure
make
sudo make install
fi
popd >/dev/null
rm -rf "$cftpWork"
else
echo "A2CLOUD: cftp is already installed."
fi
}
install_lftp() {
if ! hash lftp 2> /dev/null; then
echo "a2cloud: Installing lftp..."
@ -256,7 +225,6 @@ fi
install_curl
install_lrzsz
install_ftp
install_cftp
install_lftp
install_mc
install_lynx