RE: ssh 2 for Potato?
> From: Juliusz Chroboczek [mailto:jch@pps.jussieu.fr]
>
> Anyone got a trusted source for a packaged ssh 2 for Potato?
Try:
------------
#!/bin/sh
# openssl.sh
# http://www.openssl.org/source/
VER=0.9.6
APP=openssl
DIR=$APP-$VER
FILE=$APP.tar.gz
URL=http://www.openssl.org/source/$FILE
if [ ! -f $FILE ]; then
wget $URL
if [ ! -f $FILE ]; then
exit $?
fi
fi
if [ ! -d $DIR ]; then
tar xvzf $FILE
if [ ! -d $DIR ]; then
exit $?
fi
fi
if [ -d $APP ]; then
rm $APP
fi
ln -s $DIR $APP
cd $APP
./config -fPIC && \
make && \
make install
------------
and then:
------------
#!/bin/sh
# openssh.sh
# http://www.openssh.org/portable.html
VER=2.5.1p2
APP=openssh
DIR=$APP-$VER
FILE=$DIR.tar.gz
URL=ftp://download.sourceforge.net/pub/mirrors/OpenBSD/OpenSSH/portable/$FILE
if [ ! -f $FILE ]; then
wget $URL
if [ ! -f $FILE ]; then
exit $?
fi
fi
if [ ! -d $DIR ]; then
tar xvzf $FILE
if [ ! -d $DIR ]; then
exit $?
fi
fi
if [ -d $APP ]; then
rm $APP
fi
ln -s $DIR $APP
cd $APP
CFLAGS="-O6 -mcpu=pentiumpro" \
CXXFLAGS="-O6 -mcpu=pentiumpro" \
./configure &&\
make
make install
------------
Of course, there's probably a package around that would be alot easier.
Reply to: