1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simple-torrent_ynh.git synced 2024-09-03 20:26:18 +02:00

Upgrade to 1.2.16 (#24)

This commit is contained in:
Éric Gaspar 2021-03-19 13:57:47 +01:00 committed by GitHub
parent f3c9de92f0
commit 7941230ecf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 16 additions and 41 deletions

View file

@ -12,7 +12,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Simple Torrent is a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP. Simple Torrent is a self-hosted remote torrent client, written in Go (golang). Started torrents remotely, download sets of files on the local disk of the server, which are then retrievable or streamable via HTTP.
**Shipped version:** 1.2.15 **Shipped version:** 1.2.16
## Screenshots ## Screenshots

View file

@ -12,7 +12,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install
Simple Torrent est un client torrent distant auto-hébergé, écrit en Go (golang). Démarrez des torrents à distance, téléchargez des ensembles de fichiers sur le disque local du serveur, qui sont ensuite récupérables ou diffusables via HTTP. Simple Torrent est un client torrent distant auto-hébergé, écrit en Go (golang). Démarrez des torrents à distance, téléchargez des ensembles de fichiers sur le disque local du serveur, qui sont ensuite récupérables ou diffusables via HTTP.
**Version incluse :** 1.2.15 **Version incluse :** 1.2.16
## Captures d'écran ## Captures d'écran

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.15/cloud-torrent_linux_arm64.gz SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.16/cloud-torrent_linux_arm64.gz
SOURCE_SUM=e0dccf7e1abbba502cf93cd67623ca495c9c42b379bd8007a60750a5a0fcae86 SOURCE_SUM=58f5c04066e3a959f6e272fdab966045ebabf77895b14af914efb972ccc479cf
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false

View file

@ -1,7 +0,0 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.15/cloud-torrent_linux_arm_armv5.gz
SOURCE_SUM=a41067c4530e7ffc80f4f3378fb27bd9b51f3452bc3edda05378a67bbb0b3bb8
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=
SOURCE_EXTRACT=false

View file

@ -1,7 +0,0 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.15/cloud-torrent_linux_arm_armv6.gz
SOURCE_SUM=57729347785e7bf555c3aa3ecbc0368779ca24f276e934f9bdc03c0ae13ad566
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=
SOURCE_EXTRACT=false

View file

@ -1,7 +0,0 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.15/cloud-torrent_linux_arm_armv7.gz
SOURCE_SUM=6b8eb4577011c65a14a03042317ec6c892880b8c6de6d55db96c16bb3c114d91
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=
SOURCE_EXTRACT=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.15/cloud-torrent_linux_386.gz SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.16/cloud-torrent_linux_386.gz
SOURCE_SUM=1a6782b263e0f08cb70b0bd93904b9b3721a2acb4b7cb39776440c5084d22e13 SOURCE_SUM=37de8ebc2dc20637f067e5225e4fca5fc2838c817a17f691c329370966c518c6
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.15/cloud-torrent_linux_amd64.gz SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.16/cloud-torrent_linux_amd64.gz
SOURCE_SUM=c51d2c7ff9f7711c71de649dd81ea5146d35147e35c50102126b5d2523d24060 SOURCE_SUM=b8aea61e916bf0c5e6db17373b638993edf9ce418d06c741879760ca91373447
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=gz SOURCE_FORMAT=gz
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Self-hosted remote torrent client", "en": "Self-hosted remote torrent client",
"fr": "Client torrent distant auto-hébergé" "fr": "Client torrent distant auto-hébergé"
}, },
"version": "1.2.15~ynh4", "version": "1.2.16~ynh1",
"url": "https://github.com/boypt/simple-torrent", "url": "https://github.com/boypt/simple-torrent",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"maintainer": { "maintainer": {

View file

@ -31,12 +31,6 @@ ynh_detect_arch() {
architecture="i386" architecture="i386"
elif [ -n "$(uname -m | grep 64)" ]; then elif [ -n "$(uname -m | grep 64)" ]; then
architecture="x86_64" architecture="x86_64"
elif [ -n "$(uname -m | grep armv7)" ]; then
architecture="armv7"
elif [ -n "$(uname -m | grep armv6)" ]; then
architecture="armv6"
elif [ -n "$(uname -m | grep armv5)" ]; then
architecture="armv5"
else else
architecture="unknown" architecture="unknown"
fi fi

View file

@ -106,13 +106,15 @@ mkdir -p /home/yunohost.app/$app/{torrents,downloads}
#================================================= #=================================================
ynh_script_progression --message="Modifying a config file..." --weight=1 ynh_script_progression --message="Modifying a config file..." --weight=1
cp ../conf/config.default.json "$final_path/config.json" # cp ../conf/config.default.json "$final_path/config.json"
# Main config File # # Main config File
ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/config.json" # ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/config.json"
ynh_replace_string --match_string="__PEER_PORT__" --replace_string="$peer_port" --target_file="$final_path/config.json" # ynh_replace_string --match_string="__PEER_PORT__" --replace_string="$peer_port" --target_file="$final_path/config.json"
ynh_store_file_checksum --file="$final_path/config.json" # ynh_store_file_checksum --file="$final_path/config.json"
ynh_add_config --template="../conf/config.default.json" --destination="$final_path/config.json"
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD