milis/talimatname/genel/s/sshuttle/talimat

29 lines
716 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: tcp paketleri ssh üzerinde yönlendiren şeffaf vekil sunucu
2017-06-18 00:51:26 +02:00
# URL: https://github.com/sshuttle/sshuttle
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: python3 python3-setuptools iptables net-tools libffi
2017-06-18 00:51:26 +02:00
name=sshuttle
hesap=sshuttle
version=0.78.2
release=1.0
source=(prefixes.conf
tunnel.conf)
build() {
if [ ! -d $DERLEME_KAYNAKDIZIN/$name ];then
git clone https://github.com/$hesap/$name $DERLEME_KAYNAKDIZIN/$name
else
cd $DERLEME_KAYNAKDIZIN/$name
git pull
cd -
fi
cp -r $DERLEME_KAYNAKDIZIN/$name $SRC/
cd $SRC/$name
python3 setup.py build
python3 setup.py install --root="$PKG" -O1
install -d "$PKG/etc/sshuttle"
install -m644 "$SRC"/{tunnel.conf,prefixes.conf} "$PKG/etc/sshuttle"
}