diff --git a/README.md b/README.md index 2fe1d21..195abd7 100644 --- a/README.md +++ b/README.md @@ -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. -**Shipped version:** 1.2.13 +**Shipped version:** 1.2.14 ## Screenshots diff --git a/README_fr.md b/README_fr.md index dd28087..8022f8a 100644 --- a/README_fr.md +++ b/README_fr.md @@ -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. -**Version incluse :** 1.2.13 +**Version incluse :** 1.2.14 ## Captures d'écran diff --git a/conf/arm64.src b/conf/arm64.src index 05ea6bc..876dd2a 100644 --- a/conf/arm64.src +++ b/conf/arm64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_arm64.gz -SOURCE_SUM=4fa31de45eb211a983631a86937d6eb0a23d66b650e0cfdf2b729bee526fc989 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.14/cloud-torrent_linux_arm64.gz +SOURCE_SUM=0b883f5109b2fd193bb8cf088718830ab0738693df2df81b3c32323c4b701cda SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/armv5.src b/conf/armv5.src index 2d1e9eb..479d1d6 100644 --- a/conf/armv5.src +++ b/conf/armv5.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_arm_armv5.gz -SOURCE_SUM=7b599a43f8812c334b4e4351f5ee25a3b997461e23ee3645b9761a86513e2317 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.14/cloud-torrent_linux_arm_armv5.gz +SOURCE_SUM=2e0cab39b9ba5b5ff1b4548efd96fc91f242df2d66202497026b9ac85d682bb5 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/armv6.src b/conf/armv6.src index cffd088..76dbf42 100644 --- a/conf/armv6.src +++ b/conf/armv6.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_arm_armv6.gz -SOURCE_SUM=b70622874babf36502015f95e07673d213833bae00b669c83f94a4d6a8382962 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.14/cloud-torrent_linux_arm_armv6.gz +SOURCE_SUM=34a013b363a16d03d553c2be873534f83bfab3f09d4809338e97877dfaa00519 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/armv7.src b/conf/armv7.src index ae14532..a059fb8 100644 --- a/conf/armv7.src +++ b/conf/armv7.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_arm_armv7.gz -SOURCE_SUM=bdf08ef52379ce9a5f3a90374905dd2058bbbbfe49f4ab09388373a5cf204dba +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.14/cloud-torrent_linux_arm_armv7.gz +SOURCE_SUM=6b3bc93b58cc4ac2fb740304d0148105aa8e899c6af94c9df1c8814bf984ed84 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/i386.src b/conf/i386.src index 38f5c0d..a4c26e0 100644 --- a/conf/i386.src +++ b/conf/i386.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_386.gz -SOURCE_SUM=645030137bc028a649f09a5878001cd3144032773f1f461beb79323ebc322218 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.14/cloud-torrent_linux_386.gz +SOURCE_SUM=c436dbac6ef006ceabe1975a392a77d23f60a6414929e66e8a46240a2557314d SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/conf/systemd.service b/conf/systemd.service index d1c6743..23fb665 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,8 +7,8 @@ Type=simple User=__APP__ Group=__APP__ Environment=PORT=__PORT__ -WorkingDirectory=__FINAL_PATH__ -ExecStart=__FINAL_PATH__/__APP__ -c __FINAL_PATH__/config.json --host 127.0.0.1 +WorkingDirectory=__FINALPATH__ +ExecStart=__FINALPATH__/__APP__ -c __FINALPATH__/config.json --host 127.0.0.1 Restart=always RestartSec=3 diff --git a/conf/x86_64.src b/conf/x86_64.src index 07948ec..fbb4706 100644 --- a/conf/x86_64.src +++ b/conf/x86_64.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.13/cloud-torrent_linux_amd64.gz -SOURCE_SUM=34e0a7c7f6ce91ae30eddac27358fe3085524d37da0349fd916e2f4f046bfa46 +SOURCE_URL=https://github.com/boypt/simple-torrent/releases/download/1.2.14/cloud-torrent_linux_amd64.gz +SOURCE_SUM=d486a8e8fe1f8fd8126c98724477f4e563916a026a5f91940d6d6dac018ce476 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=gz SOURCE_IN_SUBDIR=false diff --git a/manifest.json b/manifest.json index e6b3334..b3ac207 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Self-hosted remote torrent client", "fr": "Client torrent distant auto-hébergé" }, - "version": "1.2.13~ynh1", + "version": "1.2.14~ynh1", "url": "https://github.com/boypt/simple-torrent", "license": "AGPL-3.0-only", "maintainer": { diff --git a/scripts/install b/scripts/install index 2caec23..325f2ce 100644 --- a/scripts/install +++ b/scripts/install @@ -120,7 +120,7 @@ ynh_store_file_checksum --file="$final_path/config.json" ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__FINAL_PATH__" --replace_string="$final_path" --target_file="../conf/systemd.service" +ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="../conf/systemd.service" ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service" ynh_add_systemd_config diff --git a/scripts/upgrade b/scripts/upgrade index 98be45c..549a8dc 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -110,7 +110,7 @@ ynh_store_file_checksum --file="$final_path/config.json" ynh_script_progression --message="Configuring a systemd service..." --weight=2 ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__FINAL_PATH__" --replace_string="$final_path" --target_file="../conf/systemd.service" +ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="../conf/systemd.service" ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service" ynh_add_systemd_config