Version 4.0 * change libcurl3-openssl-dev to libcurl4-openssl-dev * some cosmetic changes with apt-get * move dumptorrent from git release to git clone repository back again * remove the parameter "--must-staple" from certbot since it's not supported anymore ---------------------------------------------------------------- Version 3.9 * modify dumptorrent installation to install it with ruTorrent versions above and equally 5 not explizit 5 * add openssh-server to the list of packages that need to be installed since Ubuntu, Linux Mint and other comes without it in the standard installation and this script needs it if you add a seperate user for rtorrent * add option to remove unused ruTorrent versions * add parameter introduced with rtorrent 0.15.4 to rtorrent.rc * adopt changes in the config template of .rtorrent.rc ---------------------------------------------------------------- Version 3.8 * remove last stderr messages from screen when remove installation * moved complete to logname to detect the current activ user * drop support for rtorrent 0.9.6 and older * cleanup rtorrent install function * add ruby gems to the uninstall function ---------------------------------------------------------------- Version 3.7 * fix an issue with Ubuntu, who 9.5 changed working the response to "who -m" is empty now workaraound for empty output with "logname" ---------------------------------------------------------------- Version 3.6 * drop support for ruTorrent v3.8 and Debian 9 Stretch * cleanup ruTorrent and rearrange the script part of it * bring back IP localisation in the form of geoip2 ---------------------------------------------------------------- Version 3.5 * adopt changed config.php file introduced with ruTorrent v5.2.0 * put dumptorrent install into silence ---------------------------------------------------------------- Version 3.4 * move dumptorrent from git clone repository to git release download adapt build process to deb package and install * fix a bug with the non-free-firmware repository in connection with unrar, removed the non-free-firmware repository * rearrange the Menu from the unrar-free to unrar-nonfree version change. Even if it is part of the repository the switch can be abort as well ---------------------------------------------------------------- Version 3.3 * update dumptorrent to new git repository and build process changend since ruTorrent v5.1.7 ---------------------------------------------------------------- Version 3.2 * remove rtorrent v0.15.2 from the list due to compiling issues * add seperate Script to compile directly from git branch can be choosen: librtorrent-install-from-git.bash ---------------------------------------------------------------- Version 3.1 * fix softlink to rtorrent users homedir, since debian looks for the ownership * add support for compiling newer rtorrent versions v0.9.8 and above and updating rtorrent or just use the repository vesion * rtorrent v0.9.7 is excepted for many reasons https://github.com/rakshasa/rtorrent/issues/741 ---------------------------------------------------------------- Version 3.0 * add support for dumptorrent, since rutorrent v5.x * add Group in rtorrent.service ---------------------------------------------------------------- Version 2.9 * add option to change the rtorrent-deamon user inside the script, can deactivate on top of the script ---------------------------------------------------------------- Version 2.8 * fix Add PHP extension warnings for dom and libxml add php-xml to apache2 installation ---------------------------------------------------------------- Version 2.7 * fix typo from the rtorrent user ---------------------------------------------------------------- Version 2.6 * Correcting sed string since delimiter not working correctly not meant strings also changed * Add mbstring for PHP to the Remove routine ---------------------------------------------------------------- Version 2.5 * Add mbstring for PHP to Apache2 installation #2565 * Change systemd stop from SIGTERM to SIGINT * Change deamon-user creation Linux Mint uses different adduser version remove --allow-bad-names and add --no-create-home because it creates an home even if set to use --system * Since php-geoip is outdated last shipped with php7.4 and php-geoip2 needs registration the geoip plugin is deactivated ---------------------------------------------------------------- Version 2.4 * Repair "SOFTLINK_TO_HOMEDIR" function * Fix "Installation Summery" function * Undo double use of varables * Rewrite "Edit rtorrent.rc" function to get back to overview after change rtorrent basedir so if the user changes the rtorrent basedir he did not hit the next step * Merge "Edit rtorrent.rc" into "Edit rtorrent.rc/Move rtorrent basedir" allows to move rtorrent basedir as well * Fix and expand rtorrent.service for rtorrent-deamon based installations * Add option to change the rtorrent user * Remove unused functions from script file * Move and rename some Menu options * Change changelog dimension ---------------------------------------------------------------- Version 2.3 * Bugfix apache2 needs restart when www-data is added to rtorrent group, cause added groups need a refreshing, that only works after an relogin of the user (also needed for the rtorrent user if the user is the active on) * Synchronize sleep times (time to read messages) inside script ---------------------------------------------------------------- Version 2.2 (modified user management, true daemon-mode) * Minor text fixes * Shifting some variables around * Cleaned some functions * Move rtorrent to a exclusiv system user to run with and create a group for all rtorrent needed users in favor of this benefit set higher folder und file restrictions now the given user only gets a softlink and rights with adding to the group to access the rtorrent folders * Move rtorrent.rc to the rtorrent basedir * Modified rtorrent.service for relocated .rtorrent.rc * Re-arranged Installation Summery ---------------------------------------------------------------- Version 2.1 * Minor text fixes * Add folders /load and /start in the rtorrent.rc dialog window * For XMLRPC choose HTTPrpc instead of rpc and deactivate rpc on this decision both are activ to this point of time ---------------------------------------------------------------- Version 2.0 * Fix some comments inside the script * Exclude folder from find inside Remove function for more silence * Add option to show the "Remove Log" from the menu after removing the installation * Fix some dialog boxes from "Enable/Renew SSL for VHost" * Hardening "Enable/Renew SSL for VHost" function to prevent cross encryption between Self Signed and Let's Encrypted URLs * Exclude Let's Encrypt certificate generation from dialog boxes so if: "You have an existing certificate that has exactly the same domains or certificat name you requested and isn't close to expiry." Let's Encrypt needs input * Undo "Change sort order in Change VHost" cause a bug ---------------------------------------------------------------- Version 1.9 * Add option to switch from unrar-free to unrar-nonfree, add repository if needed. Advanced features of version 3.0 archives are not supported with unrar-free. Not everyone wants non-free software on his linux this is optional * Fix some dialog boxes * Add some information to README.md * Differentiation between Raspbian and Raspberry Pi OS * Struct some variables new in the script header ---------------------------------------------------------------- Version 1.8 * Minor text fixes * Correct shown command in "Add User to WebAuth" * Correct WebAuth messagebox size after user is created * Correct uninstall of cloudscraper with "externally managed" python * Remove config-file for PID directory creation in run as well when using Remove installation * Fixing bug with install.log stopped logging after rtorrent install section due folder issus * Move logfile and ownership to local user * Support $localhostmode in ruTorrent (4.0.1+) * Fix and expand rtorrent.service for tmux based installations * Add tmux explainations inside the script ---------------------------------------------------------------- Version 1.7 * Change sort order in Change VHost * Move ruTorrent list generation from release to tags since release doesn't contain the last betas anymore * Change permissions from .rtorrent.rc from 755 to 644 * Performance tweak on UPDATE_RUTORRENT function ---------------------------------------------------------------- Version 1.6 * Since Python PEP 668 – Marking Python base environments as "externally managed" can be set in linux add the command-line flag --break-system-packages for the cloudscraper installation if needed (Debian Bookworm for example, pip version 23.0.1) * Add more silence inside rutorrent installation ---------------------------------------------------------------- Version 1.5 * Expand Remove with an option to keep the downloads and torrent data * Minor fixes for better reinstallation ---------------------------------------------------------------- Version 1.4 * Fixing some folders about the ownership * Correct texts inside the dialog windows * Remove unnecessary packages * Add option to remove everything * Add remove.log ---------------------------------------------------------------- Version 1.3 * Remove Serversignature from Unauthorized HTML redirect from Apache2 * Fix logdir path in configfile for HTTP and HTTPS * Change socket (to /run) and rtorrent homedir (to /srv), because homedir gets private in Ubuntu and Ubuntu based Linux after 20.04 home directory permission now 750 debian used to be 755 as Ubuntu was. https://ubuntu.com/blog/private-home-directories-for-ubuntu-21-04 * Add option to add/remove softlink to rtorrent user homedir * Fix window height from "Change Basedir" ---------------------------------------------------------------- Version 1.2 * Add to Script Version on menu page * Cleaning the code, made dialog windows more equally * Add some missing response messages * Bugfix edit rtorrent.rc (fullmenu) ---------------------------------------------------------------- Version 1.1 * Bugfix "Change VHost" Apache2 needs a restart if certificats are changed or activated, Renew cert also ---------------------------------------------------------------- Version 1.0 * Since the maximum lifespan of SSL/TLS certificates has been limited to 398 days, added the option to renew the certificate on purpose, for Self Signed and Let's Encrypt ---------------------------------------------------------------- Version 0.9 (first public release) * Create scripted installation * Shorting Menu, with option of expanding * Correcting Changelog look in dialog * Add Installationlog to Script * Having rtorrent Basedir inside home rtorrent user is now optional * Add WebAuth to Menu ---------------------------------------------------------------- Version 0.8 * Add HTTPS support, with HTTP to HTTPS redirection, made possible by Self Signed or Let's Encrypt Certificates tested with https://www.ssllabs.com/ssltest/ Self Signed A (if trust issues are ignored) Let's Encrypt A+ * Rewrite almost everything ---------------------------------------------------------------- Version 0.7 * Move from tmux to daemon-mode if rtorrent version is greater than 0.9.6 * Adopt glently exit for rtorrent from Bercik1337 (Version 0.9) * Moved from whiptail to dialog for reasons of clarity inside the script and rewrite some stuff * Use --colors from dialog to adopt color scheme ---------------------------------------------------------------- Version 0.6 * Get ruTorrent Versions direct from github * Remove dependency from libapache2-mod-scgi * Move from scgi.open_port to open_local https://github.com/rakshasa/rtorrent/issues/696 https://arstechnica.com/information-technology/2018/03/hackers-exploiting-rtorrent-to-install-unix-coin-miner-have-netted-4k-so-far/ ---------------------------------------------------------------- Version 0.5 * Move changelog to github * Use changelog direct from github * Grep user information direct from system * Move pre installation dependency from curl to wget ---------------------------------------------------------------- Version 0.4 * Establish changelog * Use latest rtorrent.rc direct from https://github.com/rakshasa/rtorrent/wiki/CONFIG-Template ---------------------------------------------------------------- Version 0.3 * Add System Information ---------------------------------------------------------------- Version 0.2 * Use the latest rtorrent.rc available * Add THE BEER-WARE LICENSE (Revision 42) ---------------------------------------------------------------- Version 0.1 * Commandline GUI based on whiptail * Installscript loosely based on: https://github.com/Kerwood/Rtorrent-Auto-Install https://github.com/Bercik1337/rt-auto-install https://github.com/arakasi72/rtinst