Hamachi

Tłumaczenie
Opis po angielsku

<title>Hamachi</title>
  <description>Instant, Zero Configuration VPN</description>
  <info>
<![CDATA[
Hamachi is a console-based centrally-managed zero-configuration virtual private networking (VPN) freeware 
application capable of establishing direct links between computers that are behind NAT firewalls 
without requiring reconfiguration (in most cases); in other words, it establishes a connection 
over the Internet, to create conditions very similar to that as if the computers were physically 
connected.<br></br><br></br>
  When installed, all information on how to configure and run <b>Hamachi</b> can be found in the 
  <a href="http://getautomatix.com/wiki/index.php?title=Hamachi_configuration_and_usage">Automatix wiki</a> ]]>

Opis po polsku

Skrypt instalujący
function hamachiinstall {
if cat /proc/cpuinfo | egrep "AMD"
then
    sleep 1;
    dpkg_check
    rm -f $AXHOME/hamachi-0.9.9.9-20-lnx-pentium.tar.gz
    if ! sudo apt-get --assume-yes install build-essential libssl0.9.7 libssl0.9.8
    then
        AX_fatal "An apt-based error occurred and installation was unsuccessful";
    fi
    dir_ch
    rm -rf $AXHOME/hamachi-0.9.9.9-20-lnx-pentium
    sleep 1
    if ! wget http://files.hamachi.cc/linux/hamachi-0.9.9.9-20-lnx-pentium.tar.gz
    then 
        AX_fatal "The installation failed because the Hamachi binaries could not be downloaded";
    else
        dir_ch
        tar xvzf $AXHOME/hamachi-0.9.9.9-20-lnx-pentium.tar.gz
        cd  $AXHOME/hamachi-0.9.9.9-20-lnx-pentium
        sudo make install
    fi
    sudo /sbin/tuncfg
    sudo rm -f $AXHOME/hamachi-0.9.9.9-20-lnx-pentium.tar.gz
    sudo rm -rf $AXHOME/hamachi-0.9.9.9-20-lnx
elif cat /proc/cpuinfo | egrep "GenuineIntel"
    then
    sleep 1;
    dpkg_check
    rm -f $AXHOME/hamachi-0.9.9.9-20-lnx-pentium.tar.gz
    if ! sudo apt-get --assume-yes install build-essential libssl0.9.7 libssl0.9.8
    then
        AX_fatal "An apt-based error occurred and installation was unsuccessful";
    fi
    dir_ch
    rm -rf $AXHOME/hamachi-0.9.9.9-20-lnx
    sleep 1
    if ! wget http://files.hamachi.cc/linux/hamachi-0.9.9.9-20-lnx.tar.gz
    then 
        AX_fatal "The installation failed because the Hamachi binaries could not be downloaded";
    else
        dir_ch
        tar xvzf $AXHOME/hamachi-0.9.9.9-20-lnx.tar.gz
        cd  $AXHOME/hamachi-0.9.9.9-20-lnx
        sudo make install
    fi
    sudo /sbin/tuncfg
    sudo rm -f $AXHOME/hamachi-0.9.9.9-20-lnx.tar.gz
    sudo rm -rf $AXHOME/hamachi-0.9.9.9-20-lnx
    AX_info "Every time you restart your computer, you would need to run 'sudo tuncfg' before running 'hamachi' if you do not add it to startup. For more instructions on how to run and configure Hamachi, please click on the link in the Hamachi information box on the Edumatix main interface";
else
    AX_fatal "Hamachi does not seem to support your cpu. You could try a manual installation.";
fi

}

Skrypt usuwający
function hamachiremove {
sudo rm -f /sbin/tuncfg
sudo rm -f /usr/bin/hamachi-init
sudo rm -f /usr/bin/hamachi
}

Brakuje informacji o dystrybucji, mimo iż pada podejrzenie na ubuntu lub inne jego pochodne…
Dla slackware np. nie potrzeba "sudo". Co więcej, jeśli nie zostało skonfigurowane to nie zadziała.
ogólnie tekst na 3=

O ile nie zaznaczono inaczej, treść tej strony objęta jest licencją Creative Commons Attribution-NonCommercial 3.0 License