Update to rtorrent 0.9.6 / libtorrent 0.13.6
This commit is contained in:
@@ -17,7 +17,14 @@ fi
|
|||||||
|
|
||||||
# Install sources
|
# Install sources
|
||||||
if [ "$debian_version" = "jessie" ]; then
|
if [ "$debian_version" = "jessie" ]; then
|
||||||
sudo apt-get install -y deb-multimedia-keyring
|
cd /tmp
|
||||||
|
wget http://www.deb-multimedia.org/pool/main/d/deb-multimedia-keyring/deb-multimedia-keyring_2015.6.1_all.deb
|
||||||
|
sudo dpkg -i deb-multimedia-keyring_2015.6.1_all.deb
|
||||||
|
|
||||||
|
if [ -f /etc/apt/sources.list.d/rutorrent.list ]; then
|
||||||
|
sudo rm /etc/apt/sources.list.d/rutorrent.list
|
||||||
|
fi
|
||||||
|
|
||||||
echo 'deb http://ftp2.fr.debian.org/debian/ jessie main non-free' | sudo tee -a /etc/apt/sources.list.d/rutorrent.list
|
echo 'deb http://ftp2.fr.debian.org/debian/ jessie main non-free' | sudo tee -a /etc/apt/sources.list.d/rutorrent.list
|
||||||
echo 'deb-src http://ftp2.fr.debian.org/debian/ jessie main non-free' | sudo tee -a /etc/apt/sources.list.d/rutorrent.list
|
echo 'deb-src http://ftp2.fr.debian.org/debian/ jessie main non-free' | sudo tee -a /etc/apt/sources.list.d/rutorrent.list
|
||||||
echo 'deb ftp://ftp.deb-multimedia.org jessie main non-free' | sudo tee -a /etc/apt/sources.list.d/rutorrent.list
|
echo 'deb ftp://ftp.deb-multimedia.org jessie main non-free' | sudo tee -a /etc/apt/sources.list.d/rutorrent.list
|
||||||
@@ -42,7 +49,7 @@ sudo make install
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
sudo git clone https://github.com/rakshasa/libtorrent.git
|
sudo git clone https://github.com/rakshasa/libtorrent.git
|
||||||
cd libtorrent
|
cd libtorrent
|
||||||
sudo git checkout 0.13.4
|
sudo git checkout 0.13.6
|
||||||
sudo ./autogen.sh
|
sudo ./autogen.sh
|
||||||
sudo ./configure
|
sudo ./configure
|
||||||
sudo make
|
sudo make
|
||||||
@@ -52,7 +59,7 @@ sudo make install
|
|||||||
cd /tmp
|
cd /tmp
|
||||||
sudo git clone https://github.com/rakshasa/rtorrent.git
|
sudo git clone https://github.com/rakshasa/rtorrent.git
|
||||||
cd rtorrent
|
cd rtorrent
|
||||||
sudo git checkout 0.9.4
|
sudo git checkout 0.9.6
|
||||||
sudo ./autogen.sh
|
sudo ./autogen.sh
|
||||||
sudo ./configure --with-xmlrpc-c
|
sudo ./configure --with-xmlrpc-c
|
||||||
sudo make
|
sudo make
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo service rtorrent stop
|
||||||
|
|
||||||
|
# Build libtorrent
|
||||||
|
cd /tmp
|
||||||
|
sudo git clone https://github.com/rakshasa/libtorrent.git
|
||||||
|
cd libtorrent
|
||||||
|
sudo git checkout 0.13.6
|
||||||
|
sudo ./autogen.sh
|
||||||
|
sudo ./configure
|
||||||
|
sudo make
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
# Build rtorrent
|
||||||
|
cd /tmp
|
||||||
|
sudo git clone https://github.com/rakshasa/rtorrent.git
|
||||||
|
cd rtorrent
|
||||||
|
sudo git checkout 0.9.6
|
||||||
|
sudo ./autogen.sh
|
||||||
|
sudo ./configure --with-xmlrpc-c
|
||||||
|
sudo make
|
||||||
|
sudo make install
|
||||||
|
|
||||||
|
sudo service rtorrent start
|
||||||
|
|||||||
Reference in New Issue
Block a user